answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
|---|---|---|
SELECT country FROM table_20669355_2 WHERE hometown = "San Francisco de Yojoa"
|
CREATE TABLE table_20669355_2 (country VARCHAR, hometown VARCHAR)
|
What country is the contestant from San Francisco de Yojoa from?
|
SELECT COUNT(height__ft_) FROM table_20669355_2 WHERE hometown = "Warsaw"
|
CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, hometown VARCHAR)
|
How many different heights are there for the contestants from Warsaw?
|
SELECT COUNT(county) FROM table_20688030_1 WHERE obama_percentage = "35.44%"
|
CREATE TABLE table_20688030_1 (county VARCHAR, obama_percentage VARCHAR)
|
What is the total of countys where Obama is popular by 35.44%?
|
SELECT mccain_percentage FROM table_20688030_1 WHERE obama_percentage = "36.47%"
|
CREATE TABLE table_20688030_1 (mccain_percentage VARCHAR, obama_percentage VARCHAR)
|
What are McCain's Percent when Obama has 36.47%?
|
SELECT COUNT(mccain_number) FROM table_20688030_1 WHERE obama_percentage = "39.13%"
|
CREATE TABLE table_20688030_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
|
What is McCains percent when Obamas is 39.13%
|
SELECT MAX(obama_number) FROM table_20688030_1 WHERE county = "Wayne"
|
CREATE TABLE table_20688030_1 (obama_number INTEGER, county VARCHAR)
|
What is the maximum Obama supporters in Wayne county?
|
SELECT population__may_1, _2000_ FROM table_2068761_1 WHERE barangay = "General Terrero"
|
CREATE TABLE table_2068761_1 (population__may_1 VARCHAR, _2000_ VARCHAR, barangay VARCHAR)
|
Name th epopulation may for general terrero
|
SELECT season__number FROM table_20704243_3 WHERE series__number = 23
|
CREATE TABLE table_20704243_3 (season__number VARCHAR, series__number VARCHAR)
|
What is the season number for Series #23, the Runway Job?
|
SELECT MIN(series__number) FROM table_20704243_3 WHERE directed_by = "Mark Roskin"
|
CREATE TABLE table_20704243_3 (series__number INTEGER, directed_by VARCHAR)
|
What series was directed by Mark Roskin?
|
SELECT COUNT(written_by) FROM table_20704243_3 WHERE directed_by = "Peter Winther"
|
CREATE TABLE table_20704243_3 (written_by VARCHAR, directed_by VARCHAR)
|
How many were written by Peter Winther?
|
SELECT COUNT(directed_by) FROM table_20704243_3 WHERE season__number = 2
|
CREATE TABLE table_20704243_3 (directed_by VARCHAR, season__number VARCHAR)
|
How many directors were in Season 2?
|
SELECT original_air_date FROM table_20704243_4 WHERE written_by = "Albert Kim"
|
CREATE TABLE table_20704243_4 (original_air_date VARCHAR, written_by VARCHAR)
|
When was the episode written by Albert Kim aired for the first time?
|
SELECT series__number FROM table_20704243_5 WHERE written_by = "M. Scott Veach & Rebecca Kirsch"
|
CREATE TABLE table_20704243_5 (series__number VARCHAR, written_by VARCHAR)
|
Name the series number for m. scott veach & rebecca kirsch
|
SELECT us_viewers__in_millions_ FROM table_20704243_5 WHERE series__number = 50
|
CREATE TABLE table_20704243_5 (us_viewers__in_millions_ VARCHAR, series__number VARCHAR)
|
Name the number of viewers for series number 50
|
SELECT directed_by FROM table_20704243_5 WHERE season__number = 1
|
CREATE TABLE table_20704243_5 (directed_by VARCHAR, season__number VARCHAR)
|
Name who directed season 1
|
SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE beam_height__mm_ = 120
|
CREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, beam_height__mm_ VARCHAR)
|
What is the moment of intertia in torsion (j) Cm4) for the beam height (mm) 120??=
|
SELECT cross_section_area__cm_2__ FROM table_2071644_1 WHERE moment_of_inertia_in_torsion__j___cm_4__ = "2.54"
|
CREATE TABLE table_2071644_1 (cross_section_area__cm_2__ VARCHAR, moment_of_inertia_in_torsion__j___cm_4__ VARCHAR)
|
What is the cross section area (cm 2) for the moment of intertia in torsion (j) (cm 4) 2.54?
|
SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "6.0"
|
CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)
|
What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg
|
SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE web_thickness__mm_ = "4.7"
|
CREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, web_thickness__mm_ VARCHAR)
|
What is the number for the moment of intertia in torsion (j) (cm 4) for the 4.7 web thickness (mm)?
|
SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "10.4"
|
CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)
|
What is the flange thickness (mm) for the weight (kg/m) 10.4?
|
SELECT COUNT(flange_width__mm_) FROM table_2071644_1 WHERE cross_section_area__cm_2__ = "16.4"
|
CREATE TABLE table_2071644_1 (flange_width__mm_ VARCHAR, cross_section_area__cm_2__ VARCHAR)
|
What is the flange width (mm) for cross section area (cm 2) 16.4?
|
SELECT lyon__32_ FROM table_20711545_1 WHERE seed = 5
|
CREATE TABLE table_20711545_1 (lyon__32_ VARCHAR, seed VARCHAR)
|
In what round was lyon (32) a 5 seed?
|
SELECT COUNT(marseille__32_draw_) FROM table_20711545_1 WHERE seed = 2
|
CREATE TABLE table_20711545_1 (marseille__32_draw_ VARCHAR, seed VARCHAR)
|
How many items were recorded marseille (32 draw) was a 2 seed?
|
SELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = "DNQ"
|
CREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR)
|
What is the seed for lyon (32) was DNQ?
|
SELECT paris__48___byes_ FROM table_20711545_1 WHERE seed = 3
|
CREATE TABLE table_20711545_1 (paris__48___byes_ VARCHAR, seed VARCHAR)
|
What was the result for Paris(48-byes) for 3 seed?
|
SELECT mccain_percentage FROM table_20722805_1 WHERE obama_percentage = "64.39%"
|
CREATE TABLE table_20722805_1 (mccain_percentage VARCHAR, obama_percentage VARCHAR)
|
What was McCain's percentage when Obama had 64.39% of the vote?
|
SELECT MIN(mccain_number) FROM table_20722805_1 WHERE obama_percentage = "48.35%"
|
CREATE TABLE table_20722805_1 (mccain_number INTEGER, obama_percentage VARCHAR)
|
What was McCain's vote when Obama had 48.35%
|
SELECT MIN(obama_number) FROM table_20722805_1 WHERE obama_percentage = "32.12%"
|
CREATE TABLE table_20722805_1 (obama_number INTEGER, obama_percentage VARCHAR)
|
How many votes did Obama have at 32.12%
|
SELECT parish FROM table_20722805_1 WHERE mccain_percentage = "45.37%"
|
CREATE TABLE table_20722805_1 (parish VARCHAR, mccain_percentage VARCHAR)
|
What parish did McCain have 45.37% of the votes?
|
SELECT MAX(mccain_number) FROM table_20722805_1 WHERE parish = "Webster"
|
CREATE TABLE table_20722805_1 (mccain_number INTEGER, parish VARCHAR)
|
What is the total number of votes McCain had in Webster?
|
SELECT originalairdate FROM table_20726262_2 WHERE production_code = "1WAB06"
|
CREATE TABLE table_20726262_2 (originalairdate VARCHAR, production_code VARCHAR)
|
What was the original air date for the episode with production code 1wab06?
|
SELECT title FROM table_20726262_2 WHERE directedby = "Paris Barclay"
|
CREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR)
|
What title episode did Paris Barclay direct?
|
SELECT production_code FROM table_20726262_2 WHERE no_in_series = 1
|
CREATE TABLE table_20726262_2 (production_code VARCHAR, no_in_series VARCHAR)
|
What was the production code for episode #1?
|
SELECT MAX(no_in_series) FROM table_20726262_2 WHERE writtenby = "Kurt Sutter & Jack LoGiudice"
|
CREATE TABLE table_20726262_2 (no_in_series INTEGER, writtenby VARCHAR)
|
What number episode was written by kurt sutter & jack logiudice?
|
SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38"
|
CREATE TABLE table_20726262_3 (production_code VARCHAR, usviewers__million_ VARCHAR)
|
What was the production code for the episode with 3.38 million viewers?
|
SELECT no_in_season FROM table_20726262_3 WHERE production_code = "2WAB12"
|
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, production_code VARCHAR)
|
What season number did production code 2wab12?
|
SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = "Brett Conrad & Liz Sagal"
|
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)
|
How many numbers in the season were written by Brett Conrad & Liz Sagal?
|
SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07"
|
CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR)
|
what i the maximum number in the series where the production code is 3wab07?
|
SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ = "2.59"
|
CREATE TABLE table_20726262_4 (no_in_season INTEGER, usviewers__million_ VARCHAR)
|
what is the maximum number in the season wher the us viewers is 2.59?
|
SELECT writtenby FROM table_20726262_4 WHERE production_code = "3WAB03"
|
CREATE TABLE table_20726262_4 (writtenby VARCHAR, production_code VARCHAR)
|
what is the written by and production code is 3wab03?
|
SELECT seats_won FROM table_20728138_1 WHERE seats_contested = 48
|
CREATE TABLE table_20728138_1 (seats_won VARCHAR, seats_contested VARCHAR)
|
How many seats were won, when the seats contested was 48?
|
SELECT seats_contested FROM table_20728138_1 WHERE party = "Independents"
|
CREATE TABLE table_20728138_1 (seats_contested VARCHAR, party VARCHAR)
|
How many seats are contested for independents?
|
SELECT _percentage_in_seats_contested FROM table_20728138_1 WHERE party = "Revolutionary Socialist party"
|
CREATE TABLE table_20728138_1 (_percentage_in_seats_contested VARCHAR, party VARCHAR)
|
What is the percentage seats contested for the revolutionary socialist party?
|
SELECT MIN(2003 AS _seats) FROM table_20728138_1 WHERE _percentage_in_seats_contested = "38.23%"
|
CREATE TABLE table_20728138_1 (_percentage_in_seats_contested VARCHAR)
|
What is the 2003 seat number, when seats contested was at 38.23%
|
SELECT COUNT(seats_forfeited) FROM table_20728138_1 WHERE party = "Revolutionary Socialist party"
|
CREATE TABLE table_20728138_1 (seats_forfeited VARCHAR, party VARCHAR)
|
How many seats were forfeited in the revolutionary socialist party?
|
SELECT opponent FROM table_20745685_1 WHERE attendance = 16642
|
CREATE TABLE table_20745685_1 (opponent VARCHAR, attendance VARCHAR)
|
Who was the opponent when the attendance was exactly 16642?
|
SELECT score FROM table_20745685_1 WHERE _number = 7
|
CREATE TABLE table_20745685_1 (score VARCHAR, _number VARCHAR)
|
What is the score for game #7?
|
SELECT opponent FROM table_20745685_1 WHERE date = "February 28, 1991"
|
CREATE TABLE table_20745685_1 (opponent VARCHAR, date VARCHAR)
|
Who was the opponent on February 28, 1991
|
SELECT date FROM table_20745444_1 WHERE record = "1-0"
|
CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR)
|
What was the date when the record was 1-0?
|
SELECT COUNT(tar_heels_points) FROM table_20745444_1 WHERE result = "Loss"
|
CREATE TABLE table_20745444_1 (tar_heels_points VARCHAR, result VARCHAR)
|
How many results finished in a loss?
|
SELECT MAX(game) FROM table_20745444_1 WHERE opponent = "Furman"
|
CREATE TABLE table_20745444_1 (game INTEGER, opponent VARCHAR)
|
How many games were against Furman?
|
SELECT COUNT(opponents) FROM table_20745444_1 WHERE opponent = "Duke"
|
CREATE TABLE table_20745444_1 (opponents VARCHAR, opponent VARCHAR)
|
How many times were Duke the opponents?
|
SELECT MAX(opponents) FROM table_20745444_1 WHERE record = "4-0"
|
CREATE TABLE table_20745444_1 (opponents INTEGER, record VARCHAR)
|
How many losses were there when the record was 4-0?
|
SELECT at_vs FROM table_20745754_1 WHERE _number = "7"
|
CREATE TABLE table_20745754_1 (at_vs VARCHAR, _number VARCHAR)
|
What was the game #7, at or versus (home or at)?
|
SELECT opponent FROM table_20745754_1 WHERE _number = "7"
|
CREATE TABLE table_20745754_1 (opponent VARCHAR, _number VARCHAR)
|
Who did they play against in game 7?
|
SELECT _number FROM table_20745754_1 WHERE attendance = 2813
|
CREATE TABLE table_20745754_1 (_number VARCHAR, attendance VARCHAR)
|
What game number had an attendance of 2813?
|
SELECT date FROM table_20746062_1 WHERE game = 9
|
CREATE TABLE table_20746062_1 (date VARCHAR, game VARCHAR)
|
What day did the play game number 9?
|
SELECT result FROM table_20746062_1 WHERE record = "2-1"
|
CREATE TABLE table_20746062_1 (result VARCHAR, record VARCHAR)
|
What was the result of the game when they were 2-1?
|
SELECT record FROM table_20760407_1 WHERE bruins_points = 41
|
CREATE TABLE table_20760407_1 (record VARCHAR, bruins_points VARCHAR)
|
What was the record when the Bruins had 41 points?
|
SELECT date FROM table_20760407_1 WHERE game = 9
|
CREATE TABLE table_20760407_1 (date VARCHAR, game VARCHAR)
|
What was the date for game 9?
|
SELECT MAX(game) FROM table_20760407_1 WHERE bruins_points = 56
|
CREATE TABLE table_20760407_1 (game INTEGER, bruins_points VARCHAR)
|
What game did the Bruins have 56 points?
|
SELECT played FROM table_20760802_1 WHERE lost = "4" AND drawn = "1"
|
CREATE TABLE table_20760802_1 (played VARCHAR, lost VARCHAR, drawn VARCHAR)
|
What is the total of played where lost equals 4 and drawn equals 1?
|
SELECT drawn FROM table_20760802_1 WHERE club = "New Ross"
|
CREATE TABLE table_20760802_1 (drawn VARCHAR, club VARCHAR)
|
How many drawn are there where the Club is new ross?
|
SELECT drawn FROM table_20760802_1 WHERE points_against = "129"
|
CREATE TABLE table_20760802_1 (drawn VARCHAR, points_against VARCHAR)
|
How may drawn equal points against at 129?
|
SELECT points_difference FROM table_20760802_1 WHERE points_for = "134"
|
CREATE TABLE table_20760802_1 (points_difference VARCHAR, points_for VARCHAR)
|
How many points differ from 134?
|
SELECT points_difference FROM table_20760802_1 WHERE lost = "10"
|
CREATE TABLE table_20760802_1 (points_difference VARCHAR, lost VARCHAR)
|
How many of the points difference lost equal 10?
|
SELECT played FROM table_20760802_1 WHERE won = "0"
|
CREATE TABLE table_20760802_1 (played VARCHAR, won VARCHAR)
|
How many teams that played won 0 games?
|
SELECT location_s_ FROM table_2076595_1 WHERE control = "Public" AND type = "Master's university"
|
CREATE TABLE table_2076595_1 (location_s_ VARCHAR, control VARCHAR, type VARCHAR)
|
What are the public schools with a master's university?
|
SELECT MIN(enrollment__2009_) FROM table_2076595_1 WHERE location_s_ = "Plainfield"
|
CREATE TABLE table_2076595_1 (enrollment__2009_ INTEGER, location_s_ VARCHAR)
|
What is the minimum enrollment for Plainfield?
|
SELECT type FROM table_2076595_1 WHERE enrollment__2009_ = 224
|
CREATE TABLE table_2076595_1 (type VARCHAR, enrollment__2009_ VARCHAR)
|
What type of school had an enrollment in 2009 of 224?
|
SELECT MAX(founded) FROM table_2076595_1 WHERE school = "Southern Vermont College"
|
CREATE TABLE table_2076595_1 (founded INTEGER, school VARCHAR)
|
When was Southern Vermont College founded?
|
SELECT control FROM table_2076595_1 WHERE type = "Art school"
|
CREATE TABLE table_2076595_1 (control VARCHAR, type VARCHAR)
|
Is art school public or private?
|
SELECT school FROM table_2076595_1 WHERE founded = 1791
|
CREATE TABLE table_2076595_1 (school VARCHAR, founded VARCHAR)
|
What school was founded in 1791?
|
SELECT COUNT(enrollment__spring_2012_) FROM table_2076557_2 WHERE school = "Sioux Falls Seminary"
|
CREATE TABLE table_2076557_2 (enrollment__spring_2012_ VARCHAR, school VARCHAR)
|
Name the number of spring enrollment for sioux falls seminary
|
SELECT accreditation FROM table_2076557_2 WHERE school = "Southeast Technical Institute"
|
CREATE TABLE table_2076557_2 (accreditation VARCHAR, school VARCHAR)
|
Name the accrediatation for southeast technical institute
|
SELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = "Yankton"
|
CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)
|
Name the total number of founded for yankton
|
SELECT italian FROM table_2077192_2 WHERE english = "otter"
|
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
|
What is the Italian word for the English word "otter"?
|
SELECT COUNT(french) FROM table_2077192_2 WHERE central_southern_calabrian = "zinnapòtamu"
|
CREATE TABLE table_2077192_2 (french VARCHAR, central_southern_calabrian VARCHAR)
|
How many French words does zinnapòtamu in Central-Southern Calabrian translate to?
|
SELECT french FROM table_2077192_2 WHERE english = "orange"
|
CREATE TABLE table_2077192_2 (french VARCHAR, english VARCHAR)
|
What is the French translation for the English word "orange"?
|
SELECT italian FROM table_2077192_2 WHERE english = "orange"
|
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
|
What is the Italian word for "orange" in English?
|
SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE french = "grenouille"
|
CREATE TABLE table_2077192_2 (phonetic_greek VARCHAR, french VARCHAR)
|
How many Phonetic Greek words translate to grenouille in French?
|
SELECT italian FROM table_2077192_2 WHERE english = "frog"
|
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
|
What does the word "frog"in English translate to in Italian?
|
SELECT enrollment FROM table_2076608_3 WHERE location_s_ = "Alexandria"
|
CREATE TABLE table_2076608_3 (enrollment VARCHAR, location_s_ VARCHAR)
|
Where are the Alexandria enrollment locations?
|
SELECT control FROM table_2076608_3 WHERE founded = "1991"
|
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR)
|
What is the control type which was founded in 1991?
|
SELECT control FROM table_2076608_3 WHERE founded = "1818"
|
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR)
|
What is the control type which was founded in 1818?
|
SELECT founded FROM table_2076608_3 WHERE school = "Hartland College"
|
CREATE TABLE table_2076608_3 (founded VARCHAR, school VARCHAR)
|
What year was Hartland College founded?
|
SELECT type FROM table_2076608_3 WHERE school = "Cordoba University"
|
CREATE TABLE table_2076608_3 (type VARCHAR, school VARCHAR)
|
What type of school is Cordoba University?
|
SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond"
|
CREATE TABLE table_2076608_3 (school VARCHAR, location_s_ VARCHAR)
|
What school is in Richmond?
|
SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University"
|
CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR)
|
What accreditation does Hollins University have?
|
SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696"
|
CREATE TABLE table_2076608_1 (founded INTEGER, enrollment VARCHAR)
|
What was the largest founded year for schools having enrollment of exactly 696?
|
SELECT control FROM table_2076608_1 WHERE school = "Christopher Newport University"
|
CREATE TABLE table_2076608_1 (control VARCHAR, school VARCHAR)
|
What is the control for Christopher Newport University?
|
SELECT COUNT(founded) FROM table_2076608_1 WHERE enrollment = "5634"
|
CREATE TABLE table_2076608_1 (founded VARCHAR, enrollment VARCHAR)
|
What is the total number of schools founded that have an enrollment of 5634?
|
SELECT type FROM table_2076608_1 WHERE school = "Stratford University"
|
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR)
|
What type of school is Stratford University?
|
SELECT type FROM table_2076608_1 WHERE school = "Jefferson College of Health Sciences"
|
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR)
|
What type of school is Jefferson College of Health Sciences?
|
SELECT nec_record FROM table_20774360_2 WHERE standing = "11th"
|
CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR)
|
Name the nec record for 11th standing
|
SELECT year FROM table_20774360_2 WHERE standing = "9th"
|
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR)
|
Name the year for standing 9th
|
SELECT year FROM table_20774360_2 WHERE standing = "T-10th"
|
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR)
|
Name the year for t-10th
|
SELECT regular_season_record__w_l_ FROM table_20774360_2 WHERE standing = "11th"
|
CREATE TABLE table_20774360_2 (regular_season_record__w_l_ VARCHAR, standing VARCHAR)
|
Name the regular season record for standing 11th
|
SELECT MAX(previous_br_no) FROM table_2079664_3
|
CREATE TABLE table_2079664_3 (previous_br_no INTEGER)
|
Name the most previous br number
|
SELECT COUNT(previous_br_no) FROM table_2079664_3 WHERE number = "21"
|
CREATE TABLE table_2079664_3 (previous_br_no VARCHAR, number VARCHAR)
|
Name the total number of previous br number for number 21
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.