text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What aired at 10:00 when Flashpoint aired at 9:30?
<|assistant|>
SELECT "10_00" FROM "friday" WHERE "9_30... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: When Don't Forget the Lyrics aired at 8:30 what aired at 9:00?
<|assistant|>
SELECT "9_00" FROM "friday" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What aired at 8:00 when The Goode Family aired at 8:30?
<|assistant|>
SELECT "8_00" FROM "friday" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: When Surviving Suburbia aired at 8:00 what aired at 10:00?
<|assistant|>
SELECT "10_00" FROM "friday" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What aired at 9:30 when Don't Forget the Lyrics aired at 8:00?
<|assistant|>
SELECT "9_30" FROM "friday" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "completed_bridges" (
"rank" real,
"name" text,
"span_metres" real,
"span_feet" real,
"material" text,
"year_opened" text,
"country" text
);
Question: What is the lowest amount of Span metre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "completed_bridges" (
"rank" real,
"name" text,
"span_metres" real,
"span_feet" real,
"material" text,
"year_opened" text,
"country" text
);
Question: Which country's material was concrete w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What country won in 1993?
<|assistant|>
SELECT "country" FROM "made_t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What was the finish with a total larger than 286, a to par of +4 and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What player in the United States had a total of 286 and won in 2003?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What country has a total of 293?
<|assistant|>
SELECT "country" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What player is from Fiji?
<|assistant|>
SELECT "player" FROM "made_th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "macro_economic_trend" (
"year" real,
"gross_domestic_product" real,
"us_dollar_exchange" text,
"nominal_per_capita_gdp_as_pct_of_usa" real,
"ppp_capita_gdp_as_pct_of_usa" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "macro_economic_trend" (
"year" real,
"gross_domestic_product" real,
"us_dollar_exchange" text,
"nominal_per_capita_gdp_as_pct_of_usa" real,
"ppp_capita_gdp_as_pct_of_usa" text
);
Question: How ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"card" text,
"weight_class" text,
"round" real,
"time" text,
"method" text
);
Question: Which method was used in the welterweight class with a preliminary card?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"card" text,
"weight_class" text,
"round" real,
"time" text,
"method" text
);
Question: Which method was used in a round greater than 3?
<|assistant|>
SELECT "method" FROM "results" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"card" text,
"weight_class" text,
"round" real,
"time" text,
"method" text
);
Question: Which weight class had a time of 4:59?
<|assistant|>
SELECT "weight_class" FROM "results" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"card" text,
"weight_class" text,
"round" real,
"time" text,
"method" text
);
Question: What was the time for a round less than 3?
<|assistant|>
SELECT "time" FROM "results" WHERE "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"card" text,
"weight_class" text,
"round" real,
"time" text,
"method" text
);
Question: What is the smallest round for the welterweight class with a preliminary card?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"protocol" text,
"creator" text,
"license" text,
"transport_layer_security" text,
"bulletins_to_all_contacts" text,
"batch_file_sharing" text
);
Question: Were there Bulletins to ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"protocol" text,
"creator" text,
"license" text,
"transport_layer_security" text,
"bulletins_to_all_contacts" text,
"batch_file_sharing" text
);
Question: Were there Bulletins to ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"protocol" text,
"creator" text,
"license" text,
"transport_layer_security" text,
"bulletins_to_all_contacts" text,
"batch_file_sharing" text
);
Question: What is the name of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_table_of_clinically_important" (
"family" text,
"baltimore_group" text,
"envelopment" text,
"virion_shape" text,
"replication_site" text
);
Question: What is the envelopment for the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_table_of_clinically_important" (
"family" text,
"baltimore_group" text,
"envelopment" text,
"virion_shape" text,
"replication_site" text
);
Question: Which Baltimore group has a viro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_table_of_clinically_important" (
"family" text,
"baltimore_group" text,
"envelopment" text,
"virion_shape" text,
"replication_site" text
);
Question: Which Baltimore group is of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_table_of_clinically_important" (
"family" text,
"baltimore_group" text,
"envelopment" text,
"virion_shape" text,
"replication_site" text
);
Question: Which Baltimore group is of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_table_of_clinically_important" (
"family" text,
"baltimore_group" text,
"envelopment" text,
"virion_shape" text,
"replication_site" text
);
Question: Which Baltimore group is non-env... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_table_of_clinically_important" (
"family" text,
"baltimore_group" text,
"envelopment" text,
"virion_shape" text,
"replication_site" text
);
Question: What is the replication site whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_appearances" (
"player" text,
"position" text,
"premier_league" real,
"fa_cup" real,
"league_cup" real,
"uefa_cup" real,
"total" real
);
Question: What is the highest League Cup with a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fleet_statistics" (
"manufacturer" text,
"model" text,
"year_built" real,
"vehicle_length" text,
"fuel_type" text,
"num_in_fleet" real
);
Question: What is the Manufacturer with a Fuel Type t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_polls" (
"date" text,
"source" text,
"polling_agency" text,
"davis" text,
"gallagher" text,
"higgins" text,
"mc_guinness" text,
"mitchell" text,
"norris" text,
"scallon" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_polls" (
"date" text,
"source" text,
"polling_agency" text,
"davis" text,
"gallagher" text,
"higgins" text,
"mc_guinness" text,
"mitchell" text,
"norris" text,
"scallon" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "opinion_polls" (
"date" text,
"source" text,
"polling_agency" text,
"davis" text,
"gallagher" text,
"higgins" text,
"mc_guinness" text,
"mitchell" text,
"norris" text,
"scallon" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "attendance" (
"team" text,
"game_1" real,
"game_2" real,
"game_3" real,
"game_4" real,
"game_5" real,
"game_6" text,
"total" real,
"average" real
);
Question: What is the highest total ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "attendance" (
"team" text,
"game_1" real,
"game_2" real,
"game_3" real,
"game_4" real,
"game_5" real,
"game_6" text,
"total" real,
"average" real
);
Question: What is the average game 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "attendance" (
"team" text,
"game_1" real,
"game_2" real,
"game_3" real,
"game_4" real,
"game_5" real,
"game_6" text,
"total" real,
"average" real
);
Question: What is the game 2 sum att... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"college" text
);
Question: What position does Barry Rose play?
<|assistant|>
SELECT "position" FROM "nfl_draft" WHERE "p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2006_2007_team" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "premierships" (
"year" real,
"coach" text,
"captain" text,
"runner_up" text,
"score" text
);
Question: When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "premierships" (
"year" real,
"coach" text,
"captain" text,
"runner_up" text,
"score" text
);
Question: When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "premierships" (
"year" real,
"coach" text,
"captain" text,
"runner_up" text,
"score" text
);
Question: Which year had a Score of kapunda 14-13-97 tanunda 5-14-44?
<|assistant|>
SELECT SUM("year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "premierships" (
"year" real,
"coach" text,
"captain" text,
"runner_up" text,
"score" text
);
Question: When the year is later than 1939 and the Runner-up is Tanunda, who is the Captain?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1971_1984" (
"season" text,
"staffel_a" text,
"staffel_b" text,
"staffel_c" text,
"staffel_d" text,
"staffel_e" text
);
Question: Which season has a Staffel E of Stahl Riesa?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1971_1984" (
"season" text,
"staffel_a" text,
"staffel_b" text,
"staffel_c" text,
"staffel_d" text,
"staffel_e" text
);
Question: What is the Staffel D in the season 1983-84 with a Staffel E ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1971_1984" (
"season" text,
"staffel_a" text,
"staffel_b" text,
"staffel_c" text,
"staffel_d" text,
"staffel_e" text
);
Question: What is the Staffel A that has a Staffel D of Energie Cottbus... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1971_1984" (
"season" text,
"staffel_a" text,
"staffel_b" text,
"staffel_c" text,
"staffel_d" text,
"staffel_e" text
);
Question: What is the Staffel B that has Hallescher Fc Chemie as Staffe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: Which week's date was September 27, 1953?
<|assistant|>
SELECT "week" FROM "schedule" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What is the largest attendance number when the Chicago Cardinals were the opponent and the w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "july" (
"week_of" text,
"tier" text,
"winner" text,
"runner_up" text,
"semi_finalists" text
);
Question: When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "july" (
"week_of" text,
"tier" text,
"winner" text,
"runner_up" text,
"semi_finalists" text
);
Question: Who were the semi finalists when Alexia Dechaume-Balleret Sandrine testud was the runner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "july" (
"week_of" text,
"tier" text,
"winner" text,
"runner_up" text,
"semi_finalists" text
);
Question: What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "july" (
"week_of" text,
"tier" text,
"winner" text,
"runner_up" text,
"semi_finalists" text
);
Question: Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
);
Question: What is the Label that shows on april 7, 1967?
<|assistant|>
SELECT "label" FROM "releas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
);
Question: What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 22... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
);
Question: What is the Date for Catalog of lp 5060?
<|assistant|>
SELECT "date" FROM "release_histo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
);
Question: What Date was the Country of japan, and a Label of sony?
<|assistant|>
SELECT "date" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
);
Question: What is the Catalog with a Format of lp, a Country of us, a Label of sundazed, and a Dat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"format" text,
"country" text,
"catalog" text
);
Question: What is the Label name that has a Country of uk and the Catalog is bpg 62988?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_final" (
"position" real,
"artist" text,
"song" text,
"lyrics_l_music_m" text,
"place" text
);
Question: What were the Lyrics (l) and Music (m) for the Artist who was in a Position higher t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_final" (
"position" real,
"artist" text,
"song" text,
"lyrics_l_music_m" text,
"place" text
);
Question: What was the lowest Position for the Song, "If I Can't Find My Love"?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the Rank of the Nation with 0 Silver and more than 1 Bronze?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the Total medals for the Nation with 1 Silver and 0 Golds?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electrochemistry" (
"element" text,
"group" real,
"period" real,
"reaction" text,
"potential" text
);
Question: Which potential's period 5 is 4 and has an element of antimony?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electrochemistry" (
"element" text,
"group" real,
"period" real,
"reaction" text,
"potential" text
);
Question: Which lowest period's element is ruthenium?
<|assistant|>
SELECT MIN("period") FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electrochemistry" (
"element" text,
"group" real,
"period" real,
"reaction" text,
"potential" text
);
Question: Which highest period's element is platinum?
<|assistant|>
SELECT MAX("period") FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What is the Venue with a Result that is lost?
<|assistant|>
SELECT "venue" FROM "i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_17th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_17th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_17th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_17th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_17th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_17th_seanad" (
"administrative_panel" real,
"agricultural_panel" real,
"cultural_and_educational_panel" real,
"industrial_and_commercial_panel" real,
"labour_panel" real,
"n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "total" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total number of silver medals for nations with 5 total medals and more th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "new_zealand" (
"date" real,
"artist" text,
"label" text,
"cat_num" text,
"tracks" text
);
Question: What was the label in 1969?
<|assistant|>
SELECT "label" FROM "new_zealand" WHERE "date"=1969... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"hull_no" text,
"commissioned" text,
"builder" text,
"home_port" text,
"nvr_page" text
);
Question: What is the Commissioned date of the ship in NVR Page MCM02?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"hull_no" text,
"commissioned" text,
"builder" text,
"home_port" text,
"nvr_page" text
);
Question: What is the NVR Page of the ship with a Home Port of Sasebo, Japan?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: Which week's game was attended by 54,015 people?
<|assistant|>
SELECT COUNT("week") FROM "sc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What date was the game that was before week 4 and was attended by over 54,015 people ?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "england_in_south_africa_1905_6" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: In what venues was the match with a final result of Eng by 4 wk... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transmissions" (
"date" text,
"time" text,
"channel" text,
"running_time" text,
"notes" text
);
Question: What is the running time of the transmission on bbc four channels on 23 March 2008?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transmissions" (
"date" text,
"time" text,
"channel" text,
"running_time" text,
"notes" text
);
Question: What is the notes of the transmission on channel bbc four and a time of 22:30?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transmissions" (
"date" text,
"time" text,
"channel" text,
"running_time" text,
"notes" text
);
Question: What is the time of the transmission on 28 December 2008 with a running time of 66 min ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transmissions" (
"date" text,
"time" text,
"channel" text,
"running_time" text,
"notes" text
);
Question: Which channel was on 28 December 2008?
<|assistant|>
SELECT "channel" FROM "transmissio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transmissions" (
"date" text,
"time" text,
"channel" text,
"running_time" text,
"notes" text
);
Question: What is the channel with a 03:40 time?
<|assistant|>
SELECT "channel" FROM "transmissio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers" (
"name" text,
"years" text,
"league_a" text,
"fa_cup" text,
"league_cup" text,
"other_b" text,
"total" text
);
Question: What is the Other b when the FA Cup shows 3 (17)?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers" (
"name" text,
"years" text,
"league_a" text,
"fa_cup" text,
"league_cup" text,
"other_b" text,
"total" text
);
Question: What is the Total when the league shows 79 (221)?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers" (
"name" text,
"years" text,
"league_a" text,
"fa_cup" text,
"league_cup" text,
"other_b" text,
"total" text
);
Question: What is the Name when the League Cup shows 0 (0), ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers" (
"name" text,
"years" text,
"league_a" text,
"fa_cup" text,
"league_cup" text,
"other_b" text,
"total" text
);
Question: What is the League for 1952–1960?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers" (
"name" text,
"years" text,
"league_a" text,
"fa_cup" text,
"league_cup" text,
"other_b" text,
"total" text
);
Question: What shows for the League when the FA Cup is 6 (20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"rank" real,
"player" text,
"club" text,
"nationality" text,
"points" real
);
Question: What club wast he player hristo stoitchkov from?
<|assistant|>
SELECT "club" FROM "results" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "shopping" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What is the content for la sorgente sat 3?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "shopping" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What language is telemarket for you?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "shopping" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What language is telemarket for you with a content of t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
Question: Which team has points less than 6 in a year after 1969?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
Question: How many wins for the team with points less than 6 and a 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
Question: What is the lowest points for 36th rank?
<|assistant|>
SEL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.