question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many clubs were remaining in the preliminary round?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "clubs_remaining" FROM "teams" WHERE "round"='Preliminary round';
1-28039032-1
What was the round when there were 16 winners from the previous round?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "round" FROM "teams" WHERE "winners_from_previous_round"='16';
1-28039032-1
How many clubs were involved in the second round?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" text, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT "clubs_involved" FROM "teams" WHERE "round"='Second round';
1-28039032-1
When grand prix de sar la princesse lalla meryem is the tournament what is the town?
CREATE TABLE "wta_tour" ( "week" real, "start_date" text, "type" text, "tournament" text, "surface" text, "town" text, "country" text, "continent" text, "prize_money" text );
SELECT "town" FROM "wta_tour" WHERE "tournament"='Grand Prix De SAR La Princesse Lalla Meryem';
1-2803662-3
When stuttgart is the town what is the type?
CREATE TABLE "wta_tour" ( "week" real, "start_date" text, "type" text, "tournament" text, "surface" text, "town" text, "country" text, "continent" text, "prize_money" text );
SELECT "type" FROM "wta_tour" WHERE "town"='Stuttgart';
1-2803662-3
who is the person that is part of the belgian vw club that works with frédéric miclotte
CREATE TABLE "selected_entries" ( "entrant" text, "constructor" text, "car" text, "driver" text, "co_driver" text, "rounds" text );
SELECT "driver" FROM "selected_entries" WHERE "entrant"='Belgian VW Club' AND "co_driver"='Frédéric Miclotte';
1-28046929-2
what is the type of vehicle driven by mark higgins
CREATE TABLE "selected_entries" ( "entrant" text, "constructor" text, "car" text, "driver" text, "co_driver" text, "rounds" text );
SELECT "car" FROM "selected_entries" WHERE "driver"='Mark Higgins';
1-28046929-2
what is the entry where the other person is zdeněk hrůza
CREATE TABLE "selected_entries" ( "entrant" text, "constructor" text, "car" text, "driver" text, "co_driver" text, "rounds" text );
SELECT "entrant" FROM "selected_entries" WHERE "co_driver"='Zdeněk Hrůza';
1-28046929-2
who is the other person where the assistant is paulo babo
CREATE TABLE "selected_entries" ( "entrant" text, "constructor" text, "car" text, "driver" text, "co_driver" text, "rounds" text );
SELECT "driver" FROM "selected_entries" WHERE "co_driver"='Paulo Babo';
1-28046929-2
what are all the people where the entries is peugeot sport polska
CREATE TABLE "selected_entries" ( "entrant" text, "constructor" text, "car" text, "driver" text, "co_driver" text, "rounds" text );
SELECT "driver" FROM "selected_entries" WHERE "entrant"='Peugeot Sport Polska';
1-28046929-2
Who wrote the episode that had 6.05 million U.s. viewers?
CREATE TABLE "table1_28037619_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_28037619_2" WHERE "u_s_viewers_million"='6.05';
1-28037619-2
How many production codes are there for the episode that had 4.36 million u.s. viewers?
CREATE TABLE "table1_28037619_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT COUNT("production_code") FROM "table1_28037619_2" WHERE "u_s_viewers_million"='4.36';
1-28037619-2
How many people wrote the episode that had 7.26 million u.s. viewers?
CREATE TABLE "table1_28037619_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT COUNT("written_by") FROM "table1_28037619_2" WHERE "u_s_viewers_million"='7.26';
1-28037619-2
How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher?
CREATE TABLE "table1_28037619_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "u_s_viewers_million" FROM "table1_28037619_2" WHERE "directed_by"='Roger Young' AND "written_by"='Debra J. Fisher';
1-28037619-2
What is the name of the episode written by David Matthews?
CREATE TABLE "table1_28037619_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_million" text );
SELECT "title" FROM "table1_28037619_2" WHERE "written_by"='David Matthews';
1-28037619-2
What are the colors of the Hudson school?
CREATE TABLE "former_members" ( "school" text, "nickname" text, "location" text, "colors" text, "tenure" text );
SELECT "colors" FROM "former_members" WHERE "school"='Hudson';
1-28051859-3
When were the members tenured in the Field school?
CREATE TABLE "former_members" ( "school" text, "nickname" text, "location" text, "colors" text, "tenure" text );
SELECT "tenure" FROM "former_members" WHERE "school"='Field';
1-28051859-3
How many pick# for CFL team of Toronto Argonauts?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "round_one" WHERE "cfl_team"='Toronto Argonauts';
1-28059992-1
What is every CFL team from the Calgary college?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_one" WHERE "college"='Calgary';
1-28059992-1
What is every position for the CFL Edmonton?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_one" WHERE "cfl_team"='Edmonton';
1-28059992-1
What is every CFL team for the college of Calgary?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_one" WHERE "college"='Calgary';
1-28059992-1
What is every CFL team with pick#1?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_one" WHERE "pick_num"=1;
1-28059992-1
What is every CFL team with the player Mark Farraway?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_one" WHERE "player"='Mark Farraway';
1-28059992-1
What draft pick number was Andy Brereton?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MIN("pick_num") FROM "round_five" WHERE "player"='Andy Brereton';
1-28059992-5
What pick number was the player that was picked by Edmonton?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "pick_num" FROM "round_five" WHERE "cfl_team"='Edmonton';
1-28059992-5
What position did the draft pick going to saskatchewan play?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_five" WHERE "cfl_team"='Saskatchewan';
1-28059992-5
What is the highest numbered draft pick?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "round_five";
1-28059992-5
What CFL team got the player from york?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_five" WHERE "college"='York';
1-28059992-5
How many positions does Trent Bagnail play?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT COUNT("position") FROM "round_five" WHERE "player"='Trent Bagnail';
1-28059992-5
What position was the player who was drafted by Edmonton?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_six" WHERE "cfl_team"='Edmonton';
1-28059992-6
What college did the player whose position was RB go to?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_six" WHERE "position"='RB';
1-28059992-6
What college did Francis Bellefroid go to?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_six" WHERE "player"='Francis Bellefroid';
1-28059992-6
Which player was drafted by Winnipeg?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "round_six" WHERE "cfl_team"='Winnipeg';
1-28059992-6
What college did the player who was drafted by Calgary go to?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_six" WHERE "cfl_team"='Calgary';
1-28059992-6
What was the height of representative #1?
CREATE TABLE "contestants" ( "represent" real, "contestant" text, "age" real, "height" text, "hometown" text, "sponsor" text );
SELECT "height" FROM "contestants" WHERE "represent"=1;
1-28062822-3
Which contestant was sponsored by Yogurt Vita Slim?
CREATE TABLE "contestants" ( "represent" real, "contestant" text, "age" real, "height" text, "hometown" text, "sponsor" text );
SELECT "contestant" FROM "contestants" WHERE "sponsor"='Yogurt Vita Slim';
1-28062822-3
What was the height of representative #6?
CREATE TABLE "contestants" ( "represent" real, "contestant" text, "age" real, "height" text, "hometown" text, "sponsor" text );
SELECT "height" FROM "contestants" WHERE "represent"=6;
1-28062822-3
how many people wrote the episode directed by rob schrab?
CREATE TABLE "table1_28081876_4" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT COUNT("written_by") FROM "table1_28081876_4" WHERE "directed_by"='Rob Schrab';
1-28081876-4
name the title of the episode with production code 201
CREATE TABLE "table1_28081876_4" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "title" FROM "table1_28081876_4" WHERE "production_code"=201;
1-28081876-4
Who were the authors of the episode first broadcast on August 10, 2012?
CREATE TABLE "table1_28081876_6" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "written_by" FROM "table1_28081876_6" WHERE "original_air_date"='August 10, 2012';
1-28081876-6
How many million people in the US viewed the episode titled "Behind the Scenes"?
CREATE TABLE "table1_28081876_6" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_28081876_6" WHERE "title"='\"Behind the Scenes\"';
1-28081876-6
When was originally aired the episode with an audience of 1.57 million us viewers?
CREATE TABLE "table1_28081876_6" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "original_air_date" FROM "table1_28081876_6" WHERE "u_s_viewers_millions"='1.57';
1-28081876-6
What season number was assigned to the episode identified with the production code 401?
CREATE TABLE "table1_28081876_6" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "season_no" FROM "table1_28081876_6" WHERE "production_code"=401;
1-28081876-6
List the number of assists for the DF.
CREATE TABLE "top_assistants" ( "position" text, "number" real, "player" text, "super_league" real, "champions_league" real, "swiss_cup" real, "total" real );
SELECT MAX("total") FROM "top_assistants" WHERE "position"='DF';
1-28068645-8
List the lowest super league for a 0 champion league.
CREATE TABLE "top_assistants" ( "position" text, "number" real, "player" text, "super_league" real, "champions_league" real, "swiss_cup" real, "total" real );
SELECT MIN("super_league") FROM "top_assistants" WHERE "champions_league"=0;
1-28068645-8
What is the minimum sum?
CREATE TABLE "top_assistants" ( "position" text, "number" real, "player" text, "super_league" real, "champions_league" real, "swiss_cup" real, "total" real );
SELECT MIN("total") FROM "top_assistants";
1-28068645-8
What was the intermediate sprint classification for the race whose winner was Daniel Martin?
CREATE TABLE "category_leadership_table" ( "stage" real, "winner" text, "general_classification_ta_koszulka" text, "mountains_classification_klasyfikacja_g_rska" text, "intermediate_sprints_classification_klasyfikacja_najaktywniejszych" text, "points_classification_klasyfikacja_punktowa" text, "teams_clas...
SELECT "intermediate_sprints_classification_klasyfikacja_najaktywniejszych" FROM "category_leadership_table" WHERE "winner"='Daniel Martin';
1-28092844-16
Which teams classification winners had a general classification winner of Allan Davis?
CREATE TABLE "category_leadership_table" ( "stage" real, "winner" text, "general_classification_ta_koszulka" text, "mountains_classification_klasyfikacja_g_rska" text, "intermediate_sprints_classification_klasyfikacja_najaktywniejszych" text, "points_classification_klasyfikacja_punktowa" text, "teams_clas...
SELECT "teams_classification" FROM "category_leadership_table" WHERE "general_classification_ta_koszulka"='Allan Davis';
1-28092844-16
Who won the points classification when the teams classification winner was Lampre-Farnese?
CREATE TABLE "category_leadership_table" ( "stage" real, "winner" text, "general_classification_ta_koszulka" text, "mountains_classification_klasyfikacja_g_rska" text, "intermediate_sprints_classification_klasyfikacja_najaktywniejszych" text, "points_classification_klasyfikacja_punktowa" text, "teams_clas...
SELECT "points_classification_klasyfikacja_punktowa" FROM "category_leadership_table" WHERE "teams_classification"='Lampre-Farnese';
1-28092844-16
How do you say the ukrainian word дякую (diakuju) in English?
CREATE TABLE "other_slavic_languages" ( "english_word" text, "slovak" text, "czech" text, "rusyn" text, "ukrainian" text, "belarusian" text, "polish" text, "serbo_croatian" text, "bulgarian" text );
SELECT "english_word" FROM "other_slavic_languages" WHERE "ukrainian"='Дякую (diakuju)';
1-28136-15
How many words are there in rusyn for the bulgarian word купува (kupuva)?
CREATE TABLE "other_slavic_languages" ( "english_word" text, "slovak" text, "czech" text, "rusyn" text, "ukrainian" text, "belarusian" text, "polish" text, "serbo_croatian" text, "bulgarian" text );
SELECT COUNT("rusyn") FROM "other_slavic_languages" WHERE "bulgarian"='купува (kupuva)';
1-28136-15
Name the new adherents per year for buddhism
CREATE TABLE "table1_28137918_5" ( "religion" text, "births" real, "conversions" text, "new_adherents_per_year" real, "growth_rate" text );
SELECT "new_adherents_per_year" FROM "table1_28137918_5" WHERE "religion"='Buddhism';
1-28137918-5
Name the number of new adherents per year for confucianism
CREATE TABLE "table1_28137918_5" ( "religion" text, "births" real, "conversions" text, "new_adherents_per_year" real, "growth_rate" text );
SELECT COUNT("new_adherents_per_year") FROM "table1_28137918_5" WHERE "religion"='Confucianism';
1-28137918-5
Name the least births for conversion being 26,333
CREATE TABLE "table1_28137918_5" ( "religion" text, "births" real, "conversions" text, "new_adherents_per_year" real, "growth_rate" text );
SELECT MIN("births") FROM "table1_28137918_5" WHERE "conversions"='26,333';
1-28137918-5
Name the least amount of new adherents per year
CREATE TABLE "table1_28137918_5" ( "religion" text, "births" real, "conversions" text, "new_adherents_per_year" real, "growth_rate" text );
SELECT MIN("new_adherents_per_year") FROM "table1_28137918_5";
1-28137918-5
Name the religion that has a growth rate of 1.56%
CREATE TABLE "table1_28137918_5" ( "religion" text, "births" real, "conversions" text, "new_adherents_per_year" real, "growth_rate" text );
SELECT "religion" FROM "table1_28137918_5" WHERE "growth_rate"='1.56%';
1-28137918-5
What is the length when the propulsion is controllable pitch propeller?
CREATE TABLE "current_fleet" ( "vessel" text, "built" real, "max_speed" text, "length" text, "breadth" text, "flag" text, "propulsion" text );
SELECT "length" FROM "current_fleet" WHERE "propulsion"='Controllable pitch propeller';
1-28132970-5
What is the max speed when the vessel is gallion?
CREATE TABLE "current_fleet" ( "vessel" text, "built" real, "max_speed" text, "length" text, "breadth" text, "flag" text, "propulsion" text );
SELECT "max_speed" FROM "current_fleet" WHERE "vessel"='Gallion';
1-28132970-5
How many breadth entries are there when the vessel is marianarray?
CREATE TABLE "current_fleet" ( "vessel" text, "built" real, "max_speed" text, "length" text, "breadth" text, "flag" text, "propulsion" text );
SELECT COUNT("breadth") FROM "current_fleet" WHERE "vessel"='Marianarray';
1-28132970-5
What is the propulsion when the vessel is marianarray?
CREATE TABLE "current_fleet" ( "vessel" text, "built" real, "max_speed" text, "length" text, "breadth" text, "flag" text, "propulsion" text );
SELECT "propulsion" FROM "current_fleet" WHERE "vessel"='Marianarray';
1-28132970-5
How many breadth entries are there when propulsion is jet?
CREATE TABLE "current_fleet" ( "vessel" text, "built" real, "max_speed" text, "length" text, "breadth" text, "flag" text, "propulsion" text );
SELECT COUNT("breadth") FROM "current_fleet" WHERE "propulsion"='Jet';
1-28132970-5
What is the production code for "chuck versus the balcony"?
CREATE TABLE "table1_28116528_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_28116528_1" WHERE "title"='\"Chuck Versus the Balcony\"';
1-28116528-1
What episode title had a production code of 3x6306?
CREATE TABLE "table1_28116528_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "title" FROM "table1_28116528_1" WHERE "production_code"='3X6306';
1-28116528-1
What date did the episode with a production code of 3x6316 originally air?
CREATE TABLE "table1_28116528_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_28116528_1" WHERE "production_code"='3X6316';
1-28116528-1
Who won the mens doubles when wu yang won the womens singles?
CREATE TABLE "polish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_doubles" FROM "polish_open" WHERE "womens_singles"='Wu Yang';
1-28138035-26
What year and where was the tournament when fan ying won the womens singles?
CREATE TABLE "polish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "year_location" FROM "polish_open" WHERE "womens_singles"='Fan Ying';
1-28138035-26
Who won the mens singles when lau sui fei won the womens singles?
CREATE TABLE "polish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_singles" FROM "polish_open" WHERE "womens_singles"='Lau Sui Fei';
1-28138035-26
Who won the mens doubles when wang hao won the mens singles?
CREATE TABLE "polish_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_doubles" FROM "polish_open" WHERE "mens_singles"='Wang Hao';
1-28138035-26
Who won in the men singles group in the year when Yoshie Takada won in the women singles?
CREATE TABLE "english_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_singles" FROM "english_open" WHERE "womens_singles"='Yoshie Takada';
1-28138035-13
When and where did Chen Qi win in men singles?
CREATE TABLE "english_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "year_location" FROM "english_open" WHERE "mens_singles"='Chen Qi';
1-28138035-13
Who is listed under mens singles when womens has wang nan zhang yining?
CREATE TABLE "table1_28138035_27" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_singles" FROM "table1_28138035_27" WHERE "womens_doubles"='Wang Nan Zhang Yining';
1-28138035-27
How many womens singles entries are there when womens doubles is li xiaodan wen jia?
CREATE TABLE "table1_28138035_27" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("womens_singles") FROM "table1_28138035_27" WHERE "womens_doubles"='Li Xiaodan Wen Jia';
1-28138035-27
Who is listed under womens singles when year location is 1998 doha?
CREATE TABLE "table1_28138035_27" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "womens_singles" FROM "table1_28138035_27" WHERE "year_location"='1998 Doha';
1-28138035-27
Who is listed under mens singles when the year location is 2009 doha?
CREATE TABLE "table1_28138035_27" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_singles" FROM "table1_28138035_27" WHERE "year_location"='2009 Doha';
1-28138035-27
How many year locations are there for the womens doubles in jing junhong li jiawei?
CREATE TABLE "japan_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("year_location") FROM "japan_open" WHERE "womens_doubles"='Jing Junhong Li Jiawei';
1-28138035-20
How many players are there for mens singles when chen qi ma lin played mens doubles?
CREATE TABLE "japan_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("mens_singles") FROM "japan_open" WHERE "mens_doubles"='Chen Qi Ma Lin';
1-28138035-20
Who played mens doubles for the 1999 kobe tour?
CREATE TABLE "japan_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_doubles" FROM "japan_open" WHERE "year_location"='1999 Kobe';
1-28138035-20
Where was the tour when jing junhong li jiawei played womens doubles?
CREATE TABLE "japan_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "year_location" FROM "japan_open" WHERE "womens_doubles"='Jing Junhong Li Jiawei';
1-28138035-20
How many years did lin gaoyuan wu jiaji play mens doubles?
CREATE TABLE "japan_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("year_location") FROM "japan_open" WHERE "mens_doubles"='Lin Gaoyuan Wu Jiaji';
1-28138035-20
How many people are shown for mens doubles when guo yue played womens singles?
CREATE TABLE "japan_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("mens_doubles") FROM "japan_open" WHERE "womens_singles"='Guo Yue';
1-28138035-20
Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles?
CREATE TABLE "us_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "womens_singles" FROM "us_open" WHERE "mens_singles"='Jean-Michel Saive';
1-28138035-35
In what year and location did Liu Guozheng win the Mens Singles?
CREATE TABLE "us_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "year_location" FROM "us_open" WHERE "mens_singles"='Liu Guozheng';
1-28138035-35
In what year and location did Wang Liqin win the Mens Singles?
CREATE TABLE "us_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "year_location" FROM "us_open" WHERE "mens_singles"='Wang Liqin';
1-28138035-35
Who won the mens doubles at the 2006 guangzhou event?
CREATE TABLE "china_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_doubles" FROM "china_open" WHERE "year_location"='2006 Guangzhou';
1-28138035-6
How many times was the womens doubles in china?
CREATE TABLE "china_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("mens_singles") FROM "china_open" WHERE "womens_doubles"='China';
1-28138035-6
How many times did li ju win the womens singles and wang liqin win the mens singles?
CREATE TABLE "china_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("womens_doubles") FROM "china_open" WHERE "womens_singles"='Li Ju' AND "mens_singles"='Wang Liqin';
1-28138035-6
Name the mens singles for lee eun-sil moon hyun-jung
CREATE TABLE "brazil_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_singles" FROM "brazil_open" WHERE "womens_doubles"='Lee Eun-Sil Moon Hyun-Jung';
1-28138035-4
Name the number of womens doubles for 2011 rio de janeiro
CREATE TABLE "brazil_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("womens_doubles") FROM "brazil_open" WHERE "year_location"='2011 Rio de Janeiro';
1-28138035-4
Name the year location for haruna fukuoka
CREATE TABLE "brazil_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "year_location" FROM "brazil_open" WHERE "womens_singles"='Haruna Fukuoka';
1-28138035-4
Name the mens doubles for dimitrij ovtcharov
CREATE TABLE "brazil_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "mens_doubles" FROM "brazil_open" WHERE "mens_singles"='Dimitrij Ovtcharov';
1-28138035-4
Name the number of womens singles for 1999 rio de janeiro
CREATE TABLE "brazil_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT COUNT("womens_singles") FROM "brazil_open" WHERE "year_location"='1999 Rio de Janeiro';
1-28138035-4
Name the womens doubles for werner schlager
CREATE TABLE "brazil_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "womens_doubles" FROM "brazil_open" WHERE "mens_singles"='Werner Schlager';
1-28138035-4
Who was the womens double winner when the womens singles winner was Ding Ning?
CREATE TABLE "slovenian_open" ( "year_location" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text );
SELECT "womens_doubles" FROM "slovenian_open" WHERE "womens_singles"='Ding Ning';
1-28138035-32
Who wrote episode number 19 in the series?
CREATE TABLE "table1_28140578_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "written_by" FROM "table1_28140578_1" WHERE "no_in_series"=19;
1-28140578-1
How many marks are there when tackles are 3?
CREATE TABLE "season_statistics" ( "year" real, "team" text, "number" real, "games" real, "kicks" real, "handballs" real, "total_disposals" real, "marks" real, "tackles" real, "goals" real, "behinds" real, "goal_accuracy_pct" text, "brownlow_medal_votes" real );
SELECT "marks" FROM "season_statistics" WHERE "tackles"=3;
1-2814720-1
What was the goal accuracy % when the total disposals are 481?
CREATE TABLE "season_statistics" ( "year" real, "team" text, "number" real, "games" real, "kicks" real, "handballs" real, "total_disposals" real, "marks" real, "tackles" real, "goals" real, "behinds" real, "goal_accuracy_pct" text, "brownlow_medal_votes" real );
SELECT "goal_accuracy_pct" FROM "season_statistics" WHERE "total_disposals"=481;
1-2814720-1
Who directed "it's a wonderful lie"?
CREATE TABLE "table1_28140590_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "directed_by" FROM "table1_28140590_1" WHERE "title"='\"It''s a Wonderful Lie\"';
1-28140590-1
What date did the episode with a production code of 60072 originally air?
CREATE TABLE "table1_28140590_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_28140590_1" WHERE "production_code"=60072;
1-28140590-1
How many different people directed the episode titled "Fail Fish"?
CREATE TABLE "table1_28146944_2" ( "no_in_series" real, "title" text, "directed_by" text, "story_storyboards_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT COUNT("directed_by") FROM "table1_28146944_2" WHERE "title"='\"Fail Fish\"';
1-28146944-2
How many millions of people in the US watched the episode titled "Peopleing"?
CREATE TABLE "table1_28146944_2" ( "no_in_series" real, "title" text, "directed_by" text, "story_storyboards_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_28146944_2" WHERE "title"='\"Peopleing\"';
1-28146944-2