instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the constructor for Jackie Stewart's car?
SELECT Constructor FROM table WHERE Driver = jackie stewart
Translate the following into a SQL query
What is the location where Denny Hulme was the driver?
SELECT Location FROM table WHERE Driver = denny hulme
Translate the following into a SQL query
What is number of the train that originated in Secunderabad Junction?
SELECT Train No. FROM table WHERE Origin = secunderabad junction
Translate the following into a SQL query
From where did the train that arrived in the Anand Vihar Terminal originate?
SELECT Origin FROM table WHERE Destination = anand vihar terminal
Translate the following into a SQL query
From where did Train No. 15929/30 originate?
SELECT Origin FROM table WHERE Train No. = 15929/30
Translate the following into a SQL query
What is the frequency of the train to Bangalore?
SELECT Frequency FROM table WHERE Destination = bangalore
Translate the following into a SQL query
What is the frequency of the Chennai Egmore Dibrugarh Express to Dibrugarh?
SELECT Frequency FROM table WHERE Destination = dibrugarh AND Train Name = chennai egmore dibrugarh express
Translate the following into a SQL query
How many Norwegian Americans have Norwegian Americans (2000) of 109,744?
SELECT COUNT Norwegian Americans (2009) FROM table WHERE Norwegian Americans (2000) = 109,744
Translate the following into a SQL query
Which state has a Percent (2009) of 6.2%?
SELECT State FROM table WHERE Percent (2009) = 6.2%
Translate the following into a SQL query
What is the holding of the customers?
SELECT Holding FROM table WHERE Component = customers
Translate the following into a SQL query
What Allied-Unrelated is labeled as "common"?
SELECT Allied-Unrelated FROM table WHERE Allied-Related = common
Translate the following into a SQL query
Which integrated has an allied-related of some shared?
SELECT Integrated FROM table WHERE Allied-Related = some shared
Translate the following into a SQL query
What integrated has an allied-related of centralized?
SELECT Integrated FROM table WHERE Allied-Related = centralized
Translate the following into a SQL query
What component has an integrated of one?
SELECT Component FROM table WHERE Integrated = one
Translate the following into a SQL query
How many candidates had 0 percent of the vote in 1999?
SELECT COUNT candidates FROM table WHERE % of vote = 0 AND Election = 1999 AND seats won > 0
Translate the following into a SQL query
What is the score of the game with Manu ginóbili (44) as the leading scorer?
SELECT Score FROM table WHERE Leading scorer = manu ginóbili (44)
Translate the following into a SQL query
What is the record of the game on February 21, 2008?
SELECT Record FROM table WHERE Date = february 21, 2008
Translate the following into a SQL query
Who was the home team of the game with manu ginóbili (34) as the leading scorer?
SELECT Home FROM table WHERE Leading scorer = manu ginóbili (34)
Translate the following into a SQL query
What is the record of the game on February 25, 2008?
SELECT Record FROM table WHERE Date = february 25, 2008
Translate the following into a SQL query
What type is shown with a moving to of valenciennes?
SELECT Type FROM table WHERE Moving to = valenciennes
Translate the following into a SQL query
What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name?
SELECT Transfer window FROM table WHERE Transfer fee = n/a AND Moving to = free agent AND Name = joe sagar
Translate the following into a SQL query
What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
SELECT Name FROM table WHERE Type = end of contract AND Nat. = sco AND Moving to = cardiff city
Translate the following into a SQL query
What Transfer window that has a Transfer fee of free, with a Moving to of derby county?
SELECT Transfer window FROM table WHERE Transfer fee = free AND Moving to = derby county
Translate the following into a SQL query
What is the first game number that had attendance of 56,505?
SELECT MIN Game FROM table WHERE Attendance = 56,505
Translate the following into a SQL query
What was the crowd size for the away team footscray?
SELECT Crowd FROM table WHERE Away team = footscray
Translate the following into a SQL query
On what date did the away team score 10.12 (72)?
SELECT Date FROM table WHERE Away team score = 10.12 (72)
Translate the following into a SQL query
Which Race Name has Goodwood in the Curcuit?
SELECT Race Name FROM table WHERE Circuit = goodwood
Translate the following into a SQL query
Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?
SELECT Constructor FROM table WHERE Winning driver = jim clark AND Circuit = syracuse
Translate the following into a SQL query
Which Constructor has the Winning Driver, Jo Siffert?
SELECT Constructor FROM table WHERE Winning driver = jo siffert
Translate the following into a SQL query
Which Constructor has Pergusa in the Circuit?
SELECT Constructor FROM table WHERE Circuit = pergusa
Translate the following into a SQL query
What is the smallest crowd that attended a game where the away team scored 14.19 (103)?
SELECT MIN Crowd FROM table WHERE Away team score = 14.19 (103)
Translate the following into a SQL query
On what date was a game played at MCG?
SELECT Date FROM table WHERE Venue = mcg
Translate the following into a SQL query
What is the average total medals of the team with 2 gold and less than 1 silver?
SELECT AVG Total FROM table WHERE Gold = 2 AND Silver < 1
Translate the following into a SQL query
What is the lowest amount of silver medals Iceland, who has less than 87 medals, has?
SELECT MIN Silver FROM table WHERE Nation = iceland AND Total < 87
Translate the following into a SQL query
What is the least amount of bronze Andorra, who has more than 6 total medals, has?
SELECT MIN Bronze FROM table WHERE Nation = andorra AND Total > 6
Translate the following into a SQL query
What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has?
SELECT MIN Bronze FROM table WHERE Nation = liechtenstein AND Gold > 11
Translate the following into a SQL query
What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?
SELECT AVG Silver FROM table WHERE Bronze < 15 AND Nation = montenegro AND Total > 11
Translate the following into a SQL query
What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?
SELECT MIN Voter turnout FROM table WHERE BYuT = 50.7 AND OU-PSD < 36.8
Translate the following into a SQL query
What is the voter registration that has a BYut of 48.2?
SELECT COUNT Voter registration FROM table WHERE BYuT = 48.2
Translate the following into a SQL query
Who was the home team at VFL Park?
SELECT Home team FROM table WHERE Venue = vfl park
Translate the following into a SQL query
Who was the home team at Kardinia Park?
SELECT Home team FROM table WHERE Venue = kardinia park
Translate the following into a SQL query
What type of paper is the 1 cent denominations made on?
SELECT Paper Type FROM table WHERE Denomination = 1 cent
Translate the following into a SQL query
What is the paper type that the one that was issued on 26 july 2007 done on?
SELECT Paper Type FROM table WHERE Date of Issue = 26 july 2007
Translate the following into a SQL query
What did the home team footscray score?
SELECT Home team score FROM table WHERE Home team = footscray
Translate the following into a SQL query
What was the total crowd size for the him team footscray?
SELECT COUNT Crowd FROM table WHERE Home team = footscray
Translate the following into a SQL query
What is the Home team at corio oval?
SELECT Home team FROM table WHERE Venue = corio oval
Translate the following into a SQL query
What was the away team score when the crowd is larger than 22,000 and hawthorn is the home team?
SELECT Away team score FROM table WHERE Crowd > 22,000 AND Home team = hawthorn
Translate the following into a SQL query
What livery was worn on the date before 1936, with the description of Gresley RF?
SELECT Livery FROM table WHERE Date < 1936 AND Description = gresley rf
Translate the following into a SQL query
Which number and name has the description Gresley RB and a date before 1937?
SELECT Number & Name FROM table WHERE Description = gresley rb AND Date < 1937
Translate the following into a SQL query
Who is the owner before 1940, who had a number and name of no. 1222?
SELECT Owner(s) FROM table WHERE Date < 1940 AND Number & Name = no. 1222
Translate the following into a SQL query
What type has a scratch of 750 GB?
SELECT Type FROM table WHERE Scratch = 750 gb
Translate the following into a SQL query
What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s?
SELECT Cache FROM table WHERE Memory = 24 gb qpi 5.86 gt/s AND Number = 64
Translate the following into a SQL query
What is the Memory for a Number 32 with a Clock of 2.26ghz?
SELECT Memory FROM table WHERE Clock = 2.26ghz AND Number = 32
Translate the following into a SQL query
Of those acquired in 2008, where were they born?
SELECT Place of Birth FROM table WHERE Acquired = 2008
Translate the following into a SQL query
What is the shooting preference of Matthew Myers, acquired in 2010?
SELECT Shoots FROM table WHERE Acquired = 2010 AND Player = matthew myers
Translate the following into a SQL query
In what year was player Bruce Graham acquired?
SELECT Acquired FROM table WHERE Player = bruce graham
Translate the following into a SQL query
Name th D 43 √ when R 51 + is r 30
SELECT D 43 √ FROM table WHERE R 51 + = r 30
Translate the following into a SQL query
Name the R 53 + which has a D 42 √ of d 17
SELECT R 53 + FROM table WHERE D 42 √ = d 17
Translate the following into a SQL query
Name the D 45 O which has R 51 + of d 30
SELECT D 45 O FROM table WHERE R 51 + = d 30
Translate the following into a SQL query
Name the D 42 √ when it has D 44 √ of r 36 √
SELECT D 42 √ FROM table WHERE D 44 √ = r 36 √
Translate the following into a SQL query
Name the D 45 O that has D 46 O of d 26
SELECT D 45 O FROM table WHERE D 46 O = d 26
Translate the following into a SQL query
Name the least goals for goal difference of 7 and losses more than 13
SELECT MIN Goals against FROM table WHERE Goal Difference = 7 AND Losses > 13
Translate the following into a SQL query
Tell me the total number of positions with goal difference more than -17 and played less than 38
SELECT COUNT Position FROM table WHERE Goal Difference > -17 AND Played < 38
Translate the following into a SQL query
Where did Melbourne play as the away team?
SELECT Venue FROM table WHERE Away team = melbourne
Translate the following into a SQL query
What was the attendance when South Melbourne played as the home team?
SELECT MIN Crowd FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What was the attendance when Footscray played as the away team?
SELECT COUNT Crowd FROM table WHERE Away team = footscray
Translate the following into a SQL query
What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons?
SELECT MIN Quantity FROM table WHERE Manufacturer = peckett and sons AND GWR Nos. = 696, 779, 93 5
Translate the following into a SQL query
What is the lowest capacity with an opening larger than 2015 in Trabzon?
SELECT MIN Capacity FROM table WHERE Opening > 2015 AND City = trabzon
Translate the following into a SQL query
What is the average opening at Stadyum Samsun with a capacity smaller than 34,658?
SELECT AVG Opening FROM table WHERE Stadium = stadyum samsun AND Capacity < 34,658
Translate the following into a SQL query
What is the Years for Jazz Club at Oregon State?
SELECT Years for Jazz FROM table WHERE School/Club Team = oregon state
Translate the following into a SQL query
Which player is Andre Owens in Year for Jazz?
SELECT Years for Jazz FROM table WHERE Player = andre owens
Translate the following into a SQL query
What is the Year for Jazz club of Houston?
SELECT Years for Jazz FROM table WHERE School/Club Team = houston
Translate the following into a SQL query
What is position does Dan O'Sullivan play?
SELECT Position FROM table WHERE Player = dan o'sullivan
Translate the following into a SQL query
What position in the club team of Kansas?
SELECT Position FROM table WHERE School/Club Team = kansas
Translate the following into a SQL query
Who is the center position of Years for Jazz, Greg Ostertag?
SELECT Years for Jazz FROM table WHERE Position = center AND Player = greg ostertag
Translate the following into a SQL query
What is the Date for the Away team University?
SELECT Date FROM table WHERE Away team = university
Translate the following into a SQL query
What is the Home team score at junction oval?
SELECT Home team FROM table WHERE Venue = junction oval
Translate the following into a SQL query
What is the Away team score when Home team score is at 5.10 (40)?
SELECT Away team score FROM table WHERE Home team score = 5.10 (40)
Translate the following into a SQL query
What Date did the Home team play in essendon?
SELECT Date FROM table WHERE Home team = essendon
Translate the following into a SQL query
What country has OF-1 Locotenent?
SELECT Country FROM table WHERE OF-1 = locotenent
Translate the following into a SQL query
What country has OF-1 Locotenent?
SELECT Country FROM table WHERE OF-1 = locotenent
Translate the following into a SQL query
Which OF-5 is in Ghana?
SELECT OF-5 FROM table WHERE Country = ghana
Translate the following into a SQL query
What is the OF-4 of Albania?
SELECT OF-4 FROM table WHERE Country = albania
Translate the following into a SQL query
What is the total pick numbers for the CFL team Edmonton Eskimos?
SELECT SUM Pick # FROM table WHERE CFL Team = edmonton eskimos
Translate the following into a SQL query
What p;layer attended Concordia College?
SELECT Player FROM table WHERE College = concordia
Translate the following into a SQL query
What is the total number of picks for the position of OL?
SELECT SUM Pick # FROM table WHERE Position = ol
Translate the following into a SQL query
Name the highest week for result of w 38-13
SELECT MAX Week FROM table WHERE Result = w 38-13
Translate the following into a SQL query
I want to know the date with attendance of 35,763
SELECT Date FROM table WHERE Attendance = 35,763
Translate the following into a SQL query
Which series with a total of 27 albums did Dargaud edit?
SELECT Series FROM table WHERE Editor = dargaud AND Albums = 27
Translate the following into a SQL query
What years did the magazine Vaillant and Pif run?
SELECT Years FROM table WHERE Magazine = vaillant and pif
Translate the following into a SQL query
What state is susana martinez from?
SELECT State FROM table WHERE Current Governor = susana martinez
Translate the following into a SQL query
Which away team has a Home team score of 15.14 (104)?
SELECT Away team FROM table WHERE Home team score = 15.14 (104)
Translate the following into a SQL query
What is the Home team score when away team is hawthorn?
SELECT Home team score FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
What league is ordabasy-2 in?
SELECT League FROM table WHERE Team = ordabasy-2
Translate the following into a SQL query
How many people attended the game where the home team scored 10.13 (73)?
SELECT AVG Crowd FROM table WHERE Home team score = 10.13 (73)
Translate the following into a SQL query
What is the lowest amount of people that attended a game where the home team scored 10.13 (73)?
SELECT MIN Crowd FROM table WHERE Home team score = 10.13 (73)
Translate the following into a SQL query
On what date was Richmond hosted as the away team?
SELECT Date FROM table WHERE Away team = richmond
Translate the following into a SQL query
Tell me the Hindu with Jewish of source: uk 2001 census
SELECT Hindu FROM table WHERE Jewish = source: uk 2001 census
Translate the following into a SQL query
Tell me the ethnic group for jewish of 0.47%
SELECT Ethnic group FROM table WHERE Jewish = 0.47%
Translate the following into a SQL query
Tell me the Hindu for ethnic group for white irish
SELECT Hindu FROM table WHERE Ethnic group = white irish