instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | On what Date was the Venue in Carson? | SELECT Date FROM table WHERE Venue = carson |
Translate the following into a SQL query | What was the competition on October 21, 2003? | SELECT Competition FROM table WHERE Date = october 21, 2003 |
Translate the following into a SQL query | What was the Competition on September 29, 2003? | SELECT Competition FROM table WHERE Date = september 29, 2003 |
Translate the following into a SQL query | What country has chunkath, mohan verghese as the name? | SELECT Country FROM table WHERE Name = chunkath, mohan verghese |
Translate the following into a SQL query | What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name? | SELECT Position FROM table WHERE Spread > -319 AND Country = united states AND Win-Loss = 11-13 AND Name = gabriel, marty |
Translate the following into a SQL query | What name has a spread of 69? | SELECT Name FROM table WHERE Spread = 69 |
Translate the following into a SQL query | Which Performer 2 has an Episode of 5? | SELECT Performer 2 FROM table WHERE Episode = 5 |
Translate the following into a SQL query | What weight has one rupee as the denomination? | SELECT Weight FROM table WHERE Denomination = one rupee |
Translate the following into a SQL query | What is the size that has nickel as the metal, and one rupee as the denomination? | SELECT Size FROM table WHERE Metal = nickel AND Denomination = one rupee |
Translate the following into a SQL query | What metal has one rupee as the denomination? | SELECT Metal FROM table WHERE Denomination = one rupee |
Translate the following into a SQL query | What shape has nickel as the metal, and one rupee as the denomination? | SELECT Shape FROM table WHERE Metal = nickel AND Denomination = one rupee |
Translate the following into a SQL query | Which 2007 has a 2010 of A, and a 2006 of lq? | SELECT 2007 FROM table WHERE 2010 = a AND 2006 = lq |
Translate the following into a SQL query | Which 2012 has a 2007 of 1r? | SELECT 2012 FROM table WHERE 2007 = 1r |
Translate the following into a SQL query | Which 2002 has a 2013 of 2–4? | SELECT 2002 FROM table WHERE 2013 = 2–4 |
Translate the following into a SQL query | Which 2013 has a 2010 of 1r? | SELECT 2013 FROM table WHERE 2010 = 1r |
Translate the following into a SQL query | Which 2005 has a Tournament of grand slam tournaments? | SELECT 2005 FROM table WHERE Tournament = grand slam tournaments |
Translate the following into a SQL query | Which 2007 has a 2008 of 1r, and a Tournament of wimbledon? | SELECT 2007 FROM table WHERE 2008 = 1r AND Tournament = wimbledon |
Translate the following into a SQL query | Which Date has a Home of minnesota? | SELECT Date FROM table WHERE Home = minnesota |
Translate the following into a SQL query | Which Visitor has a Decision of myre, and a Record of 44–7–15? | SELECT Visitor FROM table WHERE Decision = myre AND Record = 44–7–15 |
Translate the following into a SQL query | What Championship had a Winning score of 6 & 5? | SELECT Championship FROM table WHERE Winning score = 6 & 5 |
Translate the following into a SQL query | What was the Winning Score when Betsy Rawls was the Runner(s)-up? | SELECT Winning score FROM table WHERE Runner(s)-up = betsy rawls |
Translate the following into a SQL query | In 1946, what is the Runner(s)-up of the Women's Western Open Championship? | SELECT Runner(s)-up FROM table WHERE Championship = women's western open AND Year = 1946 |
Translate the following into a SQL query | What is the Margin in 1953 when Patty Berg was Runner(s)-up? | SELECT Margin FROM table WHERE Runner(s)-up = patty berg AND Year = 1953 |
Translate the following into a SQL query | What is the Margin when the Winning score is +8 (70-69-70-75=284)? | SELECT Margin FROM table WHERE Winning score = +8 (70-69-70-75=284) |
Translate the following into a SQL query | What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339? | SELECT Name FROM table WHERE Type = primary AND DCSF number > 2337 AND Ofsted number < 135339 |
Translate the following into a SQL query | What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319? | SELECT Name FROM table WHERE DCSF number > 2448 AND Ofsted number = 131319 |
Translate the following into a SQL query | What faith has a DCSF number bigger than 2448 in Holtsmere End? | SELECT Faith FROM table WHERE DCSF number > 2448 AND Name = holtsmere end |
Translate the following into a SQL query | What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335? | SELECT MIN DCSF number FROM table WHERE Name = aycliffe drive AND Ofsted number < 117335 |
Translate the following into a SQL query | what city is the toamasina airport in? | SELECT City FROM table WHERE Airport = toamasina airport |
Translate the following into a SQL query | What country has the city, Sydney? | SELECT Country FROM table WHERE City = sydney |
Translate the following into a SQL query | What city is in the country of Mayotte? | SELECT City FROM table WHERE Country = mayotte |
Translate the following into a SQL query | What is the IATA for the chennai international airport? | SELECT IATA FROM table WHERE Airport = chennai international airport |
Translate the following into a SQL query | What is the airport name that has nos listed as the IATA? | SELECT Airport FROM table WHERE IATA = nos |
Translate the following into a SQL query | What is the part number of athlon x2 4850e? | SELECT Part Number(s) FROM table WHERE Model Number = athlon x2 4850e |
Translate the following into a SQL query | What's the frequency of the device that has a Multi 1 of 7.5×? | SELECT Frequency FROM table WHERE Multi 1 = 7.5× |
Translate the following into a SQL query | What's amount of L2 Cache on a device that has a Frequency of 1500mhz? | SELECT L2 Cache FROM table WHERE Frequency = 1500mhz |
Translate the following into a SQL query | When is the release date for a chip that has a Frequency of 2300mhz? | SELECT Release Date FROM table WHERE Frequency = 2300mhz |
Translate the following into a SQL query | When was the release date for technology that has a Multi 1 of 10.5×? | SELECT Release Date FROM table WHERE Multi 1 = 10.5× |
Translate the following into a SQL query | What's the stepping amount for adh4450iaa5do? | SELECT Stepping FROM table WHERE Part Number(s) = adh4450iaa5do |
Translate the following into a SQL query | Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? | SELECT MAX Wins FROM table WHERE Year > 1996 AND Championship Finish = 1st AND Points < 168 |
Translate the following into a SQL query | Which Year is the highest that has a Team of walker racing, and Wins larger than 1? | SELECT MAX Year FROM table WHERE Team = walker racing AND Wins > 1 |
Translate the following into a SQL query | Which Points have a Year larger than 1998, and Wins of 1? | SELECT AVG Points FROM table WHERE Year > 1998 AND Wins = 1 |
Translate the following into a SQL query | What is the lowest bronze number when silver shows 2, and the total is 8? | SELECT MIN Bronze FROM table WHERE Silver = 2 AND Total = 8 |
Translate the following into a SQL query | What is the silver number when gold is more than 4, and the total is less than 24? | SELECT AVG Silver FROM table WHERE Gold > 4 AND Total < 24 |
Translate the following into a SQL query | What is the gold number when the total is 8 and bronze is more than 4? | SELECT AVG Gold FROM table WHERE Total = 8 AND Bronze > 4 |
Translate the following into a SQL query | What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? | SELECT SUM Total FROM table WHERE Gold = 0 AND Silver < 2 AND Rank = 6 |
Translate the following into a SQL query | What is the average Gold when silver is more than 2, and bronze is more than 1 | SELECT AVG Gold FROM table WHERE Silver > 2 AND Bronze > 1 |
Translate the following into a SQL query | What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2 | SELECT AVG Bronze FROM table WHERE Silver > 2 AND Rank = 2 AND Gold > 2 |
Translate the following into a SQL query | What city in Svalbard has a longitude of 15°39′e? | SELECT City FROM table WHERE State = svalbard AND Longitude = 15°39′e |
Translate the following into a SQL query | If the latitude is 77°28′n, what is the longitude? | SELECT Longitude FROM table WHERE Latitude = 77°28′n |
Translate the following into a SQL query | If the latitude is 76°25′n, what is the longitude? | SELECT Longitude FROM table WHERE Latitude = 76°25′n |
Translate the following into a SQL query | If the latitude is 71°18′n, what is the longitude? | SELECT Longitude FROM table WHERE Latitude = 71°18′n |
Translate the following into a SQL query | Who is the partner facing the opponents florian Mayer & alexander waske in the final? | SELECT Partner FROM table WHERE Opponents in the final = florian mayer & alexander waske |
Translate the following into a SQL query | Which tournament has a hard surface and final opponents rohan bopanna & mustafa ghouse? | SELECT Tournament FROM table WHERE Surface = hard AND Opponents in the final = rohan bopanna & mustafa ghouse |
Translate the following into a SQL query | On which date did the tournament final with the clay surface take place? | SELECT Date FROM table WHERE Surface = clay |
Translate the following into a SQL query | Which tournament features the partner julian knowle? | SELECT Tournament FROM table WHERE Partner = julian knowle |
Translate the following into a SQL query | On which date is the tournament final with the opponents michael berrer & kenneth carlsen? | SELECT Date FROM table WHERE Opponents in the final = michael berrer & kenneth carlsen |
Translate the following into a SQL query | What was the score after february 4 in the game 61? | SELECT Score FROM table WHERE February > 4 AND Game = 61 |
Translate the following into a SQL query | What is Arkansas State's total pick number with an overal lower than 242? | SELECT COUNT Pick # FROM table WHERE College = arkansas state AND Overall < 242 |
Translate the following into a SQL query | Who is from the College of Cincinnati? | SELECT Name FROM table WHERE College = cincinnati |
Translate the following into a SQL query | What is the overall number for a kicker with a pick of less than 6? | SELECT COUNT Overall FROM table WHERE Position = kicker AND Pick # < 6 |
Translate the following into a SQL query | Which college has a defensive end with a round less than 6? | SELECT College FROM table WHERE Round > 6 AND Position = defensive end |
Translate the following into a SQL query | What record has a score of 111-96? | SELECT Record FROM table WHERE Score = 111-96 |
Translate the following into a SQL query | What is the score for a game after 34 with a record of 31-11? | SELECT Score FROM table WHERE Game > 34 AND Record = 31-11 |
Translate the following into a SQL query | What was the date with a resulted score of 130-100? | SELECT Date FROM table WHERE Score = 130-100 |
Translate the following into a SQL query | Which Water has a Metal of contracting? | SELECT Water FROM table WHERE Metal = contracting |
Translate the following into a SQL query | Which Metal has an Element of heavenly stems? | SELECT Metal FROM table WHERE Element = heavenly stems |
Translate the following into a SQL query | Which water has green wood? | SELECT Water FROM table WHERE Wood = green |
Translate the following into a SQL query | Which earth has west metal? | SELECT Earth FROM table WHERE Metal = west |
Translate the following into a SQL query | Which wood has stabilizing earth? | SELECT Wood FROM table WHERE Earth = stabilizing |
Translate the following into a SQL query | Which fire has dry metal? | SELECT Fire FROM table WHERE Metal = dry |
Translate the following into a SQL query | what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904? | SELECT Name FROM table WHERE Rank = lieutenant colonel AND Begin Date = 1904-02-22 22 february 1904 |
Translate the following into a SQL query | Oklahoma State produced a player in which position in the draft? | SELECT Position FROM table WHERE School/Club Team = oklahoma state |
Translate the following into a SQL query | What is the highest round where a back named Ed Cody can be found? | SELECT MAX Round FROM table WHERE Position = back AND Player = ed cody |
Translate the following into a SQL query | Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0? | SELECT MIN Losses FROM table WHERE Season < 1920 AND Draws > 0 |
Translate the following into a SQL query | Which Draws have Losses larger than 16, and a Season larger than 1966? | SELECT SUM Draws FROM table WHERE Losses > 16 AND Season > 1966 |
Translate the following into a SQL query | Which Draws have a Team of annandale, and Losses smaller than 13? | SELECT SUM Draws FROM table WHERE Team = annandale AND Losses < 13 |
Translate the following into a SQL query | Which Draws have Losses smaller than 16, and a Team of university, and Wins larger than 0? | SELECT AVG Draws FROM table WHERE Losses < 16 AND Team = university AND Wins > 0 |
Translate the following into a SQL query | Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14? | SELECT MIN Wins FROM table WHERE Season < 1920 AND Losses < 14 |
Translate the following into a SQL query | Which date had a sport of Academics? | SELECT Date FROM table WHERE Sport = academics |
Translate the following into a SQL query | Which date had a site of N/A? | SELECT Date FROM table WHERE Site = n/a |
Translate the following into a SQL query | what was the builder in 1929 | SELECT Builder FROM table WHERE Year built = 1929 |
Translate the following into a SQL query | What was the attendance for the March 6 game, where one of the teams had 53 points. | SELECT Attendance FROM table WHERE Points = 53 AND Date = march 6 |
Translate the following into a SQL query | For the game with 6,126 in attendance, how many points did both teams have in the standings? | SELECT COUNT Points FROM table WHERE Attendance = 6,126 |
Translate the following into a SQL query | What is the record of the team with a St. Louis home? | SELECT Record FROM table WHERE Home = st. louis |
Translate the following into a SQL query | What country has a territory of French Guiana? | SELECT Country FROM table WHERE Territory = french guiana |
Translate the following into a SQL query | Which 2008-12 has a 2013 of A, and a Tournament of wimbledon? | SELECT 2008-12 FROM table WHERE 2013 = a AND Tournament = wimbledon |
Translate the following into a SQL query | Which 2013 has a 2007 of A, and a Tournament of french open? | SELECT 2013 FROM table WHERE 2007 = a AND Tournament = french open |
Translate the following into a SQL query | Which 2013 has a 2008-12 of A, and a 2007 of A, and a Tournament of us open? | SELECT 2013 FROM table WHERE 2008-12 = a AND 2007 = a AND Tournament = us open |
Translate the following into a SQL query | Which 2013 has a 2006 of grand slam tournaments? | SELECT 2013 FROM table WHERE 2006 = grand slam tournaments |
Translate the following into a SQL query | Which 2006 has a 2007 of A? | SELECT 2006 FROM table WHERE 2007 = a |
Translate the following into a SQL query | Which 2008-12 has a 2007 of A, and a Tournament of us open? | SELECT 2008-12 FROM table WHERE 2007 = a AND Tournament = us open |
Translate the following into a SQL query | What was the record on April 1? | SELECT Record FROM table WHERE Date = april 1 |
Translate the following into a SQL query | What's the score on April 9? | SELECT Score FROM table WHERE Date = april 9 |
Translate the following into a SQL query | Where was home on April 3? | SELECT Home FROM table WHERE Date = april 3 |
Translate the following into a SQL query | What's the score on April 9? | SELECT Score FROM table WHERE Date = april 9 |
Translate the following into a SQL query | What is the average number of points of the team with more than 18 played? | SELECT AVG Points FROM table WHERE Played > 18 |
Translate the following into a SQL query | What is the lowest score of the team with 19 points and less than 18 played? | SELECT MIN Scored FROM table WHERE Points = 19 AND Played < 18 |
Translate the following into a SQL query | What is the average number of draws of the team with less than 17 points and less than 4 wins? | SELECT AVG Draws FROM table WHERE Points < 17 AND Wins < 4 |
Translate the following into a SQL query | What is the title of the record with an artist of Tangorodrim, category number FSR006? | SELECT Title FROM table WHERE Artist = tangorodrim AND Cat. # = fsr006 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.