text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Who was the winner when the score was 281 (-6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: How many scores were at the Northville Long I...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: what's the tournament where winner is raymon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: what is the total number of purse( $ ) where ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: what's the date where location is illinois <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: what is the minimum purse( $ ) where tourname...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: what's the location where tournament is rale...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: what is the maximum 1st prize( $ ) where scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text ); Question: How much was the prize money for the 275000 p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text ); Question: What is the prize money for Virginia? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: How many tournaments ended with a score of 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: What's the winner of the Painewebber Invitati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Where was the GTE Suncoast Classic tournament...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: What was the minimal amount ($) of the 1st pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: What are all the dates with a score of 203 (-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: For which tournaments was the score 135 (-7)?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Which tournaments have a first prize of $4000...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: How many locations logged a score of 206 (-7)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: How many tournaments recorded a score of 206 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Name all the tournaments that took place in R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: What is the state that hosted a tournament wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Where was the Fairfield Barnett classic tourn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: How many purses were there for the mar 16? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1_2007" ( "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: When did the series number 23 air? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1_2007" ( "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the production code of "surprise,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1_2007" ( "series_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What was the airdate of 21 series number?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Which located featured the first prize of 335...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: Who won the Suntree Seniors Classic? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: How much was the prize in the tournament wher...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real ); Question: When was the tournament that was won with a s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11630008_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who wrote "Stop...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11630008_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What was the se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11630008_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What was the ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11630008_5" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who directed th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7" ( "edition" text, "round" text, "date" text, "partnering" text, "against" text, "surface" text, "opponents" text, "w_l" text, "result" text ); Question: What date was the res...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_7" ( "edition" text, "round" text, "date" text, "partnering" text, "against" text, "surface" text, "opponents" text, "w_l" text, "result" text ); Question: How many matches had ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11642945_1" ( "total_no" real, "celebrity" text, "director" text, "original_air_date" text, "viewers" text ); Question: If the Original Air Date is 10January2008, what directors release...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11642945_1" ( "total_no" real, "celebrity" text, "director" text, "original_air_date" text, "viewers" text ); Question: The original air date of 29November2007 has what total no.? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11642945_1" ( "total_no" real, "celebrity" text, "director" text, "original_air_date" text, "viewers" text ); Question: Margot Kidder had what director? <|assistant|> SELECT "director" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11642945_1" ( "total_no" real, "celebrity" text, "director" text, "original_air_date" text, "viewers" text ); Question: How many celebrities had an 18October2007 Original air Date? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11642945_1" ( "total_no" real, "celebrity" text, "director" text, "original_air_date" text, "viewers" text ); Question: Which viewers had Matt Gallagher as the director? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_2008_09" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_2008_09" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who write "a gra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_2008_09" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_2008_09" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the numb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_5_2008_09" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the titl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text ); Question: What is the location of the institution b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text ); Question: Which institutions joined in 1993 <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text ); Question: what are the locations that joined in 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text ); Question: What is the minimum enrollment at barton ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "joined" text, "nickname" text ); Question: When was erskine college founded <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "marginal_ordinary_income_tax_rate" text, "single" text, "married_filing_jointly_or_qualified_widow_er" text, "married_filing_separately" text, "head_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "marginal_ordinary_income_tax_rate" text, "single" text, "married_filing_jointly_or_qualified_widow_er" text, "married_filing_separately" text, "head_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "marginal_ordinary_income_tax_rate" text, "single" text, "married_filing_jointly_or_qualified_widow_er" text, "married_filing_separately" text, "head_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "marginal_ordinary_income_tax_rate" text, "single" text, "married_filing_jointly_or_qualified_widow_er" text, "married_filing_separately" text, "head_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "marginal_ordinary_income_tax_rate" text, "single" text, "married_filing_jointly_or_qualified_widow_er" text, "married_filing_separately" text, "head_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "marginal_ordinary_income_tax_rate" text, "single" text, "married_filing_jointly_or_qualified_widow_er" text, "married_filing_separately" text, "head_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honour_board" ( "season" real, "position" real, "win_loss" text, "coach" text, "captain" text, "dudley_tuckey_medal" text, "leading_goalkicker" text ); Question: who is the coach where dud...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honour_board" ( "season" real, "position" real, "win_loss" text, "coach" text, "captain" text, "dudley_tuckey_medal" text, "leading_goalkicker" text ); Question: what is the total number of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honour_board" ( "season" real, "position" real, "win_loss" text, "coach" text, "captain" text, "dudley_tuckey_medal" text, "leading_goalkicker" text ); Question: who is the dudley tuckey m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honour_board" ( "season" real, "position" real, "win_loss" text, "coach" text, "captain" text, "dudley_tuckey_medal" text, "leading_goalkicker" text ); Question: what is the maximum season ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honour_board" ( "season" real, "position" real, "win_loss" text, "coach" text, "captain" text, "dudley_tuckey_medal" text, "leading_goalkicker" text ); Question: what are all the win/loss w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honour_board" ( "season" real, "position" real, "win_loss" text, "coach" text, "captain" text, "dudley_tuckey_medal" text, "leading_goalkicker" text ); Question: who is the captain where c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disaster_relief" ( "disaster" text, "year" text, "countries_affected" text, "scale_of_disaster" text, "people_assisted" text, "nature_of_help" text ); Question: In 2005-06 what was the disast...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "disaster_relief" ( "disaster" text, "year" text, "countries_affected" text, "scale_of_disaster" text, "people_assisted" text, "nature_of_help" text ); Question: What was the scale of disaster...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "polish_voivodeships_and_separate_cities_" ( "abbreviation" text, "voivodeship" text, "capital" text, "area_km_1998" text, "population_1980" text, "no_of_cities" real, "no_of_communes" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "polish_voivodeships_and_separate_cities_" ( "abbreviation" text, "voivodeship" text, "capital" text, "area_km_1998" text, "population_1980" text, "no_of_cities" real, "no_of_communes" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "polish_voivodeships_and_separate_cities_" ( "abbreviation" text, "voivodeship" text, "capital" text, "area_km_1998" text, "population_1980" text, "no_of_cities" real, "no_of_communes" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "polish_voivodeships_and_separate_cities_" ( "abbreviation" text, "voivodeship" text, "capital" text, "area_km_1998" text, "population_1980" text, "no_of_cities" real, "no_of_communes" real )...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" real, "left" real, "current_conference" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_of_the_great_eastern_railway" ( "ships_name" text, "entered_service" text, "ended_service" text, "gross_tonnage" real, "type_of_vessel" text ); Question: What was the gross tonnage of the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_of_the_great_eastern_railway" ( "ships_name" text, "entered_service" text, "ended_service" text, "gross_tonnage" real, "type_of_vessel" text ); Question: What is the minimum gross tonnage...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11665016_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11665016_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: How ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11665016_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Which ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11665016_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Which ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives_and_rolling_stock" ( "number" text, "tms_number" text, "builder" text, "year_built" real, "carriage_type" text ); Question: What where the tms numbers built in 1923 <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives_and_rolling_stock" ( "number" text, "tms_number" text, "builder" text, "year_built" real, "carriage_type" text ); Question: What year was the carriage type is 47' 6" 'birdcage' gall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "locomotives_and_rolling_stock" ( "number" text, "tms_number" text, "builder" text, "year_built" real, "carriage_type" text ); Question: What tms were built nzr addington in the year 1913 <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_operated_by_zeeland_steamship_comp" ( "ships_name" text, "date_entered_service" text, "date_withdrawn" text, "tonnage" real, "type_of_ship" text ); Question: what's the date entered serv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_operated_by_zeeland_steamship_comp" ( "ships_name" text, "date_entered_service" text, "date_withdrawn" text, "tonnage" real, "type_of_ship" text ); Question: what's the date where ships ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_operated_by_zeeland_steamship_comp" ( "ships_name" text, "date_entered_service" text, "date_withdrawn" text, "tonnage" real, "type_of_ship" text ); Question: what is the maximum tonnage w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_operated_by_zeeland_steamship_comp" ( "ships_name" text, "date_entered_service" text, "date_withdrawn" text, "tonnage" real, "type_of_ship" text ); Question: what are all the date withdra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_operated_by_zeeland_steamship_comp" ( "ships_name" text, "date_entered_service" text, "date_withdrawn" text, "tonnage" real, "type_of_ship" text ); Question: what are all the date withdra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_operated_by_zeeland_steamship_comp" ( "ships_name" text, "date_entered_service" text, "date_withdrawn" text, "tonnage" real, "type_of_ship" text ); Question: what are all the date withdra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11664625_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: Where ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11664625_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: What i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11664625_2" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); Question: When i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1167698_1" ( "season" text, "champion" text, "runner_up" text, "third_place" text, "top_scorer" text ); Question: How many champions were there in 2009? <|assistant|> SELECT COUNT("champ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1167698_1" ( "season" text, "champion" text, "runner_up" text, "third_place" text, "top_scorer" text ); Question: Who won third place with the runner up being dynamo moscow? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11677100_15" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" text ); Question: What position does Matt Hobgood play? <|assistant|> SELECT "position" FROM "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11677100_15" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" text ); Question: How many players were from high point, nc? <|assistant|> SELECT COUNT("mlb_dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11677100_15" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" text ); Question: What high school did Jeff Malm attend? <|assistant|> SELECT "school" FROM "ta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11677100_15" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" text ); Question: How many hometowns does the catcher have? <|assistant|> SELECT COUNT("hometow...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_11677100_16" ( "player" text, "position" text, "school" text, "hometown" text, "mlb_draft" text ); Question: Who was drafted from the school Mountain Pointe High School? <|assistant|> SE...