instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What episode number in the series is "millennium"?
SELECT MIN Series # FROM table WHERE Title = "Millennium"
Translate the following into a SQL query
Who wrote episode 122 in the series?
SELECT Writer FROM table WHERE Series # = 122
Translate the following into a SQL query
Who wrote "Monica's bad day"?
SELECT Writer FROM table WHERE Title = "Monica's Bad Day"
Translate the following into a SQL query
Who directed series episode number 201?
SELECT Director FROM table WHERE Series # = 201
Translate the following into a SQL query
What is the first series episode number for "the christmas watch"?
SELECT MIN Series # FROM table WHERE Title = "The Christmas Watch"
Translate the following into a SQL query
What are the original air date(s) for season episode 20?
SELECT Original Airdate FROM table WHERE Season # = 20
Translate the following into a SQL query
Who wrote "at the end of the aisle"?
SELECT Writer FROM table WHERE Title = "At The End of the Aisle"
Translate the following into a SQL query
Who wrote "the word"?
SELECT Writer FROM table WHERE Title = "The Word"
Translate the following into a SQL query
How many episodes are directed by ricardo mendez matta?
SELECT COUNT Season # FROM table WHERE Director = Ricardo Mendez Matta
Translate the following into a SQL query
Name the leaast points for standing 5th
SELECT MIN Points FROM table WHERE Standing = 5th
Translate the following into a SQL query
If puma is 12, what is camper?
SELECT MIN Camper FROM table WHERE Puma = 12
Translate the following into a SQL query
In how many events was Puma 20 and abu dhabi 30?
SELECT COUNT Event FROM table WHERE Puma = 20 AND Abu Dhabi = 30
Translate the following into a SQL query
How many time was the distance Abu Dhabi?
SELECT COUNT Sanya FROM table WHERE Distance = Abu Dhabi
Translate the following into a SQL query
When czech republic is the country what is the lowest amount l?
SELECT MIN L FROM table WHERE Country = Czech Republic
Translate the following into a SQL query
What is the largest amount of ends lost?
SELECT MAX Ends Lost FROM table
Translate the following into a SQL query
When sweden is the country who is the skip?
SELECT Skip FROM table WHERE Country = Sweden
Translate the following into a SQL query
When chen lu'an is the skip what is the lowest amount l's?
SELECT MIN L FROM table WHERE Skip = Chen Lu'an
Translate the following into a SQL query
Who wrote the story viewed by 0.53 million viewers?
SELECT Story by FROM table WHERE U.S. viewers (millions) = 0.53
Translate the following into a SQL query
How many viewers watched the episode with a story by david simon & mari kornhauser?
SELECT U.S. viewers (millions) FROM table WHERE Story by = David Simon & Mari Kornhauser
Translate the following into a SQL query
How many entries are there for u.s. viewers (millions) for the episode directed by rob bailey?
SELECT COUNT U.S. viewers (millions) FROM table WHERE Directed by = Rob Bailey
Translate the following into a SQL query
What is the date the episode directed by rob bailey aired?
SELECT Original air date FROM table WHERE Directed by = Rob Bailey
Translate the following into a SQL query
WHich team had dave penney as an incoming manager
SELECT Team FROM table WHERE Incoming manager = Dave Penney
Translate the following into a SQL query
What was the manner of departure for notts county with an incoming manager of martin allen
SELECT Manner of departure FROM table WHERE Team = Notts County AND Incoming manager = Martin Allen
Translate the following into a SQL query
How many teams had gary megson as an incoming manager
SELECT COUNT Position in table FROM table WHERE Incoming manager = Gary Megson
Translate the following into a SQL query
who was the incoming manager for the 12th position in the table
SELECT Incoming manager FROM table WHERE Position in table = 12th
Translate the following into a SQL query
How tall is the player from farmington, ky?
SELECT Height FROM table WHERE Home Town = Farmington, KY
Translate the following into a SQL query
Where did adrian smith go to college?
SELECT Team/School FROM table WHERE Name = Adrian Smith
Translate the following into a SQL query
What player attended california university?
SELECT Name FROM table WHERE Team/School = California
Translate the following into a SQL query
What is the name of the player from purcell, ok?
SELECT Name FROM table WHERE Home Town = Purcell, OK
Translate the following into a SQL query
Name the hebrew for tisʕ-
SELECT Hebrew FROM table WHERE Arabic = tisʕ-
Translate the following into a SQL query
Name the tigrinya for χams-
SELECT COUNT Tigrinya FROM table WHERE Arabic = χams-
Translate the following into a SQL query
Name the hebrew for *tišʻ-
SELECT Hebrew FROM table WHERE Proto-Semitic = *tišʻ-
Translate the following into a SQL query
Name the arabic for ħamuʃte
SELECT Arabic FROM table WHERE Tigrinya = ħamuʃte
Translate the following into a SQL query
Name the sabaean for sabʕ-
SELECT Sabaean FROM table WHERE Arabic = sabʕ-
Translate the following into a SQL query
Who is the incoming manager when the date of vacancy was 21 march 2011?
SELECT Incoming manager FROM table WHERE Date of vacancy = 21 March 2011
Translate the following into a SQL query
What is the position in table when the date of vacancy was 4 january 2011?
SELECT Position in Table FROM table WHERE Date of vacancy = 4 January 2011
Translate the following into a SQL query
What is the team when the incoming manager is martin allen?
SELECT Team FROM table WHERE Incoming manager = Martin Allen
Translate the following into a SQL query
Who is the incoming manager when the date of appointment is 9 march 2011?
SELECT Incoming manager FROM table WHERE Date of appointment = 9 March 2011
Translate the following into a SQL query
What is the team when the date of appointment is 23 march 2011?
SELECT Team FROM table WHERE Date of appointment = 23 March 2011
Translate the following into a SQL query
what is the date of appointment 11 june 2010?
SELECT Team FROM table WHERE Date of appointment = 11 June 2010
Translate the following into a SQL query
What is the depth at the UTC time of 12:19:36?
SELECT Depth FROM table WHERE Time ( UTC ) = 12:19:36
Translate the following into a SQL query
What is the date for the UTC time of 03:15:46?
SELECT Date (YYYY-MM-DD) FROM table WHERE Time ( UTC ) = 03:15:46
Translate the following into a SQL query
What is the title for episode number 30?
SELECT Title FROM table WHERE No. in total = 30
Translate the following into a SQL query
What is the number in series of the episode titled "beauty and the beast"?
SELECT No. in series FROM table WHERE Title = "Beauty and the Beast"
Translate the following into a SQL query
What is the number in series for the episode title "crossroads"?
SELECT No. in series FROM table WHERE Title = "Crossroads"
Translate the following into a SQL query
What is the % identity to C7orf38 of the animal whose genus & species is Mus Musculus?
SELECT MAX % Identity to C7orf38 FROM table WHERE Genus & Species = Mus musculus
Translate the following into a SQL query
What is the length (AA) of the animal whose NCBI accession number is CAM15594.1?
SELECT MIN Length (AA) FROM table WHERE NCBI Accession Number = CAM15594.1
Translate the following into a SQL query
What is the % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81?
SELECT MAX % Similarity to C7orf38 FROM table WHERE % Identity to C7orf38 = 81
Translate the following into a SQL query
What is the common name of the animal whose length (AA) is 1323?
SELECT Common Name FROM table WHERE Length (AA) = 1323
Translate the following into a SQL query
What is the % identity to C7orf38 of the animal whose common name is rat?
SELECT MIN % Identity to C7orf38 FROM table WHERE Common Name = Rat
Translate the following into a SQL query
What is the genus & species of the animal whose accession number is XP_002439156.1?
SELECT Genus & Species FROM table WHERE NCBI Accession Number = XP_002439156.1
Translate the following into a SQL query
How many episodes were written by Alison McDonald?
SELECT COUNT Directed by FROM table WHERE Written by = Alison McDonald
Translate the following into a SQL query
How many viewers in millions did the Alison McDonald episode get?
SELECT U.S. viewers (million) FROM table WHERE Written by = Alison McDonald
Translate the following into a SQL query
How many viewers in millions did "batting practice" get?
SELECT U.S. viewers (million) FROM table WHERE Title = "Batting Practice"
Translate the following into a SQL query
What is the p max ( bar ) for the 6876 f bolt ( kgf )?
SELECT MIN P max ( bar ) FROM table WHERE F bolt ( kgf ) = 6876
Translate the following into a SQL query
What is the p1 diameter (mm) when .300 lapua magnum is the chambering?
SELECT P1 diameter (mm) FROM table WHERE Chambering = .300 Lapua Magnum
Translate the following into a SQL query
What is the chambering for the 8339 f bolt ( kgf )?
SELECT Chambering FROM table WHERE F bolt ( kgf ) = 8339
Translate the following into a SQL query
What is the f bolt for 11.35 p1 diameter (mm)?
SELECT F bolt FROM table WHERE P1 diameter (mm) = 11.35
Translate the following into a SQL query
How many external (cm 2 ) are there for the .338 lapua magnum chambering?
SELECT COUNT A external (cm 2 ) FROM table WHERE Chambering = .338 Lapua Magnum
Translate the following into a SQL query
Who is the director for the series # 39?
SELECT Directed by: FROM table WHERE Series # = 39
Translate the following into a SQL query
With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900?
SELECT Chambering FROM table WHERE F bolt = N (lbf) AND P max ( bar ) = 3900
Translate the following into a SQL query
What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm?
SELECT P max ( bar ) FROM table WHERE P1 diameter (mm) = 9.70
Translate the following into a SQL query
What is the p max (bar) in the pistol where the chambering is .45 ACP?
SELECT MAX P max ( bar ) FROM table WHERE Chambering = .45 ACP
Translate the following into a SQL query
What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm?
SELECT P max ( bar ) FROM table WHERE P1 diameter (mm) = 12.09
Translate the following into a SQL query
Who was the incoming manager for the date of appointment of 15 january 2011?
SELECT Incoming manager FROM table WHERE Date of appointment = 15 January 2011
Translate the following into a SQL query
What is the date of appointment for the date of vacancy of 22 august 2010?
SELECT Date of appointment FROM table WHERE Date of vacancy = 22 August 2010
Translate the following into a SQL query
Who was the outgoing manager for the team of târgu mureş?
SELECT Outgoing manager FROM table WHERE Team = Târgu Mureş
Translate the following into a SQL query
How many date of appointments are there when the date of vacancy was 2 october 2010?
SELECT COUNT Date of appointment FROM table WHERE Date of vacancy = 2 October 2010
Translate the following into a SQL query
Who was the outgoing manager when the incoming manager was laurenţiu reghecampf?
SELECT Outgoing manager FROM table WHERE Incoming manager = Laurenţiu Reghecampf
Translate the following into a SQL query
What was the manner of departure when the outgoing manager was andrea mandorlini?
SELECT Manner of departure FROM table WHERE Outgoing manager = Andrea Mandorlini
Translate the following into a SQL query
What is the capacity for dundee united?
SELECT Capacity FROM table WHERE Team = Dundee United
Translate the following into a SQL query
What was the total attendance at rugby park?
SELECT Total FROM table WHERE Stadium = Rugby Park
Translate the following into a SQL query
What is the total attended for kilmarnock?
SELECT MIN Total FROM table WHERE Team = Kilmarnock
Translate the following into a SQL query
How many times was the time 19' 38.87 115.219mph on Fri Aug 27?
SELECT COUNT Mon 23 Aug FROM table WHERE Fri 27 Aug = 19' 38.87 115.219mph
Translate the following into a SQL query
If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?
SELECT Fri 27 Aug FROM table WHERE Tues 24 Aug = 20' 49.46 108.709mph
Translate the following into a SQL query
If Wed Aug 25 is —— no time, what is Sat aug 21?
SELECT Sat 21 Aug FROM table WHERE Wed 25 Aug = —— No Time
Translate the following into a SQL query
If the Rank is 10, what was the time on Sat aug 28?
SELECT Sat 28 Aug FROM table WHERE Rank = 10
Translate the following into a SQL query
How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th?
SELECT COUNT Sat 21 Aug FROM table WHERE Thurs 26 Aug = 20' 05.19 112.703mph
Translate the following into a SQL query
If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28?
SELECT Sat 28 Aug FROM table WHERE Wed 25 Aug = 20' 09.25 112.324mph
Translate the following into a SQL query
How many times was tues 24 aug 19' 19.83 117.110mph?
SELECT COUNT Rank FROM table WHERE Tues 24 Aug = 19' 19.83 117.110mph
Translate the following into a SQL query
how many time is fri 27 aug 19' 38.87 115.219mph?
SELECT COUNT Sat 29 Aug FROM table WHERE Fri 27 Aug = 19' 38.87 115.219mph
Translate the following into a SQL query
what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?
SELECT Wed 25 Aug FROM table WHERE Mon 23 Aug = 26' 57.82 89.957mph
Translate the following into a SQL query
What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?
SELECT Thurs 26 Aug FROM table WHERE Wed 25 Aug = 19' 59.98 113.192mph
Translate the following into a SQL query
what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph?
SELECT Mon 23 Aug FROM table WHERE Fri 27 Aug = 18' 59.25 119.226mph
Translate the following into a SQL query
When 8 is the rank what is the Saturday August 21st?
SELECT Sat 21 Aug FROM table WHERE Rank = 8
Translate the following into a SQL query
When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August?
SELECT Tues 24 Aug FROM table WHERE Fri 27 Aug = 20' 58.50 107.929mph
Translate the following into a SQL query
When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd?
SELECT Mon 23 Aug FROM table WHERE Tues 24 Aug = 21' 18.87 106.209mph
Translate the following into a SQL query
When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th?
SELECT Sat 29 Aug FROM table WHERE Tues 24 Aug = 21' 10.25 106.930mph
Translate the following into a SQL query
When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th?
SELECT Fri 27 Aug FROM table WHERE Wed 25 Aug = 21' 05.83 107.304mph
Translate the following into a SQL query
When tom snow 250cc honda is the rider what is Monday August 23rd?
SELECT Mon 23 Aug FROM table WHERE Rider = Tom Snow 250cc Honda
Translate the following into a SQL query
The episode with the original airdate October 8, 2010, is directed by who?
SELECT Directed by FROM table WHERE Original airdate = October 8, 2010
Translate the following into a SQL query
Who directed the episode with production code 693-004?
SELECT Directed by FROM table WHERE Production code = 693-004
Translate the following into a SQL query
The episode with production code 693-002, has how many original airdates?
SELECT COUNT Original airdate FROM table WHERE Production code = 693-002
Translate the following into a SQL query
What is the title of the episode whose original airdate is April 23, 2010?
SELECT Title FROM table WHERE Original airdate = April 23, 2010
Translate the following into a SQL query
Who had the time of 22' 09.44 93.840mph on Tuesday August 24th?
SELECT Rider FROM table WHERE Tues 24 Aug = 22' 09.44 93.840mph
Translate the following into a SQL query
What is the L3 cache for the processor having a speed of 2.93 GHz?
SELECT L3 Cache (MB) FROM table WHERE Speed (GHz) = 2.93
Translate the following into a SQL query
How many entries have a speed of exactly 2.53 GHz?
SELECT COUNT Cores FROM table WHERE Speed (GHz) = 2.53
Translate the following into a SQL query
What is the speed of the model whose number is W3540?
SELECT Speed (GHz) FROM table WHERE model = W3540
Translate the following into a SQL query
What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?
SELECT Wed 25 Aug FROM table WHERE Fri 27 Aug = 22' 23.97 101.065mph
Translate the following into a SQL query
What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?
SELECT Sat 21 Aug FROM table WHERE Thurs 26 Aug = 20' 56.01 108.143mph