text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"season" text,
"sport" text,
"tournament_structure" text,
"num_of_divisions" real,
"1st_tournament" real,
"2011_2012_state_tournament_location" text
);
Question: Where was the 2011-2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"season" text,
"sport" text,
"tournament_structure" text,
"num_of_divisions" real,
"1st_tournament" real,
"2011_2012_state_tournament_location" text
);
Question: How many first tourn... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_3" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: How many times is the player vaughn ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_3" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the lowest after when the pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_3" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the country for the score 72... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_3" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the after for the player kev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_3" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the to par when the after is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_4" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What country is charley hoffman from... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_4" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the before for the score of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_4" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the to par for the winnings ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_4" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What were the winnings for the score... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28498999_4" (
"num" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"winnings" real,
"after" real,
"before" real
);
Question: What is the after for geoff ogilvy?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reset_points" (
"num" real,
"player" text,
"country" text,
"points" real,
"reset_points" real,
"events" real
);
Question: what is the most number where the person is luke donald
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reset_points" (
"num" real,
"player" text,
"country" text,
"points" real,
"reset_points" real,
"events" real
);
Question: what is the place where the person is luke donald
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reset_points" (
"num" real,
"player" text,
"country" text,
"points" real,
"reset_points" real,
"events" real
);
Question: what is the person there the numbers is 2343
<|assistant|>
SELECT "pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reset_points" (
"num" real,
"player" text,
"country" text,
"points" real,
"reset_points" real,
"events" real
);
Question: what is the number of pieces where the person is charley hoffman
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reset_points" (
"num" real,
"player" text,
"country" text,
"points" real,
"reset_points" real,
"events" real
);
Question: what is the number of people where the pieces is 3015
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team drafted Ron Annear?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team drafted Joakim Persson?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team drafted a player from HC Slavia Prah... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which player was drafted by the New York Ranger... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team drafted Michael Orn?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What position was the player who was drafted by... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is Timo Lehkonen's highest pick number?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What college/junior/club team played right win... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many college/junior/club teams are from Sw... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is Robert Dirk's nationality?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What country is Trent Yawney from?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is Michal Pivonka's pick number?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team did David McLay play for?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is Robert Dirk's team?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is Graeme Bonar's lowest pick number?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: where did glenn greenough come from
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: how many parts does detroit red wings person ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_schools" (
"school" text,
"gender" text,
"age_range" text,
"religious_affiliation" text,
"location" text,
"school_website" text
);
Question: What is the affiliation of the school with t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_schools" (
"school" text,
"gender" text,
"age_range" text,
"religious_affiliation" text,
"location" text,
"school_website" text
);
Question: What is the gender of the Roman Catholic sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_schools" (
"school" text,
"gender" text,
"age_range" text,
"religious_affiliation" text,
"location" text,
"school_website" text
);
Question: What is the gender of the school which has t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_schools" (
"school" text,
"gender" text,
"age_range" text,
"religious_affiliation" text,
"location" text,
"school_website" text
);
Question: What is the affiliation of the school with w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_schools" (
"school" text,
"gender" text,
"age_range" text,
"religious_affiliation" text,
"location" text,
"school_website" text
);
Question: What is the affiliation of the school whose ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "state_schools" (
"school" text,
"gender" text,
"age_range" text,
"religious_affiliation" text,
"location" text,
"school_website" text
);
Question: What is the website of the school affiliated... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What nationality is listed when the college/j... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the name of the player when the colle... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many college/junior/club teams are ther w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the postion when the nhl team is los ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many nhl teams are listed when college/ju... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28511558_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date_u_s" text,
"original_air_date_international" text
);
Question: What date did ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28511558_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date_u_s" text,
"original_air_date_international" text
);
Question: What date did ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "version_history" (
"version" text,
"release" text,
"release_date" text,
"end_of_maintenance" text,
"requirement" text
);
Question: What's the version in the 1.0.4 release?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "version_history" (
"version" text,
"release" text,
"release_date" text,
"end_of_maintenance" text,
"requirement" text
);
Question: What's the release date in the 1.1.10 release?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "version_history" (
"version" text,
"release" text,
"release_date" text,
"end_of_maintenance" text,
"requirement" text
);
Question: When's the end of maintenance in the august 11, 2013 release ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "version_history" (
"version" text,
"release" text,
"release_date" text,
"end_of_maintenance" text,
"requirement" text
);
Question: What's the version of the 1.0.12 release?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "version_history" (
"version" text,
"release" text,
"release_date" text,
"end_of_maintenance" text,
"requirement" text
);
Question: What's the number of the 1.0.9 release version?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "version_history" (
"version" text,
"release" text,
"release_date" text,
"end_of_maintenance" text,
"requirement" text
);
Question: What's the number of the 1.0.12 release version?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heat_4" (
"position" text,
"name" text,
"nationality" text,
"event_1_giant_farmers_walk" text,
"event_2_squat_lift" text,
"event_3_africa_stone" text,
"event_4_overhead_lift" text,
"event_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28561455_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: For how... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28561455_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: What's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28561455_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: How man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28561455_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: Who wro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28561455_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: What wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28561455_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_million" text
);
Question: What is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_championship" (
"year" real,
"austria" text,
"belgium" text,
"england" text,
"germany" text,
"italy" text,
"netherlands" text,
"saudi_arabia" text,
"spain" text,
"united_arab_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_championship" (
"year" real,
"austria" text,
"belgium" text,
"england" text,
"germany" text,
"italy" text,
"netherlands" text,
"saudi_arabia" text,
"spain" text,
"united_arab_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "batting_averages" (
"player" text,
"matches" real,
"innings" real,
"runs" real,
"average" text,
"highest_score" real,
"100s" real,
"50s" real
);
Question: How many times has the 100s reco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "batting_averages" (
"player" text,
"matches" real,
"innings" real,
"runs" real,
"average" text,
"highest_score" real,
"100s" real,
"50s" real
);
Question: What is the maximum number of ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "batting_averages" (
"player" text,
"matches" real,
"innings" real,
"runs" real,
"average" text,
"highest_score" real,
"100s" real,
"50s" real
);
Question: What is the highest score in tho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast" (
"callsign" text,
"city_of_license" text,
"virtual_channel" text,
"digital_channel" text,
"network" text
);
Question: What digital channel corresponds to virtual channel 23.2?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast" (
"callsign" text,
"city_of_license" text,
"virtual_channel" text,
"digital_channel" text,
"network" text
);
Question: What digital channel corresponds to virtual channel 5.2?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast" (
"callsign" text,
"city_of_license" text,
"virtual_channel" text,
"digital_channel" text,
"network" text
);
Question: What network airs on virtual channel 23.1?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast" (
"callsign" text,
"city_of_license" text,
"virtual_channel" text,
"digital_channel" text,
"network" text
);
Question: How many networks run on virtual channel 23.4?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast" (
"callsign" text,
"city_of_license" text,
"virtual_channel" text,
"digital_channel" text,
"network" text
);
Question: What city licensed the broadcast on virtual channel 8.2?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28582091_2" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What was the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28578233_1" (
"ime_exchange_including_spot_credit_and_forward_transactions" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the 2007/08number wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28578233_1" (
"ime_exchange_including_spot_credit_and_forward_transactions" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: When 2007/08 is 6,443.8 what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28578233_1" (
"ime_exchange_including_spot_credit_and_forward_transactions" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: When ime exchange (including... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28578233_1" (
"ime_exchange_including_spot_credit_and_forward_transactions" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: When ime exchange (includin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28578233_1" (
"ime_exchange_including_spot_credit_and_forward_transactions" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the 2010/11 number w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28578233_1" (
"ime_exchange_including_spot_credit_and_forward_transactions" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: When the ime exchange (inclu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the chassis for ludwig fischer
<|assistant|>
SELECT "chassis" FROM "en... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the entrant for bruno sterzi
<|assistant|>
SELECT "entrant" FROM "entr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the least number for nello pagani
<|assistant|>
SELECT MIN("no") FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "linebackers" (
"position" text,
"player" text,
"period" text,
"teams" text,
"consecutive_starts" real,
"playoffs" real,
"total" real
);
Question: What is the largest number of consecutive s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "linebackers" (
"position" text,
"player" text,
"period" text,
"teams" text,
"consecutive_starts" real,
"playoffs" real,
"total" real
);
Question: What team(s) had 120 consecutive starts?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "linebackers" (
"position" text,
"player" text,
"period" text,
"teams" text,
"consecutive_starts" real,
"playoffs" real,
"total" real
);
Question: What period(s) featured a left inside lineb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "linebackers" (
"position" text,
"player" text,
"period" text,
"teams" text,
"consecutive_starts" real,
"playoffs" real,
"total" real
);
Question: How many consecutive starts for the linebac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28611413_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_no" real,
"viewers_millions" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28611413_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_no" real,
"viewers_millions" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28611413_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_no" real,
"viewers_millions" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28611413_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_no" real,
"viewers_millions" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entire_conference" (
"category" text,
"player" text,
"team" text,
"games_played" real,
"totals" text,
"average" text
);
Question: Who was the player when totals were 105-161?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entire_conference" (
"category" text,
"player" text,
"team" text,
"games_played" real,
"totals" text,
"average" text
);
Question: How many items appear in the average column when the totals w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entire_conference" (
"category" text,
"player" text,
"team" text,
"games_played" real,
"totals" text,
"average" text
);
Question: What were the totals when the average is 6.25?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entire_conference" (
"category" text,
"player" text,
"team" text,
"games_played" real,
"totals" text,
"average" text
);
Question: Who was the team when the category is field goal percentage?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "federal_election_results" (
"election" real,
"num_of_candidates_nominated" real,
"num_of_seats_won" real,
"num_of_total_votes" real,
"pct_of_popular_vote" text
);
Question: Name the election fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country" text,
"miss_universe" text,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country" text,
"miss_universe" text,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"country" text,
"miss_universe" text,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real,
"total" rea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.