text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "growth_personnel" (
"date" text,
"total_usaaf" real,
"tot_officers" real,
"tot_enlisted" real,
"num_overseas" real,
"officers_o_s" real,
"enlisted_o_s" real
);
Question: How many different ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "growth_personnel" (
"date" text,
"total_usaaf" real,
"tot_officers" real,
"tot_enlisted" real,
"num_overseas" real,
"officers_o_s" real,
"enlisted_o_s" real
);
Question: How many tot office... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "growth_personnel" (
"date" text,
"total_usaaf" real,
"tot_officers" real,
"tot_enlisted" real,
"num_overseas" real,
"officers_o_s" real,
"enlisted_o_s" real
);
Question: How many Tot enlist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
);
Question: How many contestants where from mitteldeutschland?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
);
Question: How many meters tall is Ulrike Wolful?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
);
Question: Which country had a contestant that was 1.76 meters ta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_delegates" (
"represent" text,
"contestant" text,
"age" real,
"height_ft" text,
"height_mtr" text,
"hometown" text
);
Question: What country had a contestant that was 1.70 meters tal... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_wimbledon_championships" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
);
Question: If seed n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_wimbledon_championships" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
);
Question: If new po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
);
Question: Who is the winning party/coalition name in electio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
);
Question: If the speaker is Munu Adhi (2) K. Rajaram, what i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
);
Question: If the speaker is R. Muthiah, what is the election... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
);
Question: What is the name of the speaker if the chief minis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23512864_4" (
"election_year" real,
"assembly" text,
"winning_party_coalition" text,
"chief_minister" text,
"speaker" text
);
Question: If the assembly is the sixth assembly, what is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tactical_organization" (
"type_of_unit" text,
"type_of_aircraft" text,
"number_of_aircraft" text,
"number_of_crews" text,
"men_per_crew" text,
"total_personnel" real,
"officers" real,
"enl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tactical_organization" (
"type_of_unit" text,
"type_of_aircraft" text,
"number_of_aircraft" text,
"number_of_crews" text,
"men_per_crew" text,
"total_personnel" real,
"officers" real,
"enl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tactical_organization" (
"type_of_unit" text,
"type_of_aircraft" text,
"number_of_aircraft" text,
"number_of_crews" text,
"men_per_crew" text,
"total_personnel" real,
"officers" real,
"enl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
);
Question: What was the title whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
);
Question: What is the lowest ser... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
);
Question: List the title of seri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23513241_5" (
"series_episode" real,
"season_episode" real,
"title" text,
"u_s_viewers_millions" text,
"original_u_s_airdate" text,
"prod_code" real
);
Question: How many millions of U... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_danish_grand_prix" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"formula" text,
"report" text
);
Question: What type of formula did Stirling Moss drive?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_danish_grand_prix" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"formula" text,
"report" text
);
Question: What year did Randy Lewis drive?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_danish_grand_prix" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"formula" text,
"report" text
);
Question: What was the constructor in 1975?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "smartphones" (
"code_name" text,
"market_name" text,
"platform" text,
"release_date" text,
"android_version" text,
"system_on_chip" text,
"ram" text,
"rom" text,
"display" text,
"weigh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
);
Question: When middle assyr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
);
Question: When hittite old ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
);
Question: When hittite midd... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23537091_1" (
"copper_age" text,
"chalcolithic_4500_bc_3300_bc" text,
"early_chalcolithic" text,
"4500_bc_4000_bc" text,
"ubaid_period_in_mesopotamia" text
);
Question: When the second i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
);
Question: What was the score against Loic Didavi?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
);
Question: Who was played against when there was a lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_14" (
"edition" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"w_l" text,
"result" text
);
Question: What were the w/l when the final score was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: When Cleveland was 2nd, great lakes in the regular season wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What is the lowest numbered division Cleveland played in?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: How did Cleveland do in the regular season in 2006?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: How did Cleveland do in the Open Cup in 2009?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
);
Question: When victoria coren and rhod gilbert are both on the lees team what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
);
Question: When david o'doherty and katherine parkinson are both on the davids... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
);
Question: When bill oddie and frank skinner are both on the davids team what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23575917_6" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
);
Question: When kevin bridges and katy wix are both on the less team what is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23575917_8" (
"episode" text,
"first_broadcast" text,
"davids_team" text,
"lees_team" text,
"scores" text
);
Question: How many shows did team David consist of vernon kay and dara ó bria... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
);
Question: If the hometown is Windhoek, what is the represented?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
);
Question: If the height in inches is 5'7", what is the represented?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
);
Question: If the hometown is Omuthiya, what is the contestant name?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represented" text,
"contestant" text,
"age" real,
"height_in" text,
"height_cm" real,
"hometown" text
);
Question: What is the height in inches if the represented is Erongo?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What week did September 29 fall in?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the score on the October 28 game?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was the score on September 20?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_ironclad_of_chile_and_peru_at_the_begi" (
"warship" text,
"tons_l_ton" real,
"horse_power" real,
"speed_knots" text,
"armour_inch" text,
"main_artillery" text,
"built_year" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
);
Question: What is every value for % 20-39 if % 60-74 is 10,46%... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
);
Question: What is every value for % 40-59 if % 60-74 is 12,4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
);
Question: What is every value for % 75 + if % 0-19 is 19,75%?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
);
Question: What is every value for % 20-39 if % 0-19 is 21,11%?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
);
Question: What is every value for % 20-39 if % 0-19 is 21,11%?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"neighbourhood" text,
"pct_0_19" text,
"pct_20_39" text,
"pct_40_59" text,
"pct_60_74" text,
"pct_75" text
);
Question: What is every value for % 40-59 if % 60-74 is 12,40... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
);
Question: How man horse powe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
);
Question: What is the primar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
);
Question: List the maximum s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wooden_s_steamboat_of_chile_and_peru_at_" (
"warship" text,
"tons_l_ton" text,
"horse_power" real,
"speed_knots" real,
"main_artillery" text,
"built_year" real
);
Question: List the ship with... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: Which location has the date of October 28?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What is the final score when 22210 is the attendanc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: Which opponents are on the date July 22?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: Which opponents are on the date September 5?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What is the final score when July 16 is the date?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: On which date is Taylor Field the location?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the number of regular season for 2007
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the most year for conference finals
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the regular season for final playoffs
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the least division
<|assistant|>
SELECT MIN("division") ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: Name the regular season for usisl d-3 pro league did not qual... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What was the position of the player from Saskatchewan Roughriders?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What CFL team was the player playing on SB position drafted for?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What was Michael Shaver's position?
<|assistant|>
SELECT "position" FROM "round_three... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: How many different players got drafted for the Ottawa Renegades?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What's Doug Borden's position?
<|assistant|>
SELECT "position" FROM "round_three" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country" (
"country" text,
"pct_of_all_immigrants_2008" text,
"pct_of_all_immigrants_2007" text,
"pct_of_all_immigrants_2006" text,
"pct_of_all_immigrants_2005" text,
"pct_of_all_immigrants... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wins_4" (
"outcome" text,
"year" real,
"championship" text,
"partnering" text,
"opponents_in_final" text,
"score_in_final" text
);
Question: What was the score in the final in 1988?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
);
Question: Name the london, great britain for 2:20:57
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
);
Question: Name the world record for 26 april 2009
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
);
Question: Name the london great britain for championship record
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"world_record" text,
"paula_radcliffe_gbr" text,
"2_15_25" text,
"london_great_britain" text,
"13_april_2003" text
);
Question: Name the total number of african record
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
);
Question: Who are thebmix artists whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
);
Question: Which level has marvin gaye... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
);
Question: Which level has grandmaster... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_23649244_1" (
"song_1_title" text,
"artist_1" text,
"song_2_title" text,
"artist_2" text,
"mix_artist" text,
"guitar_part" text,
"level" text
);
Question: Which level has wale as art... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.