question stringlengths 16 239 | table_name stringlengths 3 43 | columns listlengths 5 20 | column_types listlengths 5 20 | gold_sql stringlengths 35 209 | db_id stringclasses 1
value | source stringclasses 1
value |
|---|---|---|---|---|---|---|
What programs were held in charleston, illinois? | charleston_speedway | [
"track_name",
"location",
"length",
"sanction",
"program"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "program" FROM charleston_speedway WHERE "location" = 'Charleston, Illinois' | dev | wikisql |
Name the round eliminated where conference record is 12-6 | college_tourney_seed | [
"school",
"record",
"conference",
"conf_record",
"seed",
"round_eliminated",
"lost_to_seed"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "round_eliminated" FROM college_tourney_seed WHERE "conf_record" = '12-6' | dev | wikisql |
Name the school where conference record is 12-6 | college_tourney_seed | [
"school",
"record",
"conference",
"conf_record",
"seed",
"round_eliminated",
"lost_to_seed"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "school" FROM college_tourney_seed WHERE "conf_record" = '12-6' | dev | wikisql |
Name the conference record where seed is 3 and record is 24-9 | college_tourney_seed | [
"school",
"record",
"conference",
"conf_record",
"seed",
"round_eliminated",
"lost_to_seed"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "conf_record" FROM college_tourney_seed WHERE "seed" = '3' AND "record" = '24-9' | dev | wikisql |
For teams in the Sun Belt conference, what is the conference record? | college_basketball_season | [
"school",
"record",
"conference",
"conf_record",
"regular_season_finish",
"regular_season_second_place"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "conf_record" FROM college_basketball_season WHERE "conference" = 'Sun Belt' | dev | wikisql |
What was the overall record of Oral Roberts college? | college_basketball_season | [
"school",
"record",
"conference",
"conf_record",
"regular_season_finish",
"regular_season_second_place"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "record" FROM college_basketball_season WHERE "school" = 'Oral Roberts' | dev | wikisql |
Which qualifying schools were in the Patriot conference? | college_basketball_season | [
"school",
"record",
"conference",
"conf_record",
"regular_season_finish",
"regular_season_second_place"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "school" FROM college_basketball_season WHERE "conference" = 'Patriot' | dev | wikisql |
What was the overall record of UMBC? | college_basketball_season | [
"school",
"record",
"conference",
"conf_record",
"regular_season_finish",
"regular_season_second_place"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "record" FROM college_basketball_season WHERE "school" = 'UMBC' | dev | wikisql |
Which conference is Belmont in? | college_basketball_season | [
"school",
"record",
"conference",
"conf_record",
"regular_season_finish",
"regular_season_second_place"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "conference" FROM college_basketball_season WHERE "school" = 'Belmont' | dev | wikisql |
What is the status of vessel number K-223? | delta_submarines | [
"col",
"shipyard",
"name",
"laid_down",
"launched",
"commissioned",
"fleet",
"status"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "status" FROM delta_submarines WHERE "col" = 'K-223' | dev | wikisql |
Who won third place in season four? | talent_show_results_2 | [
"season",
"air_date",
"winner",
"runner_up",
"third_place",
"host_s",
"judges",
"winning_mentor"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "third_place" FROM talent_show_results_2 WHERE "season" = 'Four' | dev | wikisql |
Who was the runner-up in season five? | talent_show_results_2 | [
"season",
"air_date",
"winner",
"runner_up",
"third_place",
"host_s",
"judges",
"winning_mentor"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "runner_up" FROM talent_show_results_2 WHERE "season" = 'Five' | dev | wikisql |
Which season did Ida Corr win? | talent_show_results_2 | [
"season",
"air_date",
"winner",
"runner_up",
"third_place",
"host_s",
"judges",
"winning_mentor"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "season" FROM talent_show_results_2 WHERE "winning_mentor" = 'Ida Corr' | dev | wikisql |
Who was the winning mentor in season two? | talent_show_results_2 | [
"season",
"air_date",
"winner",
"runner_up",
"third_place",
"host_s",
"judges",
"winning_mentor"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "winning_mentor" FROM talent_show_results_2 WHERE "season" = 'Two' | dev | wikisql |
Who was the runner-up when Mohamed Ali got third? | talent_show_results_2 | [
"season",
"air_date",
"winner",
"runner_up",
"third_place",
"host_s",
"judges",
"winning_mentor"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "runner_up" FROM talent_show_results_2 WHERE "third_place" = 'Mohamed Ali' | dev | wikisql |
What affiliation is Erie, Pennsylvania? | college_hockey_teams | [
"institution",
"location",
"founded",
"affiliation",
"enrollment",
"team_nickname",
"primary_conference"
] | [
"text",
"text",
"real",
"text",
"real",
"text",
"text"
] | SELECT "affiliation" FROM college_hockey_teams WHERE "location" = 'Erie, Pennsylvania' | dev | wikisql |
What was the enrollment of the school founded in 1846? | college_hockey_teams | [
"institution",
"location",
"founded",
"affiliation",
"enrollment",
"team_nickname",
"primary_conference"
] | [
"text",
"text",
"real",
"text",
"real",
"text",
"text"
] | SELECT "enrollment" FROM college_hockey_teams WHERE "founded" = 1846 | dev | wikisql |
What kind of school is Canton, New York? | college_hockey_teams | [
"institution",
"location",
"founded",
"affiliation",
"enrollment",
"team_nickname",
"primary_conference"
] | [
"text",
"text",
"real",
"text",
"real",
"text",
"text"
] | SELECT "affiliation" FROM college_hockey_teams WHERE "location" = 'Canton, New York' | dev | wikisql |
Name the ground for essendon | football_match | [
"home_team",
"home_team_score",
"away_team",
"away_team_score",
"ground",
"crowd",
"date",
"time"
] | [
"text",
"text",
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "ground" FROM football_match WHERE "home_team" = 'Essendon' | dev | wikisql |
Name the total number of grounds for essendon | football_match | [
"home_team",
"home_team_score",
"away_team",
"away_team_score",
"ground",
"crowd",
"date",
"time"
] | [
"text",
"text",
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT COUNT("ground") FROM football_match WHERE "home_team" = 'Essendon' | dev | wikisql |
Name the time for saturday 4 march 1995 | football_match | [
"home_team",
"home_team_score",
"away_team",
"away_team_score",
"ground",
"crowd",
"date",
"time"
] | [
"text",
"text",
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "time" FROM football_match WHERE "date" = 'Saturday 4 March 1995' | dev | wikisql |
Where the home team scored 13.10 (88), what was the size of the crowd? | wizard_cup_football | [
"home_team",
"home_team_score",
"away_team",
"away_team_score",
"ground",
"crowd",
"date"
] | [
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT MAX("crowd") FROM wizard_cup_football WHERE "home_team_score" = '13.10 (88)' | dev | wikisql |
On what date did the away team Fremantle play? | wizard_cup_football | [
"home_team",
"home_team_score",
"away_team",
"away_team_score",
"ground",
"crowd",
"date"
] | [
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "date" FROM wizard_cup_football WHERE "away_team" = 'Fremantle' | dev | wikisql |
What score did the away team receive against home team Port Adelaide? | wizard_cup_football | [
"home_team",
"home_team_score",
"away_team",
"away_team_score",
"ground",
"crowd",
"date"
] | [
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "away_team_score" FROM wizard_cup_football WHERE "home_team" = 'Port Adelaide' | dev | wikisql |
Name the h when c max is 99 | machine_taper_snake_case | [
"morse_taper_number",
"taper",
"a",
"b_max",
"c_max",
"d_max",
"e_max",
"f",
"g",
"h",
"j",
"k"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT "h" FROM machine_taper_snake_case WHERE "c_max" = '99' | dev | wikisql |
Name the least morse taper number when taper is 1:20.047 | machine_taper_snake_case | [
"morse_taper_number",
"taper",
"a",
"b_max",
"c_max",
"d_max",
"e_max",
"f",
"g",
"h",
"j",
"k"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT MIN("morse_taper_number") FROM machine_taper_snake_case WHERE "taper" = '1:20.047' | dev | wikisql |
when was the school/club team for grizzles was maryland | grizzlies_players | [
"player",
"no",
"nationality",
"position",
"years_for_grizzlies",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT "years_for_grizzlies" FROM grizzlies_players WHERE "school_club_team" = 'Maryland' | dev | wikisql |
Which position did kevin edwards play for | grizzlies_players | [
"player",
"no",
"nationality",
"position",
"years_for_grizzlies",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT "position" FROM grizzlies_players WHERE "player" = 'Kevin Edwards' | dev | wikisql |
when did no. 32 play for grizzles | grizzlies_players | [
"player",
"no",
"nationality",
"position",
"years_for_grizzlies",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT "years_for_grizzlies" FROM grizzlies_players WHERE "no" = 32 | dev | wikisql |
what's the highest player number from the list from 2000-2001 | grizzlies_players | [
"player",
"no",
"nationality",
"position",
"years_for_grizzlies",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT MAX("no") FROM grizzlies_players WHERE "years_for_grizzlies" = '2000-2001' | dev | wikisql |
Which school/club team did blue edwards play for | grizzlies_players | [
"player",
"no",
"nationality",
"position",
"years_for_grizzlies",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT "school_club_team" FROM grizzlies_players WHERE "player" = 'Blue Edwards' | dev | wikisql |
What position is Justin Shaw in? | cfl_players | [
"pick",
"cfl_team",
"player",
"position",
"college"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "position" FROM cfl_players WHERE "player" = 'Justin Shaw' | dev | wikisql |
What pick # did Western Illinois have? | cfl_players | [
"pick",
"cfl_team",
"player",
"position",
"college"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "pick" FROM cfl_players WHERE "college" = 'Western Illinois' | dev | wikisql |
How many cfl teams had pick # 21? | cfl_players | [
"pick",
"cfl_team",
"player",
"position",
"college"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT COUNT("cfl_team") FROM cfl_players WHERE "pick" = 21 | dev | wikisql |
How many pick numbers did Michael Giffin have? | cfl_players | [
"pick",
"cfl_team",
"player",
"position",
"college"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT COUNT("pick") FROM cfl_players WHERE "player" = 'Michael Giffin' | dev | wikisql |
What college does Jean-Nicolas Carriere play for? | cfl_players | [
"pick",
"cfl_team",
"player",
"position",
"college"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "college" FROM cfl_players WHERE "player" = 'Jean-Nicolas Carriere' | dev | wikisql |
What are the points for ktm-vmc equipment? | sidecarcross_results | [
"position",
"driver_passenger",
"equipment",
"bike_no",
"points"
] | [
"real",
"text",
"text",
"real",
"real"
] | SELECT "points" FROM sidecarcross_results WHERE "equipment" = 'KTM-VMC' | dev | wikisql |
Name the location for illinois | college_basketball_games | [
"date",
"time",
"acc_team",
"big_ten_team",
"location",
"television",
"attendance",
"winner",
"challenge_leader"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text",
"text"
] | SELECT "location" FROM college_basketball_games WHERE "big_ten_team" = 'Illinois' | dev | wikisql |
what is the maximum lead margin on august 5, 2008? | us_senate_poll_2008 | [
"poll_source",
"dates_administered",
"democrat_john_kerry",
"republican_jeff_beatty",
"lead_margin"
] | [
"text",
"text",
"text",
"text",
"real"
] | SELECT MAX("lead_margin") FROM us_senate_poll_2008 WHERE "dates_administered" = 'August 5, 2008' | dev | wikisql |
what is hte date where republican jeaff beatty is 34%? | us_senate_poll_2008 | [
"poll_source",
"dates_administered",
"democrat_john_kerry",
"republican_jeff_beatty",
"lead_margin"
] | [
"text",
"text",
"text",
"text",
"real"
] | SELECT "dates_administered" FROM us_senate_poll_2008 WHERE "republican_jeff_beatty" = '34%' | dev | wikisql |
what are the dates where democrat john kerry is 63% and poll source is rasmussen reports? | us_senate_poll_2008 | [
"poll_source",
"dates_administered",
"democrat_john_kerry",
"republican_jeff_beatty",
"lead_margin"
] | [
"text",
"text",
"text",
"text",
"real"
] | SELECT "dates_administered" FROM us_senate_poll_2008 WHERE "democrat_john_kerry" = '63%' AND "poll_source" = 'Rasmussen Reports' | dev | wikisql |
what is the percentage for john kerry and dates administered is april 22, 2008? | us_senate_poll_2008 | [
"poll_source",
"dates_administered",
"democrat_john_kerry",
"republican_jeff_beatty",
"lead_margin"
] | [
"text",
"text",
"text",
"text",
"real"
] | SELECT "democrat_john_kerry" FROM us_senate_poll_2008 WHERE "dates_administered" = 'April 22, 2008' | dev | wikisql |
What was the diameter of the feature found in 1997? | fornax_rupes | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM fornax_rupes WHERE "year_named" = 1997 | dev | wikisql |
At a latitude of 67.5n, what is the diameter? | fornax_rupes | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM fornax_rupes WHERE "latitude" = '67.5N' | dev | wikisql |
What is the latitude of vaidilute rupes? | fornax_rupes | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "latitude" FROM fornax_rupes WHERE "name" = 'Vaidilute Rupes' | dev | wikisql |
At a latitude of 71.1e, what is the feature's name origin? | fornax_rupes | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "name_origin" FROM fornax_rupes WHERE "longitude" = '71.1E' | dev | wikisql |
At a longitude of 109.9e, how many features were found? | fornax_rupes | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT COUNT("diameter_km") FROM fornax_rupes WHERE "longitude" = '109.9E' | dev | wikisql |
At a longitude of 321.9e, what is the latitude of the features found? | fornax_rupes | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "latitude" FROM fornax_rupes WHERE "longitude" = '321.9E' | dev | wikisql |
In what year was the feature at a 33.3S latitude named? | aitchison_patera | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT MAX("year_named") FROM aitchison_patera WHERE "latitude" = '33.3S' | dev | wikisql |
What is the diameter in km of the feature named Colette Patera? | aitchison_patera | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM aitchison_patera WHERE "name" = 'Colette Patera' | dev | wikisql |
What is the longitude of the feature named Razia Patera? | aitchison_patera | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "longitude" FROM aitchison_patera WHERE "name" = 'Razia Patera' | dev | wikisql |
What is the origin of the name of Keller Patera? | aitchison_patera | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "name_origin" FROM aitchison_patera WHERE "name" = 'Keller Patera' | dev | wikisql |
What is the diameter in km of the feature with a longitude of 40.2E? | aitchison_patera | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM aitchison_patera WHERE "longitude" = '40.2E' | dev | wikisql |
what's the name origin of feature of diameter (km) 2,155.0 | aibarchin_planitia | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "name_origin" FROM aibarchin_planitia WHERE "diameter_km" = '2,155.0' | dev | wikisql |
what is the diameter (km) of the feature of latitude 23.0s | aibarchin_planitia | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM aibarchin_planitia WHERE "latitude" = '23.0S' | dev | wikisql |
what is the latitude of the feature of longitude 80.0e | aibarchin_planitia | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "latitude" FROM aibarchin_planitia WHERE "longitude" = '80.0E' | dev | wikisql |
what is the diameter (km) of feature of latitude 40.5s | aibarchin_planitia | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM aibarchin_planitia WHERE "latitude" = '40.5S' | dev | wikisql |
what is the diameter (km) of longitude 170.1e | aibarchin_planitia | [
"name",
"latitude",
"longitude",
"diameter_km",
"year_named",
"name_origin"
] | [
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "diameter_km" FROM aibarchin_planitia WHERE "longitude" = '170.1E' | dev | wikisql |
What is the market value of a company in billions that has 172.7 billion in sales? | forbes_global_2000 | [
"rank",
"company",
"headquarters",
"industry",
"sales_billion",
"profits_billion",
"assets_billion",
"market_value_billion"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "market_value_billion" FROM forbes_global_2000 WHERE "sales_billion" = '172.7' | dev | wikisql |
What are the profits in billions for Berkshire Hathaway? | forbes_global_2000 | [
"rank",
"company",
"headquarters",
"industry",
"sales_billion",
"profits_billion",
"assets_billion",
"market_value_billion"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "profits_billion" FROM forbes_global_2000 WHERE "company" = 'Berkshire Hathaway' | dev | wikisql |
Which industry has a company with a market value of 80.3 billion? | forbes_global_2000 | [
"rank",
"company",
"headquarters",
"industry",
"sales_billion",
"profits_billion",
"assets_billion",
"market_value_billion"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "industry" FROM forbes_global_2000 WHERE "market_value_billion" = '80.3' | dev | wikisql |
What is the highest rank of a company that has 1,715.8 billion in assets? | forbes_global_2000 | [
"rank",
"company",
"headquarters",
"industry",
"sales_billion",
"profits_billion",
"assets_billion",
"market_value_billion"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT MAX("rank") FROM forbes_global_2000 WHERE "assets_billion" = '1,715.8' | dev | wikisql |
what is the amount of profits in billions for companies with a market value of 204.9 billion? | forbes_global_2000 | [
"rank",
"company",
"headquarters",
"industry",
"sales_billion",
"profits_billion",
"assets_billion",
"market_value_billion"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "profits_billion" FROM forbes_global_2000 WHERE "market_value_billion" = '204.9' | dev | wikisql |
What were the placements of the team in regular season when they reached quarterfinals in the U.S. Open Cup but did not qualify for the Concaf Champions Cup? | soccer_history | [
"season",
"mls_reg_season",
"mls_cup_playoffs",
"u_s_open_cup",
"concacaf_champions_cup_champions_league"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "mls_reg_season" FROM soccer_history WHERE "u_s_open_cup" = 'Quarterfinals' AND "concacaf_champions_cup_champions_league" = 'Did not qualify' | dev | wikisql |
How did the team place when they did not qualify for the Concaf Champions Cup but made it to Round of 16 in the U.S. Open Cup? | soccer_history | [
"season",
"mls_reg_season",
"mls_cup_playoffs",
"u_s_open_cup",
"concacaf_champions_cup_champions_league"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT "mls_cup_playoffs" FROM soccer_history WHERE "concacaf_champions_cup_champions_league" = 'Did not qualify' AND "u_s_open_cup" = 'Round of 16' | dev | wikisql |
When was the first season? | soccer_history | [
"season",
"mls_reg_season",
"mls_cup_playoffs",
"u_s_open_cup",
"concacaf_champions_cup_champions_league"
] | [
"real",
"text",
"text",
"text",
"text"
] | SELECT MIN("season") FROM soccer_history | dev | wikisql |
What is the ISBN of "Dead as a Doornail? | book_details | [
"col",
"title",
"publisher",
"release",
"length",
"hardcover",
"paperback"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "paperback" FROM book_details WHERE "title" = 'Dead as a Doornail' | dev | wikisql |
How many publishers put out isbn 193700788x? | book_details | [
"col",
"title",
"publisher",
"release",
"length",
"hardcover",
"paperback"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("publisher") FROM book_details WHERE "hardcover" = 'ISBN 193700788X' | dev | wikisql |
isbn 0-441-01400-3 is book number? | book_details | [
"col",
"title",
"publisher",
"release",
"length",
"hardcover",
"paperback"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "col" FROM book_details WHERE "hardcover" = 'ISBN 0-441-01400-3' | dev | wikisql |
Who pubilshed isbn 1-937007-44-8? | book_details | [
"col",
"title",
"publisher",
"release",
"length",
"hardcover",
"paperback"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "publisher" FROM book_details WHERE "hardcover" = 'ISBN 1-937007-44-8' | dev | wikisql |
What is the minimum Wins a team has? | curling_champ_2009 | [
"country",
"skip",
"w",
"l",
"pf",
"pa",
"ends_won",
"ends_lost",
"blank_ends",
"stolen_ends",
"shot"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT MIN("w") FROM curling_champ_2009 | dev | wikisql |
When the country was Scotland, how many ends were won? | curling_champ_2009 | [
"country",
"skip",
"w",
"l",
"pf",
"pa",
"ends_won",
"ends_lost",
"blank_ends",
"stolen_ends",
"shot"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT COUNT("ends_won") FROM curling_champ_2009 WHERE "country" = 'Scotland' | dev | wikisql |
What is Norway's least ends lost? | curling_champ_2009 | [
"country",
"skip",
"w",
"l",
"pf",
"pa",
"ends_won",
"ends_lost",
"blank_ends",
"stolen_ends",
"shot"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT MIN("ends_lost") FROM curling_champ_2009 WHERE "country" = 'Norway' | dev | wikisql |
Andrea Schöpp is the skip of which country? | curling_champ_2009 | [
"country",
"skip",
"w",
"l",
"pf",
"pa",
"ends_won",
"ends_lost",
"blank_ends",
"stolen_ends",
"shot"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"real"
] | SELECT "country" FROM curling_champ_2009 WHERE "skip" = 'Andrea Schöpp' | dev | wikisql |
Name the poles for 25th position | nascar_driver_stats | [
"year",
"starts",
"wins",
"top_5",
"top_10",
"poles",
"avg_start",
"avg_finish",
"winnings",
"position",
"team_s"
] | [
"real",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "poles" FROM nascar_driver_stats WHERE "position" = '25th' | dev | wikisql |
Name the starts when position is 16th | nascar_driver_stats | [
"year",
"starts",
"wins",
"top_5",
"top_10",
"poles",
"avg_start",
"avg_finish",
"winnings",
"position",
"team_s"
] | [
"real",
"real",
"real",
"real",
"real",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "starts" FROM nascar_driver_stats WHERE "position" = '16th' | dev | wikisql |
What stadium hosted the June 7 game and how many visitors were there? | dream_2008_games | [
"game",
"date",
"opponent",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "location_attendance" FROM dream_2008_games WHERE "date" = 'June 7' | dev | wikisql |
Who made the highest assist in the game that scored 79-88? | dream_2008_games | [
"game",
"date",
"opponent",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "high_assists" FROM dream_2008_games WHERE "score" = '79-88' | dev | wikisql |
When the 8th is Marcos Hernandez who was the 6th? | sound_poll_results | [
"poll_year",
"winner",
"second",
"third",
"fourth",
"fifth",
"sixth",
"seventh",
"eighth",
"ninth",
"tenth"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "sixth" FROM sound_poll_results WHERE "eighth" = 'Marcos Hernandez' | dev | wikisql |
Who was in 4th when in 6th is Air Traffic? | sound_poll_results | [
"poll_year",
"winner",
"second",
"third",
"fourth",
"fifth",
"sixth",
"seventh",
"eighth",
"ninth",
"tenth"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "fourth" FROM sound_poll_results WHERE "sixth" = 'Air Traffic' | dev | wikisql |
When Kubb is in 9th, who is in 10th? | sound_poll_results | [
"poll_year",
"winner",
"second",
"third",
"fourth",
"fifth",
"sixth",
"seventh",
"eighth",
"ninth",
"tenth"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "tenth" FROM sound_poll_results WHERE "ninth" = 'Kubb' | dev | wikisql |
When Interpol is in 6th, who is in 7th? | sound_poll_results | [
"poll_year",
"winner",
"second",
"third",
"fourth",
"fifth",
"sixth",
"seventh",
"eighth",
"ninth",
"tenth"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("seventh") FROM sound_poll_results WHERE "sixth" = 'Interpol' | dev | wikisql |
How many times was Plan B 4th place? | sound_poll_results | [
"poll_year",
"winner",
"second",
"third",
"fourth",
"fifth",
"sixth",
"seventh",
"eighth",
"ninth",
"tenth"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("winner") FROM sound_poll_results WHERE "fourth" = 'Plan B' | dev | wikisql |
When dizzee rascal is 5th, who was the winner? | sound_poll_results | [
"poll_year",
"winner",
"second",
"third",
"fourth",
"fifth",
"sixth",
"seventh",
"eighth",
"ninth",
"tenth"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "winner" FROM sound_poll_results WHERE "fifth" = 'Dizzee Rascal' | dev | wikisql |
What was the location and attendance for game 60? | grizzlies_0809_stats | [
"game",
"date",
"team",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "location_attendance" FROM grizzlies_0809_stats WHERE "game" = 60 | dev | wikisql |
Who had the highest assists on March 18? | grizzlies_0809_stats | [
"game",
"date",
"team",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "high_assists" FROM grizzlies_0809_stats WHERE "date" = 'March 18' | dev | wikisql |
Who had the high rebound total on january 6? | celtics_game_stats | [
"game",
"date",
"team",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "high_rebounds" FROM celtics_game_stats WHERE "date" = 'January 6' | dev | wikisql |
How many positions correspond to a 1-3 1st leg? | football_1970_nbi | [
"position",
"team_1",
"agg",
"team_2",
"1st_leg",
"2nd_leg"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("position") FROM football_1970_nbi WHERE "1st_leg" = '1-3' | dev | wikisql |
Name the total number of opponent of record 9-2 | fever_2007_season | [
"game",
"date",
"opponent",
"score_time",
"high_points",
"high_rebounds",
"high_assists",
"arena_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("opponent") FROM fever_2007_season WHERE "record" = '9-2' | dev | wikisql |
name the date where score time is w 74-63 | fever_2007_season | [
"game",
"date",
"opponent",
"score_time",
"high_points",
"high_rebounds",
"high_assists",
"arena_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date" FROM fever_2007_season WHERE "score_time" = 'W 74-63' | dev | wikisql |
What episode aired on 11july1964? | tv_episode_data_8 | [
"episode",
"broadcast_date",
"run_time",
"viewers_in_millions",
"archive"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "episode" FROM tv_episode_data_8 WHERE "broadcast_date" = '11July1964' | dev | wikisql |
How many viewers were there on 1august1964? | tv_episode_data_8 | [
"episode",
"broadcast_date",
"run_time",
"viewers_in_millions",
"archive"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "viewers_in_millions" FROM tv_episode_data_8 WHERE "broadcast_date" = '1August1964' | dev | wikisql |
What is run time when there were 7.4 million viewers? | tv_episode_data_8 | [
"episode",
"broadcast_date",
"run_time",
"viewers_in_millions",
"archive"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "run_time" FROM tv_episode_data_8 WHERE "viewers_in_millions" = '7.4' | dev | wikisql |
What is the equation where the 3rd throw is 7? | dice_equations | [
"1st_throw",
"2nd_throw",
"3rd_throw",
"equation",
"result"
] | [
"real",
"real",
"text",
"text",
"real"
] | SELECT "equation" FROM dice_equations WHERE "3rd_throw" = '7' | dev | wikisql |
If the equation is (10 times 8) + 4, what would be the 2nd throw? | dice_equations | [
"1st_throw",
"2nd_throw",
"3rd_throw",
"equation",
"result"
] | [
"real",
"real",
"text",
"text",
"real"
] | SELECT MAX("2nd_throw") FROM dice_equations WHERE "equation" = '(10 times 8) + 4' | dev | wikisql |
What is the result when the 3rd throw is not 8? | dice_equations | [
"1st_throw",
"2nd_throw",
"3rd_throw",
"equation",
"result"
] | [
"real",
"real",
"text",
"text",
"real"
] | SELECT MIN("result") FROM dice_equations WHERE "3rd_throw" = 'not 8' | dev | wikisql |
If the equation is all equal, what is the 3rd throw? | dice_equations | [
"1st_throw",
"2nd_throw",
"3rd_throw",
"equation",
"result"
] | [
"real",
"real",
"text",
"text",
"real"
] | SELECT "3rd_throw" FROM dice_equations WHERE "equation" = 'all equal' | dev | wikisql |
If the equation is (10 times 1) + 3, what is the 2nd throw? | dice_equations | [
"1st_throw",
"2nd_throw",
"3rd_throw",
"equation",
"result"
] | [
"real",
"real",
"text",
"text",
"real"
] | SELECT MAX("2nd_throw") FROM dice_equations WHERE "equation" = '(10 times 1) + 3' | dev | wikisql |
Name the total number of grid for 30 | race_results | [
"fin_pos",
"car_no",
"driver",
"team",
"laps",
"time_retired",
"grid",
"laps_led",
"points"
] | [
"real",
"real",
"text",
"text",
"real",
"text",
"real",
"real",
"text"
] | SELECT COUNT("grid") FROM race_results WHERE "points" = '30' | dev | wikisql |
Name the laps for 18 pointss | race_results | [
"fin_pos",
"car_no",
"driver",
"team",
"laps",
"time_retired",
"grid",
"laps_led",
"points"
] | [
"real",
"real",
"text",
"text",
"real",
"text",
"real",
"real",
"text"
] | SELECT "laps" FROM race_results WHERE "points" = '18' | dev | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.