text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dunedin_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Where is the coed school with state authority, a Decile larg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dunedin_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the average roll for Fairfield school? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dunedin_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which school has a roll larger than 26 and is located in Fai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: how many points are there for a Chassis of porsche 718, and a Year smaller t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championship_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: what is the engine that saw a Chassis of porsche 718, and 0 points, prior to...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" text, "silver" text, "bronze" text, "total" text ); Question: Which bronze has a Nation of poland? <|assistant|> SELECT "bronze" FROM "medal_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" text, "silver" text, "bronze" text, "total" text ); Question: Which gold has 3 silver and a Total of 5? <|assistant|> SELECT "gold" FROM "med...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" text, "silver" text, "bronze" text, "total" text ); Question: Which gold has a Bronze of 1, a Rank of 47, and a Nation of spain? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" text, "silver" text, "bronze" text, "total" text ); Question: Which nation has a Silver of 1, a Gold of 0, and a Total of 1? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" text, "silver" text, "bronze" text, "total" text ); Question: Which bronze has a Rank of 37? <|assistant|> SELECT "bronze" FROM "medal_table"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" text, "silver" text, "bronze" text, "total" text ); Question: Which silver has a Bronze of 1, a Total of 4, and a Nation of slovakia? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text ); Question: What is the Issue Date(s) of Volume:Issue of 32:18-19? <|assistant|> SELECT "issu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notes" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text ); Question: Volume:Issue of 32:26-33:5 was how many Weeks on Top? <|assistant|> SELECT "weeks...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: What car had the fewest laps with a qual of 138.750? <|assistant|> SELECT MIN(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: How many laps were there for the car with a qual of 138.750? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: For the car with a qual of 134.288, what was the rank? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: What was the finishing place for 1953? <|assistant|> SELECT "finish" FROM "ind...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: Tell me the name for commissioned of 30 august 1941 and laid down of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What is the score when there was a Loss of birkbeck (0–3)? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bioinformatics" ( "application" text, "expected_speed_up" text, "gpu" text, "multi_gpu_support" text, "release_status" text ); Question: Which GPU has the cushaw application? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bioinformatics" ( "application" text, "expected_speed_up" text, "gpu" text, "multi_gpu_support" text, "release_status" text ); Question: What is the expected speed up of the gpu-hmmer applicati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1999" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: Who was the host team at the game at the Cleveland Browns Stadium? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1999" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the final score when the Buffalo Bills were the visiting team? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1999" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What was the final score when the Denver Broncos were the visiting team? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1999" ( "date" text, "visiting_team" text, "final_score" text, "host_team" text, "stadium" text ); Question: What is the date that a game at the Alltel Stadium had a final score of 6-20? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "champion" text, "motorcycle" text, "wins" real, "2nd_pl" real, "3rd_pl" real, "team" text ); Question: what is the average season when results is less than 2 ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "champion" text, "motorcycle" text, "wins" real, "2nd_pl" real, "3rd_pl" real, "team" text ); Question: How many times was the motorcycle ducati 916 2nd place wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_season" ( "season" real, "champion" text, "motorcycle" text, "wins" real, "2nd_pl" real, "3rd_pl" real, "team" text ); Question: Who is the champion when the motorcycle is ducati 916 and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What Catalog has a label of Alfa records and a date of November 21, 1980? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What catalog has a format of ED remaster CD and a date of December 19, 2001? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What Date has a label of alfa records? <|assistant|> SELECT "date" FROM "release_history"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What region has the label of alfa records and the date of January 23, 1987? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What date has the format of CD and catalog of alca-274? <|assistant|> SELECT "date" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What date has the format of cd? <|assistant|> SELECT "date" FROM "release_history" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "otorohanga_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the Decile number for St Mary's Catholic Scho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "otorohanga_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Which Authority is set for Hauturu School? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "otorohanga_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What School is in the kio kio area? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_tt_results" ( "race" text, "position" text, "time_hh_mm_ss" text, "speed_mph" text, "replica" text ); Question: What race is in the 5th position? <|assistant|> SELECT "race" FROM "2012_tt_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_tt_results" ( "race" text, "position" text, "time_hh_mm_ss" text, "speed_mph" text, "replica" text ); Question: What Replica has a race of supersport race 1? <|assistant|> SELECT "replica"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2012_tt_results" ( "race" text, "position" text, "time_hh_mm_ss" text, "speed_mph" text, "replica" text ); Question: What replica has the 5th position? <|assistant|> SELECT "replica" FROM "2012...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "32_bit_systems" ( "model" text, "floating_point" text, "decimal" text, "byte_string" text, "memory_map" text, "max_memory_kwords" real ); Question: When a Sigma 7 has a standard byte string, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "32_bit_systems" ( "model" text, "floating_point" text, "decimal" text, "byte_string" text, "memory_map" text, "max_memory_kwords" real ); Question: What is the value for the byte string when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "32_bit_systems" ( "model" text, "floating_point" text, "decimal" text, "byte_string" text, "memory_map" text, "max_memory_kwords" real ); Question: What model has both a standard byte string ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "32_bit_systems" ( "model" text, "floating_point" text, "decimal" text, "byte_string" text, "memory_map" text, "max_memory_kwords" real ); Question: On a Sigma 9 with a standard byte string an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "32_bit_systems" ( "model" text, "floating_point" text, "decimal" text, "byte_string" text, "memory_map" text, "max_memory_kwords" real ); Question: What is the decimal value when the memory m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "pos" text, "class_pos" text ); Question: Who was the co-driver in the DNF position in the GT1 class?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "pos" text, "class_pos" text ); Question: Which co-driver was part of team Martini Lancia earlier tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "pos" text, "class_pos" text ); Question: The Le Mans Porsche team Joest Racing is in which class? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switchers_s_series" ( "model" text, "specification" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: Name the b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switchers_s_series" ( "model" text, "specification" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: Name the m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "switchers_s_series" ( "model" text, "specification" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: Name the p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" real, "worst_dancer_s" text, "worst_score" real ); Question: What's the worst score for the worst dan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" real, "worst_dancer_s" text, "worst_score" real ); Question: What's the worst dance of jive dancer(s)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" real, "worst_dancer_s" text, "worst_score" real ); Question: What's the best score, with the worst da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" real, "worst_dancer_s" text, "worst_score" real ); Question: What's the best average score with a bad...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What is the name of the opponent that has a record of 66-69? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What was Olin Dutra's score? <|assistant|> SELECT "score" FROM "final_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What was Craig Wood's score? <|assistant|> SELECT "score" FROM "final_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What was Paul Runyan's score? <|assistant|> SELECT "score" FROM "final_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What country has a To par of e? <|assistant|> SELECT "country" FROM "final_r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "june_draft" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: What position for the player from villa park high school? <|assistant|> SELECT "position" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total number of medals by the Czech republic? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many gold medals does the country ranked higher than 2 with more than 8 bro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest rank a country with less than 3 gold, more than 2 silver, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: When is the record 5-4? <|assistant|> SELECT "date" FROM "game_log" WHERE "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "100_million_to_119_million_records" ( "artist" text, "country_of_origin" text, "period_active" text, "release_year_of_first_charted_record" real, "genre" text, "claimed_sales" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "100_million_to_119_million_records" ( "artist" text, "country_of_origin" text, "period_active" text, "release_year_of_first_charted_record" real, "genre" text, "claimed_sales" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "numbering" ( "year" real, "rr_class" text, "rr_nos" text, "builder" text, "builder_nos" text, "gwr_br_nos" text ); Question: Name the builder numbers with RR class of a1 and year less than 19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "numbering" ( "year" real, "rr_class" text, "rr_nos" text, "builder" text, "builder_nos" text, "gwr_br_nos" text ); Question: Name the RR numbers of hudswell clarke and years before 1914 <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "hole" text ); Question: What is the To par has the presence of Vijay Singh? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "qual" text, "rank" text, "finish" text, "laps" text ); Question: How many laps did Dick Rathmann complete when he ranked 14? <|assistant|> SELECT "laps" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "qual" text, "rank" text, "finish" text, "laps" text ); Question: What was Dick Rathmann's Finish the year he Qualed at 130.928? <|assistant|> SELECT "finish" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_axle_units" ( "model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: What is the average total produced when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_axle_units" ( "model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: What is the build date when total produc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_axle_units" ( "model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: What is the smallest total produced with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_axle_units" ( "model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: What is the prime mover for a build date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_axle_units" ( "model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "prime_mover" text, "power_output" text ); Question: What model has a total produced more tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the date of the home Detroit game with a decision ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the score of the home Dallas game that had a decis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the score of the game that had a record of 26–13–4...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: Who was the visiting team when the record was 28–14–6–2? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_international_formula_3000_resu" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" real ); Question: What are the lowest points that have a Mugen V8 engine and a Rey...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_international_formula_3000_resu" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" real ); Question: What are the highest points that have a Mugen V8 engine and happ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: How many years did John Player Lotus used Cosworth v8? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Who used Eurobrun er189b after 1989? <|assistant|> SELECT "entrant" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Who used Ford v8 and Jordan 191 after 1990 and got 8 points? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opening_day_starting_lineups" ( "year" real, "catcher" text, "first_baseman" text, "second_baseman" text, "shortstop" text, "third_baseman" text, "rightfielder" text, "centerfielder" text,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the earliest year with less than 3 points and Parmalat Forti Ford ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the average Points when equipe ligier gauloises blondes is the ent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the smallest amount of points for parmalat forti ford entrant late...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the company that made the chassis for the entrant danka arrows yam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What college did Ray Graves attend? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What number pick was Bill Athey? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is John Cole's overall pick number? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sligo_leitrim_and_northern_counties_rail" ( "class" text, "type" text, "names" text, "quantity_made" text, "manufacturer" text, "date_made" text ); Question: What is the date of the locomotiv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sligo_leitrim_and_northern_counties_rail" ( "class" text, "type" text, "names" text, "quantity_made" text, "manufacturer" text, "date_made" text ); Question: What is the date of the locomotiv...