text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29087004_3" ( "series_num" real, "production_code" real, "title" text, "directed_by" text, "written_by" text, "united_states_original_airdate" text, "canada_original_airdate" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29087004_3" ( "series_num" real, "production_code" real, "title" text, "directed_by" text, "written_by" text, "united_states_original_airdate" text, "canada_original_airdate" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: How many home teams are there when the away team score w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: Which team was the away team when home team was essendon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: How many scores were there for the home team when the a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: Which team was the away team when the home team was nort...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: What is the date of the game when the home team is melbo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: What is the date when the home team score is 2.4 (16)? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text ); Question: Name the singer for 1.45m <|assistant|> SELECT "singer_s" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text ); Question: Name the singer for joe wilkinson <|assistant|> SELECT "singer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text ); Question: Name the singer for bruce forsyth <|assistant|> SELECT "singer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text ); Question: Name the number of ratings for bruce forsyth <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_2" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "comedian" text, "ratings" text ); Question: Name the guest for 1.64m ratings <|assistant|> SELECT "guest_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "rd" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text ); Question: What was the constructor in the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grands_prix" ( "rd" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text ); Question: Who had the fastest lap in round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: When was the home team Essendon? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: When Richmond played as the away team, what was the grou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text ); Question: When did Fitzroy play as the home team? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_1" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest" text, "scores" text ); Question: what was the result on 01x06 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_1" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest" text, "scores" text ); Question: what was the size when tom daley appeared...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_3" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest" text, "jamie_and_johns_guest_dermot_o_leary_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_4" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2" text, "jamie_and_johns...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_4" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2" text, "jamie_and_johns...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_4" ( "episode" text, "first_broadcast" text, "andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4_episode_2" text, "jamie_and_johns...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text ); Question: who guest starred on the episode with a 1.44m rating <|assistant|> SELECT "guest_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text ); Question: when was the episode on which barbara windsor and heston blumenthal guest starred...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text ); Question: how many broadcaste dates features the overtones <|assistant|> SELECT COUNT("broa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text ); Question: how many guest stars did the episode that was broadcasted 11september2012 have <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text ); Question: when was the episode guest starring michael mcintyre and alex james broadcasted <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode" real, "broadcast_date" text, "guest_s" text, "singer_s" text, "ratings" text ); Question: which episode did sarah millican and grayson perry appear in <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_5" ( "episode" text, "first_broadcast" text, "andrew_and_jacks_guest" text, "jamies_guests_peter_crouch_replaced_jamie_redknapp_as_team_captain_for_one_week_in_series_5_episode_2" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29152820_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_millions"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29152820_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_millions"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_7" ( "episode" text, "first_broadcast" text, "andrew_and_jacks_guest" text, "jamies_guests" text, "scores" text ); Question: What was the score for the episode with Matt Smith a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29141354_7" ( "episode" text, "first_broadcast" text, "andrew_and_jacks_guest" text, "jamies_guests" text, "scores" text ); Question: When was the episode with Amy Williams as Andrew and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29154676_1" ( "season_no" real, "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29146083_3" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_43_26_17" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text ); Question: How many championships were there where the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_43_26_17" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text ); Question: On what surface was it the year when the sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_43_26_17" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponent" text, "score" text ); Question: How many times has the score been 6–4, 3–6, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaching_changes" ( "club" text, "outgoing_head_coach" text, "date_of_vacancy" text, "manner_of_departure" text, "incoming_head_coach" text, "date_of_appointment" text ); Question: Who are th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "coaching_changes" ( "club" text, "outgoing_head_coach" text, "date_of_vacancy" text, "manner_of_departure" text, "incoming_head_coach" text, "date_of_appointment" text ); Question: Who was th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29162856_1" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text ); Question: Who had the fastest lap in r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29162856_1" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text ); Question: Who had the pole position wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29162856_1" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_rider" text, "winning_team" text ); Question: Who had the pole position(s)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_doubles_9_7_2" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the earliest year in which the r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_doubles_9_7_2" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Who was Bob Bryan's partner in the Champ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_doubles_9_7_2" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What are the results of those matches wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: on how many days did the episode writ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: who directed "grampires"(part 1) <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: how many episodes originally aired ja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29196086_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: which episode of the season aired on ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rating_figures" ( "episode" real, "date" text, "official_rating_4" text, "share_4" text, "official_rating_16_39" text, "share_16_39" text ); Question: When did the official rating 4+ reach 4 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Li...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text ); Question: What is the fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text ); Question: What is the fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text ); Question: How many figur...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text ); Question: What is the fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reaction" ( "movies" text, "december_25" text, "december_26" text, "december_27" text, "december_28" text, "december_25_28_total" text, "total_2_week_gross" text ); Question: What film earm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "practice_times_and_leaderboard_600cc" ( "rank" real, "rider" text, "mon_30_may" text, "tues_31_may" text, "wed_1_june" text, "thurs_2_june" text, "fri_3_june" text ); Question: What was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "practice_times_and_leaderboard_600cc" ( "rank" real, "rider" text, "mon_30_may" text, "tues_31_may" text, "wed_1_june" text, "thurs_2_june" text, "fri_3_june" text ); Question: What's the W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29219286_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29219286_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Who wr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29219286_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29225103_2" ( "rnd" text, "circuit" text, "ap_winning_team" text, "bp_winning_team" text, "cm_winning_team" text, "cp_winning_team" text, "dm_winning_team" text, "dp_winning_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text ); Question: what was the n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text ); Question: what is the sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text ); Question: what is the na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norwegian_clubs_performance_in_europe" ( "team" text, "contest_and_round" text, "opponent" text, "1st_leg_score" text, "2nd_leg_score" text, "aggregate_score" text ); Question: what is the ag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text ); Question: How many dollars is listed under S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text ); Question: How many distance places have bris...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text ); Question: How many listings under Melbourne ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text ); Question: What is the distance when brisbane...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "public_transport_pricing" ( "distance" text, "adelaide" text, "brisbane" text, "canberra" text, "melbourne" text, "perth" text, "sydney" text ); Question: What is the distance when brisbane...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29261215_4" ( "artist" text, "jaanu_n_gisto" real, "iiris_vesik" real, "erik_morna" real, "veronika_portsmuth" real, "chalice" real, "kristo_rajasaare" real, "hannaliisa_uusmaa" rea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29261215_4" ( "artist" text, "jaanu_n_gisto" real, "iiris_vesik" real, "erik_morna" real, "veronika_portsmuth" real, "chalice" real, "kristo_rajasaare" real, "hannaliisa_uusmaa" rea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: Who is the manager for the fc inter club? <|assistant|> SELECT "ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: Which club is at the location of kuopio? <|assistant|> SELECT "clu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_summaries" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text, "captain" text ); Question: How many stadiums have haka as the club? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29264319_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "venue" text, "battle_mix" text, "setlist" text ); Question: Who is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29264319_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "venue" text, "battle_mix" text, "setlist" text ); Question: Who is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29264319_1" ( "song_1_title" text, "artist_1" text, "song_2_title" text, "artist_2" text, "mix_artist" text, "venue" text, "battle_mix" text, "setlist" text ); Question: Who is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: On how many...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Who are the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Who are the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_29273115_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: How many di...