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 |
|---|---|---|---|---|---|---|
How many dollars is the purse when the margin of victory is 8 strokes? | golf_tournament_results | [
"year",
"dates",
"champion",
"country",
"score",
"to_par",
"margin_of_victory",
"purse_us",
"winners_share"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT COUNT("purse_us") FROM golf_tournament_results WHERE "margin_of_victory" = '8 strokes' | dev | wikisql |
What is the lowest year listed? | golf_tournament_results | [
"year",
"dates",
"champion",
"country",
"score",
"to_par",
"margin_of_victory",
"purse_us",
"winners_share"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT MIN("year") FROM golf_tournament_results | dev | wikisql |
At what date is the score 66-72-64-65=267? | golf_tournament_results | [
"year",
"dates",
"champion",
"country",
"score",
"to_par",
"margin_of_victory",
"purse_us",
"winners_share"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "dates" FROM golf_tournament_results WHERE "score" = '66-72-64-65=267' | dev | wikisql |
How many teams are #2 on the list? | mrc_teams_stats | [
"col",
"minnesota_river_conference",
"records",
"pct",
"mrc_championships",
"solo",
"co_champions",
"state_champions"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"real"
] | SELECT COUNT("records") FROM mrc_teams_stats WHERE "col" = 2 | dev | wikisql |
What are the record(s) for the team with a winning percentage of .464? | mrc_teams_stats | [
"col",
"minnesota_river_conference",
"records",
"pct",
"mrc_championships",
"solo",
"co_champions",
"state_champions"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"real"
] | SELECT "records" FROM mrc_teams_stats WHERE "pct" = '.464' | dev | wikisql |
Name the least for when played is 12 | league_stats_1912 | [
"position",
"team",
"points",
"played",
"won",
"drawn",
"lost",
"for",
"against",
"difference"
] | [
"real",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"text"
] | SELECT MIN("for") FROM league_stats_1912 WHERE "played" = 12 | dev | wikisql |
Name the points for paulistano | league_stats_1912 | [
"position",
"team",
"points",
"played",
"won",
"drawn",
"lost",
"for",
"against",
"difference"
] | [
"real",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"text"
] | SELECT "points" FROM league_stats_1912 WHERE "team" = 'Paulistano' | dev | wikisql |
Name the most for when difference is 7 | league_stats_1912 | [
"position",
"team",
"points",
"played",
"won",
"drawn",
"lost",
"for",
"against",
"difference"
] | [
"real",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"text"
] | SELECT MAX("for") FROM league_stats_1912 WHERE "difference" = '7' | dev | wikisql |
Name the total number of titles for 3020 production code | tv_episode_data_6 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date",
"production_code",
"u_s_viewers_millions"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("title") FROM tv_episode_data_6 WHERE "production_code" = '3020' | dev | wikisql |
Name the number in the series for when the viewers is 7.78 | tv_episode_data_6 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date",
"production_code",
"u_s_viewers_millions"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "no_in_series" FROM tv_episode_data_6 WHERE "u_s_viewers_millions" = '7.78' | dev | wikisql |
Name the number of original air date for when the number in season is 10/11 | tv_episode_data_6 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date",
"production_code",
"u_s_viewers_millions"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("original_air_date") FROM tv_episode_data_6 WHERE "no_in_season" = '10/11' | dev | wikisql |
Which race number in the Indy F3 Challenge circuit had John Martin in pole position? | aus_drivers_2008 | [
"round",
"race",
"circuit",
"date",
"pole_position",
"fastest_lap",
"winning_driver",
"winning_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "race" FROM aus_drivers_2008 WHERE "circuit" = 'Indy F3 Challenge' AND "pole_position" = 'John Martin' | dev | wikisql |
What is the highest race number in the Phillip Island circuit with James Winslow as the winning driver and pole position? | aus_drivers_2008 | [
"round",
"race",
"circuit",
"date",
"pole_position",
"fastest_lap",
"winning_driver",
"winning_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT MAX("race") FROM aus_drivers_2008 WHERE "circuit" = 'Phillip Island' AND "winning_driver" = 'James Winslow' AND "pole_position" = 'James Winslow' | dev | wikisql |
Name the least amount of tackles for danny clark | giants_defense_stats_2008 | [
"player",
"g",
"tackles",
"solo",
"assts",
"sacks",
"int",
"int_yards",
"int_avg",
"int_td",
"fum_rec",
"fum_rec_td"
] | [
"text",
"real",
"real",
"real",
"real",
"text",
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT MIN("tackles") FROM giants_defense_stats_2008 WHERE "player" = 'Danny Clark' | dev | wikisql |
Name the most tackles for 3.5 sacks | giants_defense_stats_2008 | [
"player",
"g",
"tackles",
"solo",
"assts",
"sacks",
"int",
"int_yards",
"int_avg",
"int_td",
"fum_rec",
"fum_rec_td"
] | [
"text",
"real",
"real",
"real",
"real",
"text",
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT MAX("tackles") FROM giants_defense_stats_2008 WHERE "sacks" = '3.5' | dev | wikisql |
Name the least fum rec td | giants_defense_stats_2008 | [
"player",
"g",
"tackles",
"solo",
"assts",
"sacks",
"int",
"int_yards",
"int_avg",
"int_td",
"fum_rec",
"fum_rec_td"
] | [
"text",
"real",
"real",
"real",
"real",
"text",
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT MIN("fum_rec_td") FROM giants_defense_stats_2008 | dev | wikisql |
Name the least int yards when sacks is 11.5 | giants_defense_stats_2008 | [
"player",
"g",
"tackles",
"solo",
"assts",
"sacks",
"int",
"int_yards",
"int_avg",
"int_td",
"fum_rec",
"fum_rec_td"
] | [
"text",
"real",
"real",
"real",
"real",
"text",
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT MIN("int_yards") FROM giants_defense_stats_2008 WHERE "sacks" = '11.5' | dev | wikisql |
Name the least amount of int yards | giants_defense_stats_2008 | [
"player",
"g",
"tackles",
"solo",
"assts",
"sacks",
"int",
"int_yards",
"int_avg",
"int_td",
"fum_rec",
"fum_rec_td"
] | [
"text",
"real",
"real",
"real",
"real",
"text",
"real",
"real",
"text",
"real",
"real",
"real"
] | SELECT MIN("int_yards") FROM giants_defense_stats_2008 | dev | wikisql |
What jersey number did Al Harrington wear | magic_roster_2 | [
"player",
"no",
"nationality",
"position",
"years_in_orlando",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT MAX("no") FROM magic_roster_2 WHERE "player" = 'Al Harrington' | dev | wikisql |
What school did Dwight Howard play for | magic_roster_2 | [
"player",
"no",
"nationality",
"position",
"years_in_orlando",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT "school_club_team" FROM magic_roster_2 WHERE "player" = 'Dwight Howard' | dev | wikisql |
How many players belong to Notre Dame? | magic_roster | [
"player",
"no",
"nationality",
"position",
"years_in_orlando",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT COUNT("player") FROM magic_roster WHERE "school_club_team" = 'Notre Dame' | dev | wikisql |
What number identifies Chris Gatling? | magic_roster | [
"player",
"no",
"nationality",
"position",
"years_in_orlando",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT MAX("no") FROM magic_roster WHERE "player" = 'Chris Gatling' | dev | wikisql |
What is Chris Gatling 's number? | magic_roster | [
"player",
"no",
"nationality",
"position",
"years_in_orlando",
"school_club_team"
] | [
"text",
"real",
"text",
"text",
"text",
"text"
] | SELECT MAX("no") FROM magic_roster WHERE "player" = 'Chris Gatling' | dev | wikisql |
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active? | somali_conflict_data | [
"conflict",
"united_nations_mission",
"sexual_abuse_1",
"murder_2",
"extortion_theft_3"
] | [
"text",
"text",
"real",
"real",
"text"
] | SELECT "extortion_theft_3" FROM somali_conflict_data WHERE "united_nations_mission" = 'United Nations Observer Mission Uganda-Rwanda' | dev | wikisql |
What is the sexual abuse rate where the conflict is the Burundi Civil War? | somali_conflict_data | [
"conflict",
"united_nations_mission",
"sexual_abuse_1",
"murder_2",
"extortion_theft_3"
] | [
"text",
"text",
"real",
"real",
"text"
] | SELECT MIN("sexual_abuse_1") FROM somali_conflict_data WHERE "conflict" = 'Burundi Civil War' | dev | wikisql |
What is the sexual abuse rate where the conflict is the Burundi Civil War? | somali_conflict_data | [
"conflict",
"united_nations_mission",
"sexual_abuse_1",
"murder_2",
"extortion_theft_3"
] | [
"text",
"text",
"real",
"real",
"text"
] | SELECT MAX("sexual_abuse_1") FROM somali_conflict_data WHERE "conflict" = 'Burundi Civil War' | dev | wikisql |
What is the sexual abuse rate where the conflict is the Second Sudanese Civil War? | somali_conflict_data | [
"conflict",
"united_nations_mission",
"sexual_abuse_1",
"murder_2",
"extortion_theft_3"
] | [
"text",
"text",
"real",
"real",
"text"
] | SELECT MIN("sexual_abuse_1") FROM somali_conflict_data WHERE "conflict" = 'Second Sudanese Civil War' | dev | wikisql |
Who was the on the cover when Bob Vila did the 20 Questions? | celebrity_magazine | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "cover_model" FROM celebrity_magazine WHERE "20_questions" = 'Bob Vila' | dev | wikisql |
When was the Kymberly Paige the Centerfold? | celebrity_magazine | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date" FROM celebrity_magazine WHERE "centerfold_model" = 'Kymberly Paige' | dev | wikisql |
When was Kalin Olson listed as the centerfold model? | celeb_magazine | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date" FROM celeb_magazine WHERE "centerfold_model" = 'Kalin Olson' | dev | wikisql |
What is the name of the cover model on 3-97? | celeb_magazine | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "cover_model" FROM celeb_magazine WHERE "date" = '3-97' | dev | wikisql |
Who was the centerfold model when a pictorial was done on marilyn monroe? | celeb_magazine | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "centerfold_model" FROM celeb_magazine WHERE "pictorials" = 'Marilyn Monroe' | dev | wikisql |
Who was the interview subject on the date 1-97? | celeb_magazine | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "interview_subject" FROM celeb_magazine WHERE "date" = '1-97' | dev | wikisql |
Who was the centerfold model in the issue where Fergie answered the "20 questions"? | playboy_models | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "centerfold_model" FROM playboy_models WHERE "20_questions" = 'Fergie' | dev | wikisql |
Who was the cover model when the issue's pictorials was pmoy - sara jean underwood? | playboy_models | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "cover_model" FROM playboy_models WHERE "pictorials" = 'PMOY - Sara Jean Underwood' | dev | wikisql |
List the pictorals from issues when lindsey roeper was the cover model. | playboy_models | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "pictorials" FROM playboy_models WHERE "cover_model" = 'Lindsey Roeper' | dev | wikisql |
Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club? | playboy_models | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "centerfold_model" FROM playboy_models WHERE "pictorials" = 'Kimberly Bell , Bunnies of the New Playboy Club' | dev | wikisql |
Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ? | playboy_models | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "centerfold_model" FROM playboy_models WHERE "pictorials" = 'Amanda Beard, Reby Sky , Girls of Montauk' | dev | wikisql |
Who answered the 20 questions on 10-07? | playboy_models | [
"date",
"cover_model",
"centerfold_model",
"interview_subject",
"20_questions",
"pictorials"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "20_questions" FROM playboy_models WHERE "date" = '10-07' | dev | wikisql |
Name the wickets for overs bowled being 15 | cricket_series_stats | [
"name",
"overs_bowled",
"maidens",
"runs_conceded",
"wickets",
"extras",
"e_r"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"text"
] | SELECT "wickets" FROM cricket_series_stats WHERE "overs_bowled" = '15' | dev | wikisql |
Name the total number of wickets being yuvraj singh | cricket_series_stats | [
"name",
"overs_bowled",
"maidens",
"runs_conceded",
"wickets",
"extras",
"e_r"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"text"
] | SELECT COUNT("wickets") FROM cricket_series_stats WHERE "name" = 'Yuvraj Singh' | dev | wikisql |
Name the name for when overs bowled is 31.2 | cricket_series_stats | [
"name",
"overs_bowled",
"maidens",
"runs_conceded",
"wickets",
"extras",
"e_r"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"text"
] | SELECT "name" FROM cricket_series_stats WHERE "overs_bowled" = '31.2' | dev | wikisql |
Name the runs conceded where overs bowled is 53 | cricket_series_stats | [
"name",
"overs_bowled",
"maidens",
"runs_conceded",
"wickets",
"extras",
"e_r"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"text"
] | SELECT COUNT("runs_conceded") FROM cricket_series_stats WHERE "overs_bowled" = '53' | dev | wikisql |
Name the maaidens where overs bowled is 13 | cricket_series_stats | [
"name",
"overs_bowled",
"maidens",
"runs_conceded",
"wickets",
"extras",
"e_r"
] | [
"text",
"text",
"real",
"real",
"real",
"real",
"text"
] | SELECT "maidens" FROM cricket_series_stats WHERE "overs_bowled" = '13' | dev | wikisql |
On what date was the race at Nazareth? | marlboro_race_data | [
"season",
"date",
"location",
"driver",
"chassis",
"engine",
"team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date" FROM marlboro_race_data WHERE "location" = 'Nazareth' | dev | wikisql |
At which location did Rick Mears drive? | marlboro_race_data | [
"season",
"date",
"location",
"driver",
"chassis",
"engine",
"team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "location" FROM marlboro_race_data WHERE "driver" = 'Rick Mears' | dev | wikisql |
Which team raced on October 19? | marlboro_race_data | [
"season",
"date",
"location",
"driver",
"chassis",
"engine",
"team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "team" FROM marlboro_race_data WHERE "date" = 'October 19' | dev | wikisql |
What engine does Galles Racing use? | marlboro_race_data | [
"season",
"date",
"location",
"driver",
"chassis",
"engine",
"team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "engine" FROM marlboro_race_data WHERE "team" = 'Galles Racing' | dev | wikisql |
What game happened on December 19? | raptors_game_stats_5 | [
"game",
"date",
"team",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT MAX("game") FROM raptors_game_stats_5 WHERE "date" = 'December 19' | dev | wikisql |
Who scored the most points against Washington? | raptors_game_stats_5 | [
"game",
"date",
"team",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "high_points" FROM raptors_game_stats_5 WHERE "team" = 'Washington' | dev | wikisql |
Which municipalities located in the county of Finnmark have populations bigger than 6187.0? | norway_towns | [
"city_town",
"municipality",
"county",
"city_town_status",
"population"
] | [
"text",
"text",
"text",
"real",
"real"
] | SELECT "municipality" FROM norway_towns WHERE "county" = 'Finnmark' AND "population" > 6187.0 | dev | wikisql |
In which county is the city/town of Halden located? | norway_towns | [
"city_town",
"municipality",
"county",
"city_town_status",
"population"
] | [
"text",
"text",
"text",
"real",
"real"
] | SELECT "county" FROM norway_towns WHERE "city_town" = 'Halden' | dev | wikisql |
Which municipality has a population of 24421? | norway_towns | [
"city_town",
"municipality",
"county",
"city_town_status",
"population"
] | [
"text",
"text",
"text",
"real",
"real"
] | SELECT "municipality" FROM norway_towns WHERE "population" = 24421 | dev | wikisql |
What is the total population in the city/town of Arendal? | norway_towns | [
"city_town",
"municipality",
"county",
"city_town_status",
"population"
] | [
"text",
"text",
"text",
"real",
"real"
] | SELECT COUNT("population") FROM norway_towns WHERE "city_town" = 'Arendal' | dev | wikisql |
What are the cities/towns located in the municipality of Horten? | norway_towns | [
"city_town",
"municipality",
"county",
"city_town_status",
"population"
] | [
"text",
"text",
"text",
"real",
"real"
] | SELECT "city_town" FROM norway_towns WHERE "municipality" = 'Horten' | dev | wikisql |
What are the cities/towns located in the municipality of Moss? | norway_towns | [
"city_town",
"municipality",
"county",
"city_town_status",
"population"
] | [
"text",
"text",
"text",
"real",
"real"
] | SELECT "city_town" FROM norway_towns WHERE "municipality" = 'Moss' | dev | wikisql |
Name the song choice when week number is hollywood | audition_results | [
"week",
"theme",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "song_choice" FROM audition_results WHERE "week" = 'Hollywood' | dev | wikisql |
Name the week number for andrew lloyd webber | audition_results | [
"week",
"theme",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "week" FROM audition_results WHERE "theme" = 'Andrew Lloyd Webber' | dev | wikisql |
Name the order number for the beatles and result is safe | audition_results | [
"week",
"theme",
"song_choice",
"original_artist",
"order",
"result"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "order" FROM audition_results WHERE "original_artist" = 'The Beatles' AND "result" = 'Safe' | dev | wikisql |
What is the production code for the episode written by Drew Z. Greenberg? | tv_episode | [
"episode_no",
"title",
"directed_by",
"written_by",
"original_air_date",
"production_code"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "production_code" FROM tv_episode WHERE "written_by" = 'Drew Z. Greenberg' | dev | wikisql |
Who directed episode number 3? | tv_episode | [
"episode_no",
"title",
"directed_by",
"written_by",
"original_air_date",
"production_code"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "directed_by" FROM tv_episode WHERE "episode_no" = 3 | dev | wikisql |
Who was "The Magic Necklace" written by? | tv_episode_data_7 | [
"series",
"season",
"title",
"directed_by",
"written_by",
"original_air_date"
] | [
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT "written_by" FROM tv_episode_data_7 WHERE "title" = '"The Magic Necklace"' | dev | wikisql |
Which Season originally aired on September 17, 1955 | tv_episode_data_7 | [
"series",
"season",
"title",
"directed_by",
"written_by",
"original_air_date"
] | [
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT "season" FROM tv_episode_data_7 WHERE "original_air_date" = 'September 17, 1955' | dev | wikisql |
What is the lowest number of series? | tv_episode_data_7 | [
"series",
"season",
"title",
"directed_by",
"written_by",
"original_air_date"
] | [
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT MIN("series") FROM tv_episode_data_7 | dev | wikisql |
When did season 9 originally air? | tv_episode_data_7 | [
"series",
"season",
"title",
"directed_by",
"written_by",
"original_air_date"
] | [
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT "original_air_date" FROM tv_episode_data_7 WHERE "season" = 9 | dev | wikisql |
Who directed the episode that was written by Jackson Gillis and Originally aired on May 21, 1955? | tv_episode_data_7 | [
"series",
"season",
"title",
"directed_by",
"written_by",
"original_air_date"
] | [
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT "directed_by" FROM tv_episode_data_7 WHERE "written_by" = 'Jackson Gillis' AND "original_air_date" = 'May 21, 1955' | dev | wikisql |
On what date was the attendance at Continental Airlines Arena 13,755? | raptors_game_stats_6 | [
"game",
"date",
"team",
"score",
"high_points",
"high_rebounds",
"high_assists",
"location_attendance",
"record"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date" FROM raptors_game_stats_6 WHERE "location_attendance" = 'Continental Airlines Arena 13,755' | dev | wikisql |
How many television service are in italian and n°is greater than 856.0? | italian_tv_data | [
"n",
"television_service",
"country",
"language",
"content",
"dar",
"hdtv",
"package_option"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "television_service" FROM italian_tv_data WHERE "language" = 'Italian' AND "n" > 856.0 | dev | wikisql |
What television service is in italy and is in english? | italian_tv_data | [
"n",
"television_service",
"country",
"language",
"content",
"dar",
"hdtv",
"package_option"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "television_service" FROM italian_tv_data WHERE "country" = 'Italy' AND "language" = 'English' | dev | wikisql |
what television service are in the united kingdom and n° is greater than 854.0? | italian_tv_data | [
"n",
"television_service",
"country",
"language",
"content",
"dar",
"hdtv",
"package_option"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "television_service" FROM italian_tv_data WHERE "country" = 'United Kingdom' AND "n" > 854.0 | dev | wikisql |
How many dar are in germany? | italian_tv_data | [
"n",
"television_service",
"country",
"language",
"content",
"dar",
"hdtv",
"package_option"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "dar" FROM italian_tv_data WHERE "country" = 'Germany' | dev | wikisql |
Name the total number of coat of cash wearing celebrity where panelists are matt di angelo and antony cotton | sunday_night_project | [
"episode_number",
"air_date",
"guest_host",
"musical_guest_song_performed",
"who_knows_the_most_about_the_guest_host_panelists",
"coat_of_cash_wearing_celebrity"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("coat_of_cash_wearing_celebrity") FROM sunday_night_project WHERE "who_knows_the_most_about_the_guest_host_panelists" = 'Matt Di Angelo and Antony Cotton' | dev | wikisql |
Name the musical guest where guest host is elle macpherson | sunday_night_project | [
"episode_number",
"air_date",
"guest_host",
"musical_guest_song_performed",
"who_knows_the_most_about_the_guest_host_panelists",
"coat_of_cash_wearing_celebrity"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "musical_guest_song_performed" FROM sunday_night_project WHERE "guest_host" = 'Elle Macpherson' | dev | wikisql |
Name the number of panelists for oat of cash wearing celebrity being matt di angelo | sunday_night_project | [
"episode_number",
"air_date",
"guest_host",
"musical_guest_song_performed",
"who_knows_the_most_about_the_guest_host_panelists",
"coat_of_cash_wearing_celebrity"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("who_knows_the_most_about_the_guest_host_panelists") FROM sunday_night_project WHERE "coat_of_cash_wearing_celebrity" = 'Matt Di Angelo' | dev | wikisql |
Name the total number of episodes for coat of cash wearing celebrity is matt di angelo | sunday_night_project | [
"episode_number",
"air_date",
"guest_host",
"musical_guest_song_performed",
"who_knows_the_most_about_the_guest_host_panelists",
"coat_of_cash_wearing_celebrity"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("episode_number") FROM sunday_night_project WHERE "coat_of_cash_wearing_celebrity" = 'Matt Di Angelo' | dev | wikisql |
Name the least number of episodes for the panelists of reggie yates and kelly osbourne | sunday_night_project | [
"episode_number",
"air_date",
"guest_host",
"musical_guest_song_performed",
"who_knows_the_most_about_the_guest_host_panelists",
"coat_of_cash_wearing_celebrity"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT MIN("episode_number") FROM sunday_night_project WHERE "who_knows_the_most_about_the_guest_host_panelists" = 'Reggie Yates and Kelly Osbourne' | dev | wikisql |
What was the total opponents points for the game were the Oilers scored 21? | oilers_1980_season | [
"game",
"date",
"opponent",
"result",
"oilers_points",
"opponents",
"oilers_first_downs",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"text",
"real"
] | SELECT "opponents" FROM oilers_1980_season WHERE "oilers_points" = 21 | dev | wikisql |
Who got second place when the winners were rafał mroczek & aneta piotrowska? | talent_show_results | [
"season",
"no_of_stars",
"no_of_weeks",
"duration_dates",
"winner",
"second_place",
"third_place"
] | [
"text",
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT "second_place" FROM talent_show_results WHERE "winner" = 'Rafał Mroczek & Aneta Piotrowska' | dev | wikisql |
The hanja 朔州 is for what province? | korea_provinces | [
"former_kingdom",
"province",
"hangul",
"hanja",
"capital",
"modern_equivalent"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "province" FROM korea_provinces WHERE "hanja" = '朔州' | dev | wikisql |
What is the modern equivalent of the former kingdom "silla" with the hanja 尙州? | korea_provinces | [
"former_kingdom",
"province",
"hangul",
"hanja",
"capital",
"modern_equivalent"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("modern_equivalent") FROM korea_provinces WHERE "former_kingdom" = 'Silla' AND "hanja" = '尙州' | dev | wikisql |
The hanja 尙州 is for what capital? | korea_provinces | [
"former_kingdom",
"province",
"hangul",
"hanja",
"capital",
"modern_equivalent"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "capital" FROM korea_provinces WHERE "hanja" = '尙州' | dev | wikisql |
What is the hangul symbol for the hanja 良州? | korea_provinces | [
"former_kingdom",
"province",
"hangul",
"hanja",
"capital",
"modern_equivalent"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "hangul" FROM korea_provinces WHERE "hanja" = '良州' | dev | wikisql |
What is the hanja for the province of "sangju"? | korea_provinces | [
"former_kingdom",
"province",
"hangul",
"hanja",
"capital",
"modern_equivalent"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "hanja" FROM korea_provinces WHERE "province" = 'Sangju' | dev | wikisql |
What are the modern equivalents for the province of "hanju"? | korea_provinces | [
"former_kingdom",
"province",
"hangul",
"hanja",
"capital",
"modern_equivalent"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "modern_equivalent" FROM korea_provinces WHERE "province" = 'Hanju' | dev | wikisql |
How many passengers (in millions) flew from Seoul in 2012? | air_routes | [
"rank",
"city_1",
"city_2",
"2012_passengers_in_millions",
"2011_passengers_in_millions",
"distance"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "2012_passengers_in_millions" FROM air_routes WHERE "city_1" = 'Seoul' | dev | wikisql |
What the is the first city listed on the route that had 6.6+ passengers in 2011 and a distance of 1075km? | air_routes | [
"rank",
"city_1",
"city_2",
"2012_passengers_in_millions",
"2011_passengers_in_millions",
"distance"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "city_1" FROM air_routes WHERE "2011_passengers_in_millions" = '6.6+' AND "distance" = '1075km' | dev | wikisql |
How many passengers (in millions) flew through along the route that is 1075km long in 2012? | air_routes | [
"rank",
"city_1",
"city_2",
"2012_passengers_in_millions",
"2011_passengers_in_millions",
"distance"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "2012_passengers_in_millions" FROM air_routes WHERE "distance" = '1075km' | dev | wikisql |
How many passengers (in millions) in 2011 flew through along the route that had 6.640 million passengers in 2012? | air_routes | [
"rank",
"city_1",
"city_2",
"2012_passengers_in_millions",
"2011_passengers_in_millions",
"distance"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "2011_passengers_in_millions" FROM air_routes WHERE "2012_passengers_in_millions" = '6.640' | dev | wikisql |
Which city is listed first when Okinawa is listed as the second city? | air_routes | [
"rank",
"city_1",
"city_2",
"2012_passengers_in_millions",
"2011_passengers_in_millions",
"distance"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "city_1" FROM air_routes WHERE "city_2" = 'Okinawa' | dev | wikisql |
In 2011, which city is listed first along the route that had 7.6+ million passengers? | air_routes | [
"rank",
"city_1",
"city_2",
"2012_passengers_in_millions",
"2011_passengers_in_millions",
"distance"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "city_1" FROM air_routes WHERE "2011_passengers_in_millions" = '7.6+' | dev | wikisql |
What is the report for races where Will Power had both pole position and fastest lap? | indy_car_2010 | [
"rd",
"race",
"pole_position",
"fastest_lap",
"most_laps_led",
"winning_driver",
"winning_team",
"report"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "report" FROM indy_car_2010 WHERE "pole_position" = 'Will Power' AND "fastest_lap" = 'Will Power' | dev | wikisql |
Who was on the pole at Chicagoland? | indy_car_2010 | [
"rd",
"race",
"pole_position",
"fastest_lap",
"most_laps_led",
"winning_driver",
"winning_team",
"report"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "pole_position" FROM indy_car_2010 WHERE "race" = 'Chicagoland' | dev | wikisql |
In what position did the winning driver finish at Chicagoland? | indy_car_2010 | [
"rd",
"race",
"pole_position",
"fastest_lap",
"most_laps_led",
"winning_driver",
"winning_team",
"report"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("winning_driver") FROM indy_car_2010 WHERE "race" = 'Chicagoland' | dev | wikisql |
How many schools had the win loss ratio of 0.667? | womens_basketball_tournament | [
"appearances",
"school",
"wins",
"losses",
"percent",
"last_appearance"
] | [
"real",
"text",
"real",
"real",
"text",
"text"
] | SELECT COUNT("school") FROM womens_basketball_tournament WHERE "percent" = '0.667' | dev | wikisql |
How many wins did Baylor have? | womens_basketball_tournament | [
"appearances",
"school",
"wins",
"losses",
"percent",
"last_appearance"
] | [
"real",
"text",
"real",
"real",
"text",
"text"
] | SELECT COUNT("wins") FROM womens_basketball_tournament WHERE "school" = 'Baylor' | dev | wikisql |
What's the largest amount of wins Texas has? | womens_basketball_tournament | [
"appearances",
"school",
"wins",
"losses",
"percent",
"last_appearance"
] | [
"real",
"text",
"real",
"real",
"text",
"text"
] | SELECT MAX("wins") FROM womens_basketball_tournament WHERE "school" = 'Texas' | dev | wikisql |
Who sanctioned the event at fayette county speedway? | charleston_speedway | [
"track_name",
"location",
"length",
"sanction",
"program"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "sanction" FROM charleston_speedway WHERE "track_name" = 'Fayette County Speedway' | dev | wikisql |
Who sanctioned the event in lincoln, illinois? | charleston_speedway | [
"track_name",
"location",
"length",
"sanction",
"program"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "sanction" FROM charleston_speedway WHERE "location" = 'Lincoln, Illinois' | dev | wikisql |
What location is farmer city speedway? | charleston_speedway | [
"track_name",
"location",
"length",
"sanction",
"program"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "location" FROM charleston_speedway WHERE "track_name" = 'Farmer City Speedway' | dev | wikisql |
What programs were held at highland speedway? | charleston_speedway | [
"track_name",
"location",
"length",
"sanction",
"program"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "program" FROM charleston_speedway WHERE "track_name" = 'Highland Speedway' | dev | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.