question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Colliery has a Death toll of 7? | CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
"colliery" text,
"location" text,
"date" text,
"year" real,
"death_toll" real,
"cause" text
); | SELECT "colliery" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "death_toll"=7; | 2-1808199-2 |
What is the Score 1 of Tie no 6? | CREATE TABLE "south" (
"tie_no" text,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" text
); | SELECT "score_1" FROM "south" WHERE "tie_no"='6'; | 2-17736890-2 |
What is the Attendance of Tie no 3? | CREATE TABLE "south" (
"tie_no" text,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "south" WHERE "tie_no"='3'; | 2-17736890-2 |
What is the Attendance at the Hereford United Away game? | CREATE TABLE "south" (
"tie_no" text,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "south" WHERE "away_team"='hereford united'; | 2-17736890-2 |
What is the Home team of Tie no 11? | CREATE TABLE "south" (
"tie_no" text,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "south" WHERE "tie_no"='11'; | 2-17736890-2 |
What is the Tie no of Hereford United's Away game? | CREATE TABLE "south" (
"tie_no" text,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "south" WHERE "away_team"='hereford united'; | 2-17736890-2 |
What is the Score 1 of the game with Attendance of 2,571? | CREATE TABLE "south" (
"tie_no" text,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" text
); | SELECT "score_1" FROM "south" WHERE "attendance"='2,571'; | 2-17736890-2 |
What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved? | CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text
); | SELECT SUM("clubs_remaining") FROM "teams" WHERE "new_entries_this_round"='34' AND "clubs_involved">34; | 2-18328569-1 |
What are the clubs involved with 16 clubs remaining? | CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text
); | SELECT "clubs_involved" FROM "teams" WHERE "clubs_remaining"=16; | 2-18328569-1 |
What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87? | CREATE TABLE "men_s_taijiquan_taijijian_combined" (
"rank" real,
"athlete" text,
"taijijian" real,
"taijiquan" real,
"total" real
); | SELECT COUNT("rank") FROM "men_s_taijiquan_taijijian_combined" WHERE "total">19.42 AND "taijiquan"<9.87; | 2-17660359-8 |
What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total? | CREATE TABLE "men_s_taijiquan_taijijian_combined" (
"rank" real,
"athlete" text,
"taijijian" real,
"taijiquan" real,
"total" real
); | SELECT MIN("rank") FROM "men_s_taijiquan_taijijian_combined" WHERE "taijiquan">9.42 AND "total"=19.02; | 2-17660359-8 |
What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77? | CREATE TABLE "men_s_taijiquan_taijijian_combined" (
"rank" real,
"athlete" text,
"taijijian" real,
"taijiquan" real,
"total" real
); | SELECT MAX("taijijian") FROM "men_s_taijiquan_taijijian_combined" WHERE "taijiquan"=9.87 AND "total"<19.77; | 2-17660359-8 |
Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1? | CREATE TABLE "2008" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_3" FROM "2008" WHERE "week_1"='demi jessica'; | 2-17993994-9 |
What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2? | CREATE TABLE "2008" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_4" FROM "2008" WHERE "week_2"='lexi lombardelli'; | 2-17993994-9 |
When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1? | CREATE TABLE "2008" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_1" FROM "2008" WHERE "week_3"='alinna d penta'; | 2-17993994-9 |
Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? | CREATE TABLE "2008" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_5" FROM "2008" WHERE "week_3"='felicia taylor'; | 2-17993994-9 |
Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2? | CREATE TABLE "2008" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_3" FROM "2008" WHERE "week_2"='ashley lowe'; | 2-17993994-9 |
When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2? | CREATE TABLE "2008" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_2" FROM "2008" WHERE "week_4"='diane deluna'; | 2-17993994-9 |
Which Round has a Year later than 2011? | CREATE TABLE "fed_cup_results_10_8" (
"year" real,
"edition" text,
"round" text,
"date" text,
"location" text,
"surface" text,
"against" text,
"opponent_s" text,
"score" text,
"result" text
); | SELECT "round" FROM "fed_cup_results_10_8" WHERE "year">2011; | 2-17717526-11 |
When was the Result of 3–2, with a Score of 6–0, 6–4? | CREATE TABLE "fed_cup_results_10_8" (
"year" real,
"edition" text,
"round" text,
"date" text,
"location" text,
"surface" text,
"against" text,
"opponent_s" text,
"score" text,
"result" text
); | SELECT "date" FROM "fed_cup_results_10_8" WHERE "result"='3–2' AND "score"='6–0, 6–4'; | 2-17717526-11 |
Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek? | CREATE TABLE "fed_cup_results_10_8" (
"year" real,
"edition" text,
"round" text,
"date" text,
"location" text,
"surface" text,
"against" text,
"opponent_s" text,
"score" text,
"result" text
); | SELECT "surface" FROM "fed_cup_results_10_8" WHERE "opponent_s"='anna-lena grönefeld tatjana malek'; | 2-17717526-11 |
Which Year has a Date of 5–6 february? | CREATE TABLE "fed_cup_results_10_8" (
"year" real,
"edition" text,
"round" text,
"date" text,
"location" text,
"surface" text,
"against" text,
"opponent_s" text,
"score" text,
"result" text
); | SELECT AVG("year") FROM "fed_cup_results_10_8" WHERE "date"='5–6 february'; | 2-17717526-11 |
What home team has 27 as the tie no.? | 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 "tie_no"='27'; | 2-17751837-3 |
What date has 1 as the tie no.? | 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 "tie_no"='1'; | 2-17751837-3 |
What score has west ham united as the away team? | CREATE TABLE "third_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "third_round_proper" WHERE "away_team"='west ham united'; | 2-17751837-3 |
What home team has Southampton as 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"='southampton'; | 2-17751837-3 |
What current club has a Height of 1.96? | CREATE TABLE "fiba_world_olympic_qualifying_tournament" (
"player" text,
"height" real,
"position" text,
"year_born_age" text,
"current_club" text
); | SELECT "current_club" FROM "fiba_world_olympic_qualifying_tournament" WHERE "height"=1.96; | 2-18228282-1 |
What is the Age of f/c Posiiton? | CREATE TABLE "fiba_world_olympic_qualifying_tournament" (
"player" text,
"height" real,
"position" text,
"year_born_age" text,
"current_club" text
); | SELECT "year_born_age" FROM "fiba_world_olympic_qualifying_tournament" WHERE "position"='f/c'; | 2-18228282-1 |
Who is the player with a score of 70-68-70=208? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "score"='70-68-70=208'; | 2-18148933-5 |
What place is the player with score of 70-68-70=208 from? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "score"='70-68-70=208'; | 2-18148933-5 |
What is the name for Malay with a foundation in Iptura? | CREATE TABLE "ministry_of_higher_education" (
"name_in_english" text,
"name_in_malay" text,
"acronym" text,
"foundation" text,
"location" text
); | SELECT "name_in_malay" FROM "ministry_of_higher_education" WHERE "foundation"='iptura'; | 2-18144241-2 |
What is the acronym for the name Malay of Kolej Komuniti Sungai Petani? | CREATE TABLE "ministry_of_higher_education" (
"name_in_english" text,
"name_in_malay" text,
"acronym" text,
"foundation" text,
"location" text
); | SELECT "acronym" FROM "ministry_of_higher_education" WHERE "name_in_malay"='kolej komuniti sungai petani'; | 2-18144241-2 |
What is the acronym for the English name Northern management and technological institute? | CREATE TABLE "ministry_of_higher_education" (
"name_in_english" text,
"name_in_malay" text,
"acronym" text,
"foundation" text,
"location" text
); | SELECT "acronym" FROM "ministry_of_higher_education" WHERE "name_in_english"='northern management and technological institute'; | 2-18144241-2 |
What is the location of the Kkspe Foundation? | CREATE TABLE "ministry_of_higher_education" (
"name_in_english" text,
"name_in_malay" text,
"acronym" text,
"foundation" text,
"location" text
); | SELECT "location" FROM "ministry_of_higher_education" WHERE "foundation"='kkspe'; | 2-18144241-2 |
What is Country, when Place is "T3", and when Score is "67-70=137"? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "place"='t3' AND "score"='67-70=137'; | 2-18027810-5 |
What is Score, when Player is "David Toms"? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "player"='david toms'; | 2-18027810-5 |
What is Score, when Player is "Tom Lehman"? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "player"='tom lehman'; | 2-18027810-5 |
What is the Title of the Pye Label mono LP release? | CREATE TABLE "release_history" (
"region" text,
"title" text,
"label" text,
"format" text,
"catalog_nr" text
); | SELECT "title" FROM "release_history" WHERE "format"='mono lp' AND "label"='pye'; | 2-1793227-2 |
What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones? | CREATE TABLE "release_history" (
"region" text,
"title" text,
"label" text,
"format" text,
"catalog_nr" text
); | SELECT "catalog_nr" FROM "release_history" WHERE "format"='stereo lp' AND "label"='epic' AND "title"='for little ones'; | 2-1793227-2 |
What is the assumed office date of the prime minister ranked 22? | CREATE TABLE "rank_by_time_in_office" (
"rank" real,
"prime_minister" text,
"party" text,
"assumed_office" text,
"left_office" text,
"total_time_in_office" text
); | SELECT "assumed_office" FROM "rank_by_time_in_office" WHERE "rank"=22; | 2-18113455-1 |
What is the total time in office of the prime minister from the liberal party and left office in 19 December 1967? | CREATE TABLE "rank_by_time_in_office" (
"rank" real,
"prime_minister" text,
"party" text,
"assumed_office" text,
"left_office" text,
"total_time_in_office" text
); | SELECT "total_time_in_office" FROM "rank_by_time_in_office" WHERE "party"='liberal' AND "left_office"='19 december 1967'; | 2-18113455-1 |
What is the party of the prime minister who left office on 11 March 1983? | CREATE TABLE "rank_by_time_in_office" (
"rank" real,
"prime_minister" text,
"party" text,
"assumed_office" text,
"left_office" text,
"total_time_in_office" text
); | SELECT "party" FROM "rank_by_time_in_office" WHERE "left_office"='11 march 1983'; | 2-18113455-1 |
What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460? | CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT COUNT("area_km_2") FROM "westmorland_county_new_brunswick" WHERE "census_ranking"='3,129 of 5,008' AND "population"<460; | 2-176529-2 |
What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460? | CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT COUNT("area_km_2") FROM "westmorland_county_new_brunswick" WHERE "census_ranking"='3,129 of 5,008' AND "population">460; | 2-176529-2 |
What census ranking has an area greater than 578.28 km2? | CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" real,
"population" real,
"census_ranking" text
); | SELECT "census_ranking" FROM "westmorland_county_new_brunswick" WHERE "area_km_2">578.28; | 2-176529-2 |
What is the position for Jani Lajunen? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"college" text
); | SELECT "position" FROM "draft_picks" WHERE "player"='jani lajunen'; | 2-17795111-13 |
What is the round number when nationality was United States, and player is Jeffrey Foss? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"college" text
); | SELECT COUNT("round") FROM "draft_picks" WHERE "nationality"='united states' AND "player"='jeffrey foss'; | 2-17795111-13 |
What player has a round larger than 2, and position of (d)? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"college" text
); | SELECT "player" FROM "draft_picks" WHERE "round">2 AND "position"='(d)'; | 2-17795111-13 |
What is the nationality for the position of (d), and college was SC Bern ( Swiss )? | CREATE TABLE "draft_picks" (
"round" real,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"college" text
); | SELECT "nationality" FROM "draft_picks" WHERE "position"='(d)' AND "college"='sc bern ( swiss )'; | 2-17795111-13 |
Who is the athlete with a run 1 larger than 54.95 and a 56.19 run 2? | CREATE TABLE "men" (
"athlete" text,
"country" text,
"run_1" real,
"run_2" real,
"run_3" real
); | SELECT "athlete" FROM "men" WHERE "run_1">54.95 AND "run_2"=56.19; | 2-17873606-4 |
What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97? | CREATE TABLE "men" (
"athlete" text,
"country" text,
"run_1" real,
"run_2" real,
"run_3" real
); | SELECT MAX("run_2") FROM "men" WHERE "athlete"='eric neilson' AND "run_3">55.97; | 2-17873606-4 |
What is the highest run 3 of the athlete with a 55.44 run 2? | CREATE TABLE "men" (
"athlete" text,
"country" text,
"run_1" real,
"run_2" real,
"run_3" real
); | SELECT MAX("run_3") FROM "men" WHERE "run_2"=55.44; | 2-17873606-4 |
Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3? | CREATE TABLE "men" (
"athlete" text,
"country" text,
"run_1" real,
"run_2" real,
"run_3" real
); | SELECT "athlete" FROM "men" WHERE "run_1"<54.13 AND "run_3"=55.21; | 2-17873606-4 |
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24? | CREATE TABLE "men" (
"athlete" text,
"country" text,
"run_1" real,
"run_2" real,
"run_3" real
); | SELECT SUM("run_1") FROM "men" WHERE "run_2">55.24 AND "athlete"='matthias guggenberger'; | 2-17873606-4 |
What is the dissolved date of the parliament assembled on 3 June 1467? | CREATE TABLE "parliaments_of_king_edward_iv" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "dissolved" FROM "parliaments_of_king_edward_iv" WHERE "assembled"='3 june 1467'; | 2-1827690-4 |
What is the dissolved date of the parliament assembled on 4 November 1461? | CREATE TABLE "parliaments_of_king_edward_iv" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "dissolved" FROM "parliaments_of_king_edward_iv" WHERE "assembled"='4 november 1461'; | 2-1827690-4 |
What is the assembled date of the parliament with an unknown 2nd member who was elected in 1482/83? | CREATE TABLE "parliaments_of_king_edward_iv" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "assembled" FROM "parliaments_of_king_edward_iv" WHERE "2nd_member"='unknown' AND "elected"='1482/83'; | 2-1827690-4 |
What is the dissolved date of the parliament assembled on 4 November 1461 with an unknown 2nd member? | CREATE TABLE "parliaments_of_king_edward_iv" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "dissolved" FROM "parliaments_of_king_edward_iv" WHERE "2nd_member"='unknown' AND "assembled"='4 november 1461'; | 2-1827690-4 |
Who is the 2nd member elected in 1461? | CREATE TABLE "parliaments_of_king_edward_iv" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "2nd_member" FROM "parliaments_of_king_edward_iv" WHERE "elected"='1461'; | 2-1827690-4 |
What is the dissolved date of the parliament summoned on 28 February 1467? | CREATE TABLE "parliaments_of_king_edward_iv" (
"summoned" text,
"elected" text,
"assembled" text,
"dissolved" text,
"1st_member" text,
"2nd_member" text
); | SELECT "dissolved" FROM "parliaments_of_king_edward_iv" WHERE "summoned"='28 february 1467'; | 2-1827690-4 |
What is 2nd Member, when Assembled is "30 March 1298"? | CREATE TABLE "parliaments_of_king_edward_i" (
"summoned" text,
"elected" text,
"assembled" text,
"1st_member" text,
"2nd_member" text
); | SELECT "2nd_member" FROM "parliaments_of_king_edward_i" WHERE "assembled"='30 march 1298'; | 2-1827690-1 |
What is Assembled, when 2nd Member is "Unknown"? | CREATE TABLE "parliaments_of_king_edward_i" (
"summoned" text,
"elected" text,
"assembled" text,
"1st_member" text,
"2nd_member" text
); | SELECT "assembled" FROM "parliaments_of_king_edward_i" WHERE "2nd_member"='unknown'; | 2-1827690-1 |
What is 1st Member, when Summoned is "14 July 1302"? | CREATE TABLE "parliaments_of_king_edward_i" (
"summoned" text,
"elected" text,
"assembled" text,
"1st_member" text,
"2nd_member" text
); | SELECT "1st_member" FROM "parliaments_of_king_edward_i" WHERE "summoned"='14 july 1302'; | 2-1827690-1 |
What is Assembled, when Summoned is "6 October 1297"? | CREATE TABLE "parliaments_of_king_edward_i" (
"summoned" text,
"elected" text,
"assembled" text,
"1st_member" text,
"2nd_member" text
); | SELECT "assembled" FROM "parliaments_of_king_edward_i" WHERE "summoned"='6 october 1297'; | 2-1827690-1 |
What is 1st Member, when 2nd Member is "William Benne", and when Elected is "1300/01"? | CREATE TABLE "parliaments_of_king_edward_i" (
"summoned" text,
"elected" text,
"assembled" text,
"1st_member" text,
"2nd_member" text
); | SELECT "1st_member" FROM "parliaments_of_king_edward_i" WHERE "2nd_member"='william benne' AND "elected"='1300/01'; | 2-1827690-1 |
What is Summoned, when Elected is "March 1298"? | CREATE TABLE "parliaments_of_king_edward_i" (
"summoned" text,
"elected" text,
"assembled" text,
"1st_member" text,
"2nd_member" text
); | SELECT "summoned" FROM "parliaments_of_king_edward_i" WHERE "elected"='march 1298'; | 2-1827690-1 |
Which Planet has a Sanskrit word of budha? | CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
); | SELECT "planet" FROM "weekdays" WHERE "sanskrit_word"='budha'; | 2-180802-3 |
WHich Thai name has a Transcription of wan phruehatsabodi? | CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
); | SELECT "thai_name" FROM "weekdays" WHERE "transcription"='wan phruehatsabodi'; | 2-180802-3 |
Show the Thai name of wan phruehatsabodi? | CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
); | SELECT "thai_name" FROM "weekdays" WHERE "transcription"='wan phruehatsabodi'; | 2-180802-3 |
Show the Color which has a Thai name of วันพฤหัสบดี? | CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
); | SELECT "color" FROM "weekdays" WHERE "thai_name"='วันพฤหัสบดี'; | 2-180802-3 |
Which Color has a Transcription of wan suk? | CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
); | SELECT "color" FROM "weekdays" WHERE "transcription"='wan suk'; | 2-180802-3 |
Which English name has a Color of green? | CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
); | SELECT "english_name" FROM "weekdays" WHERE "color"='green'; | 2-180802-3 |
What is Gil Morgan's Place? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "player"='gil morgan'; | 2-18171018-6 |
What is the Place of the Player with a To par of –5? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "to_par"='–5'; | 2-18171018-6 |
Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "money"=137 AND "score"='73-70-73-74=290'; | 2-18007194-2 |
Which To Par has a Money ($) of 350, and a Player of henry picard? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_leaderboard" WHERE "money"=350 AND "player"='henry picard'; | 2-18007194-2 |
What year had Best Actor in a Musical as a category? | CREATE TABLE "original_london_production" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT SUM("year") FROM "original_london_production" WHERE "category"='best actor in a musical'; | 2-1773562-3 |
What Secretary has a Social AO of lieke de boer? | CREATE TABLE "past_composition_of_the_executive_board" (
"president" text,
"treasurer" text,
"secretary" text,
"social_ao" text,
"academic_ao" text,
"internal_co" text,
"external_co" text
); | SELECT "secretary" FROM "past_composition_of_the_executive_board" WHERE "social_ao"='lieke de boer'; | 2-18128162-4 |
What Social AO has an External CO of elena buscher, and a President of harm van leeuwen? | CREATE TABLE "past_composition_of_the_executive_board" (
"president" text,
"treasurer" text,
"secretary" text,
"social_ao" text,
"academic_ao" text,
"internal_co" text,
"external_co" text
); | SELECT "social_ao" FROM "past_composition_of_the_executive_board" WHERE "external_co"='elena buscher' AND "president"='harm van leeuwen'; | 2-18128162-4 |
What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten? | CREATE TABLE "past_composition_of_the_executive_board" (
"president" text,
"treasurer" text,
"secretary" text,
"social_ao" text,
"academic_ao" text,
"internal_co" text,
"external_co" text
); | SELECT "social_ao" FROM "past_composition_of_the_executive_board" WHERE "external_co"='simonas savickas' AND "internal_co"='pieter kuijsten'; | 2-18128162-4 |
What Secretary has an Internal CO of isabel voets? | CREATE TABLE "past_composition_of_the_executive_board" (
"president" text,
"treasurer" text,
"secretary" text,
"social_ao" text,
"academic_ao" text,
"internal_co" text,
"external_co" text
); | SELECT "secretary" FROM "past_composition_of_the_executive_board" WHERE "internal_co"='isabel voets'; | 2-18128162-4 |
What Academic AO has a President of harm van leeuwen? | CREATE TABLE "past_composition_of_the_executive_board" (
"president" text,
"treasurer" text,
"secretary" text,
"social_ao" text,
"academic_ao" text,
"internal_co" text,
"external_co" text
); | SELECT "academic_ao" FROM "past_composition_of_the_executive_board" WHERE "president"='harm van leeuwen'; | 2-18128162-4 |
What Social AO has a President of harm van leeuwen? | CREATE TABLE "past_composition_of_the_executive_board" (
"president" text,
"treasurer" text,
"secretary" text,
"social_ao" text,
"academic_ao" text,
"internal_co" text,
"external_co" text
); | SELECT "social_ao" FROM "past_composition_of_the_executive_board" WHERE "president"='harm van leeuwen'; | 2-18128162-4 |
Which country has a to par of +2 for Bernhard Langer? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "to_par"='+2' AND "player"='bernhard langer'; | 2-18150723-3 |
Which country has a score of 72 by Andrew Brooks? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "score"=72 AND "player"='andrew brooks'; | 2-18150723-3 |
What is Anders Forsbrand's score with a to par of +1? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "score" FROM "first_round" WHERE "to_par"='+1' AND "player"='anders forsbrand'; | 2-18150723-3 |
What is the rad number for the dead end in rank 22? | CREATE TABLE "see_also" (
"rank" text,
"height" text,
"name" text,
"road_number" text,
"type" text
); | SELECT "road_number" FROM "see_also" WHERE "type"='dead end' AND "rank"='22'; | 2-18306236-1 |
What is the name of the dead end type ranked 22? | CREATE TABLE "see_also" (
"rank" text,
"height" text,
"name" text,
"road_number" text,
"type" text
); | SELECT "name" FROM "see_also" WHERE "type"='dead end' AND "rank"='22'; | 2-18306236-1 |
What is the type ranked 13? | CREATE TABLE "see_also" (
"rank" text,
"height" text,
"name" text,
"road_number" text,
"type" text
); | SELECT "type" FROM "see_also" WHERE "rank"='13'; | 2-18306236-1 |
Who had 1344 points? | CREATE TABLE "standings" (
"position" real,
"number" real,
"name" text,
"team" text,
"points" real
); | SELECT "name" FROM "standings" WHERE "points"=1344; | 2-18282916-2 |
What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes? | CREATE TABLE "2012_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("wins") FROM "2012_ladder" WHERE "against">1136 AND "losses"<15 AND "golden_rivers"='ultima' AND "byes"<2; | 2-18036506-19 |
What's the average number of wins for those with less than 2 byes? | CREATE TABLE "2012_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("wins") FROM "2012_ladder" WHERE "byes"<2; | 2-18036506-19 |
What's the greatest losses for those with more than 13 wins? | CREATE TABLE "2012_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("losses") FROM "2012_ladder" WHERE "wins">13; | 2-18036506-19 |
What was the greatest number of wins for a team that had 7 losses and more than 0 draws? | CREATE TABLE "2012_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("wins") FROM "2012_ladder" WHERE "losses"=7 AND "draws">0; | 2-18036506-19 |
What's the number of byes for someone who had 7 wins and an against number greater than 1412? | CREATE TABLE "2012_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("byes") FROM "2012_ladder" WHERE "wins"=7 AND "against">1412; | 2-18036506-19 |
What's the total wins of a team with more than 2 byes? | CREATE TABLE "2012_ladder" (
"golden_rivers" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("wins") FROM "2012_ladder" WHERE "byes">2; | 2-18036506-19 |
Who had a finish of t16? | 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 "finish"='t16'; | 2-18165870-1 |
What country is jack nicklaus from? | 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 "player"='jack nicklaus'; | 2-18165870-1 |
Who has a total of 272? | 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"=272; | 2-18165870-1 |
What country won in 1977? | 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 "year_s_won"='1977'; | 2-18165870-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.