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 is the lowest rank of Gatwick Airport? | railway_stats | [
"rank",
"railway_station",
"annual_entry_exit_millions_2011_12",
"annual_interchanges_millions_2011_12",
"total_passengers_millions_2011_12",
"location",
"main_services",
"number_of_platforms"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real"
] | SELECT MIN("rank") FROM railway_stats WHERE "railway_station" = 'Gatwick Airport' | dev | wikisql |
Which location has 103.534 million passengers in 2011-12? | railway_stats | [
"rank",
"railway_station",
"annual_entry_exit_millions_2011_12",
"annual_interchanges_millions_2011_12",
"total_passengers_millions_2011_12",
"location",
"main_services",
"number_of_platforms"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real"
] | SELECT "location" FROM railway_stats WHERE "total_passengers_millions_2011_12" = '103.534' | dev | wikisql |
How many annual interchanges in the millions occurred in 2011-12 when the number of annual entry/exits was 36.609 million? | railway_stats | [
"rank",
"railway_station",
"annual_entry_exit_millions_2011_12",
"annual_interchanges_millions_2011_12",
"total_passengers_millions_2011_12",
"location",
"main_services",
"number_of_platforms"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"real"
] | SELECT "annual_interchanges_millions_2011_12" FROM railway_stats WHERE "annual_entry_exit_millions_2011_12" = '36.609' | dev | wikisql |
Who was the winning team on the circuit Zolder? | stwc_1994 | [
"round",
"circuit",
"date",
"pole_position",
"fastest_lap",
"winning_driver",
"winning_team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "winning_team" FROM stwc_1994 WHERE "circuit" = 'Zolder' | dev | wikisql |
Who was the winning team on the circuit Zolder? | stwc_1994 | [
"round",
"circuit",
"date",
"pole_position",
"fastest_lap",
"winning_driver",
"winning_team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "winning_team" FROM stwc_1994 WHERE "circuit" = 'Zolder' | dev | wikisql |
What round was circuit Avus? | stwc_1994 | [
"round",
"circuit",
"date",
"pole_position",
"fastest_lap",
"winning_driver",
"winning_team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT MAX("round") FROM stwc_1994 WHERE "circuit" = 'AVUS' | dev | wikisql |
Who had pole position in round 7? | stwc_1994 | [
"round",
"circuit",
"date",
"pole_position",
"fastest_lap",
"winning_driver",
"winning_team"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "pole_position" FROM stwc_1994 WHERE "round" = 7 | dev | wikisql |
What is the english (bcp) phrase "for thine is the kingdom, the power" in modern german with standard wording? | penn_germ_lang | [
"english_bcp",
"writing_system_1_english_based",
"writing_system_2_german_based",
"modern_german_close_translation",
"modern_german_standard_wording"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "modern_german_standard_wording" FROM penn_germ_lang WHERE "english_bcp" = 'For thine is the kingdom, the power' | dev | wikisql |
What is the modern german standard wording for the german based writing system 2 phrase "wie mir die vergewwe wu uns schuldich sinn."? | penn_germ_lang | [
"english_bcp",
"writing_system_1_english_based",
"writing_system_2_german_based",
"modern_german_close_translation",
"modern_german_standard_wording"
] | [
"text",
"text",
"text",
"text",
"text"
] | SELECT "modern_german_standard_wording" FROM penn_germ_lang WHERE "writing_system_2_german_based" = 'wie mir die vergewwe wu uns schuldich sinn.' | dev | wikisql |
How many news stations opened on the date of June 24, 2000? | rail_segment_info | [
"segment_description",
"date_opened",
"line_s",
"endpoints",
"of_new_stations",
"length_miles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "of_new_stations" FROM rail_segment_info WHERE "date_opened" = 'June 24, 2000' | dev | wikisql |
What is the length (miles) when pico to 7th st/metro center are the endpoints? | rail_segment_info | [
"segment_description",
"date_opened",
"line_s",
"endpoints",
"of_new_stations",
"length_miles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "length_miles" FROM rail_segment_info WHERE "endpoints" = 'Pico to 7th St/Metro Center' | dev | wikisql |
How many lines have the segment description of red line mos-2 west? | rail_segment_info | [
"segment_description",
"date_opened",
"line_s",
"endpoints",
"of_new_stations",
"length_miles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "line_s" FROM rail_segment_info WHERE "segment_description" = 'Red Line MOS-2 West' | dev | wikisql |
What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? | rail_segment_info | [
"segment_description",
"date_opened",
"line_s",
"endpoints",
"of_new_stations",
"length_miles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "length_miles" FROM rail_segment_info WHERE "endpoints" = 'Westlake/MacArthur Park to Wilshire/Western' | dev | wikisql |
What date of segment description red line mos-2 north open? | rail_segment_info | [
"segment_description",
"date_opened",
"line_s",
"endpoints",
"of_new_stations",
"length_miles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date_opened" FROM rail_segment_info WHERE "segment_description" = 'Red Line MOS-2 North' | dev | wikisql |
How many new stations have a lenght (miles) of 6.0? | rail_segment_info | [
"segment_description",
"date_opened",
"line_s",
"endpoints",
"of_new_stations",
"length_miles"
] | [
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("of_new_stations") FROM rail_segment_info WHERE "length_miles" = '6.0' | dev | wikisql |
If there were 14 in 1990 and 6 survived how many were destroyed? | iraqi_air_force_1990 | [
"aircraft",
"1990",
"destroyed",
"damaged",
"to_iran",
"survived"
] | [
"text",
"real",
"real",
"real",
"real",
"real"
] | SELECT "destroyed" FROM iraqi_air_force_1990 WHERE "1990" = 14 AND "survived" = 6 | dev | wikisql |
If 4 went to iran and the amount that survived was less than 12.0 how many were there in 1990? | iraqi_air_force_1990 | [
"aircraft",
"1990",
"destroyed",
"damaged",
"to_iran",
"survived"
] | [
"text",
"real",
"real",
"real",
"real",
"real"
] | SELECT COUNT("1990") FROM iraqi_air_force_1990 WHERE "to_iran" = 4 AND "survived" < 12.0 | dev | wikisql |
If the aircraft was ussr mig-25 rb how many were destroyed? | iraqi_air_force_1990 | [
"aircraft",
"1990",
"destroyed",
"damaged",
"to_iran",
"survived"
] | [
"text",
"real",
"real",
"real",
"real",
"real"
] | SELECT "destroyed" FROM iraqi_air_force_1990 WHERE "aircraft" = 'USSR MiG-25 RB' | dev | wikisql |
What was the score when the opposing team was from Belgium? | jovanovski_match_stats | [
"outcome",
"edition",
"round",
"opponent_team",
"surface",
"opponent",
"score"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "score" FROM jovanovski_match_stats WHERE "opponent_team" = 'Belgium' | dev | wikisql |
How many outcomes were there when the opponent was Aleksandra Wozniak? | jovanovski_match_stats | [
"outcome",
"edition",
"round",
"opponent_team",
"surface",
"opponent",
"score"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("outcome") FROM jovanovski_match_stats WHERE "opponent" = 'Aleksandra Wozniak' | dev | wikisql |
What was the score when the opponent was Dominika Cibulková? | jovanovski_match_stats | [
"outcome",
"edition",
"round",
"opponent_team",
"surface",
"opponent",
"score"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "score" FROM jovanovski_match_stats WHERE "opponent" = 'Dominika Cibulková' | dev | wikisql |
What was the outcome of the game when the opponent was Magdaléna Rybáriková? | jovanovski_match_stats | [
"outcome",
"edition",
"round",
"opponent_team",
"surface",
"opponent",
"score"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "outcome" FROM jovanovski_match_stats WHERE "opponent" = 'Magdaléna Rybáriková' | dev | wikisql |
What was the game edition when they played on the clay (i) surface and the outcome was a winner? | jovanovski_match_stats | [
"outcome",
"edition",
"round",
"opponent_team",
"surface",
"opponent",
"score"
] | [
"text",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "edition" FROM jovanovski_match_stats WHERE "surface" = 'Clay (i)' AND "outcome" = 'Winner' | dev | wikisql |
Who was the game attended by 60425 people played against? | raiders_1975_season | [
"game",
"date",
"opponent",
"result",
"raiders_points",
"opponents",
"raiders_first_downs",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"text",
"real"
] | SELECT "opponent" FROM raiders_1975_season WHERE "attendance" = 60425 | dev | wikisql |
How many different counts of the Raiders first downs are there for the game number 9? | raiders_1975_season | [
"game",
"date",
"opponent",
"result",
"raiders_points",
"opponents",
"raiders_first_downs",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"text",
"real"
] | SELECT COUNT("raiders_first_downs") FROM raiders_1975_season WHERE "game" = 9 | dev | wikisql |
What's the record in the game played against 42? | raiders_1975_season | [
"game",
"date",
"opponent",
"result",
"raiders_points",
"opponents",
"raiders_first_downs",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"text",
"real"
] | SELECT "record" FROM raiders_1975_season WHERE "opponents" = 42 | dev | wikisql |
What was the result of the game seen by 31095 people? | raiders_1975_season | [
"game",
"date",
"opponent",
"result",
"raiders_points",
"opponents",
"raiders_first_downs",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"text",
"real"
] | SELECT "result" FROM raiders_1975_season WHERE "attendance" = 31095 | dev | wikisql |
How many opponents played 1 game with a result win? | raiders_1975_season | [
"game",
"date",
"opponent",
"result",
"raiders_points",
"opponents",
"raiders_first_downs",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"real",
"text",
"real"
] | SELECT MAX("opponents") FROM raiders_1975_season WHERE "result" = 'Win' AND "game" = 1 | dev | wikisql |
Which award-winning film has a screening number of 50 films 50 televised? | doc_festival_data | [
"year",
"date_opening",
"date_closing",
"opening_film",
"number_of_screening",
"award_winning_film"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "award_winning_film" FROM doc_festival_data WHERE "number_of_screening" = '50 films 50 televised' | dev | wikisql |
How many award-winning films have the opening film of encounters at the end of the world? | doc_festival_data | [
"year",
"date_opening",
"date_closing",
"opening_film",
"number_of_screening",
"award_winning_film"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("award_winning_film") FROM doc_festival_data WHERE "opening_film" = 'Encounters at the End of the World' | dev | wikisql |
How many number of screenings have an opening film of the journey of vaan nguyen? | doc_festival_data | [
"year",
"date_opening",
"date_closing",
"opening_film",
"number_of_screening",
"award_winning_film"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("number_of_screening") FROM doc_festival_data WHERE "opening_film" = 'The Journey of Vaan Nguyen' | dev | wikisql |
Which opening film has the opening date of august 23? | doc_festival_data | [
"year",
"date_opening",
"date_closing",
"opening_film",
"number_of_screening",
"award_winning_film"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "opening_film" FROM doc_festival_data WHERE "date_opening" = 'August 23' | dev | wikisql |
Which award-winning film has a closing date of September 4? | doc_festival_data | [
"year",
"date_opening",
"date_closing",
"opening_film",
"number_of_screening",
"award_winning_film"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "award_winning_film" FROM doc_festival_data WHERE "date_closing" = 'September 4' | dev | wikisql |
What series number garnered 20.64 million viewers? | tv_episode_data_11 | [
"series",
"season",
"title",
"directed_by",
"written_by",
"original_air_date",
"u_s_viewers_millions"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "series" FROM tv_episode_data_11 WHERE "u_s_viewers_millions" = '20.64' | dev | wikisql |
What position did Pranita Sahu's team get? | contest_pyaar_yaar | [
"main_contestant",
"co_contestant_yaar_vs_pyaar",
"date_performed",
"scores_by_each_individual_judge",
"total_score_week",
"position",
"status"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "position" FROM contest_pyaar_yaar WHERE "co_contestant_yaar_vs_pyaar" = 'Pranita Sahu' | dev | wikisql |
What date did Jatin Shah and Shalini Chandran perform? | contest_pyaar_yaar | [
"main_contestant",
"co_contestant_yaar_vs_pyaar",
"date_performed",
"scores_by_each_individual_judge",
"total_score_week",
"position",
"status"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "date_performed" FROM contest_pyaar_yaar WHERE "main_contestant" = 'Jatin Shah' AND "co_contestant_yaar_vs_pyaar" = 'Shalini Chandran' | dev | wikisql |
Who performed with Tina Parekh? | contest_pyaar_yaar | [
"main_contestant",
"co_contestant_yaar_vs_pyaar",
"date_performed",
"scores_by_each_individual_judge",
"total_score_week",
"position",
"status"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "main_contestant" FROM contest_pyaar_yaar WHERE "co_contestant_yaar_vs_pyaar" = 'Tina Parekh' | dev | wikisql |
What position did the team with the total score of 41/60 get? | contest_pyaar_yaar | [
"main_contestant",
"co_contestant_yaar_vs_pyaar",
"date_performed",
"scores_by_each_individual_judge",
"total_score_week",
"position",
"status"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "position" FROM contest_pyaar_yaar WHERE "total_score_week" = '41/60' | dev | wikisql |
Which round 5 Grand Prix had Daijiro Hiura at pole position? | moto_gp_rookies_2008 | [
"round",
"date",
"grand_prix",
"circuit",
"pole_position",
"fastest_lap",
"race_winner"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "grand_prix" FROM moto_gp_rookies_2008 WHERE "pole_position" = 'Daijiro Hiura' AND "round" = 5 | dev | wikisql |
What grand prixs did Daijiro Hiura win? | moto_gp_rookies_2008 | [
"round",
"date",
"grand_prix",
"circuit",
"pole_position",
"fastest_lap",
"race_winner"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "grand_prix" FROM moto_gp_rookies_2008 WHERE "race_winner" = 'Daijiro Hiura' | dev | wikisql |
Who had the fastest lap in the Dutch TT Grand Prix? | moto_gp_rookies_2008 | [
"round",
"date",
"grand_prix",
"circuit",
"pole_position",
"fastest_lap",
"race_winner"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "fastest_lap" FROM moto_gp_rookies_2008 WHERE "grand_prix" = 'Dutch TT' | dev | wikisql |
Luis Salom had the fastest lap on which circuits? | moto_gp_rookies_2008 | [
"round",
"date",
"grand_prix",
"circuit",
"pole_position",
"fastest_lap",
"race_winner"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "circuit" FROM moto_gp_rookies_2008 WHERE "fastest_lap" = 'Luis Salom' | dev | wikisql |
When "episode 1" is the title what is the overall number? | episodeseries | [
"no_overall",
"no_in_series",
"title",
"director",
"writer",
"original_air_date",
"production_code"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"real"
] | SELECT "no_overall" FROM episodeseries WHERE "title" = '"Episode 1"' | dev | wikisql |
When 15 is the number overall what is the original air date? | episodeseries | [
"no_overall",
"no_in_series",
"title",
"director",
"writer",
"original_air_date",
"production_code"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"real"
] | SELECT "original_air_date" FROM episodeseries WHERE "no_overall" = 15 | dev | wikisql |
When 1 is the number in series who is the director? | episodeseries | [
"no_overall",
"no_in_series",
"title",
"director",
"writer",
"original_air_date",
"production_code"
] | [
"real",
"real",
"text",
"text",
"text",
"text",
"real"
] | SELECT "director" FROM episodeseries WHERE "no_in_series" = 1 | dev | wikisql |
When did the episode first air that had a production code of 102? | episodes_3 | [
"no_overall",
"title",
"director",
"writer",
"original_air_date",
"production_code"
] | [
"real",
"text",
"text",
"text",
"text",
"real"
] | SELECT "original_air_date" FROM episodes_3 WHERE "production_code" = 102 | dev | wikisql |
When did the episodes first air that had a production code of 107? | episodes_3 | [
"no_overall",
"title",
"director",
"writer",
"original_air_date",
"production_code"
] | [
"real",
"text",
"text",
"text",
"text",
"real"
] | SELECT "original_air_date" FROM episodes_3 WHERE "production_code" = 107 | dev | wikisql |
What is the highest production code of an episode written by Tim Loane? | episodes_3 | [
"no_overall",
"title",
"director",
"writer",
"original_air_date",
"production_code"
] | [
"real",
"text",
"text",
"text",
"text",
"real"
] | SELECT MAX("production_code") FROM episodes_3 WHERE "writer" = 'Tim Loane' | dev | wikisql |
How many editions have a most wins value of Franco Marvulli (4)? | race_horse_stats | [
"six_at",
"number_of_editions",
"first_ridden",
"last_ridden",
"most_wins_by"
] | [
"text",
"real",
"real",
"real",
"text"
] | SELECT COUNT("number_of_editions") FROM race_horse_stats WHERE "most_wins_by" = 'Franco Marvulli (4)' | dev | wikisql |
Name the total number in the series written by john banas and directed by pino amenta | episodes_table_2 | [
"no_in_series",
"no_in_season",
"title",
"directed_by",
"written_by",
"original_air_date"
] | [
"real",
"real",
"text",
"text",
"text",
"text"
] | SELECT COUNT("no_in_series") FROM episodes_table_2 WHERE "written_by" = 'John Banas' AND "directed_by" = 'Pino Amenta' | dev | wikisql |
What was the little league team from Kentucky when the little league team from Illinois was Rock Falls LL Rock Falls? | great_lakes_regions | [
"year",
"illinois",
"indiana",
"kentucky",
"michigan",
"ohio",
"wisconsin"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "kentucky" FROM great_lakes_regions WHERE "illinois" = 'Rock Falls LL Rock Falls' | dev | wikisql |
What was the little league team from Indiana when the little league team from Michigan was Midland Northeast LL Midland? | great_lakes_regions | [
"year",
"illinois",
"indiana",
"kentucky",
"michigan",
"ohio",
"wisconsin"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "indiana" FROM great_lakes_regions WHERE "michigan" = 'Midland Northeast LL Midland' | dev | wikisql |
What was the little league team from Kentucky when the little league team from Indiana and Wisconsin were Brownsburg LL Brownsburg and Merrill LL Merrill? | great_lakes_regions | [
"year",
"illinois",
"indiana",
"kentucky",
"michigan",
"ohio",
"wisconsin"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "kentucky" FROM great_lakes_regions WHERE "indiana" = 'Brownsburg LL Brownsburg' AND "wisconsin" = 'Merrill LL Merrill' | dev | wikisql |
What was the little league team from Ohio when the little league team from Kentucky was Warren County South LL Bowling Green? | great_lakes_regions | [
"year",
"illinois",
"indiana",
"kentucky",
"michigan",
"ohio",
"wisconsin"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "ohio" FROM great_lakes_regions WHERE "kentucky" = 'Warren County South LL Bowling Green' | dev | wikisql |
What was the little league team from Michigan when the little league team from Indiana was Terre Haute North LL Terre Haute? | great_lakes_regions | [
"year",
"illinois",
"indiana",
"kentucky",
"michigan",
"ohio",
"wisconsin"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "michigan" FROM great_lakes_regions WHERE "indiana" = 'Terre Haute North LL Terre Haute' | dev | wikisql |
What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms? | great_lakes_regions | [
"year",
"illinois",
"indiana",
"kentucky",
"michigan",
"ohio",
"wisconsin"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "kentucky" FROM great_lakes_regions WHERE "michigan" = 'Grosse Pointe Farms-City LL Grosse Pointe Farms' | dev | wikisql |
How many table points are listed for the deficit is +194? | football_results | [
"place",
"nation",
"played",
"won",
"drawn",
"lost",
"for",
"against",
"difference",
"table_points"
] | [
"real",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"text",
"real"
] | SELECT COUNT("table_points") FROM football_results WHERE "difference" = '+194' | dev | wikisql |
How many games had a deficit of 175? | football_results | [
"place",
"nation",
"played",
"won",
"drawn",
"lost",
"for",
"against",
"difference",
"table_points"
] | [
"real",
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"text",
"real"
] | SELECT COUNT("played") FROM football_results WHERE "against" = 175 | dev | wikisql |
What is the theme song for Magarikado no Kanojo? | japanese_tv_drama_2005 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "theme_song_s" FROM japanese_tv_drama_2005 WHERE "romaji_title" = 'Magarikado no Kanojo' | dev | wikisql |
Who is the star of the program on Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx? | japanese_tv_drama_2005 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "starring_actors" FROM japanese_tv_drama_2005 WHERE "time_frame" = 'Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx' | dev | wikisql |
What is the title with an average rating of 22.4%? | japanese_tv_drama_2005 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "romaji_title" FROM japanese_tv_drama_2005 WHERE "average_ratings" = '22.4%' | dev | wikisql |
What is maximum number of episodes for a show? | japanese_tv_drama_2005 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT MAX("episodes") FROM japanese_tv_drama_2005 | dev | wikisql |
What is the Japanese title with an average rating of 11.6%? | japanese_tv_drama_2005 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "japanese_title" FROM japanese_tv_drama_2005 WHERE "average_ratings" = '11.6%' | dev | wikisql |
Who were the starting actors in the time frame of tuesday 22:00~22:54 8 april 2008 to 17 june 2008? | japanese_tv_drama_2008 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "starring_actors" FROM japanese_tv_drama_2008 WHERE "time_frame" = 'Tuesday 22:00~22:54 8 April 2008 to 17 June 2008' | dev | wikisql |
What are the japanese title(s) for tv asahi? | japanese_tv_drama_2008 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "japanese_title" FROM japanese_tv_drama_2008 WHERE "tv_station" = 'TV Asahi' | dev | wikisql |
How many titles had an average rating of 8.9%? | japanese_tv_drama_2008 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT COUNT("romaji_title") FROM japanese_tv_drama_2008 WHERE "average_ratings" = '8.9%' | dev | wikisql |
What are the romaji title(s) with the theme song "ya-kyim "super☆looper"? | japanese_tv_drama_2008 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "romaji_title" FROM japanese_tv_drama_2008 WHERE "theme_song_s" = 'YA-KYIM "Super☆Looper"' | dev | wikisql |
What is the average rating for tv asahi? | japanese_tv_drama_2008 | [
"japanese_title",
"romaji_title",
"tv_station",
"time_frame",
"starring_actors",
"theme_song_s",
"episodes",
"average_ratings"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"real",
"text"
] | SELECT "average_ratings" FROM japanese_tv_drama_2008 WHERE "tv_station" = 'TV Asahi' | dev | wikisql |
What is the top speed of a 4-speed automatic with production in 2002-2005? | hyundai_tiburon_specs | [
"engine",
"production",
"transmission",
"power",
"torque",
"acceleration_0_100km_h_0_62mph",
"top_speed"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "top_speed" FROM hyundai_tiburon_specs WHERE "transmission" = '4-speed automatic' AND "production" = '2002-2005' | dev | wikisql |
What is the top speed of a 5-speed manual transmission produced in 2006-2009? | hyundai_tiburon_specs | [
"engine",
"production",
"transmission",
"power",
"torque",
"acceleration_0_100km_h_0_62mph",
"top_speed"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "top_speed" FROM hyundai_tiburon_specs WHERE "production" = '2006-2009' AND "transmission" = '5-speed manual' | dev | wikisql |
What is the acceleration 0-100km/h that was produced in 2002-2006? | hyundai_tiburon_specs | [
"engine",
"production",
"transmission",
"power",
"torque",
"acceleration_0_100km_h_0_62mph",
"top_speed"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "acceleration_0_100km_h_0_62mph" FROM hyundai_tiburon_specs WHERE "production" = '2002-2006' | dev | wikisql |
What was the township with a geo ID of 3807116660? | townships_north_dakota | [
"township",
"county",
"pop_2010",
"land_sqmi",
"water_sqmi",
"latitude",
"longitude",
"geo_id",
"ansi_code"
] | [
"text",
"text",
"real",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "township" FROM townships_north_dakota WHERE "geo_id" = 3807116660 | dev | wikisql |
What was the county with a longitude of -102.302775? | townships_north_dakota | [
"township",
"county",
"pop_2010",
"land_sqmi",
"water_sqmi",
"latitude",
"longitude",
"geo_id",
"ansi_code"
] | [
"text",
"text",
"real",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "county" FROM townships_north_dakota WHERE "longitude" = '-102.302775' | dev | wikisql |
What was the land area in sqmi that has a latitude of 48.763937? | townships_north_dakota | [
"township",
"county",
"pop_2010",
"land_sqmi",
"water_sqmi",
"latitude",
"longitude",
"geo_id",
"ansi_code"
] | [
"text",
"text",
"real",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "land_sqmi" FROM townships_north_dakota WHERE "latitude" = '48.763937' | dev | wikisql |
What was the county with a latitude of 46.770977? | townships_north_dakota | [
"township",
"county",
"pop_2010",
"land_sqmi",
"water_sqmi",
"latitude",
"longitude",
"geo_id",
"ansi_code"
] | [
"text",
"text",
"real",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "county" FROM townships_north_dakota WHERE "latitude" = '46.770977' | dev | wikisql |
What was the latitude of the Clearwater townsship? | townships_north_dakota | [
"township",
"county",
"pop_2010",
"land_sqmi",
"water_sqmi",
"latitude",
"longitude",
"geo_id",
"ansi_code"
] | [
"text",
"text",
"real",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "latitude" FROM townships_north_dakota WHERE "township" = 'Clearwater' | dev | wikisql |
What was the longitude of the township with a latitude of 48.075823? | townships_north_dakota | [
"township",
"county",
"pop_2010",
"land_sqmi",
"water_sqmi",
"latitude",
"longitude",
"geo_id",
"ansi_code"
] | [
"text",
"text",
"real",
"text",
"text",
"text",
"text",
"real",
"real"
] | SELECT "longitude" FROM townships_north_dakota WHERE "latitude" = '48.075823' | dev | wikisql |
Who is the player with 41 legs lost? | dart_stats_2008 | [
"player",
"played",
"legs_won",
"legs_lost",
"100",
"140",
"180s",
"high_checkout",
"3_dart_average"
] | [
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"text"
] | SELECT "player" FROM dart_stats_2008 WHERE "legs_lost" = 41 | dev | wikisql |
What is the most legs lost of all? | dart_stats_2008 | [
"player",
"played",
"legs_won",
"legs_lost",
"100",
"140",
"180s",
"high_checkout",
"3_dart_average"
] | [
"text",
"real",
"real",
"real",
"real",
"real",
"real",
"real",
"text"
] | SELECT MAX("legs_lost") FROM dart_stats_2008 | dev | wikisql |
If the floor number is 14.200, what is the number for the parallel bars? | olympic_qual_2008_men | [
"position",
"gymnast",
"floor",
"pommel_horse",
"rings",
"vault",
"parallel_bars",
"horizontal_bar",
"total"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "parallel_bars" FROM olympic_qual_2008_men WHERE "floor" = '14.200' | dev | wikisql |
If the parallel bars is 16.150, who is the gymnast? | olympic_qual_2008_men | [
"position",
"gymnast",
"floor",
"pommel_horse",
"rings",
"vault",
"parallel_bars",
"horizontal_bar",
"total"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "gymnast" FROM olympic_qual_2008_men WHERE "parallel_bars" = '16.150' | dev | wikisql |
If the parallel bars is 14.025, what is the total number of gymnasts? | olympic_qual_2008_men | [
"position",
"gymnast",
"floor",
"pommel_horse",
"rings",
"vault",
"parallel_bars",
"horizontal_bar",
"total"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT COUNT("gymnast") FROM olympic_qual_2008_men WHERE "parallel_bars" = '14.025' | dev | wikisql |
If the horizontal bar is n/a and the floor is 14.175, what is the number for the parallel bars? | olympic_qual_2008_men | [
"position",
"gymnast",
"floor",
"pommel_horse",
"rings",
"vault",
"parallel_bars",
"horizontal_bar",
"total"
] | [
"real",
"text",
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "parallel_bars" FROM olympic_qual_2008_men WHERE "floor" = '14.175' AND "horizontal_bar" = 'N/A' | dev | wikisql |
When 19 is the stage who is the points classification? | giro_2009 | [
"stage",
"winner",
"general_classification",
"points_classification",
"mountains_classification",
"young_rider_classification"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "points_classification" FROM giro_2009 WHERE "stage" = 19 | dev | wikisql |
When thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications? | giro_2009 | [
"stage",
"winner",
"general_classification",
"points_classification",
"mountains_classification",
"young_rider_classification"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "general_classification" FROM giro_2009 WHERE "points_classification" = 'Alessandro Petacchi' AND "young_rider_classification" = 'Thomas Löfkvist' | dev | wikisql |
When thomas löfkvist is the general classification who is the winner? | giro_2009 | [
"stage",
"winner",
"general_classification",
"points_classification",
"mountains_classification",
"young_rider_classification"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "winner" FROM giro_2009 WHERE "general_classification" = 'Thomas Löfkvist' | dev | wikisql |
When philippe gilbert is the winner who is the points classification? | giro_2009 | [
"stage",
"winner",
"general_classification",
"points_classification",
"mountains_classification",
"young_rider_classification"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "points_classification" FROM giro_2009 WHERE "winner" = 'Philippe Gilbert' | dev | wikisql |
When danilo di luca is the winner who is the general classification? | giro_2009 | [
"stage",
"winner",
"general_classification",
"points_classification",
"mountains_classification",
"young_rider_classification"
] | [
"real",
"text",
"text",
"text",
"text",
"text"
] | SELECT "general_classification" FROM giro_2009 WHERE "winner" = 'Danilo Di Luca' | dev | wikisql |
Name the minimum number of reservoir for gnis query link where numbers lake gnis query link being 60 | alr_gnis | [
"s_dam_and_gnis_query_link",
"s_lake_and_gnis_query_link",
"s_reservoir_and_gnis_query_link",
"borough_or_census_area",
"comment"
] | [
"real",
"real",
"real",
"text",
"text"
] | SELECT MIN("s_reservoir_and_gnis_query_link") FROM alr_gnis WHERE "s_lake_and_gnis_query_link" = 60 | dev | wikisql |
Name the most numbers dam and gnis query link for borough or census area for fairbanks north star | alr_gnis | [
"s_dam_and_gnis_query_link",
"s_lake_and_gnis_query_link",
"s_reservoir_and_gnis_query_link",
"borough_or_census_area",
"comment"
] | [
"real",
"real",
"real",
"text",
"text"
] | SELECT MAX("s_dam_and_gnis_query_link") FROM alr_gnis WHERE "borough_or_census_area" = 'Fairbanks North Star' | dev | wikisql |
What is the location for the club with the nickname the bears? | cricket_club | [
"name",
"nickname",
"first_season",
"location",
"home_ground_s",
"coach",
"captain"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "location" FROM cricket_club WHERE "nickname" = 'Bears' | dev | wikisql |
What is the code nickname where Steve Mayne is the coach? | cricket_club | [
"name",
"nickname",
"first_season",
"location",
"home_ground_s",
"coach",
"captain"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "nickname" FROM cricket_club WHERE "coach" = 'Steve Mayne' | dev | wikisql |
What is the dates where Hillcrest Reserve is the home grounds? | cricket_club | [
"name",
"nickname",
"first_season",
"location",
"home_ground_s",
"coach",
"captain"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "first_season" FROM cricket_club WHERE "home_ground_s" = 'Hillcrest Reserve' | dev | wikisql |
For location Caversham, what is the name of the captain? | cricket_club | [
"name",
"nickname",
"first_season",
"location",
"home_ground_s",
"coach",
"captain"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "captain" FROM cricket_club WHERE "location" = 'Caversham' | dev | wikisql |
With the nickname the swans, what is the home ground? | cricket_club | [
"name",
"nickname",
"first_season",
"location",
"home_ground_s",
"coach",
"captain"
] | [
"text",
"text",
"text",
"text",
"text",
"text",
"text"
] | SELECT "home_ground_s" FROM cricket_club WHERE "nickname" = 'Swans' | dev | wikisql |
What is the record when the opponent is washington redskins? | giants_1982_season | [
"game",
"date",
"opponent",
"result",
"giants_points",
"opponents",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"text",
"real"
] | SELECT "record" FROM giants_1982_season WHERE "opponent" = 'Washington Redskins' | dev | wikisql |
What is the minimum number of opponents? | giants_1982_season | [
"game",
"date",
"opponent",
"result",
"giants_points",
"opponents",
"record",
"attendance"
] | [
"real",
"text",
"text",
"text",
"real",
"real",
"text",
"real"
] | SELECT MIN("opponents") FROM giants_1982_season | dev | wikisql |
when area (km²) is 1605.35, how many provinces are there? | province_data_3 | [
"province",
"capital",
"area_km",
"population",
"density",
"map_region"
] | [
"text",
"text",
"text",
"real",
"real",
"real"
] | SELECT COUNT("province") FROM province_data_3 WHERE "area_km" = '1605.35' | dev | wikisql |
when province is monseñor nouel, what is the area (km²)? | province_data_3 | [
"province",
"capital",
"area_km",
"population",
"density",
"map_region"
] | [
"text",
"text",
"text",
"real",
"real",
"real"
] | SELECT "area_km" FROM province_data_3 WHERE "province" = 'Monseñor Nouel' | dev | wikisql |
How many capitals are there when area (km²) is 1111.14? | province_data_3 | [
"province",
"capital",
"area_km",
"population",
"density",
"map_region"
] | [
"text",
"text",
"text",
"real",
"real",
"real"
] | SELECT COUNT("capital") FROM province_data_3 WHERE "area_km" = '1111.14' | dev | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.