question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the maximum number of clubs remaining when the league entering at this round was allsvenskan?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" real, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT MIN("clubs_remaining") FROM "teams" WHERE "leagues_entering_at_this_round"='Allsvenskan';
1-29566686-1
How many different values of clubs involved were there when the league entering at this round was allsvenskan?
CREATE TABLE "teams" ( "round" text, "clubs_remaining" real, "clubs_involved" real, "winners_from_previous_round" real, "new_entries_this_round" text, "leagues_entering_at_this_round" text );
SELECT COUNT("clubs_involved") FROM "teams" WHERE "leagues_entering_at_this_round"='Allsvenskan';
1-29566686-1
Which programs were originally broadcast on CITV?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel_s" text, "date_of_return" text, "new_channel_s" text );
SELECT "programme" FROM "returning_this_year_after_a_break_of_one" WHERE "original_channel_s"='CITV';
1-29566606-11
What is the date of return for the program for the program "Big Brother"?
CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel_s" text, "date_of_return" text, "new_channel_s" text );
SELECT "date_of_return" FROM "returning_this_year_after_a_break_of_one" WHERE "programme"='Big Brother';
1-29566606-11
How many episodes are directed by Jamie Payne?
CREATE TABLE "table1_29574579_1" ( "episode" real, "title" text, "directed_by" text, "written_by" text, "uk_viewers_million" text, "share_pct" text, "original_air_date" text );
SELECT COUNT("episode") FROM "table1_29574579_1" WHERE "directed_by"='Jamie Payne';
1-29574579-1
How many millions of viewers are listed when the share is 10.8?
CREATE TABLE "table1_29574579_1" ( "episode" real, "title" text, "directed_by" text, "written_by" text, "uk_viewers_million" text, "share_pct" text, "original_air_date" text );
SELECT "uk_viewers_million" FROM "table1_29574579_1" WHERE "share_pct"='10.8';
1-29574579-1
Who is the director when there are 2.70 million viewers?
CREATE TABLE "table1_29574579_1" ( "episode" real, "title" text, "directed_by" text, "written_by" text, "uk_viewers_million" text, "share_pct" text, "original_air_date" text );
SELECT "directed_by" FROM "table1_29574579_1" WHERE "uk_viewers_million"='2.70';
1-29574579-1
How many episodes have the title "episode 2"?
CREATE TABLE "table1_29574579_1" ( "episode" real, "title" text, "directed_by" text, "written_by" text, "uk_viewers_million" text, "share_pct" text, "original_air_date" text );
SELECT MIN("episode") FROM "table1_29574579_1" WHERE "title"='\"Episode 2\"';
1-29574579-1
How many episodes hve 4.50 million viewers?
CREATE TABLE "table1_29574579_1" ( "episode" real, "title" text, "directed_by" text, "written_by" text, "uk_viewers_million" text, "share_pct" text, "original_air_date" text );
SELECT "episode" FROM "table1_29574579_1" WHERE "uk_viewers_million"='4.50';
1-29574579-1
Who is the director when the share is 11.8?
CREATE TABLE "table1_29574579_1" ( "episode" real, "title" text, "directed_by" text, "written_by" text, "uk_viewers_million" text, "share_pct" text, "original_air_date" text );
SELECT "directed_by" FROM "table1_29574579_1" WHERE "share_pct"='11.8';
1-29574579-1
Who wrote the episode with production code 57376?
CREATE TABLE "table1_29583441_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_29583441_1" WHERE "production_code"=57376;
1-29583441-1
What is the smallest numbered production code listed?
CREATE TABLE "table1_29583441_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT MIN("production_code") FROM "table1_29583441_1";
1-29583441-1
What date did the episode that was directed by Christian i. nyby ii originally air on?
CREATE TABLE "table1_29583441_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "table1_29583441_1" WHERE "directed_by"='Christian I. Nyby II';
1-29583441-1
What is the original air date of the episode that was number 31 in the series?
CREATE TABLE "table1_29584044_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_29584044_1" WHERE "no_in_series"=31;
1-29584044-1
What is the original air date of the episode that was directed by Bruce Seth Green?
CREATE TABLE "table1_29584044_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_29584044_1" WHERE "directed_by"='Bruce Seth Green';
1-29584044-1
Who wrote the episode titled "Goliath (Part 2)"?
CREATE TABLE "table1_29584044_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 "written_by" FROM "table1_29584044_1" WHERE "title"='\"Goliath (Part 2)\"';
1-29584044-1
What number episode in the season was titled "K.I.T.T. the Cat"?
CREATE TABLE "table1_29584044_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 MAX("no_in_season") FROM "table1_29584044_1" WHERE "title"='\"K.I.T.T. the Cat\"';
1-29584044-1
How many times is the couple kerry & daniel?
CREATE TABLE "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "total_points" text, "number_of_dances" real, "average" text );
SELECT COUNT("place") FROM "average_score_chart" WHERE "couple"='Kerry & Daniel';
1-29583818-3
how many times is the total points 128.0?
CREATE TABLE "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "total_points" text, "number_of_dances" real, "average" text );
SELECT COUNT("couple") FROM "average_score_chart" WHERE "total_points"='128.0';
1-29583818-3
How many times is the couple laura and colin?
CREATE TABLE "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "total_points" text, "number_of_dances" real, "average" text );
SELECT COUNT("place") FROM "average_score_chart" WHERE "couple"='Laura and Colin';
1-29583818-3
what is the average when the place is 16?
CREATE TABLE "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "total_points" text, "number_of_dances" real, "average" text );
SELECT "average" FROM "average_score_chart" WHERE "place"=16;
1-29583818-3
How many times is the rank by average 4?
CREATE TABLE "average_score_chart" ( "rank_by_average" real, "place" real, "couple" text, "total_points" text, "number_of_dances" real, "average" text );
SELECT COUNT("place") FROM "average_score_chart" WHERE "rank_by_average"=4;
1-29583818-3
How many different season numbers does the episode "The Nineteenth Hole" have?
CREATE TABLE "table1_29584601_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 COUNT("no_in_season") FROM "table1_29584601_1" WHERE "title"='\"The Nineteenth Hole\"';
1-29584601-1
How many different pairs of writers wrote the episode with series number 56?
CREATE TABLE "table1_29584601_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 COUNT("written_by") FROM "table1_29584601_1" WHERE "no_in_series"=56;
1-29584601-1
what is the school for chris mcnamara?
CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "height" text, "weight" real, "year" text, "hometown" text, "last_school_college" text );
SELECT "last_school_college" FROM "roster" WHERE "name"='Chris McNamara';
1-29598261-1
how many hometowns for faisal aden?
CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "height" text, "weight" real, "year" text, "hometown" text, "last_school_college" text );
SELECT COUNT("hometown") FROM "roster" WHERE "name"='Faisal Aden';
1-29598261-1
what year is chris mcnamara?
CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "height" text, "weight" real, "year" text, "hometown" text, "last_school_college" text );
SELECT "year" FROM "roster" WHERE "name"='Chris McNamara';
1-29598261-1
what is the height of columbia river hs?
CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "height" text, "weight" real, "year" text, "hometown" text, "last_school_college" text );
SELECT "height" FROM "roster" WHERE "last_school_college"='Columbia River HS';
1-29598261-1
what is the hometown for mike ladd?
CREATE TABLE "roster" ( "name" text, "number" real, "position" text, "height" text, "weight" real, "year" text, "hometown" text, "last_school_college" text );
SELECT "hometown" FROM "roster" WHERE "name"='Mike Ladd';
1-29598261-1
How many seasons did Apocalypstix place 2nd?
CREATE TABLE "home_teams" ( "season" real, "apocalypstix" text, "denim_demons" text, "sake_tuyas" text, "toxic_shocks" text );
SELECT COUNT("season") FROM "home_teams" WHERE "apocalypstix"='2nd';
1-29619494-2
What season did the Sake Tuyas come in 1st place?
CREATE TABLE "home_teams" ( "season" real, "apocalypstix" text, "denim_demons" text, "sake_tuyas" text, "toxic_shocks" text );
SELECT "season" FROM "home_teams" WHERE "sake_tuyas"='1st';
1-29619494-2
What is the most recent season where the Denim Demons placed 3rd?
CREATE TABLE "home_teams" ( "season" real, "apocalypstix" text, "denim_demons" text, "sake_tuyas" text, "toxic_shocks" text );
SELECT MAX("season") FROM "home_teams" WHERE "denim_demons"='3rd';
1-29619494-2
What place did the Sake Tuyas come in when the Denim Demons were 4th?
CREATE TABLE "home_teams" ( "season" real, "apocalypstix" text, "denim_demons" text, "sake_tuyas" text, "toxic_shocks" text );
SELECT "sake_tuyas" FROM "home_teams" WHERE "denim_demons"='4th';
1-29619494-2
List all the places that the Apocalypstix occupied when the Denim Demons were 2nd.
CREATE TABLE "home_teams" ( "season" real, "apocalypstix" text, "denim_demons" text, "sake_tuyas" text, "toxic_shocks" text );
SELECT "apocalypstix" FROM "home_teams" WHERE "denim_demons"='2nd';
1-29619494-2
Which team has a midfielder of konrad warzycha?
CREATE TABLE "table1_29626583_3" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "mls_team" FROM "table1_29626583_3" WHERE "position"='Midfielder' AND "player"='Konrad Warzycha';
1-29626583-3
What is the pick number for the team toronto fc and affiliation is ldu quito?
CREATE TABLE "table1_29626583_3" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT MAX("pick_num") FROM "table1_29626583_3" WHERE "mls_team"='Toronto FC' AND "affiliation"='LDU Quito';
1-29626583-3
Which MLS team picked player Jason Herrick?
CREATE TABLE "table1_29626583_3" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "mls_team" FROM "table1_29626583_3" WHERE "player"='Jason Herrick';
1-29626583-3
What position did the team new york red bulls pick?
CREATE TABLE "table1_29626583_3" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "position" FROM "table1_29626583_3" WHERE "mls_team"='New York Red Bulls';
1-29626583-3
What was the position when the affiliation is ldu quito?
CREATE TABLE "table1_29626583_3" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT "position" FROM "table1_29626583_3" WHERE "affiliation"='LDU Quito';
1-29626583-3
how many peaks where for the chinese episode named 萬凰之王
CREATE TABLE "highest_rating_serial_dramas_of_2011" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT COUNT("peak") FROM "highest_rating_serial_dramas_of_2011" WHERE "chinese_title"='萬凰之王';
1-29633639-1
what is the number of the average of the drama titled 魚躍在花見
CREATE TABLE "highest_rating_serial_dramas_of_2011" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT MAX("average") FROM "highest_rating_serial_dramas_of_2011" WHERE "chinese_title"='魚躍在花見';
1-29633639-1
how many milion of viewers where in the episode called in english "is a great way to care"
CREATE TABLE "highest_rating_serial_dramas_of_2011" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT "hk_viewers" FROM "highest_rating_serial_dramas_of_2011" WHERE "english_title"='A Great Way to Care';
1-29633639-1
what is the number of the premiere for the 34 peak
CREATE TABLE "highest_rating_serial_dramas_of_2011" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );
SELECT "premiere" FROM "highest_rating_serial_dramas_of_2011" WHERE "peak"=34;
1-29633639-1
In what week was the first game played?
CREATE TABLE "table1_29679510_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );
SELECT MIN("week") FROM "table1_29679510_2";
1-29679510-2
How many object dates have origin in Samoa?
CREATE TABLE "table1_29635868_1" ( "episode_number" real, "title_link_to_episode_on_you_tube" text, "origin" text, "object_date" text, "description" text, "te_papas_collections_online_link" text, "host_additional_contributors" text );
SELECT COUNT("object_date") FROM "table1_29635868_1" WHERE "origin"='Samoa';
1-29635868-1
How many origins have titles of Samoan cricket bats?
CREATE TABLE "table1_29635868_1" ( "episode_number" real, "title_link_to_episode_on_you_tube" text, "origin" text, "object_date" text, "description" text, "te_papas_collections_online_link" text, "host_additional_contributors" text );
SELECT COUNT("origin") FROM "table1_29635868_1" WHERE "title_link_to_episode_on_you_tube"='Samoan Cricket Bats';
1-29635868-1
How many object dates does episode #16 have?
CREATE TABLE "table1_29635868_1" ( "episode_number" real, "title_link_to_episode_on_you_tube" text, "origin" text, "object_date" text, "description" text, "te_papas_collections_online_link" text, "host_additional_contributors" text );
SELECT COUNT("object_date") FROM "table1_29635868_1" WHERE "episode_number"=16;
1-29635868-1
Which films participated in the 61st Berlin international film festival?
CREATE TABLE "film_festivals" ( "film_festival" text, "date_of_ceremony" text, "category" text, "participants_recipients" text, "result" text );
SELECT "participants_recipients" FROM "film_festivals" WHERE "film_festival"='61st Berlin International Film Festival';
1-29644931-1
What was the result when competing in the Opening NIght Film category?
CREATE TABLE "film_festivals" ( "film_festival" text, "date_of_ceremony" text, "category" text, "participants_recipients" text, "result" text );
SELECT "result" FROM "film_festivals" WHERE "category"='Opening Night Film';
1-29644931-1
Which films participated in the 30th Hawaii International Film Festival?
CREATE TABLE "film_festivals" ( "film_festival" text, "date_of_ceremony" text, "category" text, "participants_recipients" text, "result" text );
SELECT "participants_recipients" FROM "film_festivals" WHERE "film_festival"='30th Hawaii International Film Festival';
1-29644931-1
Which films participated when the category was Best Newcomer?
CREATE TABLE "film_festivals" ( "film_festival" text, "date_of_ceremony" text, "category" text, "participants_recipients" text, "result" text );
SELECT "participants_recipients" FROM "film_festivals" WHERE "category"='Best Newcomer';
1-29644931-1
in which year the season was in 5th position
CREATE TABLE "season_to_season" ( "season" text, "level" text, "division" text, "section" text, "position" text, "movements" text );
SELECT "season" FROM "season_to_season" WHERE "position"='5th';
1-29697744-1
what is the name of the movement in the 7th position
CREATE TABLE "season_to_season" ( "season" text, "level" text, "division" text, "section" text, "position" text, "movements" text );
SELECT "movements" FROM "season_to_season" WHERE "position"='7th';
1-29697744-1
what is the name of the level for the 7th position
CREATE TABLE "season_to_season" ( "season" text, "level" text, "division" text, "section" text, "position" text, "movements" text );
SELECT "level" FROM "season_to_season" WHERE "position"='7th';
1-29697744-1
how many sections are for the season of 2008
CREATE TABLE "season_to_season" ( "season" text, "level" text, "division" text, "section" text, "position" text, "movements" text );
SELECT COUNT("section") FROM "season_to_season" WHERE "season"='2008';
1-29697744-1
in what year the position was the 9th
CREATE TABLE "season_to_season" ( "season" text, "level" text, "division" text, "section" text, "position" text, "movements" text );
SELECT "season" FROM "season_to_season" WHERE "position"='9th';
1-29697744-1
Who was eliminated a person at 18:48?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT "eliminated_by" FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='18:48';
1-29692554-2
How many entries are shown for entered at 21:09?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT COUNT("entered") FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='21:09';
1-29692554-2
Who was eliminated by being pinned after a spear at 22:50?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT "wrestler" FROM "elimination_chamber_entrances_and_elimin" WHERE "method_of_elimination"='Pinned after a spear' AND "time"='22:50';
1-29692554-2
What number was the person eliminated at 22:50?
CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" real, "eliminated_by" text, "method_of_elimination" text, "time" text );
SELECT "eliminated" FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='22:50';
1-29692554-2
what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa?
CREATE TABLE "season_calendar" ( "round" real, "country" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text, "report" text );
SELECT "circuit" FROM "season_calendar" WHERE "fastest_lap"='Sam Lowes' AND "winning_rider"='Luca Scassa';
1-29686983-1
what is the round wher the fabien foret had the fastest lap and david salom was the pole position?
CREATE TABLE "season_calendar" ( "round" real, "country" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text, "report" text );
SELECT "round" FROM "season_calendar" WHERE "fastest_lap"='Fabien Foret' AND "pole_position"='David Salom';
1-29686983-1
who had the fastest lap for round 1?
CREATE TABLE "season_calendar" ( "round" real, "country" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text, "report" text );
SELECT "fastest_lap" FROM "season_calendar" WHERE "round"=1;
1-29686983-1
what is the pole position for france?
CREATE TABLE "season_calendar" ( "round" real, "country" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text, "report" text );
SELECT "pole_position" FROM "season_calendar" WHERE "country"='France';
1-29686983-1
what is the maximum round and fabien foret had the pole position?
CREATE TABLE "season_calendar" ( "round" real, "country" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text, "report" text );
SELECT MAX("round") FROM "season_calendar" WHERE "pole_position"='Fabien Foret';
1-29686983-1
How many values of attendance occur when ave. on previous season is +645?
CREATE TABLE "average_crowd_sizes" ( "season" text, "ave_attendance" real, "ave_on_prev_season" text, "competition" text, "occupier" text );
SELECT COUNT("ave_attendance") FROM "average_crowd_sizes" WHERE "ave_on_prev_season"='+645';
1-2970978-1
What is the lowest value of average attendance when average on previous season is -459?
CREATE TABLE "average_crowd_sizes" ( "season" text, "ave_attendance" real, "ave_on_prev_season" text, "competition" text, "occupier" text );
SELECT MIN("ave_attendance") FROM "average_crowd_sizes" WHERE "ave_on_prev_season"='-459';
1-2970978-1
What is the least value for average attendance when average on previous season is +644?
CREATE TABLE "average_crowd_sizes" ( "season" text, "ave_attendance" real, "ave_on_prev_season" text, "competition" text, "occupier" text );
SELECT MIN("ave_attendance") FROM "average_crowd_sizes" WHERE "ave_on_prev_season"='+644';
1-2970978-1
What is every value for average on previous season if the competition is league two?
CREATE TABLE "average_crowd_sizes" ( "season" text, "ave_attendance" real, "ave_on_prev_season" text, "competition" text, "occupier" text );
SELECT "ave_on_prev_season" FROM "average_crowd_sizes" WHERE "competition"='League Two';
1-2970978-1
What is the least w?
CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );
SELECT MIN("w") FROM "standings";
1-29704430-1
What is the most stolen ends?
CREATE TABLE "standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );
SELECT MAX("stolen_ends") FROM "standings";
1-29704430-1
What is the total appearances when the total goals is 289?
CREATE TABLE "overall_scorers" ( "name" text, "nationality" text, "malm_ff_career" text, "league_appearances" real, "league_goals" real, "total_appearances" real, "total_goals" real );
SELECT MIN("total_appearances") FROM "overall_scorers" WHERE "total_goals"=289;
1-29701419-2
What is the league goals when the total goals is 179?
CREATE TABLE "overall_scorers" ( "name" text, "nationality" text, "malm_ff_career" text, "league_appearances" real, "league_goals" real, "total_appearances" real, "total_goals" real );
SELECT MAX("league_goals") FROM "overall_scorers" WHERE "total_goals"=179;
1-29701419-2
How many total appearances are there when the league appearances is 192?
CREATE TABLE "overall_scorers" ( "name" text, "nationality" text, "malm_ff_career" text, "league_appearances" real, "league_goals" real, "total_appearances" real, "total_goals" real );
SELECT COUNT("total_appearances") FROM "overall_scorers" WHERE "league_appearances"=192;
1-29701419-2
Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska?
CREATE TABLE "youth_competitions" ( "date" text, "competition" text, "location" text, "home_team" text, "result" text, "away_team" text );
SELECT "away_team" FROM "youth_competitions" WHERE "competition"='1st ``Republic of Srpska Football Day``' AND "home_team"='U 14 Republic of Srpska';
1-29728596-2
What were the competitions when the away team was fk kozara gradiska?
CREATE TABLE "youth_competitions" ( "date" text, "competition" text, "location" text, "home_team" text, "result" text, "away_team" text );
SELECT "competition" FROM "youth_competitions" WHERE "away_team"='FK Kozara Gradiska';
1-29728596-2
What are the names of players from the dr congo?
CREATE TABLE "outfield_players" ( "name" text, "position" text, "country" text, "years" text, "games" real, "minutes" real, "goals" real, "assists" real, "int_caps" real, "int_goals" real );
SELECT "name" FROM "outfield_players" WHERE "country"='DR Congo';
1-29743928-3
How many is the high assist total for players from panama?
CREATE TABLE "outfield_players" ( "name" text, "position" text, "country" text, "years" text, "games" real, "minutes" real, "goals" real, "assists" real, "int_caps" real, "int_goals" real );
SELECT MAX("assists") FROM "outfield_players" WHERE "country"='Panama';
1-29743928-3
What was the result of the home match against FK Rudar Ugljevik?
CREATE TABLE "results_in_the_past" ( "date" real, "competition" text, "location" text, "home_team" text, "result" text, "away_team" text );
SELECT "result" FROM "results_in_the_past" WHERE "away_team"='FK Rudar Ugljevik';
1-29728596-1
Where was the home match against FK Rudar Ugljevik played?
CREATE TABLE "results_in_the_past" ( "date" real, "competition" text, "location" text, "home_team" text, "result" text, "away_team" text );
SELECT "location" FROM "results_in_the_past" WHERE "away_team"='FK Rudar Ugljevik';
1-29728596-1
When 1971 is the year what is the la roche?
CREATE TABLE "table1_29728787_1" ( "year" text, "conductor" text, "opera_house_or_orchestra" text, "label" text, "countess" text, "count" text, "flamand" text, "olivier" text, "la_roche" text, "clairon" text );
SELECT "la_roche" FROM "table1_29728787_1" WHERE "year"='1971';
1-29728787-1
When deutsche grammophon is the label how many clairons are there?
CREATE TABLE "table1_29728787_1" ( "year" text, "conductor" text, "opera_house_or_orchestra" text, "label" text, "countess" text, "count" text, "flamand" text, "olivier" text, "la_roche" text, "clairon" text );
SELECT COUNT("clairon") FROM "table1_29728787_1" WHERE "label"='Deutsche Grammophon';
1-29728787-1
When hermann uhde is the count who is the conductor?
CREATE TABLE "table1_29728787_1" ( "year" text, "conductor" text, "opera_house_or_orchestra" text, "label" text, "countess" text, "count" text, "flamand" text, "olivier" text, "la_roche" text, "clairon" text );
SELECT "conductor" FROM "table1_29728787_1" WHERE "count"='Hermann Uhde';
1-29728787-1
When dietrich fischer-dieskau is the olivier who is the conductor?
CREATE TABLE "table1_29728787_1" ( "year" text, "conductor" text, "opera_house_or_orchestra" text, "label" text, "countess" text, "count" text, "flamand" text, "olivier" text, "la_roche" text, "clairon" text );
SELECT "conductor" FROM "table1_29728787_1" WHERE "olivier"='Dietrich Fischer-Dieskau';
1-29728787-1
When karl ridderbusch is the la roche who is the olivier?
CREATE TABLE "table1_29728787_1" ( "year" text, "conductor" text, "opera_house_or_orchestra" text, "label" text, "countess" text, "count" text, "flamand" text, "olivier" text, "la_roche" text, "clairon" text );
SELECT "olivier" FROM "table1_29728787_1" WHERE "la_roche"='Karl Ridderbusch';
1-29728787-1
What are the works numbers where the year is 1929 and the driver diameter is 60"/1520mm?
CREATE TABLE "class_16_da_4_6_2_builders_works_numbers" ( "sar_no" real, "builder" text, "year" real, "works_no" real, "firebox" text, "driver_diameter" text );
SELECT "works_no" FROM "class_16_da_4_6_2_builders_works_numbers" WHERE "year"=1929 AND "driver_diameter"='60\"/1520mm';
1-29753553-1
For what year is the SAR no. 874?
CREATE TABLE "class_16_da_4_6_2_builders_works_numbers" ( "sar_no" real, "builder" text, "year" real, "works_no" real, "firebox" text, "driver_diameter" text );
SELECT "year" FROM "class_16_da_4_6_2_builders_works_numbers" WHERE "sar_no"=874;
1-29753553-1
Who is the writer when the director is bob berlinger?
CREATE TABLE "table1_29747178_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_29747178_2" WHERE "directed_by"='Bob Berlinger';
1-29747178-2
How many millions of U.S viewers are there when the director is andy wolk?
CREATE TABLE "table1_29747178_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "u_s_viewers_million" FROM "table1_29747178_2" WHERE "directed_by"='Andy Wolk';
1-29747178-2
What is the series # when the director is john showalter?
CREATE TABLE "table1_29747178_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "series_num" FROM "table1_29747178_2" WHERE "directed_by"='John Showalter';
1-29747178-2
Who is the director when the title is "believers"?
CREATE TABLE "table1_29747178_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_29747178_2" WHERE "title"='\"Believers\"';
1-29747178-2
What is the title when the series # is 7?
CREATE TABLE "table1_29747178_2" ( "series_num" 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_29747178_2" WHERE "series_num"=7;
1-29747178-2
Which episode had a share 16-19 of 23,22%?
CREATE TABLE "rating_figures" ( "episode" real, "date" text, "official_rating_4" text, "share_4" text, "official_rating_16_39" text, "share_16_39" text );
SELECT MAX("episode") FROM "rating_figures" WHERE "share_16_39"='23,22%';
1-29773532-21
What was the official rating 16-39 of episode 9?
CREATE TABLE "rating_figures" ( "episode" real, "date" text, "official_rating_4" text, "share_4" text, "official_rating_16_39" text, "share_16_39" text );
SELECT "official_rating_16_39" FROM "rating_figures" WHERE "episode"=9;
1-29773532-21
What is the intro date for the interface that equals pci?
CREATE TABLE "references" ( "manufacturer" text, "model" text, "intro_date" text, "interface" text, "os" text, "price_usd" real, "price" text, "throughput" text );
SELECT "intro_date" FROM "references" WHERE "interface"='PCI';
1-29778616-1
What is the intro date for the throughput of 16 mbit/s?
CREATE TABLE "references" ( "manufacturer" text, "model" text, "intro_date" text, "interface" text, "os" text, "price_usd" real, "price" text, "throughput" text );
SELECT "intro_date" FROM "references" WHERE "throughput"='16 Mbit/s';
1-29778616-1
How many intro dates have the price of 686€?
CREATE TABLE "references" ( "manufacturer" text, "model" text, "intro_date" text, "interface" text, "os" text, "price_usd" real, "price" text, "throughput" text );
SELECT COUNT("intro_date") FROM "references" WHERE "price"='686€';
1-29778616-1
What is the price for the manufacturer LETech?
CREATE TABLE "references" ( "manufacturer" text, "model" text, "intro_date" text, "interface" text, "os" text, "price_usd" real, "price" text, "throughput" text );
SELECT "price" FROM "references" WHERE "manufacturer"='LETech';
1-29778616-1
What is the price (usd) for the model pq32mu?
CREATE TABLE "references" ( "manufacturer" text, "model" text, "intro_date" text, "interface" text, "os" text, "price_usd" real, "price" text, "throughput" text );
SELECT MIN("price_usd") FROM "references" WHERE "model"='PQ32MU';
1-29778616-1
Who is the manufacturer whose intro date is 2006 and their throughput is 4 mbit/s?
CREATE TABLE "references" ( "manufacturer" text, "model" text, "intro_date" text, "interface" text, "os" text, "price_usd" real, "price" text, "throughput" text );
SELECT "manufacturer" FROM "references" WHERE "intro_date"='2006' AND "throughput"='4 Mbit/s';
1-29778616-1