instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
how many porphyria have substrate δ-aminolevulinic acid
SELECT COUNT Porphyria FROM table WHERE Substrate = δ-Aminolevulinic acid
Translate the following into a SQL query
give the location of subtrate coproporphyrinogen iii
SELECT Location FROM table WHERE Substrate = Coproporphyrinogen III
Translate the following into a SQL query
Who were the authors of episode having production code 3t7573?
SELECT Written by FROM table WHERE Production code = 3T7573
Translate the following into a SQL query
How many episodes had a viewership of 2.65 million?
SELECT COUNT No. in season FROM table WHERE U.S. viewers (millions) = 2.65
Translate the following into a SQL query
Who were the director/s of episodes written by Mike Daniels?
SELECT Directed by FROM table WHERE Written by = Mike Daniels
Translate the following into a SQL query
How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?
SELECT COUNT Binibining Pilipinas-International FROM table WHERE Miss Universe Philippines = Nina Ricci Alagao
Translate the following into a SQL query
Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
SELECT Second runner-up FROM table WHERE Binibining Pilipinas-World = Janina San Miguel
Translate the following into a SQL query
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
SELECT Binibining Pilipinas-International FROM table WHERE Miss Universe Philippines = Gionna Cabrera
Translate the following into a SQL query
How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?
SELECT COUNT Binibining Pilipinas-International FROM table WHERE Binibining Pilipinas-World = Maria Karla Bautista
Translate the following into a SQL query
Who is the second runner up when Janina San Miguel won binibining pilipinas-world?
SELECT COUNT Second runner-up FROM table WHERE Binibining Pilipinas-World = Janina San Miguel
Translate the following into a SQL query
When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?
SELECT COUNT Miss Universe Philippines FROM table WHERE Binibining Pilipinas-International = Margaret Ann Bayot
Translate the following into a SQL query
What's the minimal number of population served?
SELECT MIN Population Served FROM table
Translate the following into a SQL query
Who's the partner at Tamara, Hon?
SELECT Partner FROM table WHERE Location = Tamara, HON
Translate the following into a SQL query
How many votes Khuzestan were there when the percentage was 34.50?
SELECT MIN Votes Khuzestan FROM table WHERE % of votes Khuzestan = 34.50
Translate the following into a SQL query
How many figures for votes Khuzestan were there when the percentage was 34.50?
SELECT COUNT Votes Khuzestan FROM table WHERE % of votes Khuzestan = 34.50
Translate the following into a SQL query
What was the percentage of national votes for Mahmoud Ahmadinejad?
SELECT % of votes nationally FROM table WHERE Candidates = Mahmoud Ahmadinejad
Translate the following into a SQL query
Name the revenue for eps being 8.9
SELECT Revenue (£million) FROM table WHERE Earnings per share (p) = 8.9
Translate the following into a SQL query
Name the total number of year to april for ebit being 24.5
SELECT COUNT Year to April FROM table WHERE EBIT (£m) = 24.5
Translate the following into a SQL query
Name the eps for net profit being 39.2
SELECT Earnings per share (p) FROM table WHERE Net profit (£m) = 39.2
Translate the following into a SQL query
Name the ebit for eps being 10.6
SELECT EBIT (£m) FROM table WHERE Earnings per share (p) = 10.6
Translate the following into a SQL query
What are the population densities of all communes with an are of 28.3 sq.km.?
SELECT Pop. density (km 2 ) FROM table WHERE Area (km 2 ) = 28.3
Translate the following into a SQL query
What commune has an area of 12.4 sq.km.?
SELECT Commune FROM table WHERE Area (km 2 ) = 12.4
Translate the following into a SQL query
What commune had a 2002 population of 130394?
SELECT Commune FROM table WHERE 2002 population = 130394
Translate the following into a SQL query
Which city has a resolution that is negotiated exile in Austria?
SELECT City FROM table WHERE Resolution = Negotiated exile in Austria
Translate the following into a SQL query
Which city has the missions city of Australia?
SELECT City FROM table WHERE Missions Country = Australia
Translate the following into a SQL query
How many missions countries have notability with president of burundi?
SELECT COUNT Missions Country FROM table WHERE Notability = President of Burundi
Translate the following into a SQL query
What is the nickname of the team whose 2013/2014 enrollment is 436?
SELECT Nickname(s) FROM table WHERE Enrollment (2013/14) = 436
Translate the following into a SQL query
What is the name of the team from the Elverado Trico school in football?
SELECT Team Name FROM table WHERE Sports = Football AND Schools = Elverado Trico
Translate the following into a SQL query
How many years of kindergarten is provided in Ticino?
SELECT Years of Kindergarten provided FROM table WHERE Canton = Ticino
Translate the following into a SQL query
How many years is kindergarten legally requited in Zug?
SELECT Years of Kindergarten legally required FROM table WHERE Canton = Zug
Translate the following into a SQL query
Are there integrated secondary schools in Uri?
SELECT Integrated Secondary Schools? FROM table WHERE Canton = Uri
Translate the following into a SQL query
What is the longest length of mandatory secondary school?
SELECT MAX Length of mandatory Secondary School FROM table
Translate the following into a SQL query
Are there integrated secondary schools in Basel-Stadt?
SELECT Integrated Secondary Schools? FROM table WHERE Canton = Basel-Stadt
Translate the following into a SQL query
Who wrote the story that is cover date 19 October 1985?
SELECT Writer/s FROM table WHERE Cover Date = 19 October 1985
Translate the following into a SQL query
How many cover dates does the story "Devastation Derby! (part 1)" have?
SELECT COUNT Cover Date FROM table WHERE Story Title = DEVASTATION DERBY! (Part 1)
Translate the following into a SQL query
What is the comment on the issue dated 14 March 1987?
SELECT Comments FROM table WHERE Cover Date = 14 March 1987
Translate the following into a SQL query
What is the title of the issue where the art was done by Barry Kitson and Farmer?
SELECT Story Title FROM table WHERE Artist/s = Barry Kitson and Farmer
Translate the following into a SQL query
What is the minimum number which is for title The Enemy Within part 1?
SELECT MIN # FROM table
Translate the following into a SQL query
what is the number of hydroxymatairesinol where sesamin is 62724?
SELECT Hydroxymatairesinol FROM table WHERE Sesamin = 62724
Translate the following into a SQL query
what is the total number of sesamin were secoisolariciresinol is 240?
SELECT Sesamin FROM table WHERE Secoisolariciresinol = 240
Translate the following into a SQL query
what is the maximum number of pinorinol in wheat bran?
SELECT MAX Pinoresinol FROM table WHERE Foodstuff = Wheat bran
Translate the following into a SQL query
how much sesamin is in sesame seed?
SELECT Sesamin FROM table WHERE Foodstuff = Sesame seed
Translate the following into a SQL query
what is the minimum number is lariciresinol where matairesinol number is 440?
SELECT MIN Lariciresinol FROM table WHERE Matairesinol = 440
Translate the following into a SQL query
What was the calling for the 18.42 arrival time?
SELECT Calling at FROM table WHERE Arrival = 18.42
Translate the following into a SQL query
What was the arrival for Wansford, Peterborough East?
SELECT Arrival FROM table WHERE Calling at = Wansford, Peterborough East
Translate the following into a SQL query
What was the departure time when the arrival was 14.40?
SELECT Departure FROM table WHERE Arrival = 14.40
Translate the following into a SQL query
What is the departure for Peterborough East whose arrival time is 12.40?
SELECT Departure FROM table WHERE Going to = Peterborough East AND Arrival = 12.40
Translate the following into a SQL query
What is the calling at for the 09.50 departure?
SELECT Calling at FROM table WHERE Departure = 09.50
Translate the following into a SQL query
Where is the train going to when departing at 20.35?
SELECT Going to FROM table WHERE Departure = 20.35
Translate the following into a SQL query
Name the most played for 140 plus is 13
SELECT MAX Played FROM table WHERE 140+ = 13
Translate the following into a SQL query
Name the 3 dart average for michael van gerwen
SELECT 3-dart Average FROM table WHERE Player = Michael van Gerwen
Translate the following into a SQL query
how many callings of trains arriving at 09.06
SELECT COUNT Calling at FROM table WHERE Arrival = 09.06
Translate the following into a SQL query
what is the operator of trains arriving at 13.39
SELECT Operator FROM table WHERE Arrival = 13.39
Translate the following into a SQL query
when does the train departuring at 11.35 arrive
SELECT Arrival FROM table WHERE Departure = 11.35
Translate the following into a SQL query
when does the train arriving at bourne at 11.45 departure
SELECT Departure FROM table WHERE Going to = Bourne AND Arrival = 11.45
Translate the following into a SQL query
when does the train arriving at stamford east at 11.45 departure
SELECT Departure FROM table WHERE Arrival = 11.45 AND Going to = Stamford East
Translate the following into a SQL query
How many clubs are remaining when the winners from the previous round totals 4?
SELECT Clubs remaining FROM table WHERE Winners from previous round = 4
Translate the following into a SQL query
What is the round where winners from the previous round totals 8?
SELECT Round FROM table WHERE Winners from previous round = 8
Translate the following into a SQL query
How many clubs remain in the fourth round?
SELECT MIN Clubs remaining FROM table WHERE Round = Fourth round
Translate the following into a SQL query
How many new entries started in the round where winners from the previous round is 32?
SELECT New entries this round FROM table WHERE Winners from previous round = 32
Translate the following into a SQL query
How many new entries started in the quarter finals?
SELECT New entries this round FROM table WHERE Round = Quarter finals
Translate the following into a SQL query
How many new entries started in the round where winners from the previous round is 16?
SELECT New entries this round FROM table WHERE Winners from previous round = 16
Translate the following into a SQL query
Who wrote "episode 10"?
SELECT Writer FROM table WHERE Title = "Episode 10"
Translate the following into a SQL query
Who wrote "episode 4"?
SELECT Writer FROM table WHERE Title = "Episode 4"
Translate the following into a SQL query
Who directed "episode 5"?
SELECT Director FROM table WHERE Title = "Episode 5"
Translate the following into a SQL query
Who was the train operator when the train departed at 11.02 in 1922?
SELECT Operator FROM table WHERE Departure = 11.02
Translate the following into a SQL query
What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?
SELECT Going to FROM table WHERE Calling at = Boston, Sleaford, Nottingham Victoria
Translate the following into a SQL query
What was the departure time of the train going to Boston?
SELECT Departure FROM table WHERE Going to = Boston
Translate the following into a SQL query
What was the arrival time of the train that departed at 18.16?
SELECT Arrival FROM table WHERE Departure = 18.16
Translate the following into a SQL query
What was the departure time of the train that arrived at 21.26?
SELECT Departure FROM table WHERE Arrival = 21.26
Translate the following into a SQL query
What was the 'calling at' station of the train that departed on 18.16?
SELECT Calling at FROM table WHERE Departure = 18.16
Translate the following into a SQL query
Name the original air date for barnaby southcomb for charlie martin
SELECT Original air date FROM table WHERE Director = Barnaby Southcomb AND Writer = Charlie Martin
Translate the following into a SQL query
Name the number in series for number 38
SELECT MIN No. in series FROM table WHERE No. overall = 38
Translate the following into a SQL query
What is the original air date of the episode with the production code 1115?
SELECT Original air date FROM table WHERE Production code = 1115
Translate the following into a SQL query
who directed the episode with the original air date of November 22, 1989?
SELECT Directed by FROM table WHERE Original air date = November 22, 1989
Translate the following into a SQL query
when deland is the fcsl team and 2008 is the year played who is the mlb team?
SELECT MLB Team FROM table WHERE Years Played = 2008 AND FCSL Team = DeLand
Translate the following into a SQL query
When toronto blue jays are the mlb team who are the fscl team?
SELECT FCSL Team FROM table WHERE MLB Team = Toronto Blue Jays
Translate the following into a SQL query
When 2005 is the year played what is the lowest year drafted?
SELECT MIN Year Drafted FROM table WHERE Years Played = 2005
Translate the following into a SQL query
When winter pines is the fcsl team how many mlb teams are there?
SELECT COUNT MLB Team FROM table WHERE FCSL Team = Winter Pines
Translate the following into a SQL query
When 2006 is the year played and winter park is the fcsl team who is the player?
SELECT Player FROM table WHERE FCSL Team = Winter Park AND Years Played = 2006
Translate the following into a SQL query
Which operators offer a genre of music?
SELECT Operator FROM table WHERE Genre = music
Translate the following into a SQL query
Which languages are offered in the coverage area of klang petaling jaya shah alam?
SELECT Language FROM table WHERE Coverage Area = Klang Petaling Jaya Shah Alam
Translate the following into a SQL query
Name the macedonian for il/elle avait entendu
SELECT Macedonian FROM table WHERE French = il/elle avait entendu
Translate the following into a SQL query
Name the greek modern for słyszałeś był / słyszałaś była
SELECT Greek (Modern) FROM table WHERE Polish (extinct) = słyszałeś był / słyszałaś była
Translate the following into a SQL query
Name the bulgarian for jullie hadden gehoord
SELECT Bulgarian FROM table WHERE Dutch = jullie hadden gehoord
Translate the following into a SQL query
Name the english for j'avais entendu
SELECT English FROM table WHERE French = j'avais entendu
Translate the following into a SQL query
What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers?
SELECT U.S. air date FROM table WHERE Canadian viewers (million) = 1.452
Translate the following into a SQL query
What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern?
SELECT No. FROM table WHERE Directed by = Kelly Makin AND Written by = Mark Ellis & Stephanie Morgenstern
Translate the following into a SQL query
What is the maximum number of episodes in the series listed?
SELECT MAX No. FROM table
Translate the following into a SQL query
What is the total number of episodes listed with a production code of 306?
SELECT COUNT # FROM table WHERE Production code = 306
Translate the following into a SQL query
Who directed the episode with a production code of 301?
SELECT Directed by FROM table WHERE Production code = 301
Translate the following into a SQL query
Who wrote the episodes watched by 1.816 million people in Canada?
SELECT Written by FROM table WHERE Canadian viewers (million) = 1.816
Translate the following into a SQL query
Who wrote the episodes watched by 1.575 million people in Canada?
SELECT Written by FROM table WHERE Canadian viewers (million) = 1.575
Translate the following into a SQL query
Who directed the episode aired on February 27, 2009?
SELECT Directed by FROM table WHERE U.S. air date = February 27, 2009
Translate the following into a SQL query
Which episodes had production code 217?
SELECT Title FROM table WHERE Production code = 217
Translate the following into a SQL query
For upper Arlington, what was the median household income?
SELECT Median House- hold Income FROM table WHERE Place = Upper Arlington
Translate the following into a SQL query
With a per capita income of $30,298, what was the total number of households?
SELECT COUNT Number of Households FROM table WHERE Per Capita Income = $30,298
Translate the following into a SQL query
If the population is 2188, what was the median household income?
SELECT Median House- hold Income FROM table WHERE Population = 2188
Translate the following into a SQL query
For Pigeon Creek what is the per capita income?
SELECT Per Capita Income FROM table WHERE Place = Pigeon Creek
Translate the following into a SQL query
If the median income is $57,407, what is the per capita income?
SELECT Per Capita Income FROM table WHERE Median House- hold Income = $57,407