text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: What is the first number in series... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Which title had the production cod... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: When did the show directed by Mich... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Which series numbers were directed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: How many people directed the show ... |
<|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 regular seasons occurred in 2011?
<|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: What is the largest numbered?
<|assistant|>
SELECT MAX("divis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many positions does rene villemure play?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the pick# for the medicine hat tigers (... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What nhl team does stan weir play for?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What nhl team does dwight bialowas play for?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Lorne Henning has the lowest pick# of?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Jack Lynch played for the oshawa generals (omjh... |
<|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 colle/junior/club team did Michel Boudr... |
<|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 players played right wing?
<|assistant|... |
<|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 nationality is the player from the Phil... |
<|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 position did the player hold that playe... |
<|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 college/junior/club team did the player... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Name the number of teams for college/junior cl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Name the position for ron lalonde
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Name the college/junior club team for pick num... |
<|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: How many positions did 1972 NHL Draft pick Rene... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: what's the college/junior/club team with nhl t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: what's the nhl team with college/junior/club t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: who is the the player with pick # being 132
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: how many player with nhl team being vancouver... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: what's the position with player being ray bout... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "railway_stations_currently_in_use" (
"station_and_code" text,
"managed_by" text,
"lines_served" text,
"station_users_2007_8" real,
"station_users_2008_9" text,
"year_opened" text,
"platforms... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "railway_stations_currently_in_use" (
"station_and_code" text,
"managed_by" text,
"lines_served" text,
"station_users_2007_8" real,
"station_users_2008_9" text,
"year_opened" text,
"platforms... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "railway_stations_currently_in_use" (
"station_and_code" text,
"managed_by" text,
"lines_served" text,
"station_users_2007_8" real,
"station_users_2008_9" text,
"year_opened" text,
"platforms... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Which is the class A when Weslaco was the cl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Which is the class A when Marion was the cla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Which is the class AA when graford was the c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: How many class AA in the year 2002-03
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Who was the class AAAA when class AAAAA was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: What was the class AAAA when San Angelo Lake... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"num" real,
"title" text,
"length" text,
"writer" text,
"composer" text,
"arranger" text,
"dialect" text,
"mix_engineer" text
);
Question: Who was the arranger for the tr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"num" real,
"title" text,
"length" text,
"writer" text,
"composer" text,
"arranger" text,
"dialect" text,
"mix_engineer" text
);
Question: Who was the writer for the song... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "track_listing" (
"num" real,
"title" text,
"length" text,
"writer" text,
"composer" text,
"arranger" text,
"dialect" text,
"mix_engineer" text
);
Question: What track number is 4:29 in le... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfhs_data" (
"states" text,
"males_pct" text,
"males_rank" real,
"females_pct" text,
"females_rank" real
);
Question: What is the female rank in Karnataka?
<|assistant|>
SELECT "females_rank" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
);
Question: What is the English title when the original tit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
);
Question: What is the episode number where the English ti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
);
Question: What was the original air date for episode numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
);
Question: What is the original title of season number 3?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"year" real,
"candidate" text,
"hare_quota" real,
"mandate" text,
"list_votes" real,
"list_pct" text
);
Question: Name the mandate for list pct 12.39%
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"year" real,
"candidate" text,
"hare_quota" real,
"mandate" text,
"list_votes" real,
"list_pct" text
);
Question: Name the total number of list votes for 20.95%
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Question: who is hte p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Question: what are all... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14845640_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14845640_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14847258_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: When ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14847258_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14847258_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: 15.03... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
);
Question: Name the most 3 credits
<|assistant|>
SELECT MIN("3_credits") ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
);
Question: Name the least 2 credits for straight hand
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
);
Question: Name the least 2 credits for flush
<|assistant|>
SELECT MIN("2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
);
Question: Name the hand for 1 credit 200
<|assistant|>
SELECT "hand" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
);
Question: Name the most 1 credit for three of a kind
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage_winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"young_rider_classification" text,
"team_classif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14855908_3" (
"dvd_name" text,
"episodes" real,
"region_1_can" text,
"region_1_us" text,
"region_2_fr" text,
"region_4" text
);
Question: How many episodes were released on DVD in the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14855908_3" (
"dvd_name" text,
"episodes" real,
"region_1_can" text,
"region_1_us" text,
"region_2_fr" text,
"region_4" text
);
Question: How many episodes were put out in Region 4 on ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14855908_3" (
"dvd_name" text,
"episodes" real,
"region_1_can" text,
"region_1_us" text,
"region_2_fr" text,
"region_4" text
);
Question: How many episodes were released in the season ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14857583_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
);
Question: What was the altitude ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
);
Question: What was the altitude ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
);
Question: What was the altitude ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
);
Question: What was the yield of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
);
Question: What explosion had an ... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: List all opponents in the September 23, 1984 game?
<|as... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: What was the score in the game played on December 2, 19... |
<|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,
"record" text,
"game_site" text,
"attendance" real
);
Question: How many scores were there in week 11?
<|assistant|>
SE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.