text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nominees" ( "year_ceremony" text, "actor_actress" text, "category" text, "film_title_used_in_nomination" text, "result" text ); Question: Who was nominated for best supporting actor in the movi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "duration" ( "term_abroad" text, "2000_01" text, "2001_02" text, "2002_03" text, "2003_04" text, "2004_05" text, "2005_06" text, "2006_07" text, "2007_08" text, "2008_09" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "duration" ( "term_abroad" text, "2000_01" text, "2001_02" text, "2002_03" text, "2003_04" text, "2004_05" text, "2005_06" text, "2006_07" text, "2007_08" text, "2008_09" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "duration" ( "term_abroad" text, "2000_01" text, "2001_02" text, "2002_03" text, "2003_04" text, "2004_05" text, "2005_06" text, "2006_07" text, "2007_08" text, "2008_09" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "duration" ( "term_abroad" text, "2000_01" text, "2001_02" text, "2002_03" text, "2003_04" text, "2004_05" text, "2005_06" text, "2006_07" text, "2007_08" text, "2008_09" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "duration" ( "term_abroad" text, "2000_01" text, "2001_02" text, "2002_03" text, "2003_04" text, "2004_05" text, "2005_06" text, "2006_07" text, "2007_08" text, "2008_09" text ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18646432_1" ( "series_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real ); Question: Name the series number that aired on novem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18646432_4" ( "series_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real ); Question: Who wrote the episode originally aired on ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18646432_4" ( "series_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real ); Question: What is the name of the episode originally...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18646432_4" ( "series_num" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real ); Question: What is the production code number for epi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18660332_2" ( "ethnic_group" text, "2001_pct" text, "2001_people" text, "2006_pct" text, "2006_people" real ); Question: How many percentages were recorded under 2006 when in 2001 was 14...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18660332_2" ( "ethnic_group" text, "2001_pct" text, "2001_people" text, "2006_pct" text, "2006_people" real ); Question: What is the ethnic group that in 2001 had 117,513? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18660332_2" ( "ethnic_group" text, "2001_pct" text, "2001_people" text, "2006_pct" text, "2006_people" real ); Question: How many numbers were recorded under 2001 when 2006 was 18.9? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18660332_2" ( "ethnic_group" text, "2001_pct" text, "2001_people" text, "2006_pct" text, "2006_people" real ); Question: What was the percentage in 2006 when in 2001 was 66.9 %? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_country" ( "rank" text, "country" text, "jerseys" real, "vuelta_wins" real, "points" real, "ko_m" real, "combo" real, "most_recent_cyclist" text, "most_recent_date" text, "differen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_country" ( "rank" text, "country" text, "jerseys" real, "vuelta_wins" real, "points" real, "ko_m" real, "combo" real, "most_recent_cyclist" text, "most_recent_date" text, "differen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_country" ( "rank" text, "country" text, "jerseys" real, "vuelta_wins" real, "points" real, "ko_m" real, "combo" real, "most_recent_cyclist" text, "most_recent_date" text, "differen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "per_country" ( "rank" text, "country" text, "jerseys" real, "vuelta_wins" real, "points" real, "ko_m" real, "combo" real, "most_recent_cyclist" text, "most_recent_date" text, "differen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wobbe_index_of_common_fuel_gases" ( "fuel_gas" text, "upper_index_kcal_nm_3" real, "lower_index_kcal_nm_3" real, "upper_index_mj_nm_3" text, "lower_index_mj_nm_3" text ); Question: Name the up...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wobbe_index_of_common_fuel_gases" ( "fuel_gas" text, "upper_index_kcal_nm_3" real, "lower_index_kcal_nm_3" real, "upper_index_mj_nm_3" text, "lower_index_mj_nm_3" text ); Question: Name the fue...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wobbe_index_of_common_fuel_gases" ( "fuel_gas" text, "upper_index_kcal_nm_3" real, "lower_index_kcal_nm_3" real, "upper_index_mj_nm_3" text, "lower_index_mj_nm_3" text ); Question: Name the low...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_professional_quarterback_passin" ( "rank" real, "name" text, "tenure" text, "leagues" text, "attempts" real, "completions" real, "comp_pct" text, "touchdowns" real, "interceptio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_professional_quarterback_passin" ( "rank" real, "name" text, "tenure" text, "leagues" text, "attempts" real, "completions" real, "comp_pct" text, "touchdowns" real, "interceptio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_professional_quarterback_passin" ( "rank" real, "name" text, "tenure" text, "leagues" text, "attempts" real, "completions" real, "comp_pct" text, "touchdowns" real, "interceptio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18666752_3" ( "nation" text, "rider" text, "horse" text, "cross_country_penalties" text, "total_penalties" text, "total_team_penalties" text, "team_rank" real ); Question: Which nati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18666752_3" ( "nation" text, "rider" text, "horse" text, "cross_country_penalties" text, "total_penalties" text, "total_team_penalties" text, "team_rank" real ); Question: Which nati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18666752_3" ( "nation" text, "rider" text, "horse" text, "cross_country_penalties" text, "total_penalties" text, "total_team_penalties" text, "team_rank" real ); Question: How many t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18666752_3" ( "nation" text, "rider" text, "horse" text, "cross_country_penalties" text, "total_penalties" text, "total_team_penalties" text, "team_rank" real ); Question: Who is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18666752_3" ( "nation" text, "rider" text, "horse" text, "cross_country_penalties" text, "total_penalties" text, "total_team_penalties" text, "team_rank" real ); Question: How many p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text ); Question: What record label corresponds to the single "I can't stay"? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text ); Question: What format for the release that had 2000 copies? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text ); Question: What single(s) released in 2008 and had 4000 copies? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text ); Question: What were the "other details" (number released) for "is my lov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text ); Question: What year was "moped girls" released? <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "date" real, "single" text, "backed_with" text, "record_label" text, "format" text, "other_details" text ); Question: What were the "other details" (number released) for "is my lov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws_p_k_wins_p_k_losses" text, "losses" real, "scored" real, "conceded" real, "points" real ); Question: ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18712423_3" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_millions" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18712423_3" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_millions" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18712423_3" ( "series_episode" real, "season_episode" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "viewers_millions" text ); Question: Who di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18733480_1" ( "episode_num" real, "air_date" text, "team_1" text, "players_left_after_round_1" text, "team_2" text ); Question: How many times was team 1 the wykeham wonderers? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18733480_1" ( "episode_num" real, "air_date" text, "team_1" text, "players_left_after_round_1" text, "team_2" text ); Question: What is the original air date that had the wykeham wondere...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18733480_1" ( "episode_num" real, "air_date" text, "team_1" text, "players_left_after_round_1" text, "team_2" text ); Question: Who was team 1 when the chalkheads were team 2? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18734298_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: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18734298_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 se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_18734298_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 wrote t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "usage_share_data_from_wikimedia_visitor_" ( "period" text, "internet_explorer" text, "firefox" text, "chrome" text, "safari" text, "opera" text, "other_mozilla" text, "mobile" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "usage_share_data_from_wikimedia_visitor_" ( "period" text, "internet_explorer" text, "firefox" text, "chrome" text, "safari" text, "opera" text, "other_mozilla" text, "mobile" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "usage_share_data_from_wikimedia_visitor_" ( "period" text, "internet_explorer" text, "firefox" text, "chrome" text, "safari" text, "opera" text, "other_mozilla" text, "mobile" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "usage_share_data_from_wikimedia_visitor_" ( "period" text, "internet_explorer" text, "firefox" text, "chrome" text, "safari" text, "opera" text, "other_mozilla" text, "mobile" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Name the total number of production...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Name the total number of series for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What episode...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_8" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: what is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is titl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is titl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_5" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is titl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_5" ( "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 wrote ep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_5" ( "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 wrote "A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Name the num...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1876825_7" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Name the tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers" ( "pos" real, "driver" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "points" real ); Question: Which driver starts 3? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers" ( "pos" real, "driver" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "points" real ); Question: How many podiums for the driver with 18 st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers" ( "pos" real, "driver" text, "starts" real, "finishes" real, "wins" real, "podiums" real, "stage_wins" real, "points" real ); Question: What is the highest pos for a driver with ...