instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Name the district for 1994
SELECT District FROM table WHERE First elected = 1994
Translate the following into a SQL query
Name the party for pennsylvania 10
SELECT Party FROM table WHERE District = Pennsylvania 10
Translate the following into a SQL query
Name the result for glenn thompson
SELECT Result FROM table WHERE Incumbent = Glenn Thompson
Translate the following into a SQL query
Name the number of district for bill shuster
SELECT COUNT District FROM table WHERE Incumbent = Bill Shuster
Translate the following into a SQL query
List the total play time for 11 starts.
SELECT MAX Minutes FROM table WHERE Starts = 11
Translate the following into a SQL query
In what region is the enrollment ratio in primary 94.40?
SELECT Region FROM table WHERE Primary (6–13 years) = 94.40
Translate the following into a SQL query
What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?
SELECT Preschool (0–5 years) FROM table WHERE Tertiary (18–24 years) = 29.55
Translate the following into a SQL query
What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?
SELECT Primary (6–13 years) FROM table WHERE Preschool (0–5 years) = 38.14
Translate the following into a SQL query
What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?
SELECT Tertiary (18–24 years) FROM table WHERE Secondary (14–17 years) = 71.43
Translate the following into a SQL query
What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?
SELECT Preschool (0–5 years) FROM table WHERE Primary (6–13 years) = 93.10
Translate the following into a SQL query
What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23?
SELECT Primary (6–13 years) FROM table WHERE Preschool (0–5 years) = 50.23
Translate the following into a SQL query
what is the number of registered female voters where the percentage is 108.6%
SELECT Enrolled women FROM table WHERE E/VAP ratio Women = 108.6%
Translate the following into a SQL query
what is the percentage of male voters where the level of maturity is 123726
SELECT E/VAP ratio Total FROM table WHERE Men of voting age = 123726
Translate the following into a SQL query
How many regions had 153 women prison inmates?
SELECT COUNT Incarceration rate Total FROM table WHERE Prison inmates Women = 153
Translate the following into a SQL query
How many regions had an incarceration rate for females of 63?
SELECT COUNT Incarceration rate Total FROM table WHERE Incarceration rate Female = 63
Translate the following into a SQL query
What is the male incarceration rate of maule?
SELECT MAX Incarceration rate Male FROM table WHERE Region = Maule
Translate the following into a SQL query
Name the region for automatic washing machine being 60.9%
SELECT Region FROM table WHERE Automatic washing machine = 60.9%
Translate the following into a SQL query
Name the fixed telephone line for 25.6% vehicle
SELECT Fixed telephone line FROM table WHERE Vehicle = 25.6%
Translate the following into a SQL query
Name the region for 39.2% vehicle
SELECT Region FROM table WHERE Vehicle = 39.2%
Translate the following into a SQL query
What region has 0.3% solar panel?
SELECT Region FROM table WHERE Solar panel = 0.3%
Translate the following into a SQL query
What is atacama's percentage of solar panels?
SELECT Solar panel FROM table WHERE Region = Atacama
Translate the following into a SQL query
Which region has 0.6% none?
SELECT Region FROM table WHERE None = 0.6%
Translate the following into a SQL query
What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule?
SELECT Public network FROM table WHERE Other source = 0.1% AND Solar panel = 0.0% AND Region = Maule
Translate the following into a SQL query
How many regions have 0.5% solar panels?
SELECT COUNT Public network FROM table WHERE Solar panel = 0.5%
Translate the following into a SQL query
Who directed "you are not in any trouble, are you?"
SELECT Directed by FROM table WHERE Title = "You Are Not in Any Trouble, Are You?"
Translate the following into a SQL query
What is the production number of 3-04?
SELECT MAX Prod No. FROM table WHERE Episode No. = 3-04
Translate the following into a SQL query
What was the title of the episode that aired on October 7, 1965?
SELECT Title FROM table WHERE Original airdate UK = October 7, 1965
Translate the following into a SQL query
When don inglis and ralph smart are the writers how many episode numbers are there?
SELECT COUNT Episode No. FROM table WHERE Written by = Don Inglis and Ralph Smart
Translate the following into a SQL query
Name the number of schools for 1011/12 is 26
SELECT COUNT Institute FROM table WHERE 2011/12 = 26
Translate the following into a SQL query
Name the 2013/14 for 2012/13 is 36
SELECT 2013/14 FROM table WHERE 2012/13 = 36
Translate the following into a SQL query
Name the number of regions for 2013/14 being 27
SELECT COUNT Region FROM table WHERE 2013/14 = 27
Translate the following into a SQL query
Name the most 2012/13 for university of cambridge
SELECT MAX 2012/13 FROM table WHERE Institute = University of Cambridge
Translate the following into a SQL query
Name the birth date for taavi sadam
SELECT Birth Date FROM table WHERE Player = Taavi Sadam
Translate the following into a SQL query
Name the height for asko esna
SELECT Height FROM table WHERE Player = Asko Esna
Translate the following into a SQL query
Name the birth date for estonia for spiker and height of 189
SELECT Birth Date FROM table WHERE Nationality = Estonia AND Position = Spiker AND Height = 189
Translate the following into a SQL query
Name the player for 199 height
SELECT Player FROM table WHERE Height = 199
Translate the following into a SQL query
if the 2.09 million US viewers watched this episode, who was it written by
SELECT Written by FROM table WHERE U.S. Viewers (in millions) = 2.09
Translate the following into a SQL query
If the episode was directed by Michael Offer, what was the episode number?
SELECT MIN No. FROM table WHERE Directed by = Michael Offer
Translate the following into a SQL query
How many directors directed the episode titled "Incoming"?
SELECT COUNT Directed by FROM table WHERE Title = "Incoming"
Translate the following into a SQL query
If the episode was directed by Michael Offer, how many US Viewers watched it?
SELECT U.S. Viewers (in millions) FROM table WHERE Directed by = Michael Offer
Translate the following into a SQL query
How many US viewers watched the episode titled "The Way through"?
SELECT U.S. Viewers (in millions) FROM table WHERE Title = "The Way Through"
Translate the following into a SQL query
What draft pick number was the player with the position DL?
SELECT Pick # FROM table WHERE Position = DL
Translate the following into a SQL query
How many draft picks were for Winnipeg blue bombers?
SELECT COUNT Pick # FROM table WHERE CFL Team = Winnipeg Blue Bombers
Translate the following into a SQL query
How many colleges provided players with positions LB?
SELECT COUNT College FROM table WHERE Position = LB
Translate the following into a SQL query
What college did the player come from whose position is DL?
SELECT College FROM table WHERE Position = DL
Translate the following into a SQL query
What team got a draft pick player from McGill?
SELECT CFL Team FROM table WHERE College = McGill
Translate the following into a SQL query
What number draft pick was Oklahoma State's Greg Hill in 1983?
SELECT Pick # FROM table WHERE College = Oklahoma State AND Player = Greg Hill
Translate the following into a SQL query
What number pick was Danny Walters in the 1983 NFL draft?
SELECT COUNT Pick # FROM table WHERE Player = Danny Walters
Translate the following into a SQL query
What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?
SELECT Position FROM table WHERE NFL Team = New Orleans Saints
Translate the following into a SQL query
What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
SELECT Position FROM table WHERE Player = Steve Maidlow
Translate the following into a SQL query
In which colleges is the NFL Team New York Giants and with the position defensive back?
SELECT College FROM table WHERE NFL Team = New York Giants AND Position = Defensive back
Translate the following into a SQL query
What NFL Team has the player Danny Triplett with the position linebacker?
SELECT NFL Team FROM table WHERE Position = Linebacker AND Player = Danny Triplett
Translate the following into a SQL query
What are the NFL Teams in College North Texas State?
SELECT NFL Team FROM table WHERE College = North Texas State
Translate the following into a SQL query
How many colleges have the NFL Team Buffalo Bills?
SELECT COUNT College FROM table WHERE NFL Team = Buffalo Bills
Translate the following into a SQL query
Who are the all the players whose position is guard in college Clemson?
SELECT Player FROM table WHERE College = Clemson AND Position = Guard
Translate the following into a SQL query
What NFL Teams have the player Aaron Williams?
SELECT NFL Team FROM table WHERE Player = Aaron Williams
Translate the following into a SQL query
Name the least pick number for the denver broncos
SELECT MIN Pick # FROM table WHERE NFL Team = Denver Broncos
Translate the following into a SQL query
Name the position for pick number 39
SELECT Position FROM table WHERE Pick # = 39
Translate the following into a SQL query
Name the total number of pick number being henry ellard
SELECT COUNT Pick # FROM table WHERE Player = Henry Ellard
Translate the following into a SQL query
Name the player for new orleans saints
SELECT Player FROM table WHERE NFL Team = New Orleans Saints
Translate the following into a SQL query
Name the number of players for georgia tech
SELECT COUNT Player FROM table WHERE College = Georgia Tech
Translate the following into a SQL query
Name the most pick number for guard and kansas city chiefs
SELECT MAX Pick # FROM table WHERE Position = Guard AND NFL Team = Kansas City Chiefs
Translate the following into a SQL query
Name the nfl team for pick number 151
SELECT NFL Team FROM table WHERE Pick # = 151
Translate the following into a SQL query
Name the college for houston oilers
SELECT College FROM table WHERE NFL Team = Houston Oilers
Translate the following into a SQL query
Name the most pick number for illinois
SELECT MAX Pick # FROM table WHERE College = Illinois
Translate the following into a SQL query
Name the total number for nfl team for ellis gardner
SELECT COUNT NFL Team FROM table WHERE Player = Ellis Gardner
Translate the following into a SQL query
Name the position for delaware
SELECT Position FROM table WHERE College = Delaware
Translate the following into a SQL query
Name the nfl team for eric williams
SELECT NFL Team FROM table WHERE Player = Eric Williams
Translate the following into a SQL query
how many l2 cache has a clock speed to tdp ratio of 46.7?
SELECT COUNT L2 Cache FROM table WHERE Clock Speed to TDP ratio (MHz/W) = 46.7
Translate the following into a SQL query
What NFL team picked a player from Jackson State?
SELECT NFL Team FROM table WHERE College = Jackson State
Translate the following into a SQL query
What position was the draft pick that came from Langston?
SELECT Position FROM table WHERE College = Langston
Translate the following into a SQL query
How many players were the running back draft pick for the New England Patriots?
SELECT COUNT Player FROM table WHERE NFL Team = New England Patriots AND Position = Running back
Translate the following into a SQL query
Who was the draft pick for Kansas City Chiefs?
SELECT Player FROM table WHERE NFL Team = Kansas City Chiefs
Translate the following into a SQL query
What college did the tight end draft pick for New England Patriots come from?
SELECT College FROM table WHERE NFL Team = New England Patriots AND Position = Tight end
Translate the following into a SQL query
What is the Cuchumela Municipality minimum?
SELECT MIN Cuchumuela Municipality FROM table
Translate the following into a SQL query
If Villa Rivero Municipality if 7, what is the language?
SELECT Language FROM table WHERE Villa Rivero Municipality = 7
Translate the following into a SQL query
What is the language total number if the Tacachi Municipality is 3?
SELECT COUNT Language FROM table WHERE Tacachi Municipality = 3
Translate the following into a SQL query
If the language is another native, what is the San Benito Municipality total number?
SELECT COUNT San Benito Municipality FROM table WHERE Language = Another native
Translate the following into a SQL query
If the language is Spanish, what is the Vinto Municipality minimum?
SELECT MIN Vinto Municipality FROM table WHERE Language = Spanish
Translate the following into a SQL query
If the Vinto Municipality is 18630, what is the Quillacollo Municipality?
SELECT MAX Quillacollo Municipality FROM table WHERE Vinto Municipality = 18630
Translate the following into a SQL query
What is the Sipe Sipe Municipality minimum if the language is Quechua?
SELECT MIN Sipe Sipe Municipality FROM table WHERE Language = Quechua
Translate the following into a SQL query
If the language is Native and Spanish, what is the Vinto Municipality minimum?
SELECT MIN Vinto Municipality FROM table WHERE Language = Native and Spanish
Translate the following into a SQL query
If the Quillacollo Municipality is 93131, what is the Vinto Municipality minimum?
SELECT MIN Vinto Municipality FROM table WHERE Quillacollo Municipality = 93131
Translate the following into a SQL query
Name the language for villa 1167
SELECT Language FROM table WHERE Villa Alcalá Municipality = 1167
Translate the following into a SQL query
Name the most padilla municipality for quechua
SELECT MAX Padilla Municipality FROM table WHERE Language = Quechua
Translate the following into a SQL query
Name the language for sopachuy 10
SELECT Language FROM table WHERE Sopachuy Municipality = 10
Translate the following into a SQL query
Name the number of tomina for villa alcala for 176
SELECT COUNT Tomina Municipality FROM table WHERE Villa Alcalá Municipality = 176
Translate the following into a SQL query
Name the least tomina for el villar being 4
SELECT MIN Tomina Municipality FROM table WHERE El Villar Municipality = 4
Translate the following into a SQL query
Name the language for el villar 1264
SELECT Language FROM table WHERE El Villar Municipality = 1264
Translate the following into a SQL query
Name the total number of games for goals against being 352
SELECT COUNT Games FROM table WHERE Goals against = 352
Translate the following into a SQL query
Name the total number of games for lost being 41
SELECT COUNT Games FROM table WHERE Lost = 41
Translate the following into a SQL query
Name the most goals for 56 points
SELECT MAX Goals for FROM table WHERE Points = 56
Translate the following into a SQL query
Name the number of won for goals for being 274
SELECT COUNT Won FROM table WHERE Goals for = 274
Translate the following into a SQL query
When the quiabaya municipality is 2 what is the combaya municipality?
SELECT Combaya Municipality FROM table WHERE Quiabaya Municipality = 2
Translate the following into a SQL query
What is the guanay municipality when the tacacoma municipality is 4.321?
SELECT Guanay Municipality FROM table WHERE Tacacoma Municipality = 4.321
Translate the following into a SQL query
How many people in the sorata municipality when the quiabaya municipality has 33?
SELECT Sorata Municipality FROM table WHERE Quiabaya Municipality = 33
Translate the following into a SQL query
What is the number for combaya municipality when quiabaya municipality is 33?
SELECT Combaya Municipality FROM table WHERE Quiabaya Municipality = 33
Translate the following into a SQL query
tipuani municipality when tacacoma municipality is 6?
SELECT Tipuani Municipality FROM table WHERE Tacacoma Municipality = 6
Translate the following into a SQL query
What is the number for the guanay municipality when combaya municipality is 0?
SELECT Guanay Municipality FROM table WHERE Combaya Municipality = 0
Translate the following into a SQL query
What is the first year where the assassination attempt was at Martyrs' Mausoleum, Rangoon, Burma?
SELECT MIN Year FROM table WHERE Location = Martyrs' Mausoleum, Rangoon, Burma