text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_4" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who is the director and what...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_4" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who is the director of the e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_4" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who is the villain in episod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_8" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: Who wrote episode #1 in seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10470082_8" ( "no" real, "num" real, "title" text, "director" text, "writer" text, "us_air_date" text, "storyteller" text, "villains" text ); Question: When did the episode written...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" real, "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text ); Question: What was Datsun Twin 200's fastest l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" real, "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text ); Question: In the Datsun Twin 200 race, what wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" real, "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text ); Question: What's the report for the True Value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" real, "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text ); Question: What was Johnny Rutherford's fastest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" real, "name" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report" text ); Question: What's the report on Penske Racing w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_world_organization_of_the_scout" ( "country" text, "membership_from_2010" real, "name_of_member_organization" text, "year_current_scouting_organization_joined_wosm" text, "year_member_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_world_organization_of_the_scout" ( "country" text, "membership_from_2010" real, "name_of_member_organization" text, "year_current_scouting_organization_joined_wosm" text, "year_member_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_world_organization_of_the_scout" ( "country" text, "membership_from_2010" real, "name_of_member_organization" text, "year_current_scouting_organization_joined_wosm" text, "year_member_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_world_organization_of_the_scout" ( "country" text, "membership_from_2010" real, "name_of_member_organization" text, "year_current_scouting_organization_joined_wosm" text, "year_member_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_world_organization_of_the_scout" ( "country" text, "membership_from_2010" real, "name_of_member_organization" text, "year_current_scouting_organization_joined_wosm" text, "year_member_o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_table_of_hp_laser_jet_4000_mo" ( "model" real, "introduction" text, "discontinued" text, "cpu_speed" text, "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" text, "pri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_table_of_hp_laser_jet_4000_mo" ( "model" real, "introduction" text, "discontinued" text, "cpu_speed" text, "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" text, "pri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_table_of_hp_laser_jet_4000_mo" ( "model" real, "introduction" text, "discontinued" text, "cpu_speed" text, "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" text, "pri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1053802_1" ( "region_country" text, "local_title" text, "network" text, "winners" text, "main_presenters" text ); Question: What is main presenters of La Granja? <|assistant|> SELECT "ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1053802_1" ( "region_country" text, "local_title" text, "network" text, "winners" text, "main_presenters" text ); Question: What is the main presenter of bulgaria? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1053802_1" ( "region_country" text, "local_title" text, "network" text, "winners" text, "main_presenters" text ); Question: How many winners are there of farma? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "swindon_town_career_details" ( "season" text, "team" text, "league_apps" real, "league_goals" real, "cup_apps" real, "cup_goals" real ); Question: What is the most cup goals for seasson 1911-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "swindon_town_career_details" ( "season" text, "team" text, "league_apps" real, "league_goals" real, "cup_apps" real, "cup_goals" real ); Question: What is the league apps for season 1923-24? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "swindon_town_career_details" ( "season" text, "team" text, "league_apps" real, "league_goals" real, "cup_apps" real, "cup_goals" real ); Question: What is the team for season 1911-12? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trivia_and_statistics" ( "season" real, "premier" text, "runner_up" text, "score" text, "margin" real, "venue" text, "attendance" real ); Question: what's the minimum attendance with score ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trivia_and_statistics" ( "season" real, "premier" text, "runner_up" text, "score" text, "margin" real, "venue" text, "attendance" real ); Question: who's the premier with in 1970 <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trivia_and_statistics" ( "season" real, "premier" text, "runner_up" text, "score" text, "margin" real, "venue" text, "attendance" real ); Question: who are all the runner-up for premier in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trivia_and_statistics" ( "season" real, "premier" text, "runner_up" text, "score" text, "margin" real, "venue" text, "attendance" real ); Question: what is the minimum attendance with score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10568553_1" ( "county" text, "location" text, "street_names" text, "milepost" text, "roads_intersected" text, "notes" text ); Question: How many mileposts are there on Anne Street? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10568553_1" ( "county" text, "location" text, "street_names" text, "milepost" text, "roads_intersected" text, "notes" text ); Question: Which street is 12.2 miles long? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10568553_1" ( "county" text, "location" text, "street_names" text, "milepost" text, "roads_intersected" text, "notes" text ); Question: Where does Route 24 intersect? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10568553_1" ( "county" text, "location" text, "street_names" text, "milepost" text, "roads_intersected" text, "notes" text ); Question: Where is milepost 12.8? <|assistant|> SELECT "lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_agricultural_products" ( "commodity" text, "2001_02" real, "2002_03" real, "2003_04" real, "2004_05" real, "2005_06" real, "2006_07" real ); Question: What is the minimum amount for w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1057316_1" ( "serial_number" text, "wheel_arrangement_whyte_notation" text, "build_date" text, "operational_owner_s" text, "disposition" text ); Question: Who were the operational owners...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1057316_1" ( "serial_number" text, "wheel_arrangement_whyte_notation" text, "build_date" text, "operational_owner_s" text, "disposition" text ); Question: Where can you find Colorado and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1057316_1" ( "serial_number" text, "wheel_arrangement_whyte_notation" text, "build_date" text, "operational_owner_s" text, "disposition" text ); Question: What is the wheel arrangement f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1057316_1" ( "serial_number" text, "wheel_arrangement_whyte_notation" text, "build_date" text, "operational_owner_s" text, "disposition" text ); Question: When was the train 2053 built? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1057316_1" ( "serial_number" text, "wheel_arrangement_whyte_notation" text, "build_date" text, "operational_owner_s" text, "disposition" text ); Question: How many wheels does the train ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "men_s_nickname" text, "women_s_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "men_s_nickname" text, "women_s_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "men_s_nickname" text, "women_s_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "men_s_nickname" text, "women_s_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "men_s_nickname" text, "women_s_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "men_s_nickname" text, "women_s_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text, "left" text, "curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "mens_nickname" text, "womens_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "mens_nickname" text, "womens_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: What is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "mens_nickname" text, "womens_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: That is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "mens_nickname" text, "womens_nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); Question: What is th...
<|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_1059743_1" ( "rank" real, "member_association" text, "points" text, "group_stage" real, "play_off" real, "afc_cup" real ); Question: How many games had a score value of 813.5 in post-s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1059743_1" ( "rank" real, "member_association" text, "points" text, "group_stage" real, "play_off" real, "afc_cup" real ); Question: Did any team score games that totaled up to 860.5? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_season_schedule" ( "date" text, "opponent" text, "home_away" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real ); Question: What type institution is point park university <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real ); Question: How many institutions are located in wilmore, kentucky and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real ); Question: point park university is what type of institution <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "nickname" text, "location" text, "founded" real, "type" text, "enrollment" real ); Question: how many founded dates are listed for carlow university 1 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10610087_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: Who wrote the episode titled "black"?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10610087_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: Who are the writers for the episode "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10610087_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: what is the original air date of the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10610087_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What is the title of the episode writ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_10610087_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: How many episodes were titles "voicem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "peak_classification" text, "windspeeds" text, "pressure" text, "areas_affected" text, "damage_usd" text, "deaths" text, "refs" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "peak_classification" text, "windspeeds" text, "pressure" text, "areas_affected" text, "damage_usd" text, "deaths" text, "refs" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "peak_classification" text, "windspeeds" text, "pressure" text, "areas_affected" text, "damage_usd" text, "deaths" text, "refs" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "peak_classification" text, "windspeeds" text, "pressure" text, "areas_affected" text, "damage_usd" text, "deaths" text, "refs" text )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "inns" real, "n_o" real, "runs" real, "high_score" real, "average" text, "100" real, "50" real, "catches" real, "stump" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "inns" real, "n_o" real, "runs" real, "high_score" real, "average" text, "100" real, "50" real, "catches" real, "stump" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "inns" real, "n_o" real, "runs" real, "high_score" real, "average" text, "100" real, "50" real, "catches" real, "stump" real ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election_results" ( "general_election" real, "num_of_candidates" real, "num_of_seats_won" real, "pct_of_popular_vote" text, "result" text ); Question: Which general election had a pq ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election_results" ( "general_election" real, "num_of_candidates" real, "num_of_seats_won" real, "pct_of_popular_vote" text, "result" text ); Question: What is the least number of candid...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "general_election_results" ( "general_election" real, "num_of_candidates" real, "num_of_seats_won" real, "pct_of_popular_vote" text, "result" text ); Question: How many seats were won in the ele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: How many weeks are there? <|assistant|> SELECT MA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: How many people attended the game against the ind...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: On december 16, 1985, all the records were what? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: How many results are there for the 0-4 record...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: How many weeks are there that include the dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: How many weeks are there that include the dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: How many records are there at the War Memoria...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: What was the minimum attendance on December 7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: What week corresponds to the last one to be played at the memorial stadi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real ); Question: In which stadium is the week 5 game played? <|assistant|> SELECT "stadiu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variation_with_playing_cards" ( "1st_players_choice" text, "2nd_players_choice" text, "probability_1st_player_wins" text, "probability_2nd_player_wins" text, "probability_of_a_draw" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variation_with_playing_cards" ( "1st_players_choice" text, "2nd_players_choice" text, "probability_1st_player_wins" text, "probability_2nd_player_wins" text, "probability_of_a_draw" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variation_with_playing_cards" ( "1st_players_choice" text, "2nd_players_choice" text, "probability_1st_player_wins" text, "probability_2nd_player_wins" text, "probability_of_a_draw" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variation_with_playing_cards" ( "1st_players_choice" text, "2nd_players_choice" text, "probability_1st_player_wins" text, "probability_2nd_player_wins" text, "probability_of_a_draw" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variation_with_playing_cards" ( "1st_players_choice" text, "2nd_players_choice" text, "probability_1st_player_wins" text, "probability_2nd_player_wins" text, "probability_of_a_draw" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variation_with_playing_cards" ( "1st_players_choice" text, "2nd_players_choice" text, "probability_1st_player_wins" text, "probability_2nd_player_wins" text, "probability_of_a_draw" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text ); Question: what is the nfl team where player is thane gash <|assistant|> SELECT "nfl_team" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text ); Question: what is the maximum pick # where player is anthony blaylock <|assistant|> SELECT MAX("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text ); Question: what's the nfl team where player is clifford charlton <|assistant|> SELECT "nfl_team"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text ); Question: what's the position where player is anthony blaylock <|assistant|> SELECT "position" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "pick_num" real, "nfl_team" text, "player" text, "position" text, "college" text ); Question: what is the minimum pick # where position is defensive tackle <|assistant|> SELECT MIN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "population_area_and_density_sortable_on_" ( "province" text, "population_2004_estimate" real, "area_km" real, "density" text, "gdp_2003_pps_in_mil" real, "gdp_per_cap_2003_in" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "population_area_and_density_sortable_on_" ( "province" text, "population_2004_estimate" real, "area_km" real, "density" text, "gdp_2003_pps_in_mil" real, "gdp_per_cap_2003_in" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "population_area_and_density_sortable_on_" ( "province" text, "population_2004_estimate" real, "area_km" real, "density" text, "gdp_2003_pps_in_mil" real, "gdp_per_cap_2003_in" real ); Questio...