text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27965906_2" ( "rnd" real, "circuit" text, "gt_winning_car" text, "ss_winning_car" text, "a_winning_car" text, "b_winning_car" text, "report" text ); Question: Name the total number o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27965906_2" ( "rnd" real, "circuit" text, "gt_winning_car" text, "ss_winning_car" text, "a_winning_car" text, "b_winning_car" text, "report" text ); Question: Name the total number o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_schools" ( "institution" text, "city" text, "state" text, "team_name" text, "affiliation" text, "enrollment" real, "home_conference" text ); Question: How many institutes have the te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_schools" ( "institution" text, "city" text, "state" text, "team_name" text, "affiliation" text, "enrollment" real, "home_conference" text ); Question: How many states were there when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_schools" ( "institution" text, "city" text, "state" text, "team_name" text, "affiliation" text, "enrollment" real, "home_conference" text ); Question: What kind of institute is in In...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_schools" ( "institution" text, "city" text, "state" text, "team_name" text, "affiliation" text, "enrollment" real, "home_conference" text ); Question: How many people enrolled for th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "member_schools" ( "institution" text, "city" text, "state" text, "team_name" text, "affiliation" text, "enrollment" real, "home_conference" text ); Question: What team is in the city of Roc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" text ); Question: How m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" text ); Question: How m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" text ); Question: Who d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "universities_and_colleges_ranked_by_endo" ( "state_rank" real, "national_rank" real, "institution" text, "location" text, "public_or_private" text, "endowment_funds" text, "percentage_change...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "universities_and_colleges_ranked_by_endo" ( "state_rank" real, "national_rank" real, "institution" text, "location" text, "public_or_private" text, "endowment_funds" text, "percentage_change...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "universities_and_colleges_ranked_by_endo" ( "state_rank" real, "national_rank" real, "institution" text, "location" text, "public_or_private" text, "endowment_funds" text, "percentage_change...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27969432_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production" text, "u_s_viewers_in_millions" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: What was the aggregate s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: Who proceeded to the qua...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: What were the match poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27987623_1" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_million" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27987623_1" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_million" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27987623_1" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_million" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27987623_1" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_million" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27987623_1" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_in_million" text ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text ); Question: How many time...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text ); Question: What is the p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text ); Question: What is the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text ); Question: What is the m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text ); Question: What is the r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27987768_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What number in series was the epis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "winners" text, "match_points" text, "aggregate_score" text, "points_margin" real, "losers" text ); Question: how many total number of points margin when brive is the winne...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "winners" text, "match_points" text, "aggregate_score" text, "points_margin" real, "losers" text ); Question: how many match points did gran parma lost <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "winners" text, "match_points" text, "aggregate_score" text, "points_margin" real, "losers" text ); Question: how many match points rotherham lose <|assistant|> SELECT "mat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: When brive is the procee...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: When london irish was el...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: When brive proceeded to ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "aggregate_results" ( "proceed_to_quarter_final" text, "match_points" text, "aggregate_score" text, "points_margin" real, "eliminated_from_competition" text ); Question: When london irish was el...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988281_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988281_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who wrote t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988281_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988408_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Name the or...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988408_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Name the le...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988408_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Name who di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988408_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Name the to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988559_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: How many da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988559_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988559_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who directe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988559_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who wrote "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988559_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What dat di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988540_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988540_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who wrote "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27988540_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28005160_2" ( "sponsored_name" text, "non_sponsored_name" text, "sponsor" text, "stadium" text, "city" text, "country" text, "sport" text, "sponsorship_ended" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28005160_2" ( "sponsored_name" text, "non_sponsored_name" text, "sponsor" text, "stadium" text, "city" text, "country" text, "sport" text, "sponsorship_ended" real ); Question: How...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28005160_2" ( "sponsored_name" text, "non_sponsored_name" text, "sponsor" text, "stadium" text, "city" text, "country" text, "sport" text, "sponsorship_ended" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28005160_2" ( "sponsored_name" text, "non_sponsored_name" text, "sponsor" text, "stadium" text, "city" text, "country" text, "sport" text, "sponsorship_ended" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28005160_2" ( "sponsored_name" text, "non_sponsored_name" text, "sponsor" text, "stadium" text, "city" text, "country" text, "sport" text, "sponsorship_ended" real ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "no" real, "title" text, "lyricist" text, "composer" text, "arrangement" text, "sound_engineer" text, "length" text ); Question: What is the arrangement for bets3ab 3alia n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "no" real, "title" text, "lyricist" text, "composer" text, "arrangement" text, "sound_engineer" text, "length" text ); Question: Who was the composer of ain shams? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "no" real, "title" text, "lyricist" text, "composer" text, "arrangement" text, "sound_engineer" text, "length" text ); Question: How many numbers are there for kam wa7ed fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "no" real, "title" text, "lyricist" text, "composer" text, "arrangement" text, "sound_engineer" text, "length" text ); Question: Who was the composer of te3rafy? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "no" real, "title" text, "lyricist" text, "composer" text, "arrangement" text, "sound_engineer" text, "length" text ); Question: How many sound engineers were there for law...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "no" real, "title" text, "lyricist" text, "composer" text, "arrangement" text, "sound_engineer" text, "length" text ); Question: Which number was the lyricist ahmed metwal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "num" real, "date" text, "opponent" text, "site_stadium" text, "score" text, "win" text, "loss" text, "save" text, "attendance" real, "overall_record" text, "ncaat_record...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "num" real, "date" text, "opponent" text, "site_stadium" text, "score" text, "win" text, "loss" text, "save" text, "attendance" real, "overall_record" text, "ncaat_record...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "num" real, "date" text, "opponent" text, "site_stadium" text, "score" text, "win" text, "loss" text, "save" text, "attendance" real, "overall_record" text, "ncaat_record...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "event_date" text, "event_day" text, "approx_duration" text, "starting_time" text, "event_details" text ); Question: How many event dates occurred when event details were women's sa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "event_date" text, "event_day" text, "approx_duration" text, "starting_time" text, "event_details" text ); Question: What is every value for approximate duration when event details ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "event_date" text, "event_day" text, "approx_duration" text, "starting_time" text, "event_details" text ); Question: What is every event date on Sunday with a starting time of 9:30 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27994983_8" ( "draw" real, "artist" text, "song_english_translation" text, "lyrics_l_music_m" text, "juries" real, "viewers" real, "total" real, "place" real ); Question: How many ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27994983_8" ( "draw" real, "artist" text, "song_english_translation" text, "lyrics_l_music_m" text, "juries" real, "viewers" real, "total" real, "place" real ); Question: How many ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27994983_8" ( "draw" real, "artist" text, "song_english_translation" text, "lyrics_l_music_m" text, "juries" real, "viewers" real, "total" real, "place" real ); Question: How many ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_27994983_8" ( "draw" real, "artist" text, "song_english_translation" text, "lyrics_l_music_m" text, "juries" real, "viewers" real, "total" real, "place" real ); Question: How many ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_districts" ( "district" text, "status" text, "date_abolished" text, "former_county" text, "successor" text ); Question: What are the former counties of the Great Grimsby district? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_districts" ( "district" text, "status" text, "date_abolished" text, "former_county" text, "successor" text ); Question: How many statuses are there for the Durham district? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_districts" ( "district" text, "status" text, "date_abolished" text, "former_county" text, "successor" text ); Question: What are the statuses of the districts whose successor is Wiltshir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_council" ( "council" text, "tuv" real, "democratic_unionist" real, "ulster_unionist" real, "alliance" real, "sdlp" real, "sinn_f_in" real, "green_ni" real, "independent" real, "othe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_council" ( "council" text, "tuv" real, "democratic_unionist" real, "ulster_unionist" real, "alliance" real, "sdlp" real, "sinn_f_in" real, "green_ni" real, "independent" real, "othe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28019988_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: Who wr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28019988_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: What s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28019988_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: What s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28019988_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_28027307_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_28027307_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_28027307_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_28027307_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_28027307_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_2803106_1" ( "week_num" real, "dance_song" text, "horwood" text, "goodman" text, "dixon" text, "tonioli" text, "total" text, "result" text ); Question: What dance had a score total...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2803106_1" ( "week_num" real, "dance_song" text, "horwood" text, "goodman" text, "dixon" text, "tonioli" text, "total" text, "result" text ); Question: What was the result for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2803106_1" ( "week_num" real, "dance_song" text, "horwood" text, "goodman" text, "dixon" text, "tonioli" text, "total" text, "result" text ); Question: How many times did tonioli s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2803106_1" ( "week_num" real, "dance_song" text, "horwood" text, "goodman" text, "dixon" text, "tonioli" text, "total" text, "result" text ); Question: On week 11 when Dixon scored...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 ); Question: How...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema 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 ); Question: Wha...