instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the total of countys where Obama is popular by 35.44%?
SELECT COUNT County FROM table WHERE Obama% = 35.44%
Translate the following into a SQL query
What are McCain's Percent when Obama has 36.47%?
SELECT McCain% FROM table WHERE Obama% = 36.47%
Translate the following into a SQL query
What is McCains percent when Obamas is 39.13%
SELECT COUNT McCain# FROM table WHERE Obama% = 39.13%
Translate the following into a SQL query
What is the maximum Obama supporters in Wayne county?
SELECT MAX Obama# FROM table WHERE County = Wayne
Translate the following into a SQL query
Name th epopulation may for general terrero
SELECT Population (May 1, 2000) FROM table WHERE Barangay = General Terrero
Translate the following into a SQL query
Name the total number of district for population may being 478
SELECT COUNT District FROM table WHERE Population (May 1, 2010) = 478
Translate the following into a SQL query
Name the population may for cadalusan for population 1423
SELECT Population (May 1, 2010) FROM table WHERE District = CadaLuSan AND Population (August 1, 2007) = 1423
Translate the following into a SQL query
What is the season number for Series #23, the Runway Job?
SELECT Season # FROM table WHERE Series # = 23
Translate the following into a SQL query
What series was directed by Mark Roskin?
SELECT MIN Series # FROM table WHERE Directed by = Mark Roskin
Translate the following into a SQL query
How many were written by Peter Winther?
SELECT COUNT Written by FROM table WHERE Directed by = Peter Winther
Translate the following into a SQL query
How many directors were in Season 2?
SELECT COUNT Directed by FROM table WHERE Season # = 2
Translate the following into a SQL query
Who is the director of the episode titled "The Reunion Job"?
SELECT Directed by FROM table WHERE Title = "The Reunion Job"
Translate the following into a SQL query
When was the episode written by Albert Kim aired for the first time?
SELECT Original air date FROM table WHERE Written by = Albert Kim
Translate the following into a SQL query
When was the episode titled "The Boost Job" originally aired?
SELECT Original air date FROM table WHERE Title = "The Boost Job"
Translate the following into a SQL query
How many millions of people in the US saw the episode titled "The Reunion Job"?
SELECT U.S. viewers (in millions) FROM table WHERE Title = "The Reunion Job"
Translate the following into a SQL query
Who wrote the episode titled "The Morning After Job"?
SELECT Written by FROM table WHERE Title = "The Morning After Job"
Translate the following into a SQL query
Name the series number for m. scott veach & rebecca kirsch
SELECT Series # FROM table WHERE Written by = M. Scott Veach & Rebecca Kirsch
Translate the following into a SQL query
Name the number of viewers for series number 50
SELECT U.S. viewers (in millions) FROM table WHERE Series # = 50
Translate the following into a SQL query
Name who directed season 1
SELECT Directed by FROM table WHERE Season # = 1
Translate the following into a SQL query
What is the moment of intertia in torsion (j) Cm4) for the beam height (mm) 120??=
SELECT COUNT Moment of inertia in torsion (J) (cm 4 ) FROM table WHERE Beam height (mm) = 120
Translate the following into a SQL query
What is the cross section area (cm 2) for the moment of intertia in torsion (j) (cm 4) 2.54?
SELECT Cross-section area (cm 2 ) FROM table WHERE Moment of inertia in torsion (J) (cm 4 ) = 2.54
Translate the following into a SQL query
What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg
SELECT Flange thickness (mm) FROM table WHERE Weight (kg/m) = 6.0
Translate the following into a SQL query
What is the number for the moment of intertia in torsion (j) (cm 4) for the 4.7 web thickness (mm)?
SELECT COUNT Moment of inertia in torsion (J) (cm 4 ) FROM table WHERE Web thickness (mm) = 4.7
Translate the following into a SQL query
What is the flange thickness (mm) for the weight (kg/m) 10.4?
SELECT Flange thickness (mm) FROM table WHERE Weight (kg/m) = 10.4
Translate the following into a SQL query
What is the flange width (mm) for cross section area (cm 2) 16.4?
SELECT COUNT Flange width (mm) FROM table WHERE Cross-section area (cm 2 ) = 16.4
Translate the following into a SQL query
In what round was lyon (32) a 5 seed?
SELECT Lyon (32) FROM table WHERE Seed = 5
Translate the following into a SQL query
How many items were recorded marseille (32 draw) was a 2 seed?
SELECT COUNT Marseille (32 draw) FROM table WHERE Seed = 2
Translate the following into a SQL query
What is the seed for lyon (32) was DNQ?
SELECT MAX Seed FROM table WHERE Lyon (32) = DNQ
Translate the following into a SQL query
What was the result for Paris(48-byes) for 3 seed?
SELECT Paris (48 - byes) FROM table WHERE Seed = 3
Translate the following into a SQL query
What was McCain's percentage when Obama had 64.39% of the vote?
SELECT McCain% FROM table WHERE Obama% = 64.39%
Translate the following into a SQL query
What was McCain's vote when Obama had 48.35%
SELECT MIN McCain# FROM table WHERE Obama% = 48.35%
Translate the following into a SQL query
How many votes did Obama have at 32.12%
SELECT MIN Obama# FROM table WHERE Obama% = 32.12%
Translate the following into a SQL query
What parish did McCain have 45.37% of the votes?
SELECT Parish FROM table WHERE McCain% = 45.37%
Translate the following into a SQL query
What is the total number of votes McCain had in Webster?
SELECT MAX McCain# FROM table WHERE Parish = Webster
Translate the following into a SQL query
What was the original air date for the episode with production code 1wab06?
SELECT Originalairdate FROM table WHERE Production code = 1WAB06
Translate the following into a SQL query
What title episode did Paris Barclay direct?
SELECT Title FROM table WHERE Directedby = Paris Barclay
Translate the following into a SQL query
What was the production code for episode #1?
SELECT Production code FROM table WHERE No. in series = 1
Translate the following into a SQL query
What number episode was written by kurt sutter & jack logiudice?
SELECT MAX No. in series FROM table WHERE Writtenby = Kurt Sutter & Jack LoGiudice
Translate the following into a SQL query
What was the production code for the episode with 3.38 million viewers?
SELECT Production code FROM table WHERE U.S.viewers (million) = 3.38
Translate the following into a SQL query
Who were the writers for "Balm"?
SELECT Writtenby FROM table WHERE Title = "Balm"
Translate the following into a SQL query
What season number did production code 2wab12?
SELECT No. in season FROM table WHERE Production code = 2WAB12
Translate the following into a SQL query
How many numbers in the season were written by Brett Conrad & Liz Sagal?
SELECT COUNT No. in season FROM table WHERE Writtenby = Brett Conrad & Liz Sagal
Translate the following into a SQL query
what i the maximum number in the series where the production code is 3wab07?
SELECT MAX No. in series FROM table WHERE Production code = 3WAB07
Translate the following into a SQL query
what is the maximum number in the season wher the us viewers is 2.59?
SELECT MAX No. in season FROM table WHERE U.S.viewers (million) = 2.59
Translate the following into a SQL query
what is the written by and production code is 3wab03?
SELECT Writtenby FROM table WHERE Production code = 3WAB03
Translate the following into a SQL query
How many seats were won, when the seats contested was 48?
SELECT Seats Won FROM table WHERE Seats Contested = 48
Translate the following into a SQL query
How many seats are contested for independents?
SELECT Seats Contested FROM table WHERE Party = Independents
Translate the following into a SQL query
What is the percentage seats contested for the revolutionary socialist party?
SELECT % in Seats contested FROM table WHERE Party = Revolutionary Socialist Party
Translate the following into a SQL query
What is the 2003 seat number, when seats contested was at 38.23%
SELECT MIN 2003 Seats FROM table WHERE % in Seats contested = 38.23%
Translate the following into a SQL query
How many seats were forfeited in the revolutionary socialist party?
SELECT COUNT Seats Forfeited FROM table WHERE Party = Revolutionary Socialist Party
Translate the following into a SQL query
Who was the opponent when the attendance was exactly 16642?
SELECT Opponent FROM table WHERE Attendance = 16642
Translate the following into a SQL query
What is the score for game #7?
SELECT Score FROM table WHERE # = 7
Translate the following into a SQL query
Who was the opponent on February 28, 1991
SELECT Opponent FROM table WHERE Date = February 28, 1991
Translate the following into a SQL query
What was the date when the record was 1-0?
SELECT Date FROM table WHERE Record = 1-0
Translate the following into a SQL query
How many results finished in a loss?
SELECT COUNT Tar Heels points FROM table WHERE Result = Loss
Translate the following into a SQL query
How many games were against Furman?
SELECT MAX Game FROM table WHERE Opponent = Furman
Translate the following into a SQL query
How many times were Duke the opponents?
SELECT COUNT Opponents FROM table WHERE Opponent = Duke
Translate the following into a SQL query
How many losses were there when the record was 4-0?
SELECT MAX Opponents FROM table WHERE Record = 4-0
Translate the following into a SQL query
What was the game #7, at or versus (home or at)?
SELECT at/vs. FROM table WHERE # = 7
Translate the following into a SQL query
Who did they play against in game 7?
SELECT Opponent FROM table WHERE # = 7
Translate the following into a SQL query
What game number had an attendance of 2813?
SELECT # FROM table WHERE Attendance = 2813
Translate the following into a SQL query
What day did the play game number 9?
SELECT Date FROM table WHERE Game = 9
Translate the following into a SQL query
What was the result of the game when they were 2-1?
SELECT Result FROM table WHERE Record = 2-1
Translate the following into a SQL query
What was the record when the Bruins had 41 points?
SELECT Record FROM table WHERE Bruins points = 41
Translate the following into a SQL query
What was the date for game 9?
SELECT Date FROM table WHERE Game = 9
Translate the following into a SQL query
What game did the Bruins have 56 points?
SELECT MAX Game FROM table WHERE Bruins points = 56
Translate the following into a SQL query
What is the total of played where lost equals 4 and drawn equals 1?
SELECT Played FROM table WHERE Lost = 4 AND Drawn = 1
Translate the following into a SQL query
How many drawn are there where the Club is new ross?
SELECT Drawn FROM table WHERE Club = New Ross
Translate the following into a SQL query
How may drawn equal points against at 129?
SELECT Drawn FROM table WHERE Points against = 129
Translate the following into a SQL query
How many points differ from 134?
SELECT Points difference FROM table WHERE Points for = 134
Translate the following into a SQL query
How many of the points difference lost equal 10?
SELECT Points difference FROM table WHERE Lost = 10
Translate the following into a SQL query
How many teams that played won 0 games?
SELECT Played FROM table WHERE Won = 0
Translate the following into a SQL query
What are the public schools with a master's university?
SELECT Location(s) FROM table WHERE Control = Public AND Type = Master's university
Translate the following into a SQL query
What is the minimum enrollment for Plainfield?
SELECT MIN Enrollment (2009) FROM table WHERE Location(s) = Plainfield
Translate the following into a SQL query
What type of school had an enrollment in 2009 of 224?
SELECT Type FROM table WHERE Enrollment (2009) = 224
Translate the following into a SQL query
When was Southern Vermont College founded?
SELECT MAX Founded FROM table WHERE School = Southern Vermont College
Translate the following into a SQL query
Is art school public or private?
SELECT Control FROM table WHERE Type = Art school
Translate the following into a SQL query
What school was founded in 1791?
SELECT School FROM table WHERE Founded = 1791
Translate the following into a SQL query
Name the number of spring enrollment for sioux falls seminary
SELECT COUNT Enrollment (spring 2012) FROM table WHERE School = Sioux Falls Seminary
Translate the following into a SQL query
Name the accrediatation for southeast technical institute
SELECT Accreditation FROM table WHERE School = Southeast Technical Institute
Translate the following into a SQL query
Name the total number of founded for yankton
SELECT COUNT Founded FROM table WHERE Location(s) = Yankton
Translate the following into a SQL query
What is the Italian word for the English word "otter"?
SELECT Italian FROM table WHERE English = otter
Translate the following into a SQL query
How many French words does zinnapòtamu in Central-Southern Calabrian translate to?
SELECT COUNT French FROM table WHERE Central-Southern Calabrian = zinnapòtamu
Translate the following into a SQL query
What is the French translation for the English word "orange"?
SELECT French FROM table WHERE English = orange
Translate the following into a SQL query
What is the Italian word for "orange" in English?
SELECT Italian FROM table WHERE English = orange
Translate the following into a SQL query
How many Phonetic Greek words translate to grenouille in French?
SELECT COUNT Phonetic Greek FROM table WHERE French = grenouille
Translate the following into a SQL query
What does the word "frog"in English translate to in Italian?
SELECT Italian FROM table WHERE English = frog
Translate the following into a SQL query
Where are the Alexandria enrollment locations?
SELECT Enrollment FROM table WHERE Location(s) = Alexandria
Translate the following into a SQL query
What is the control type which was founded in 1991?
SELECT Control FROM table WHERE Founded = 1991
Translate the following into a SQL query
What is the control type which was founded in 1818?
SELECT Control FROM table WHERE Founded = 1818
Translate the following into a SQL query
What year was Hartland College founded?
SELECT Founded FROM table WHERE School = Hartland College
Translate the following into a SQL query
What type of school is Cordoba University?
SELECT Type FROM table WHERE School = Cordoba University
Translate the following into a SQL query
What school is in Richmond?
SELECT School FROM table WHERE Location(s) = Richmond
Translate the following into a SQL query
What accreditation does Hollins University have?
SELECT Accreditation FROM table WHERE School = Hollins University
Translate the following into a SQL query
What was the largest founded year for schools having enrollment of exactly 696?
SELECT MAX Founded FROM table WHERE Enrollment = 696
Translate the following into a SQL query
What is the control for Christopher Newport University?
SELECT Control FROM table WHERE School = Christopher Newport University
Translate the following into a SQL query
What is the total number of schools founded that have an enrollment of 5634?
SELECT COUNT Founded FROM table WHERE Enrollment = 5634
Translate the following into a SQL query
What type of school is Stratford University?
SELECT Type FROM table WHERE School = Stratford University
Translate the following into a SQL query
What type of school is Jefferson College of Health Sciences?
SELECT Type FROM table WHERE School = Jefferson College of Health Sciences
Translate the following into a SQL query
Name the nec record for 11th standing
SELECT NEC Record FROM table WHERE Standing = 11th