output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT COUNT(stanier), _3_cylinder FROM table_20142629_2 WHERE fowler = 16 | CREATE TABLE table_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR), When the Fowler is 16, what is the number of cylinders? |
SELECT MAX(fowler) FROM table_20142629_2 | CREATE TABLE table_20142629_2 (fowler INTEGER), What is tops for Folwer? |
SELECT grid FROM table_20159025_1 WHERE part_1 = "1:31.063" | CREATE TABLE table_20159025_1 (grid VARCHAR, part_1 VARCHAR), On what grid was the time for part 1 1:31.063? |
SELECT driver FROM table_20159025_1 WHERE no = "2‡" | CREATE TABLE table_20159025_1 (driver VARCHAR, no VARCHAR), Which driver was number 2‡? |
SELECT driver FROM table_20159025_1 WHERE grid = "01 1" | CREATE TABLE table_20159025_1 (driver VARCHAR, grid VARCHAR), Who was the driver in grid 01 1? |
SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen" | CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR), What was the time in part 3 when Heikki Kovalainen was the driver? |
SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386" | CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR), Who was the driver when the time in part 3 was 1:31.386? |
SELECT part_3 FROM table_20159025_1 WHERE driver = "Nick Heidfeld" | CREATE TABLE table_20159025_1 (part_3 VARCHAR, driver VARCHAR), What was the time in part 3 when Nick Heidfeld was the driver? |
SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = "5 August 1967" | CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR), Name the title that aired on 5 august 1967 |
SELECT COUNT(director) FROM table_20345624_2 WHERE no = 6 | CREATE TABLE table_20345624_2 (director VARCHAR, no VARCHAR), Name the total number of directors for number 6 |
SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney" | CREATE TABLE table_20345624_2 (original_airdate VARCHAR, director VARCHAR), Name the original airdate for guy verney |
SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967" | CREATE TABLE table_20345624_2 (writer VARCHAR, original_airdate VARCHAR), Name the number of writers for airdate of 15 july 1967 |
SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan" | CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR), What's the abbreviation for the month whose transcription is Kumphaphan? |
SELECT zodiac_sign FROM table_20354_5 WHERE thai_name = "มกราคม" | CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, thai_name VARCHAR), What's the zodiac sign for the month with Thai name มกราคม? |
SELECT zodiac_sign FROM table_20354_5 WHERE transcription = "karakadakhom" | CREATE TABLE table_20354_5 (zodiac_sign VARCHAR, transcription VARCHAR), What's the zodiac sing for the month whose transcription is Karakadakhom? |
SELECT transcription FROM table_20354_5 WHERE thai_name = "พฤษภาคม" | CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR), What's the transcription for the Thai name พฤษภาคม? |
SELECT sanskrit_word FROM table_20354_5 WHERE thai_name = "มกราคม" | CREATE TABLE table_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR), What's the Sanskrit word for month with Thai name มกราคม? |
SELECT COUNT(transcription) FROM table_20354_5 WHERE thai_name = "พฤษภาคม" | CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR), How many different transcriptions are there for the Thai name พฤษภาคม? |
SELECT MAX(innings) FROM table_20367820_16 WHERE average = "36.48" | CREATE TABLE table_20367820_16 (innings INTEGER, average VARCHAR), What is the innings when the average is 36.48? |
SELECT not_out FROM table_20367820_16 WHERE average = "43.70" | CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR), How many no outs are there for an average of 43.70? |
SELECT COUNT(not_out) FROM table_20367820_16 WHERE average = "56.38" | CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR), How many no outs for an average of 56.38? |
SELECT COUNT(poles) FROM table_20396_1 WHERE points = "78" | CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR), How many poles had 78 points? |
SELECT COUNT(poles) FROM table_20396_1 WHERE points = "72" | CREATE TABLE table_20396_1 (poles VARCHAR, points VARCHAR), How many poles had 72 points? |
SELECT poles FROM table_20396_1 WHERE season = 2000 | CREATE TABLE table_20396_1 (poles VARCHAR, season VARCHAR), How many poles were there in season 2000? |
SELECT team FROM table_20396_1 WHERE points = "4" | CREATE TABLE table_20396_1 (team VARCHAR, points VARCHAR), What team scored 4 points? |
SELECT winner FROM table_20462111_1 WHERE date = "30.11.2008" | CREATE TABLE table_20462111_1 (winner VARCHAR, date VARCHAR), Who won the cup on 30.11.2008? |
SELECT 3 AS rd_place FROM table_20462111_1 WHERE date = "01.02.2009" | CREATE TABLE table_20462111_1 (date VARCHAR), Who got the 3rd place in the cup on 01.02.2009? |
SELECT location FROM table_20462111_1 WHERE date = "07.02.2009" | CREATE TABLE table_20462111_1 (location VARCHAR, date VARCHAR), Where was the cup on 07.02.2009 held? |
SELECT MIN(population__may), _2000_ FROM table_2051288_1 WHERE location = "coastal" AND barangay = "Isio" | CREATE TABLE table_2051288_1 (_2000_ VARCHAR, population__may INTEGER, location VARCHAR, barangay VARCHAR), What was the population of the coastal location Isio in May of 2000? |
SELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = "54" | CREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR), What was the share for rank 54? |
SELECT rating / SHARE(18 - 49) FROM table_20522228_2 WHERE viewers__millions_ = "5.50" | CREATE TABLE table_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR), What are the ratings/share ratio when viewers are 5.50 Million? |
SELECT rank__timeslot_ FROM table_20522228_2 WHERE rating = "4.1" | CREATE TABLE table_20522228_2 (rank__timeslot_ VARCHAR, rating VARCHAR), What are the rank timeslots where ratings are 4.1? |
SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_ = "6.59" | CREATE TABLE table_20522228_2 (rank__overall_ VARCHAR, viewers__millions_ VARCHAR), What is overall rank when viewers are at 6.59 million? |
SELECT episode FROM table_20522228_2 WHERE share = 8 | CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR), What was the episode name when share was 8? |
SELECT written_by FROM table_20538157_2 WHERE no_in_season = 20 | CREATE TABLE table_20538157_2 (written_by VARCHAR, no_in_season VARCHAR), Who were the writers of episode 20? |
SELECT county FROM table_20573232_1 WHERE others_number = 5 | CREATE TABLE table_20573232_1 (county VARCHAR, others_number VARCHAR), What county has others at 5? |
SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%" | CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR), What is the percentage of others when McCain is at 57.7% |
SELECT nader_percentage FROM table_20573232_1 WHERE obama_percentage = "44.6%" | CREATE TABLE table_20573232_1 (nader_percentage VARCHAR, obama_percentage VARCHAR), What is Nader's percentage when Obama is 44.6%? |
SELECT location_s_ FROM table_2064747_1 WHERE accreditation = "COE" | CREATE TABLE table_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR), What schools are accredited by COE? |
SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 | CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR), Where was there a school founded in 1927? |
SELECT MIN(length__in_m_) FROM table_206361_2 WHERE average_climb___percentage_ = 59 | CREATE TABLE table_206361_2 (length__in_m_ INTEGER, average_climb___percentage_ VARCHAR), What is the minimum length of the locations where the average climb percentage is exactly 59%? |
SELECT MAX(kilometer) FROM table_206361_2 | CREATE TABLE table_206361_2 (kilometer INTEGER), What is the maximum number of km listed? |
SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane" | CREATE TABLE table_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR), Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane |
SELECT for___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "17,874 (33.2)" | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, against___percentage_ VARCHAR), When 17,874 (33.2) is the percentage against what is the percentage for? |
SELECT COUNT(electorate) FROM table_20683381_3 WHERE for___percentage_ = "27,822 (72.3)" | CREATE TABLE table_20683381_3 (electorate VARCHAR, for___percentage_ VARCHAR), When 27,822 (72.3) is the percentage for how many electorate measurements are there? |
SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "13,895 (27.3)" | CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR), When 13,895 (27.3) is the percentage against what is the toll poll percentage? |
SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+18.1" | CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR), When +18.1 is the ± yes side 2008 percentage what is the percentage of against? |
SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)" | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR), When 60,254 (58.0) is the toll poll percentage what is the for percentage? |
SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.3" | CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR), When +20.3 is the ± yes side 2008 (%) what is the for percentage? |
SELECT original_air_date FROM table_20704243_6 WHERE season__number = 11 | CREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR), What was the original air date for season 11? |
SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers" | CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR), What episode did John Rogers direct? |
SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,2012" | CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR), Who directed the episode that aired on july15,2012? |
SELECT title FROM table_20704243_6 WHERE original_air_date = "August19,2012" | CREATE TABLE table_20704243_6 (title VARCHAR, original_air_date VARCHAR), Which episode aired on august19,2012? |
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "25.3" | CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR), What is the weight with a cross section area of 25.3? |
SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__mm_ = 304 | CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR), How many weights are there when the flange with is 304? |
SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = 100 | CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR), What is the web thickness if the flange width is 100? |
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2" | CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR), If the cross-section area is 21.2, what is the weight? |
SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = "19.9" | CREATE TABLE table_2071644_2 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR), What is the flange thickness when the weight is 19.9? |
SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB05" | CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR), Who directed the episode with a production code of 4WAB05? |
SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04" | CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR), Who directed the episode with a production code of 4WAB04? |
SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = "Karen Gaviola" | CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR), What episode was directed by Karen Gaviola? |
SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992" | CREATE TABLE table_20745706_1 (score VARCHAR, date VARCHAR), What was the score on February 8, 1992? |
SELECT opponent FROM table_20745706_1 WHERE _number = "5" | CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR), Who is the opponent in game 5? |
SELECT date FROM table_20745706_1 WHERE _number = "5" | CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR), What is the date of game 5? |
SELECT MIN(attendance) FROM table_20745746_1 WHERE date = "March 11, 1995" | CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR), What was attendance on March 11, 1995? |
SELECT score FROM table_20745746_1 WHERE attendance = 7260 | CREATE TABLE table_20745746_1 (score VARCHAR, attendance VARCHAR), What was the score when 7260 people attended the game? |
SELECT _number FROM table_20745746_1 WHERE record = "Loss" | CREATE TABLE table_20745746_1 (_number VARCHAR, record VARCHAR), How many games resulted in a loss? |
SELECT date FROM table_20745746_1 WHERE _number = "7" | CREATE TABLE table_20745746_1 (date VARCHAR, _number VARCHAR), What is the date of game 7? |
SELECT MAX(obama_number) FROM table_20750731_1 WHERE mccain_percentage = "64.4%" | CREATE TABLE table_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR), What is the Obama# when McCain% is 64.4%? |
SELECT others_number FROM table_20750731_1 WHERE mccain_number = 4730 | CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR), Name the Others# when McCain# is 4730. |
SELECT county FROM table_20750731_1 WHERE obama_percentage = "41.7%" | CREATE TABLE table_20750731_1 (county VARCHAR, obama_percentage VARCHAR), What County was the Obama% at 41.7%? |
SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = "64.8%" | CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR), When McCain% was 64.8%, what is the Others#? |
SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%" | CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR), What was the Obama% when McCain% was 61.2%? |
SELECT date FROM table_20745759_1 WHERE attendance = 9372 | CREATE TABLE table_20745759_1 (date VARCHAR, attendance VARCHAR), Name the date for attendance 9372 |
SELECT record FROM table_20745759_1 WHERE date = "January 18, 1997" | CREATE TABLE table_20745759_1 (record VARCHAR, date VARCHAR), Name the record for january 18, 1997 |
SELECT score FROM table_20745759_1 WHERE date = "March 29, 1997" | CREATE TABLE table_20745759_1 (score VARCHAR, date VARCHAR), Name the score for march 29, 1997 |
SELECT height__ft_ FROM table_20754016_2 WHERE country = "Honduras" | CREATE TABLE table_20754016_2 (height__ft_ VARCHAR, country VARCHAR), How tall is the contestant from Honduras? |
SELECT country FROM table_20754016_2 WHERE hometown = "Chihuahua" | CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR), What country is the contestant from Chihuahua from? |
SELECT contestant FROM table_20754016_2 WHERE height__cm_ = 173 | CREATE TABLE table_20754016_2 (contestant VARCHAR, height__cm_ VARCHAR), What contestant is 173 cm tall? |
SELECT country FROM table_20754016_2 WHERE hometown = "Salto" | CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR), What country is the contestant from Salto from? |
SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala" | CREATE TABLE table_20754016_2 (height__cm_ VARCHAR, country VARCHAR), How tall is the contestant from Guatemala? |
SELECT MIN(enrollment) FROM table_2076463_2 WHERE location_s_ = "Springfield" | CREATE TABLE table_2076463_2 (enrollment INTEGER, location_s_ VARCHAR), How much would you expect the enrollment to be in Springfield? |
SELECT location_s_ FROM table_2076463_2 WHERE control = "Public university" AND founded = 1915 | CREATE TABLE table_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR), where would you find a public university which was founded in 1915? |
SELECT control FROM table_2076463_2 WHERE founded = 1873 | CREATE TABLE table_2076463_2 (control VARCHAR, founded VARCHAR), What is the only type of university that was founded in 1873? |
SELECT enrollment FROM table_2076463_2 WHERE location_s_ = "St. Louis" | CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR), What enrollement would you expect if you were attending the university in St. Louis? |
SELECT school FROM table_2076463_2 WHERE location_s_ = "Kirksville" | CREATE TABLE table_2076463_2 (school VARCHAR, location_s_ VARCHAR), Which school would you come across if you were in Kirksville? |
SELECT control FROM table_2076463_2 WHERE school = "Missouri Western State University" | CREATE TABLE table_2076463_2 (control VARCHAR, school VARCHAR), What type of school would you see when visiting Missouri Western State University? |
SELECT MAX(founded) FROM table_2076516_1 WHERE school = "East Carolina University" | CREATE TABLE table_2076516_1 (founded INTEGER, school VARCHAR), When east carolina university is the school what is the highest year founded? |
SELECT COUNT(enrollment__2012_) FROM table_2076516_1 WHERE founded = 1927 | CREATE TABLE table_2076516_1 (enrollment__2012_ VARCHAR, founded VARCHAR), When 1927 is the founded year how many measurements of enrollment in 2012 are there? |
SELECT control FROM table_2076516_1 WHERE school = "Western Carolina University" | CREATE TABLE table_2076516_1 (control VARCHAR, school VARCHAR), When western carolina university is the school what is the control? |
SELECT MIN(enrollment__2012_) FROM table_2076516_1 WHERE school = "University of North Carolina at Charlotte" | CREATE TABLE table_2076516_1 (enrollment__2012_ INTEGER, school VARCHAR), When university of north carolina at charlotte is the school what is the lowest enrollment in 2012? |
SELECT enrollment__fall_2010_ FROM table_2076522_2 WHERE location_s_ = "Bottineau" | CREATE TABLE table_2076522_2 (enrollment__fall_2010_ VARCHAR, location_s_ VARCHAR), What is the enrollment for the school in bottineau? |
SELECT control FROM table_2076522_2 WHERE accreditation = "The Higher Learning Commission ( NCA ), CCNE" | CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR), What is the control for the school accredited by the higher learning commission ( nca ), ccne? |
SELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ = 898 | CREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR), What year was the school founded with an 898 enrollment? |
SELECT COUNT(accreditation) FROM table_2076522_2 WHERE founded = 2006 | CREATE TABLE table_2076522_2 (accreditation VARCHAR, founded VARCHAR), How many schools founded in 2006? |
SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical College" | CREATE TABLE table_2076522_2 (accreditation VARCHAR, school VARCHAR), What is the accrediation for united tribes technical college? |
SELECT MAX(founded) FROM table_2076490_1 | CREATE TABLE table_2076490_1 (founded INTEGER), What is the latest founding date? |
SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College" | CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR), What was the enrollment (2005) for baccalaureate colleges , for Granite State College? |
SELECT founded FROM table_2076490_1 WHERE enrollment__2005_ = "963" | CREATE TABLE table_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR), What year is the founding year, for the school that had an enrollment in 2005 of 963? |
SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69" | CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR), What school had an enrollment in 2005 of 69? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.