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
The common of Chieri has what population density?
province_data_2
[ "rank", "common_of", "population", "area_km_2", "density_inhabitants_km_2", "altitude_mslm" ]
[ "text", "text", "real", "text", "text", "real" ]
SELECT "density_inhabitants_km_2" FROM province_data_2 WHERE "common_of" = 'Chieri'
dev
wikisql
what's the economics score with education being 92.0
women_rights_rank
[ "rank", "country", "overall", "justice", "health", "education", "economics", "politics" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "economics" FROM women_rights_rank WHERE "education" = '92.0'
dev
wikisql
what's the health score with justice being 80.7
women_rights_rank
[ "rank", "country", "overall", "justice", "health", "education", "economics", "politics" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "health" FROM women_rights_rank WHERE "justice" = '80.7'
dev
wikisql
what's the rank for iceland
women_rights_rank
[ "rank", "country", "overall", "justice", "health", "education", "economics", "politics" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "rank" FROM women_rights_rank WHERE "country" = 'Iceland'
dev
wikisql
what's the country with health being 91.4
women_rights_rank
[ "rank", "country", "overall", "justice", "health", "education", "economics", "politics" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "country" FROM women_rights_rank WHERE "health" = '91.4'
dev
wikisql
what's the economics score with justice being 90.8
women_rights_rank
[ "rank", "country", "overall", "justice", "health", "education", "economics", "politics" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "economics" FROM women_rights_rank WHERE "justice" = '90.8'
dev
wikisql
On October 17, 1937 what was maximum number or attendants.
redskins_1937_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT MAX("attendance") FROM redskins_1937_season WHERE "date" = 'October 17, 1937'
dev
wikisql
In week 9 who were the opponent?
redskins_1937_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "opponent" FROM redskins_1937_season WHERE "week" = 9
dev
wikisql
What are week 4 results?
redskins_1937_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "result" FROM redskins_1937_season WHERE "week" = 4
dev
wikisql
How many players were 6'1" and from Columbia, South Carolina?
football_players_2008
[ "position", "number", "name", "height", "weight", "class", "hometown", "games" ]
[ "text", "real", "text", "text", "text", "text", "text", "real" ]
SELECT COUNT("position") FROM football_players_2008 WHERE "height" = '6''1"' AND "hometown" = 'Columbia, South Carolina'
dev
wikisql
What was Trevard Lindley's number?
football_players_2008
[ "position", "number", "name", "height", "weight", "class", "hometown", "games" ]
[ "text", "real", "text", "text", "text", "text", "text", "real" ]
SELECT MAX("number") FROM football_players_2008 WHERE "name" = 'Trevard Lindley'
dev
wikisql
Name the player for chicago black hawks
draft_pick
[ "pick", "player", "position", "nationality", "nhl_team", "college_junior_club_team" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "player" FROM draft_pick WHERE "nhl_team" = 'Chicago Black Hawks'
dev
wikisql
Name the position for pick number 128
draft_pick
[ "pick", "player", "position", "nationality", "nhl_team", "college_junior_club_team" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "position" FROM draft_pick WHERE "pick" = 128
dev
wikisql
Name the college/junior/club team for left wing
draft_pick
[ "pick", "player", "position", "nationality", "nhl_team", "college_junior_club_team" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "college_junior_club_team" FROM draft_pick WHERE "position" = 'Left Wing'
dev
wikisql
What is the Burmese term for Thursday?
burmese_calendar
[ "cardinal_direction", "burmese", "sanskrit", "english", "planet", "sign" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "burmese" FROM burmese_calendar WHERE "english" = 'Thursday'
dev
wikisql
What is the cardinal direction associated with Venus?
burmese_calendar
[ "cardinal_direction", "burmese", "sanskrit", "english", "planet", "sign" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "cardinal_direction" FROM burmese_calendar WHERE "planet" = 'Venus'
dev
wikisql
What is the Burmese term associated with a cardinal direction of west?
burmese_calendar
[ "cardinal_direction", "burmese", "sanskrit", "english", "planet", "sign" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "burmese" FROM burmese_calendar WHERE "cardinal_direction" = 'West'
dev
wikisql
What is the planet associated with the direction of south?
burmese_calendar
[ "cardinal_direction", "burmese", "sanskrit", "english", "planet", "sign" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "planet" FROM burmese_calendar WHERE "cardinal_direction" = 'South'
dev
wikisql
What is the value scored when there were 19 points for the team 3 de Febrero?
paraguay_football_2007
[ "position", "team", "played", "wins", "draws", "losses", "scored", "conceded", "points" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "real" ]
SELECT MAX("scored") FROM paraguay_football_2007 WHERE "points" = 19 AND "team" = '3 de Febrero'
dev
wikisql
What was the number of losses when the scored value was 25?
paraguay_football_2007
[ "position", "team", "played", "wins", "draws", "losses", "scored", "conceded", "points" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "real" ]
SELECT MAX("losses") FROM paraguay_football_2007 WHERE "scored" = 25
dev
wikisql
What were all Yachts with a sail number of 6952?
yacht_race_2007
[ "position", "sail_number", "yacht", "state_country", "yacht_type", "loa_metres", "skipper", "corrected_time_d_hh_mm_ss" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "yacht" FROM yacht_race_2007 WHERE "sail_number" = '6952'
dev
wikisql
How many yachts had a position of 3?
yacht_race_2007
[ "position", "sail_number", "yacht", "state_country", "yacht_type", "loa_metres", "skipper", "corrected_time_d_hh_mm_ss" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("yacht") FROM yacht_race_2007 WHERE "position" = 3
dev
wikisql
What are all of the states or countries with a corrected time 3:13:40:05?
yacht_race_2007
[ "position", "sail_number", "yacht", "state_country", "yacht_type", "loa_metres", "skipper", "corrected_time_d_hh_mm_ss" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "state_country" FROM yacht_race_2007 WHERE "corrected_time_d_hh_mm_ss" = '3:13:40:05'
dev
wikisql
Who were all of the skippers with a corrected time of 3:15:07:27?
yacht_race_2007
[ "position", "sail_number", "yacht", "state_country", "yacht_type", "loa_metres", "skipper", "corrected_time_d_hh_mm_ss" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "skipper" FROM yacht_race_2007 WHERE "corrected_time_d_hh_mm_ss" = '3:15:07:27'
dev
wikisql
What are all sail numbers for the yacht Yendys?
yacht_race_2007
[ "position", "sail_number", "yacht", "state_country", "yacht_type", "loa_metres", "skipper", "corrected_time_d_hh_mm_ss" ]
[ "real", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "sail_number" FROM yacht_race_2007 WHERE "yacht" = 'Yendys'
dev
wikisql
Who is the courtside reporter for the year 2009-10?
celtics_broadcasters
[ "year", "channel", "play_by_play", "color_commentator_s", "courtside_reporter", "studio_host", "studio_analysts" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "courtside_reporter" FROM celtics_broadcasters WHERE "year" = '2009-10'
dev
wikisql
Who is the studio host for the year 2006-07?
celtics_broadcasters
[ "year", "channel", "play_by_play", "color_commentator_s", "courtside_reporter", "studio_host", "studio_analysts" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "studio_host" FROM celtics_broadcasters WHERE "year" = '2006-07'
dev
wikisql
Who are the studio analysts for the year 2008-09?
celtics_broadcasters
[ "year", "channel", "play_by_play", "color_commentator_s", "courtside_reporter", "studio_host", "studio_analysts" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "studio_analysts" FROM celtics_broadcasters WHERE "year" = '2008-09'
dev
wikisql
How many channels were the games shown on in 2001-02?
celtics_broadcasters
[ "year", "channel", "play_by_play", "color_commentator_s", "courtside_reporter", "studio_host", "studio_analysts" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("channel") FROM celtics_broadcasters WHERE "year" = '2001-02'
dev
wikisql
What is the current venue for the Miami Masters tournament?
masters_series
[ "tournament", "country", "location", "current_venue", "began", "court_surface" ]
[ "text", "text", "text", "text", "real", "text" ]
SELECT "current_venue" FROM masters_series WHERE "tournament" = 'Miami Masters'
dev
wikisql
Rome is in which country?
masters_series
[ "tournament", "country", "location", "current_venue", "began", "court_surface" ]
[ "text", "text", "text", "text", "real", "text" ]
SELECT "country" FROM masters_series WHERE "location" = 'Rome'
dev
wikisql
How many tournaments have their current venue as the Lindner Family Tennis Center?
masters_series
[ "tournament", "country", "location", "current_venue", "began", "court_surface" ]
[ "text", "text", "text", "text", "real", "text" ]
SELECT COUNT("tournament") FROM masters_series WHERE "current_venue" = 'Lindner Family Tennis Center'
dev
wikisql
What year was the tournament first held in Italy?
masters_series
[ "tournament", "country", "location", "current_venue", "began", "court_surface" ]
[ "text", "text", "text", "text", "real", "text" ]
SELECT MIN("began") FROM masters_series WHERE "country" = 'Italy'
dev
wikisql
Which current venues location is Mason, Ohio?
masters_series
[ "tournament", "country", "location", "current_venue", "began", "court_surface" ]
[ "text", "text", "text", "text", "real", "text" ]
SELECT "current_venue" FROM masters_series WHERE "location" = 'Mason, Ohio'
dev
wikisql
Which tournaments current venue is the Madrid Arena?
masters_series
[ "tournament", "country", "location", "current_venue", "began", "court_surface" ]
[ "text", "text", "text", "text", "real", "text" ]
SELECT "tournament" FROM masters_series WHERE "current_venue" = 'Madrid Arena'
dev
wikisql
What are all values for Womens Doubles in the year 2000/2001?
badminton_results
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "womens_doubles" FROM badminton_results WHERE "year" = '2000/2001'
dev
wikisql
Who are all the womens doubles for the year 2008/2009?
badminton_results
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "womens_doubles" FROM badminton_results WHERE "year" = '2008/2009'
dev
wikisql
Who were all womens doubles for the year 2000/2001?
badminton_results
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "womens_doubles" FROM badminton_results WHERE "year" = '2000/2001'
dev
wikisql
Which episode number drew in 3.84 million viewers in the U.S.?
episodes_2
[ "series", "season", "title", "directed_by", "written_by", "original_air_date", "production_code", "u_s_viewers_million" ]
[ "real", "real", "text", "text", "text", "text", "text", "text" ]
SELECT MAX("series") FROM episodes_2 WHERE "u_s_viewers_million" = '3.84'
dev
wikisql
How many viewers did the episode directed by David Nutter draw in?
episodes_2
[ "series", "season", "title", "directed_by", "written_by", "original_air_date", "production_code", "u_s_viewers_million" ]
[ "real", "real", "text", "text", "text", "text", "text", "text" ]
SELECT "u_s_viewers_million" FROM episodes_2 WHERE "directed_by" = 'David Nutter'
dev
wikisql
Which episode number drew in 3.35 million viewers in the United States?
episodes_2
[ "series", "season", "title", "directed_by", "written_by", "original_air_date", "production_code", "u_s_viewers_million" ]
[ "real", "real", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("series") FROM episodes_2 WHERE "u_s_viewers_million" = '3.35'
dev
wikisql
Which episode number was directed by Bill Eagles?
episodes_2
[ "series", "season", "title", "directed_by", "written_by", "original_air_date", "production_code", "u_s_viewers_million" ]
[ "real", "real", "text", "text", "text", "text", "text", "text" ]
SELECT MIN("series") FROM episodes_2 WHERE "directed_by" = 'Bill Eagles'
dev
wikisql
How many masters fought using a boxing style?
fight_quest_episodes
[ "episode", "country", "city", "martial_art_style", "masters", "original_airdate" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("masters") FROM fight_quest_episodes WHERE "martial_art_style" = 'Boxing'
dev
wikisql
How many times did episode 1.8 air?
fight_quest_episodes
[ "episode", "country", "city", "martial_art_style", "masters", "original_airdate" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("original_airdate") FROM fight_quest_episodes WHERE "episode" = '1.8'
dev
wikisql
Which masters fought in hapkido style?
fight_quest_episodes
[ "episode", "country", "city", "martial_art_style", "masters", "original_airdate" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "masters" FROM fight_quest_episodes WHERE "martial_art_style" = 'Hapkido'
dev
wikisql
When did the episode featuring a master using Brazilian jiu-jitsu air?
fight_quest_episodes
[ "episode", "country", "city", "martial_art_style", "masters", "original_airdate" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "original_airdate" FROM fight_quest_episodes WHERE "martial_art_style" = 'Brazilian Jiu-Jitsu'
dev
wikisql
In which country is the city of Netanya?
fight_quest_episodes
[ "episode", "country", "city", "martial_art_style", "masters", "original_airdate" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "country" FROM fight_quest_episodes WHERE "city" = 'Netanya'
dev
wikisql
Which martial arts style was shown in Rio de Janeiro?
fight_quest_episodes
[ "episode", "country", "city", "martial_art_style", "masters", "original_airdate" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "martial_art_style" FROM fight_quest_episodes WHERE "city" = 'Rio de Janeiro'
dev
wikisql
When 74804 is the attendance what week is it?
colts_1981_season
[ "week", "date", "opponent", "result", "record", "game_site", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "week" FROM colts_1981_season WHERE "attendance" = 74804
dev
wikisql
When it is October 25, 1981 who is the opponent?
colts_1981_season
[ "week", "date", "opponent", "result", "record", "game_site", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "opponent" FROM colts_1981_season WHERE "date" = 'October 25, 1981'
dev
wikisql
When it is week 2 what is the record?
colts_1981_season
[ "week", "date", "opponent", "result", "record", "game_site", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "record" FROM colts_1981_season WHERE "week" = 2
dev
wikisql
When it is October 18, 1981 where is the game site?
colts_1981_season
[ "week", "date", "opponent", "result", "record", "game_site", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "game_site" FROM colts_1981_season WHERE "date" = 'October 18, 1981'
dev
wikisql
Name the median income for age band being under 20
income_uk_age
[ "age_band", "median_income", "mean_income", "median_income_men", "mean_income_men", "median_income_women", "mean_income_women" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "median_income" FROM income_uk_age WHERE "age_band" = 'Under 20'
dev
wikisql
How many episodes in history have a running time of 24:06?
tv_episode_data_5
[ "episode", "broadcast_date", "run_time", "viewers_in_millions", "archive" ]
[ "text", "text", "text", "text", "text" ]
SELECT COUNT("archive") FROM tv_episode_data_5 WHERE "run_time" = '24:06'
dev
wikisql
Name the southern lakota for híŋhaŋna
lakhota_words
[ "english_gloss", "santee_sisseton", "yankton_yanktonai", "northern_lakota", "southern_lakota" ]
[ "text", "text", "text", "text", "text" ]
SELECT "southern_lakota" FROM lakhota_words WHERE "yankton_yanktonai" = 'híŋhaŋna'
dev
wikisql
Name the santee sisseton for wičháša
lakhota_words
[ "english_gloss", "santee_sisseton", "yankton_yanktonai", "northern_lakota", "southern_lakota" ]
[ "text", "text", "text", "text", "text" ]
SELECT "santee_sisseton" FROM lakhota_words WHERE "yankton_yanktonai" = 'wičháša'
dev
wikisql
Name the english gloss for haŋȟ’áŋna
lakhota_words
[ "english_gloss", "santee_sisseton", "yankton_yanktonai", "northern_lakota", "southern_lakota" ]
[ "text", "text", "text", "text", "text" ]
SELECT "english_gloss" FROM lakhota_words WHERE "santee_sisseton" = 'haŋȟ’áŋna'
dev
wikisql
Name the number of english gloss for wakȟáŋyeža
lakhota_words
[ "english_gloss", "santee_sisseton", "yankton_yanktonai", "northern_lakota", "southern_lakota" ]
[ "text", "text", "text", "text", "text" ]
SELECT COUNT("english_gloss") FROM lakhota_words WHERE "northern_lakota" = 'wakȟáŋyeža'
dev
wikisql
What was the first year of the Lithuanian National Badminton Championships?
lithuanian_national_badminton_championships
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT MIN("year") FROM lithuanian_national_badminton_championships
dev
wikisql
How many years did aivaras kvedarauskas juozas spelveris participate in the men's doubles?
lithuanian_national_badminton_championships
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT COUNT("year") FROM lithuanian_national_badminton_championships WHERE "mens_doubles" = 'Aivaras Kvedarauskas Juozas Spelveris'
dev
wikisql
In 2004, where the womens singles is daniela kressig who is the mens singles
liechtenstein_badminton_champs
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "mens_singles" FROM liechtenstein_badminton_champs WHERE "womens_singles" = 'Daniela Kressig'
dev
wikisql
What is the most current year where the women's doubles champions are astrid eidenbenz claudia jehle
liechtenstein_badminton_champs
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT MAX("year") FROM liechtenstein_badminton_champs WHERE "womens_doubles" = 'Astrid Eidenbenz Claudia Jehle'
dev
wikisql
In the year 2006, the womens singles had no competition and the mens doubles were roland hilti kilian pfister, what were the womens doubles
liechtenstein_badminton_champs
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "womens_doubles" FROM liechtenstein_badminton_champs WHERE "womens_singles" = 'no competition' AND "mens_doubles" = 'Roland Hilti Kilian Pfister' AND "year" = 2006
dev
wikisql
In 2001, where the mens singles is armand jehle and the womens singles is michaela ritter, who are the mixed doubles
liechtenstein_badminton_champs
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "mixed_doubles" FROM liechtenstein_badminton_champs WHERE "womens_singles" = 'Michaela Ritter' AND "mens_singles" = 'Armand Jehle'
dev
wikisql
In 1987 who was the mens singles
liechtenstein_badminton_champs
[ "year", "mens_singles", "womens_singles", "mens_doubles", "womens_doubles", "mixed_doubles" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "mens_singles" FROM liechtenstein_badminton_champs WHERE "year" = 1987
dev
wikisql
When is the rhel release date when scientific linux release is 3.0.4
scientific_linux_info
[ "scientific_linux_release", "architectures", "rhel_base", "scientific_linux_release_date", "rhel_release_date", "delay" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "rhel_release_date" FROM scientific_linux_info WHERE "scientific_linux_release" = '3.0.4'
dev
wikisql
Name the delay when scientific linux release is 5.10
scientific_linux_info
[ "scientific_linux_release", "architectures", "rhel_base", "scientific_linux_release_date", "rhel_release_date", "delay" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "delay" FROM scientific_linux_info WHERE "scientific_linux_release" = '5.10'
dev
wikisql
Name the scientific linux release when delay is 28d
scientific_linux_info
[ "scientific_linux_release", "architectures", "rhel_base", "scientific_linux_release_date", "rhel_release_date", "delay" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "scientific_linux_release" FROM scientific_linux_info WHERE "delay" = '28d'
dev
wikisql
What is the United States rank?
miss_world_results
[ "rank", "country_territory", "miss_world", "1st_runner_up", "2nd_runner_up", "3rd_runner_up", "4th_runner_up", "5th_runner_up", "6th_runner_up", "semifinalists", "total" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "real", "real", "real" ]
SELECT COUNT("rank") FROM miss_world_results WHERE "country_territory" = 'United States'
dev
wikisql
What is Venezuela's total rank?
miss_world_results
[ "rank", "country_territory", "miss_world", "1st_runner_up", "2nd_runner_up", "3rd_runner_up", "4th_runner_up", "5th_runner_up", "6th_runner_up", "semifinalists", "total" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "real", "real", "real" ]
SELECT "total" FROM miss_world_results WHERE "country_territory" = 'Venezuela'
dev
wikisql
What is Iceland's total?
miss_world_results
[ "rank", "country_territory", "miss_world", "1st_runner_up", "2nd_runner_up", "3rd_runner_up", "4th_runner_up", "5th_runner_up", "6th_runner_up", "semifinalists", "total" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "real", "real", "real" ]
SELECT COUNT("total") FROM miss_world_results WHERE "country_territory" = 'Iceland'
dev
wikisql
Which countries have a 5th runner-up ranking is 2 and the 3rd runner-up ranking is 0
miss_world_results
[ "rank", "country_territory", "miss_world", "1st_runner_up", "2nd_runner_up", "3rd_runner_up", "4th_runner_up", "5th_runner_up", "6th_runner_up", "semifinalists", "total" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "real", "real", "real" ]
SELECT "total" FROM miss_world_results WHERE "5th_runner_up" = 2 AND "3rd_runner_up" = 0
dev
wikisql
What is the worst (highest) score?
golf_championships
[ "date", "tournament", "player", "country", "rounds", "score", "to_par", "finish" ]
[ "text", "text", "text", "text", "text", "real", "text", "text" ]
SELECT MAX("score") FROM golf_championships
dev
wikisql
What days were the rounds of 66-67-70-67 recorded?
golf_championships
[ "date", "tournament", "player", "country", "rounds", "score", "to_par", "finish" ]
[ "text", "text", "text", "text", "text", "real", "text", "text" ]
SELECT "date" FROM golf_championships WHERE "rounds" = '66-67-70-67'
dev
wikisql
What country hosts the tournament the open championship?
golf_championships
[ "date", "tournament", "player", "country", "rounds", "score", "to_par", "finish" ]
[ "text", "text", "text", "text", "text", "real", "text", "text" ]
SELECT "country" FROM golf_championships WHERE "tournament" = 'The Open Championship'
dev
wikisql
What is the worst (highest) score?
golf_championships
[ "date", "tournament", "player", "country", "rounds", "score", "to_par", "finish" ]
[ "text", "text", "text", "text", "text", "real", "text", "text" ]
SELECT MAX("score") FROM golf_championships
dev
wikisql
What players finished 2nd?
golf_championships
[ "date", "tournament", "player", "country", "rounds", "score", "to_par", "finish" ]
[ "text", "text", "text", "text", "text", "real", "text", "text" ]
SELECT "player" FROM golf_championships WHERE "finish" = '2nd'
dev
wikisql
WHAT YEAR WAS IT WHEN THE SCORE WAS 3 & 2?
us_open_1914_hagen
[ "year", "championship", "54_holes", "winning_score", "margin", "runner_up" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "year" FROM us_open_1914_hagen WHERE "winning_score" = '3 & 2'
dev
wikisql
HOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?
us_open_1914_hagen
[ "year", "championship", "54_holes", "winning_score", "margin", "runner_up" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT COUNT("year") FROM us_open_1914_hagen WHERE "winning_score" = '(76-73-79-72=300)'
dev
wikisql
WHAT WAS THE YEAR WHEN THE RUNNER-UP WAS WILLIAM MEHLHORN?
us_open_1914_hagen
[ "year", "championship", "54_holes", "winning_score", "margin", "runner_up" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT MAX("year") FROM us_open_1914_hagen WHERE "runner_up" = 'William Mehlhorn'
dev
wikisql
WHAT YEAR DID MIKE BRADY GET RUNNER-UP?
us_open_1914_hagen
[ "year", "championship", "54_holes", "winning_score", "margin", "runner_up" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT MIN("year") FROM us_open_1914_hagen WHERE "runner_up" = 'Mike Brady'
dev
wikisql
WHAT WAS THE WINNING SCORE IN YEAR 1922?
us_open_1914_hagen
[ "year", "championship", "54_holes", "winning_score", "margin", "runner_up" ]
[ "real", "text", "text", "text", "text", "text" ]
SELECT "winning_score" FROM us_open_1914_hagen WHERE "year" = 1922
dev
wikisql
what's the cancelable with bubbles being yes
event_info
[ "category", "type", "attribute", "description", "bubbles", "cancelable" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "cancelable" FROM event_info WHERE "bubbles" = 'Yes'
dev
wikisql
what's the bubbles with attribute being onpopuphidden
event_info
[ "category", "type", "attribute", "description", "bubbles", "cancelable" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "bubbles" FROM event_info WHERE "attribute" = 'onpopuphidden'
dev
wikisql
how many bubbles with category being input
event_info
[ "category", "type", "attribute", "description", "bubbles", "cancelable" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("bubbles") FROM event_info WHERE "category" = 'Input'
dev
wikisql
what's the type with description being fires when the overflow state changes.
event_info
[ "category", "type", "attribute", "description", "bubbles", "cancelable" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "type" FROM event_info WHERE "description" = 'Fires when the overflow state changes.'
dev
wikisql
what's the attribute with cancelable being yes
event_info
[ "category", "type", "attribute", "description", "bubbles", "cancelable" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "attribute" FROM event_info WHERE "cancelable" = 'Yes'
dev
wikisql
How many viewers in millions for episode "sokka's master"?
episode_data_2
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_air_date", "production_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "viewers_millions" FROM episode_data_2 WHERE "title" = '"Sokka''s Master"'
dev
wikisql
What is the original air date for the episode with a production code of 318?
episode_data_2
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_air_date", "production_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "original_air_date" FROM episode_data_2 WHERE "production_code" = 318
dev
wikisql
What season has an episode written by john o'bryan and directed by ethan spaulding?
episode_data_2
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_air_date", "production_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "no_in_season" FROM episode_data_2 WHERE "written_by" = 'John O''Bryan' AND "directed_by" = 'Ethan Spaulding'
dev
wikisql
What are all the numbers in the series with an episode title of "the beach"?
episode_data_2
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_air_date", "production_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "no_in_series" FROM episode_data_2 WHERE "title" = '"The Beach"'
dev
wikisql
how many segments involve wood boring augers
how_its_made_episodes
[ "series_ep", "episode", "netflix", "segment_a", "segment_b", "segment_c", "segment_d" ]
[ "text", "real", "text", "text", "text", "text", "text" ]
SELECT "segment_a" FROM how_its_made_episodes WHERE "segment_d" = 'Wood Boring Augers'
dev
wikisql
for the shows featuring beet sugar, what was on before that
how_its_made_episodes
[ "series_ep", "episode", "netflix", "segment_a", "segment_b", "segment_c", "segment_d" ]
[ "text", "real", "text", "text", "text", "text", "text" ]
SELECT "segment_b" FROM how_its_made_episodes WHERE "segment_c" = 'Beet Sugar'
dev
wikisql
are rolled wafers in many episodes
how_its_made_episodes
[ "series_ep", "episode", "netflix", "segment_a", "segment_b", "segment_c", "segment_d" ]
[ "text", "real", "text", "text", "text", "text", "text" ]
SELECT "series_ep" FROM how_its_made_episodes WHERE "segment_a" = 'Rolled Wafers'
dev
wikisql
Name the best actor for uncle boonmee who can recall his past lives
asian_film_awards
[ "year", "best_film", "best_director", "best_actor", "best_actress", "best_supporting_actor", "best_supporting_actress" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "best_actor" FROM asian_film_awards WHERE "best_film" = 'Uncle Boonmee Who Can Recall His Past Lives'
dev
wikisql
Name the best director for mother
asian_film_awards
[ "year", "best_film", "best_director", "best_actor", "best_actress", "best_supporting_actor", "best_supporting_actress" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "best_director" FROM asian_film_awards WHERE "best_film" = 'Mother'
dev
wikisql
Name the year for sammo hung for ip man 2
asian_film_awards
[ "year", "best_film", "best_director", "best_actor", "best_actress", "best_supporting_actor", "best_supporting_actress" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "year" FROM asian_film_awards WHERE "best_supporting_actor" = 'Sammo Hung for Ip Man 2'
dev
wikisql
Name the best supporting actress for sun honglei for mongol
asian_film_awards
[ "year", "best_film", "best_director", "best_actor", "best_actress", "best_supporting_actor", "best_supporting_actress" ]
[ "text", "text", "text", "text", "text", "text", "text" ]
SELECT "best_supporting_actress" FROM asian_film_awards WHERE "best_supporting_actor" = 'Sun Honglei for Mongol'
dev
wikisql
How many years was Jiyai Shin the champion?
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("year") FROM golf_tournament_results WHERE "champion" = 'Jiyai Shin'
dev
wikisql
What countries have a margin of victory at 6 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 "country" FROM golf_tournament_results WHERE "margin_of_victory" = '6 strokes'
dev
wikisql