instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the highest S ÷ D with a 2420 (220) [3H] paroxetine and an N ÷ D less than 393.8?
SELECT MAX S ÷ D FROM table WHERE [ 3 H]Paroxetine = 2420 (220) AND N ÷ D < 393.8
Translate the following into a SQL query
What round was the match at Westpac Stadium that had the Newcastle Jets as the away team?
SELECT Round FROM table WHERE Venue = westpac stadium AND Away = newcastle jets
Translate the following into a SQL query
On what weekday was the match that had Perth Glory as the away team?
SELECT Weekday FROM table WHERE Away = perth glory
Translate the following into a SQL query
What is the British record for the fish with a Guernsey record of 32-8-0?
SELECT British Record FROM table WHERE Guernsey Record = 32-8-0
Translate the following into a SQL query
What year was the Guernsey record of 2-3-12 set?
SELECT Year FROM table WHERE Guernsey Record = 2-3-12
Translate the following into a SQL query
What was the guernsey record set with a fish caught at Bordeaux Harbour?
SELECT Guernsey Record FROM table WHERE Location = bordeaux harbour
Translate the following into a SQL query
When was the film released that a less than 5038 production number and was of the character Bosko?
SELECT Release date FROM table WHERE Production Num. < 5038 AND Characters = bosko
Translate the following into a SQL query
With 4645 as the production number what was the title?
SELECT Title FROM table WHERE Production Num. = 4645
Translate the following into a SQL query
The film titled Bosko's fox hunt had what as the smallest production number?
SELECT MIN Production Num. FROM table WHERE Title = bosko's fox hunt
Translate the following into a SQL query
What is the smallest production number for the LT series with the Dumb Patrol title?
SELECT MIN Production Num. FROM table WHERE Series = lt AND Title = dumb patrol
Translate the following into a SQL query
What was the average capacity for vélez sársfield?
SELECT AVG Capacity FROM table WHERE Home team(s) = vélez sársfield
Translate the following into a SQL query
What city was the home team Tigre?
SELECT City FROM table WHERE Home team(s) = tigre
Translate the following into a SQL query
What province is in Mendoza with a stadium feliciano gambarte?
SELECT Province FROM table WHERE City = mendoza AND Stadium = feliciano gambarte
Translate the following into a SQL query
On what date was there a tv time of ABC 8:00pm and after week 9?
SELECT Date FROM table WHERE Week > 9 AND TV Time = abc 8:00pm
Translate the following into a SQL query
What is total number of years that has genre of first-person shooter?
SELECT SUM Year FROM table WHERE Genre = first-person shooter
Translate the following into a SQL query
Which year is the lowest for genre of action-adventure?
SELECT MIN Year FROM table WHERE Genre = action-adventure
Translate the following into a SQL query
What is the Roman translation with "Normalised" transliteration i
SELECT Roman equivalent FROM table WHERE "Normalised" transliteration = i
Translate the following into a SQL query
what is the "normalized" transliteration for Roman i
SELECT "Normalised" transliteration FROM table WHERE Roman equivalent = i
Translate the following into a SQL query
what is the normal environment of occurrence that has a Proto-Germanic origin /ai/
SELECT Normal environment of occurrence (in native words) FROM table WHERE Proto-Germanic origin = /ai/
Translate the following into a SQL query
Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
SELECT MIN Against FROM table WHERE Status = tour match AND Venue = ravenhill , belfast
Translate the following into a SQL query
Name the average Against that has a Venue of twickenham , london on 25 november 1978?
SELECT AVG Against FROM table WHERE Venue = twickenham , london AND Date = 25 november 1978
Translate the following into a SQL query
Name the highest Against on 21 november 1978?
SELECT MAX Against FROM table WHERE Date = 21 november 1978
Translate the following into a SQL query
Name the Against of Venue of brewery field , bridgend?
SELECT Against FROM table WHERE Venue = brewery field , bridgend
Translate the following into a SQL query
Name the Status with an Against larger than 15?
SELECT Status FROM table WHERE Against > 15
Translate the following into a SQL query
what is the name when 2008 club is vc nova?
SELECT Name FROM table WHERE 2008 club = vc nova
Translate the following into a SQL query
what is the name when 2008 club is patron patra?
SELECT Name FROM table WHERE 2008 club = patron patra
Translate the following into a SQL query
what is spike when 2008 club is vc nova?
SELECT Spike FROM table WHERE 2008 club = vc nova
Translate the following into a SQL query
what is the score on 24 january 1976 with the tie no of 1?
SELECT Score FROM table WHERE Date = 24 january 1976 AND Tie no = 1
Translate the following into a SQL query
Who is the home team when the away team is newcastle united?
SELECT Home team FROM table WHERE Away team = newcastle united
Translate the following into a SQL query
who is the home team when the away team is wolverhampton wanderers?
SELECT Home team FROM table WHERE Away team = wolverhampton wanderers
Translate the following into a SQL query
what is the date when the tie no is 9?
SELECT Date FROM table WHERE Tie no = 9
Translate the following into a SQL query
who is the away team when the tie no is 7?
SELECT Away team FROM table WHERE Tie no = 7
Translate the following into a SQL query
what is the score when the home team is sunderland?
SELECT Score FROM table WHERE Home team = sunderland
Translate the following into a SQL query
What is the name of the title that was directed by Friz Freleng and has a production number of 443?
SELECT Title FROM table WHERE Director = friz freleng AND Production Number = 443
Translate the following into a SQL query
Which title has a production number of 627?
SELECT Title FROM table WHERE Production Number = 627
Translate the following into a SQL query
what is the film when the year is earlier than 2002 and the category is outstanding actress?
SELECT Film FROM table WHERE Year < 2002 AND Category = outstanding actress
Translate the following into a SQL query
What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
SELECT COUNT Latitude FROM table WHERE Land ( sqmi ) > 34.846 AND GEO ID < 3805529660 AND Township = greenland AND ANSI code > 1036405
Translate the following into a SQL query
What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water?
SELECT SUM Land ( sqmi ) FROM table WHERE ANSI code < 1036538 AND Pop. (2010) < 42 AND Longitude > -99.442872 AND Water (sqmi) > 0.882
Translate the following into a SQL query
What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189?
SELECT MAX Water (sqmi) FROM table WHERE Land ( sqmi ) > 33.576 AND Township = glenila AND Latitude > 48.832189
Translate the following into a SQL query
What is the sum of the 2010 population with a latitude greater than 47.710905, a longitude of -101.79876, and less than 35.695 sq mi of land?
SELECT SUM Pop. (2010) FROM table WHERE Latitude > 47.710905 AND Longitude = -101.79876 AND Land ( sqmi ) < 35.695
Translate the following into a SQL query
What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?
SELECT MIN Land ( sqmi ) FROM table WHERE Longitude = -99.172785 AND Water (sqmi) < 0.973
Translate the following into a SQL query
Who was the head coach?
SELECT Name FROM table WHERE Position = head coach
Translate the following into a SQL query
Who has the alma mater of Dayton ('07), and was in their 1st year at CU?
SELECT Name FROM table WHERE Year at CU = 1st AND Alma Mater = dayton ('07)
Translate the following into a SQL query
What year at CU is the person in video services with an experience less than 1?
SELECT Year at CU FROM table WHERE Experience < 1 AND Position = video services
Translate the following into a SQL query
The graduate assistant who was in the 1st year at CU has what experience?
SELECT Experience FROM table WHERE Year at CU = 1st AND Position = graduate assistant
Translate the following into a SQL query
What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience?
SELECT Name FROM table WHERE Experience > 19 AND Alma Mater = eastern nazarene ('74)
Translate the following into a SQL query
What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model?
SELECT COUNT Engine Capacity FROM table WHERE Transmission = a4 AND mpg-US Urban > 19 AND mpg-US Extra-Urban > 38.6 AND Model = aveo
Translate the following into a SQL query
What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3?
SELECT MAX Engine Capacity FROM table WHERE Manufacturer = bmw AND mpg-UK Extra-Urban = 52.3 AND CO 2 g/km = 176 AND mpg-US Urban > 27.3
Translate the following into a SQL query
What is the mpg-uk combined with an mpg-uk urban (cold) greater than 26.6, a m5 transmission, a diesel fuel type, and an engine capacity less than 1560?
SELECT mpg-UK Combined FROM table WHERE mpg-UK Urban (Cold) > 26.6 AND Transmission = m5 AND Fuel Type = diesel AND Engine Capacity < 1560
Translate the following into a SQL query
What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560?
SELECT L/100km Urban (Cold) FROM table WHERE CO 2 g/km < 222 AND mpg-US Urban > 17.8 AND mpg-UK Extra-Urban = 55.4 AND Engine Capacity > 1560
Translate the following into a SQL query
What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7?
SELECT Model FROM table WHERE Green Rating = g AND Manufacturer = chrysler jeep AND L/100km Urban (Cold) < 18 AND mpg-UK Combined = 27.7
Translate the following into a SQL query
what is the league cup apps when the total goals is less than 2 and the total apps is 12?
SELECT League Cup Apps FROM table WHERE Total Goals < 2 AND Total Apps = 12
Translate the following into a SQL query
what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3?
SELECT AVG FA Cup Goals FROM table WHERE League Cup Apps = 2 AND FA Cup Apps = 3 AND League Goals = 3
Translate the following into a SQL query
what is the highest fa cup goals when flt goals is more than 0?
SELECT MAX FA Cup Goals FROM table WHERE FLT Goals > 0
Translate the following into a SQL query
what is the total apps when the league apps is 4 (2)?
SELECT Total Apps FROM table WHERE League Apps = 4 (2)
Translate the following into a SQL query
How much Silver has a Total larger than 9, and a Gold of 14?
SELECT COUNT Silver FROM table WHERE Total > 9 AND Gold = 14
Translate the following into a SQL query
Which Rank has a Total larger than 9, and a Gold larger than 6?
SELECT Rank FROM table WHERE Total > 9 AND Gold > 6
Translate the following into a SQL query
How much Silver has a Rank of 4, and a Bronze smaller than 12?
SELECT COUNT Silver FROM table WHERE Rank = 4 AND Bronze < 12
Translate the following into a SQL query
How many bronzes have a Total of 9?
SELECT SUM Bronze FROM table WHERE Total = 9
Translate the following into a SQL query
How much Gold has a Nation of mongolia, and a Total larger than 18?
SELECT SUM Gold FROM table WHERE Nation = mongolia AND Total > 18
Translate the following into a SQL query
What is the Lok Sabha for Dravida Munnetra Kazhagam, in 1999-04?
SELECT Lok Sabha FROM table WHERE Party Affiliation = dravida munnetra kazhagam AND Duration = 1999-04
Translate the following into a SQL query
What is the duration when Lok Sabha shows fifth?
SELECT Duration FROM table WHERE Lok Sabha = fifth
Translate the following into a SQL query
What was the result for the game played on December 20, 1970?
SELECT Result FROM table WHERE Date = december 20, 1970
Translate the following into a SQL query
What was the result for week 2?
SELECT Result FROM table WHERE Week = 2
Translate the following into a SQL query
What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30?
SELECT SUM Rank FROM table WHERE Notes = fb AND Time = 6:47.30
Translate the following into a SQL query
What is the least rank for athletes with a time of 6:36.65?
SELECT MIN Rank FROM table WHERE Time = 6:36.65
Translate the following into a SQL query
What is the average react for a rank more than 8?
SELECT AVG React FROM table WHERE Rank > 8
Translate the following into a SQL query
What is the highest rank for the react of 0.198, and the time more than 20.42?
SELECT MAX Rank FROM table WHERE React = 0.198 AND Time > 20.42
Translate the following into a SQL query
What is the sum of time with a lane larger than 6, a nationality of canada, and the react smaller than 0.151?
SELECT SUM Time FROM table WHERE Lane > 6 AND Nationality = canada AND React < 0.151
Translate the following into a SQL query
What human gene has a yeast ortholog of RAD26?
SELECT Human Gene (Protein) FROM table WHERE Yeast Ortholog = rad26
Translate the following into a SQL query
What is the human gene that has a mouse ortholog of LIG1?
SELECT Human Gene (Protein) FROM table WHERE Mouse Ortholog = lig1
Translate the following into a SQL query
What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2?
SELECT Yeast Ortholog FROM table WHERE Subpathway = ggr AND GeneCards Entry = cetn2
Translate the following into a SQL query
What is the yeast ortholog of mouse ortholog MMS19?
SELECT Yeast Ortholog FROM table WHERE Mouse Ortholog = mms19
Translate the following into a SQL query
What is the Tournament against Vladimir Zednik?
SELECT Tournament FROM table WHERE Opponent = vladimir zednik
Translate the following into a SQL query
What Tournament had a Score of 4–6, 6–7, 3–6?
SELECT Tournament FROM table WHERE Score = 4–6, 6–7, 3–6
Translate the following into a SQL query
What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up?
SELECT Score FROM table WHERE Outcome = runner-up AND Opponent = tim gullikson
Translate the following into a SQL query
What is the Doha, Qatar when the snatch is total?
SELECT Doha , Qatar FROM table WHERE Snatch = total
Translate the following into a SQL query
What shows for Chen Yanqing (CHN) when Doha, Qatar is —?
SELECT Chen Yanqing ( CHN ) FROM table WHERE Doha , Qatar = —
Translate the following into a SQL query
What is the Doha, Qatar when the snatch is clean & jerk?
SELECT Doha , Qatar FROM table WHERE Snatch = clean & jerk
Translate the following into a SQL query
Which Points have a Club of london wasps, and a Drop larger than 1?
SELECT AVG Points FROM table WHERE Club = london wasps AND Drop > 1
Translate the following into a SQL query
How many Points have a Name of stephen myler, and Tries smaller than 0?
SELECT SUM Points FROM table WHERE Name = stephen myler AND Tries < 0
Translate the following into a SQL query
How many drops have Tries smaller than 5, and Points larger than 212?
SELECT COUNT Drop FROM table WHERE Tries < 5 AND Points > 212
Translate the following into a SQL query
What is the pick number for New Mexico?
SELECT AVG Pick FROM table WHERE College = new mexico
Translate the following into a SQL query
What player is from the Denver Broncos?
SELECT Player FROM table WHERE Team = denver broncos
Translate the following into a SQL query
Which college has their team as the New York Jets?
SELECT College FROM table WHERE Team = new york jets
Translate the following into a SQL query
What is the Constituency Number of Total:?
SELECT Constituency number FROM table WHERE Name = total:
Translate the following into a SQL query
What is the Constituency Number when the Number of Electorates (2003) is more than 156,910, and Reserved for sc?
SELECT Constituency number FROM table WHERE Number of electorates (2003) > 156,910 AND Reserved for ( SC / ST /None) = sc
Translate the following into a SQL query
Which District is Constituency number 22?
SELECT District FROM table WHERE Constituency number = 22
Translate the following into a SQL query
What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
SELECT MIN Number of electorates (2003) FROM table WHERE District = bhind AND Reserved for ( SC / ST /None) = none AND Constituency number = 11
Translate the following into a SQL query
What school/club had pick 33?
SELECT School/Club Team FROM table WHERE Pick = 33
Translate the following into a SQL query
What attendance has October 16, 2005 as the date?
SELECT Attendance FROM table WHERE Date = october 16, 2005
Translate the following into a SQL query
What result has a week less than 16, and October 31, 2005 as the date?
SELECT Result FROM table WHERE Week < 16 AND Date = october 31, 2005
Translate the following into a SQL query
Which Year has a Manager of bobby dews, and Playoffs of lost in 1st round?
SELECT MIN Year FROM table WHERE Manager = bobby dews AND Playoffs = lost in 1st round
Translate the following into a SQL query
How many years have a Record of 73-65?
SELECT COUNT Year FROM table WHERE Record = 73-65
Translate the following into a SQL query
Which Record has a Year larger than 1974, and a Finish of 3rd?
SELECT Record FROM table WHERE Year > 1974 AND Finish = 3rd
Translate the following into a SQL query
Which Song of the Year was 42 on the UK charts prior to 1994?
SELECT Song FROM table WHERE Year < 1994 AND UK Chart = 42
Translate the following into a SQL query
Where did Scott Fitzgerald rank on the UK charts?
SELECT UK Chart FROM table WHERE Artist = scott fitzgerald
Translate the following into a SQL query
Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts?
SELECT UK Chart FROM table WHERE Year > 1961 AND At Eurovision = 2nd AND Artist = michael ball
Translate the following into a SQL query
What is the latest year that ended with a 3rd day of rowed-over?
SELECT MAX Year FROM table WHERE 3rd day = rowed-over
Translate the following into a SQL query
What is the 3rd day result for years under 2012 and a finish position of 33rd?
SELECT 3rd day FROM table WHERE Year < 2012 AND Finish position = 33rd