question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the least 3rd RU that is ranked less than 8 with a 4th RU greater than 0? | CREATE TABLE "by_country_tally" (
"rank" real,
"country" text,
"miss_united_continent" real,
"virreina" real,
"1st_ru" real,
"2nd_ru" real,
"3rd_ru" real,
"4th_ru" real,
"semifinalists" real,
"total" real
); | SELECT MIN("3rd_ru") FROM "by_country_tally" WHERE "4th_ru">0 AND "rank"<8; | 2-17522854-6 |
What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "goals_for_senior_national_team" WHERE "competition"='2010 fifa world cup qualification' AND "date"='10 september 2008'; | 2-16243210-2 |
What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "goals_for_senior_national_team" WHERE "competition"='2010 fifa world cup qualification' AND "result"='won' AND "date"='14 june 2008'; | 2-16243210-2 |
What is Competition, when Date is 30 December 2005? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "goals_for_senior_national_team" WHERE "date"='30 december 2005'; | 2-16243210-2 |
What is the Place when the score is less than 71, and Country is zimbabwe? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "score"<71 AND "country"='zimbabwe'; | 2-16458279-1 |
What is the lowest Score when the Country is canada? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT MIN("score") FROM "first_round" WHERE "country"='canada'; | 2-16458279-1 |
What is the Score when the Player is toru taniguchi? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "score" FROM "first_round" WHERE "player"='toru taniguchi'; | 2-16458279-1 |
What is the Game number when the Rangers have a Record of 25-24-11? | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT COUNT("game") FROM "schedule_and_results" WHERE "record"='25-24-11'; | 2-17311417-7 |
What is the Score of the game on March 18? | CREATE TABLE "schedule_and_results" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "march"=18; | 2-17311417-7 |
What is the qual 2 of team rocketsports racing, which has the best of 1:10.949? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "team"='rocketsports racing' AND "best"='1:10.949'; | 2-16874390-1 |
Which team has a 1:10.998 best? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "best"='1:10.998'; | 2-16874390-1 |
What is the name of the person with a 1:10.771 qual 2? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:10.771'; | 2-16874390-1 |
What is the qual 2 with a 1:10.949 best? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "best"='1:10.949'; | 2-16874390-1 |
What is the qual 2 of team Forsythe racing, which has a 1:09.515 best? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "team"='forsythe racing' AND "best"='1:09.515'; | 2-16874390-1 |
What is the qual 1 with a 1:09.567 best? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "best"='1:09.567'; | 2-16874390-1 |
What were highest points received from someone using a zabel-wsp with a position greater than 7? | CREATE TABLE "the_2011_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT MAX("points") FROM "the_2011_season" WHERE "equipment"='zabel-wsp' AND "position">7; | 2-16729457-16 |
What's the lowest attendance recorded for week 15? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule" WHERE "week"=15; | 2-16678205-2 |
When Marlene was nominated for the Olivier Award, what was the result? | CREATE TABLE "awards_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "result" FROM "awards_nominations" WHERE "nominated_work"='marlene' AND "award"='olivier award'; | 2-167969-1 |
What was the result for the Bafta Tv award? | CREATE TABLE "awards_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "result" FROM "awards_nominations" WHERE "award"='bafta tv award'; | 2-167969-1 |
What is the pick of Texas-San Antonio? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT AVG("pick") FROM "draft_picks" WHERE "college"='texas-san antonio'; | 2-17371779-1 |
Who is the player that has a round greater than 2 and a pick bigger than 83? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT "player" FROM "draft_picks" WHERE "round">2 AND "pick">83; | 2-17371779-1 |
What's the nationality of Louisiana Tech? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT "nationality" FROM "draft_picks" WHERE "college"='louisiana tech'; | 2-17371779-1 |
What number pick is Ray Hall? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT "pick" FROM "draft_picks" WHERE "player"='ray hall'; | 2-17371779-1 |
What nationality has a pick greater than 129? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT "nationality" FROM "draft_picks" WHERE "pick">129; | 2-17371779-1 |
what is the grid when the rider is mika kallio? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "250cc_classification" WHERE "rider"='mika kallio'; | 2-16193559-2 |
what is the time when laps is less than 21, manufacturer is aprilia, grid is less than 17 and the rider is thomas luthi? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "250cc_classification" WHERE "laps"<21 AND "manufacturer"='aprilia' AND "grid"<17 AND "rider"='thomas luthi'; | 2-16193559-2 |
what is the time when the laps is less than 21 and the grid is more than 17? | CREATE TABLE "250cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "250cc_classification" WHERE "laps"<21 AND "grid">17; | 2-16193559-2 |
Who was partnering when nueza silva played against greece? | CREATE TABLE "doubles_12" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "partnering" FROM "doubles_12" WHERE "against"='greece'; | 2-16893837-4 |
What was the round when nueza silva played against greece? | CREATE TABLE "doubles_12" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "round" FROM "doubles_12" WHERE "against"='greece'; | 2-16893837-4 |
Who were the opponents during the 2006 fed cup europe/africa group ii against greece? | CREATE TABLE "doubles_12" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "opponents" FROM "doubles_12" WHERE "edition"='2006 fed cup europe/africa group ii' AND "against"='greece'; | 2-16893837-4 |
What is the Tries against for the team that has 207 points for? | CREATE TABLE "pool_3" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "tries_against" FROM "pool_3" WHERE "points_for"='207'; | 2-16770037-4 |
What team has a 118 Point for? | CREATE TABLE "pool_3" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "team" FROM "pool_3" WHERE "points_for"='118'; | 2-16770037-4 |
What team has 102 Points against? | CREATE TABLE "pool_3" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "team" FROM "pool_3" WHERE "points_against"='102'; | 2-16770037-4 |
What is the Points for number of the team with a 10 Tries against number? | CREATE TABLE "pool_3" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "points_for" FROM "pool_3" WHERE "tries_against"='10'; | 2-16770037-4 |
What team has +119 Points diff? | CREATE TABLE "pool_3" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "team" FROM "pool_3" WHERE "points_diff"='+119'; | 2-16770037-4 |
What manufacturer has a year made of 1923? | CREATE TABLE "class_h_4_6_2" (
"class" text,
"wheel_arrangement" text,
"fleet_number_s" text,
"manufacturer" text,
"year_made" text,
"quantity_made" text,
"quantity_preserved" text
); | SELECT "manufacturer" FROM "class_h_4_6_2" WHERE "year_made"='1923'; | 2-17248696-8 |
What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific? | CREATE TABLE "class_h_4_6_2" (
"class" text,
"wheel_arrangement" text,
"fleet_number_s" text,
"manufacturer" text,
"year_made" text,
"quantity_made" text,
"quantity_preserved" text
); | SELECT "quantity_made" FROM "class_h_4_6_2" WHERE "manufacturer"='4-6-2 — oooooo — pacific'; | 2-17248696-8 |
What year had a quantity made of 11 and a wheel arrangement of 4-6-2? | CREATE TABLE "class_h_4_6_2" (
"class" text,
"wheel_arrangement" text,
"fleet_number_s" text,
"manufacturer" text,
"year_made" text,
"quantity_made" text,
"quantity_preserved" text
); | SELECT "year_made" FROM "class_h_4_6_2" WHERE "wheel_arrangement"='4-6-2' AND "quantity_made"='11'; | 2-17248696-8 |
What's the quantity preserved when the fleet number was 700? | CREATE TABLE "class_h_4_6_2" (
"class" text,
"wheel_arrangement" text,
"fleet_number_s" text,
"manufacturer" text,
"year_made" text,
"quantity_made" text,
"quantity_preserved" text
); | SELECT "quantity_preserved" FROM "class_h_4_6_2" WHERE "fleet_number_s"='700'; | 2-17248696-8 |
What is the name of the race in Kenya with a time of 30:27? | CREATE TABLE "top_10_women" (
"rank" text,
"time" text,
"athlete" text,
"nation" text,
"date" text,
"race" text
); | SELECT "race" FROM "top_10_women" WHERE "nation"='kenya' AND "time"='30:27'; | 2-17370134-3 |
What is the name of the athlete with a time of 30:48? | CREATE TABLE "top_10_women" (
"rank" text,
"time" text,
"athlete" text,
"nation" text,
"date" text,
"race" text
); | SELECT "athlete" FROM "top_10_women" WHERE "time"='30:48'; | 2-17370134-3 |
What is the name of the race when Lineth Chepkurui is the athlete? | CREATE TABLE "top_10_women" (
"rank" text,
"time" text,
"athlete" text,
"nation" text,
"date" text,
"race" text
); | SELECT "race" FROM "top_10_women" WHERE "athlete"='lineth chepkurui'; | 2-17370134-3 |
What is the time when the race was in Kenya and Lineth Chepkurui was the athlete? | CREATE TABLE "top_10_women" (
"rank" text,
"time" text,
"athlete" text,
"nation" text,
"date" text,
"race" text
); | SELECT "time" FROM "top_10_women" WHERE "nation"='kenya' AND "athlete"='lineth chepkurui'; | 2-17370134-3 |
What is the country for the player who had a To Par of +4? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "country" FROM "made_the_cut" WHERE "to_par"='+4'; | 2-16292316-1 |
What player from South Africa had a total less than 284? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "total"<284 AND "country"='south africa'; | 2-16292316-1 |
For the year won of 2001, what is the To Par? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "year_s_won"='2001'; | 2-16292316-1 |
what is the location attendance when the series is 4-3? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "location_attendance" FROM "playoffs" WHERE "series"='4-3'; | 2-16763663-11 |
what is the team when the location attendace is boston garden and the series is 0-1? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "team" FROM "playoffs" WHERE "location_attendance"='boston garden' AND "series"='0-1'; | 2-16763663-11 |
what is the highest game when the team is @boston and the series is 0-1? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT MAX("game") FROM "playoffs" WHERE "team"='@boston' AND "series"='0-1'; | 2-16763663-11 |
what is the series when the team is @boston and the game is smaller than 3? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "series" FROM "playoffs" WHERE "team"='@boston' AND "game"<3; | 2-16763663-11 |
What is 2001, when 1996 is "0 / 2"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "2001" FROM "singles_performance_timeline" WHERE "1996"='0 / 2'; | 2-1723549-7 |
What is 1998, when 1992 is "A", and when Tournament is "Hamburg Masters"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "1998" FROM "singles_performance_timeline" WHERE "1992"='a' AND "tournament"='hamburg masters'; | 2-1723549-7 |
What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "2001" FROM "singles_performance_timeline" WHERE "1994"='a' AND "tournament"='monte carlo masters'; | 2-1723549-7 |
What is 1999, when 2003 is "A", and when Career SR is "0 / 4"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "1999" FROM "singles_performance_timeline" WHERE "2003"='a' AND "career_sr"='0 / 4'; | 2-1723549-7 |
What is 2000, when Tournament is "Canada Masters"? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "2000" FROM "singles_performance_timeline" WHERE "tournament"='canada masters'; | 2-1723549-7 |
What country is the player ho had a To par of +1 and a score of 69-70-72=211 from? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "to_par"='+1' AND "score"='69-70-72=211'; | 2-17245483-5 |
What place did the player from South Africa finish? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "country"='south africa'; | 2-17245483-5 |
What country is Tom Purtzer from? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "player"='tom purtzer'; | 2-17245483-5 |
What was the score of united states player wally armstrong when he had a To par of +1 | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "country"='united states' AND "to_par"='+1' AND "player"='wally armstrong'; | 2-17245483-5 |
What was the score of Wally Armstrong? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "player"='wally armstrong'; | 2-17245483-5 |
what is the verb meaning when the part 1 is lopen? | CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "verb_meaning" FROM "dutch" WHERE "part_1"='lopen'; | 2-1745843-7 |
what is the part 4 when the verb meaning is to steal? | CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_4" FROM "dutch" WHERE "verb_meaning"='to steal'; | 2-1745843-7 |
what is the class when part 2 is bond? | CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "class" FROM "dutch" WHERE "part_2"='bond'; | 2-1745843-7 |
what is part 4 when the class is 5? | CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_4" FROM "dutch" WHERE "class"='5'; | 2-1745843-7 |
what is part 1 when the class is 7d? | CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_1" FROM "dutch" WHERE "class"='7d'; | 2-1745843-7 |
what is part 2 when part 4 is gebonden? | CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
); | SELECT "part_2" FROM "dutch" WHERE "part_4"='gebonden'; | 2-1745843-7 |
What's the boiling point when the density is 1.092 g/ml? | CREATE TABLE "properties_of_common_solvents" (
"solvent" text,
"chemical_formula" text,
"boiling_point" text,
"dielectric_constant" text,
"density" text,
"dipole_moment_d" text
); | SELECT "boiling_point" FROM "properties_of_common_solvents" WHERE "density"='1.092 g/ml'; | 2-1652563-1 |
What solvent has a boiling point of 100–103 °c? | CREATE TABLE "properties_of_common_solvents" (
"solvent" text,
"chemical_formula" text,
"boiling_point" text,
"dielectric_constant" text,
"density" text,
"dipole_moment_d" text
); | SELECT "solvent" FROM "properties_of_common_solvents" WHERE "boiling_point"='100–103 °c'; | 2-1652563-1 |
What's the Dielectric constant of ch 3 -c(=o)oh? | CREATE TABLE "properties_of_common_solvents" (
"solvent" text,
"chemical_formula" text,
"boiling_point" text,
"dielectric_constant" text,
"density" text,
"dipole_moment_d" text
); | SELECT "dielectric_constant" FROM "properties_of_common_solvents" WHERE "chemical_formula"='ch 3 -c(=o)oh'; | 2-1652563-1 |
What dipole moment has a density of 1.092 g/ml? | CREATE TABLE "properties_of_common_solvents" (
"solvent" text,
"chemical_formula" text,
"boiling_point" text,
"dielectric_constant" text,
"density" text,
"dipole_moment_d" text
); | SELECT "dipole_moment_d" FROM "properties_of_common_solvents" WHERE "density"='1.092 g/ml'; | 2-1652563-1 |
What's the dipole moment of ethyl acetate (etoac)? | CREATE TABLE "properties_of_common_solvents" (
"solvent" text,
"chemical_formula" text,
"boiling_point" text,
"dielectric_constant" text,
"density" text,
"dipole_moment_d" text
); | SELECT "dipole_moment_d" FROM "properties_of_common_solvents" WHERE "solvent"='ethyl acetate (etoac)'; | 2-1652563-1 |
what's the boiling point of diethyl ether? | CREATE TABLE "properties_of_common_solvents" (
"solvent" text,
"chemical_formula" text,
"boiling_point" text,
"dielectric_constant" text,
"density" text,
"dipole_moment_d" text
); | SELECT "boiling_point" FROM "properties_of_common_solvents" WHERE "solvent"='diethyl ether'; | 2-1652563-1 |
What is Type, when Works Number is 75823? | CREATE TABLE "diesel_locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "type" FROM "diesel_locomotives" WHERE "works_number"='75823'; | 2-1675640-2 |
What is Date, when Type is DS4-4-750, and when Works Number is 74409? | CREATE TABLE "diesel_locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "date" FROM "diesel_locomotives" WHERE "type"='ds4-4-750' AND "works_number"='74409'; | 2-1675640-2 |
What is Works Number, when Type is RS-11, and when Number is 61? | CREATE TABLE "diesel_locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "works_number" FROM "diesel_locomotives" WHERE "type"='rs-11' AND "number"='61'; | 2-1675640-2 |
What is Builder, when Date is 1925? | CREATE TABLE "diesel_locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "builder" FROM "diesel_locomotives" WHERE "date"='1925'; | 2-1675640-2 |
What is Works Number, when Number is 55? | CREATE TABLE "diesel_locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "works_number" FROM "diesel_locomotives" WHERE "number"='55'; | 2-1675640-2 |
What is Builder, when Date is 1953? | CREATE TABLE "diesel_locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "builder" FROM "diesel_locomotives" WHERE "date"='1953'; | 2-1675640-2 |
Which Attendance is the lowest one that has a Record of 5–5–0? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT MIN("attendance") FROM "final_standings" WHERE "record"='5–5–0'; | 2-17239112-2 |
Which Date has a Record of 4–2–0? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "date" FROM "final_standings" WHERE "record"='4–2–0'; | 2-17239112-2 |
Which Record has a Visitor of pittsburgh, and a Score of 4–0? | CREATE TABLE "final_standings" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "record" FROM "final_standings" WHERE "visitor"='pittsburgh' AND "score"='4–0'; | 2-17239112-2 |
What was the away team score when Waverley Park was the ground and the home team was collingwood? | CREATE TABLE "round_of_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"time" text
); | SELECT "away_team_score" FROM "round_of_14" WHERE "ground"='waverley park' AND "home_team"='collingwood'; | 2-16387953-1 |
Who was the home team at 8:00 pm when the score was 11.18 (84)? | CREATE TABLE "round_of_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"time" text
); | SELECT "home_team" FROM "round_of_14" WHERE "time"='8:00 pm' AND "home_team_score"='11.18 (84)'; | 2-16387953-1 |
From what country did someone score 71? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "score"=71; | 2-17245444-3 |
What is the attendance sum of the game on March 16, 1990 with a loss record? | CREATE TABLE "game_log" (
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "record"='loss' AND "date"='march 16, 1990'; | 2-16967990-1 |
What was the outcome of the match on August 20, 1978? | CREATE TABLE "doubles_26_12_14" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "doubles_26_12_14" WHERE "date"='august 20, 1978'; | 2-17287006-3 |
Which Round has a Pick smaller than 6? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "pick"<6; | 2-17100961-6 |
Which Round has an Overall smaller than 6? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("round") FROM "washington_redskins_draft_history" WHERE "overall"<6; | 2-17100961-6 |
Which Position has a College of washington, and an Overall of 46? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "washington_redskins_draft_history" WHERE "college"='washington' AND "overall"=46; | 2-17100961-6 |
Which Round has a Position of qb, and an Overall larger than 6? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("round") FROM "washington_redskins_draft_history" WHERE "position"='qb' AND "overall">6; | 2-17100961-6 |
What date was Bury the home team? | CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "third_round_proper" WHERE "away_team"='bury'; | 2-17620547-4 |
What team was the home team when Tottenham Hotspur is the away team? | CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='tottenham hotspur'; | 2-17620547-4 |
What college did the #22 overall draft pick attend? | CREATE TABLE "player_selections" (
"rnd" text,
"pick_num" real,
"nfl_team" text,
"pos" text,
"college" text,
"conf" text
); | SELECT "college" FROM "player_selections" WHERE "pick_num"=22; | 2-17144160-2 |
What draft pick number attended syracuse and was drafted by the Carolina panthers? | CREATE TABLE "player_selections" (
"rnd" text,
"pick_num" real,
"nfl_team" text,
"pos" text,
"college" text,
"conf" text
); | SELECT SUM("pick_num") FROM "player_selections" WHERE "nfl_team"='carolina panthers' AND "college"='syracuse'; | 2-17144160-2 |
If the area of a country is over 9,826,675 kilometers and a total of emissions per person less than 14.9, what's the average Population found? | CREATE TABLE "list_of_countries_by_2010_emissions_esti" (
"country" text,
"co2_emissions" text,
"area_in_km_2" real,
"population" real,
"emission_person" real
); | SELECT AVG("population") FROM "list_of_countries_by_2010_emissions_esti" WHERE "area_in_km_2">'9,826,675' AND "emission_person"<14.9; | 2-1716015-2 |
What's the average population of Mexico if the area is 1,972,550 kilometers squared? | CREATE TABLE "list_of_countries_by_2010_emissions_esti" (
"country" text,
"co2_emissions" text,
"area_in_km_2" real,
"population" real,
"emission_person" real
); | SELECT AVG("population") FROM "list_of_countries_by_2010_emissions_esti" WHERE "country"='mexico' AND "area_in_km_2">'1,972,550'; | 2-1716015-2 |
Which Lead Margin has a Poll Source of rasmussen reports/ fox news? | CREATE TABLE "polling" (
"poll_source" text,
"date_administered" text,
"democrat" text,
"republican" text,
"lead_margin" real
); | SELECT MIN("lead_margin") FROM "polling" WHERE "poll_source"='rasmussen reports/ fox news'; | 2-16223328-1 |
Which Poll Source has a Date administered of october 30 – november 2, 2008? | CREATE TABLE "polling" (
"poll_source" text,
"date_administered" text,
"democrat" text,
"republican" text,
"lead_margin" real
); | SELECT "poll_source" FROM "polling" WHERE "date_administered"='october 30 – november 2, 2008'; | 2-16223328-1 |
At which site was Northwestern an opponent? | CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "site" FROM "schedule" WHERE "opponentnum"='northwestern'; | 2-16518708-11 |
What result did Indiana have when they were an opponent? | CREATE TABLE "schedule" (
"date" text,
"opponentnum" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "opponentnum"='indiana'; | 2-16518708-11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.