text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was the Class AAAA champion in 2006-07? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: How many times was there a class A winner when Gregory-Portla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: How many Class AAAA winners where in 2002-03? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was the class AAAAA in 2008-09? <|assistant|> SELECT "cla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was the Class AA winner when Plains was Class A winner an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Who was the Class A winner in 2006-07? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: If class a is canadian and class aaa is wimberl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: For franklin of class aa, which school years do...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual_overall" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Which school years have a class a being lindsay...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14609295_4" ( "season" text, "coach" text, "overall" text, "conference" text, "standing" text, "postseason" text ); Question: What season was the overall record 29-7? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14609295_4" ( "season" text, "coach" text, "overall" text, "conference" text, "standing" text, "postseason" text ); Question: How far into the postseason did the Rams go when their rec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14609295_4" ( "season" text, "coach" text, "overall" text, "conference" text, "standing" text, "postseason" text ); Question: What was the Ram's conference record when they were the CB...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14609295_4" ( "season" text, "coach" text, "overall" text, "conference" text, "standing" text, "postseason" text ); Question: What season was the overall record 24-10? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14609295_4" ( "season" text, "coach" text, "overall" text, "conference" text, "standing" text, "postseason" text ); Question: In what season was the overall record 29-7? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What are the school years where class "AAA" is argyle? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What are all the AAA classes in the school years of 2005-06? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What are all the AAAA classes in the schools years 2004-05? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What are all the school years where class AAAA is in Gregory-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: What are all the AAA classes in the school years of 2004-05? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real ); Question: What are all classes for the position ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real ); Question: What are all weights for the number 27...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "norfolk_state" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real ); Question: What are all names for the position FS...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14623167_1" ( "virtual" real, "physical" real, "call_sign" text, "branding" text, "network" text, "owner" text ); Question: Name the call sign for the 17 physical <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14623167_1" ( "virtual" real, "physical" real, "call_sign" text, "branding" text, "network" text, "owner" text ); Question: Name the branding for forum communications <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14623167_1" ( "virtual" real, "physical" real, "call_sign" text, "branding" text, "network" text, "owner" text ); Question: Name the number of branding for 31 physical <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14623167_1" ( "virtual" real, "physical" real, "call_sign" text, "branding" text, "network" text, "owner" text ); Question: Name the number of virtual for NBC <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14623167_1" ( "virtual" real, "physical" real, "call_sign" text, "branding" text, "network" text, "owner" text ); Question: Name the virtual for Fox <|assistant|> SELECT COUNT("virtual...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14623167_1" ( "virtual" real, "physical" real, "call_sign" text, "branding" text, "network" text, "owner" text ); Question: Name the owners for prairie public <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Name the total number of class aaa for 2006-07 <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Name the class aaaa for menard <|assistant|> SELECT "cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Name the school year for class aaaa for wichita falls <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text ); Question: Name the class a for carthage <|assistant|> SELECT "cla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14631909_1" ( "year" real, "category" text, "english_title" text, "original_title" text, "author" text, "nationality" text ); Question: What is the original title of europe for dummies...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14631909_1" ( "year" real, "category" text, "english_title" text, "original_title" text, "author" text, "nationality" text ); Question: What is the English version of Mariusz Szczygieł...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text, "report"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_by_club" ( "team" text, "num_appearances" real, "years_won_in_bold" text, "num_wins" real, "num_runner_up" real, "most_recent_final" text ); Question: What is the number of appear...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_by_club" ( "team" text, "num_appearances" real, "years_won_in_bold" text, "num_wins" real, "num_runner_up" real, "most_recent_final" text ); Question: What is the number of runner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_by_club" ( "team" text, "num_appearances" real, "years_won_in_bold" text, "num_wins" real, "num_runner_up" real, "most_recent_final" text ); Question: What is the most recent fina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14637853_3" ( "no_in_series" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "tv_broadcast" text ); Question: what's the title with original air da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14637853_3" ( "no_in_series" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "tv_broadcast" text ); Question: who wrote with original air date bein...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14637853_3" ( "no_in_series" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "tv_broadcast" text ); Question: who directed with original air date b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "socialist" text, "social_democratic" text, "peoples_party" text, "green_communist" text, "left_bloc" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "socialist" text, "social_democratic" text, "peoples_party" text, "green_communist" text, "left_bloc" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "socialist" text, "social_democratic" text, "peoples_party" text, "green_communist" text, "left_bloc" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "socialist" text, "social_democratic" text, "peoples_party" text, "green_communist" text, "left_bloc" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "socialist" text, "social_democratic" text, "peoples_party" text, "green_communist" text, "left_bloc" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "socialist" text, "social_democratic" text, "peoples_party" text, "green_communist" text, "left_bloc" text,...
<|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 of the player whose college is Minnesota? <|assistant|> SELECT "n...
<|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 college did the defensive back attend? <|assistant|> SELECT "college" FROM "nfl_d...
<|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 pick number of the player whose college is Florida State? <|assistant|> SE...
<|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: How many colleges did pick number 269 attend? <|assistant|> SELECT COUNT("college") FR...
<|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: How many picks played Tight end? <|assistant|> SELECT COUNT("pick_num") FROM "nfl_draf...
<|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 position of the player whose college is Western Kentucky? <|assistant|> SE...
<|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 position does Robert Brooks play? <|assistant|> SELECT COUNT("position") FROM "nf...
<|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: Which team does Robert Brooks play with? <|assistant|> SELECT "nfl_team" FROM "nfl_dra...
<|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: Which team picked from South Carolina college? <|assistant|> SELECT "nfl_team" FROM "n...
<|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: Which college was the wide receiver whose pick was less than 130.0 picked from? <|assi...
<|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 position(s) does the player drafted #34 play? <|assistant|> SELECT "position" FRO...
<|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 highest pick number? <|assistant|> SELECT MAX("pick_num") FROM "nfl_draft"...
<|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 number picked were players from arizona state picked? <|assistant|> SELECT "pick_...
<|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 NFL team does player keith woodside play for? <|assistant|> SELECT "nfl_team" FRO...
<|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 player with college being penn state <|assistant|> SELECT "player" FROM "nf...
<|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 with college being usc <|assistant|> SELECT "position" FROM "nfl_d...
<|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: how many college with player being rich voltzke <|assistant|> SELECT COUNT("college")...
<|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 college with position being placekicker <|assistant|> SELECT "college" 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: who is the the player where pick # is 64 <|assistant|> SELECT "player" FROM "nfl_draft...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14655917_1" ( "week" real, "date" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: What day were the Denver Broncos the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14655917_1" ( "week" real, "date" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real ); Question: What day was the oppenent the detroi...
<|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: List the record of 0-1 from the table? <|assistant|> SELECT "week" FROM ...
<|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: Type the record details if any result has L 3-6 in it? <|assistant|> SEL...
<|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: Find the least value of attendance? <|assistant|> SELECT MIN("attendance...
<|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: type the attendance for playing with tampa bay buccaneers? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_federal_taxation_and_spending_b" ( "rank" real, "state" text, "revenue_millions" text, "population" real, "revenue_per_capita" text, "spending_millions" text, "spending_per_capita" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_federal_taxation_and_spending_b" ( "rank" real, "state" text, "revenue_millions" text, "population" real, "revenue_per_capita" text, "spending_millions" text, "spending_per_capita" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_federal_taxation_and_spending_b" ( "rank" real, "state" text, "revenue_millions" text, "population" real, "revenue_per_capita" text, "spending_millions" text, "spending_per_capita" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_federal_taxation_and_spending_b" ( "rank" real, "state" text, "revenue_millions" text, "population" real, "revenue_per_capita" text, "spending_millions" text, "spending_per_capita" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_federal_taxation_and_spending_b" ( "rank" real, "state" text, "revenue_millions" text, "population" real, "revenue_per_capita" text, "spending_millions" text, "spending_per_capita" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_federal_taxation_and_spending_b" ( "rank" real, "state" text, "revenue_millions" text, "population" real, "revenue_per_capita" text, "spending_millions" text, "spending_per_capita" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1467951_4" ( "dvd_name" text, "ep_no" real, "dvd_no" real, "release_date" real, "additional_information" text ); Question: What is the largest number of DVDs? <|assistant|> SELECT MAX("d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1467951_4" ( "dvd_name" text, "ep_no" real, "dvd_no" real, "release_date" real, "additional_information" text ); Question: What is the highest number of episodes? <|assistant|> SELECT MA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1467951_4" ( "dvd_name" text, "ep_no" real, "dvd_no" real, "release_date" real, "additional_information" text ); Question: What is the most recent release date? <|assistant|> SELECT MAX(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1467951_4" ( "dvd_name" text, "ep_no" real, "dvd_no" real, "release_date" real, "additional_information" text ); Question: How many release dates does volume 4 DVD have? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_timetables" ( "no" real, "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real, "day" real ); Question: what is the arrival time for no. 14? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_timetables" ( "no" real, "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real, "day" real ); Question: what is the arrival time where the station...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_timetables" ( "no" real, "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real, "day" real ); Question: what amount of stations have station code ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_timetables" ( "no" real, "station_code" text, "station" text, "arrival" text, "departure" text, "kilometers" real, "day" real ); Question: what is the arrival time where station cod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1470706_1" ( "station_name" text, "2002_03" real, "2004_05" real, "2005_06" real, "2006_07" real, "2007_08" real, "2008_09" real, "2009_10" real, "2010_11" real, "2011_12" real ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1470706_1" ( "station_name" text, "2002_03" real, "2004_05" real, "2005_06" real, "2006_07" real, "2007_08" real, "2008_09" real, "2009_10" real, "2010_11" real, "2011_12" real ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1470706_1" ( "station_name" text, "2002_03" real, "2004_05" real, "2005_06" real, "2006_07" real, "2007_08" real, "2008_09" real, "2009_10" real, "2010_11" real, "2011_12" real ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_official_appearances" ( "ranking" real, "nationality" text, "name" text, "position" text, "years" text, "league" real, "cup" real, "europe" real, "others" real, "total" real ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_14724369_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: Which title did Neil Affleck direc...