text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17624965_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17624965_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: Na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: Na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: Na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
Question: How many differe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
Question: Who did the play... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
Question: Who were the pre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"sideline_reporters" text,
"pregame_host" text,
"pregame_analysts" text
);
Question: Who did pregame ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_the_most_populous_us_counties_so" (
"rank" real,
"county" text,
"state" text,
"land_area_km" text,
"land_area_mi" text,
"april_1_2010_census" real,
"april_1_2010_density_km" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_the_most_populous_us_counties_so" (
"rank" real,
"county" text,
"state" text,
"land_area_km" text,
"land_area_mi" text,
"april_1_2010_census" real,
"april_1_2010_density_km" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_the_most_populous_us_counties_so" (
"rank" real,
"county" text,
"state" text,
"land_area_km" text,
"land_area_mi" text,
"april_1_2010_census" real,
"april_1_2010_density_km" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semi_pro_seasons_1987_1993" (
"season" real,
"winners" text,
"total_wins" real,
"runners_up" text,
"third_place" text,
"number_of_clubs" real
);
Question: What is the lowest season?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semi_pro_seasons_1987_1993" (
"season" real,
"winners" text,
"total_wins" real,
"runners_up" text,
"third_place" text,
"number_of_clubs" real
);
Question: How many values for number of clubs ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semi_pro_seasons_1987_1993" (
"season" real,
"winners" text,
"total_wins" real,
"runners_up" text,
"third_place" text,
"number_of_clubs" real
);
Question: How many total wins with Shanghai as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17625876_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Name the or... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_2" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: How many people wrote the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: What was the titl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: What was the firs... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: How many episodes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_4" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: Who was the direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: What is the total... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: What are the movi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: What is the total... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17641206_8" (
"episode" real,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"duration" text,
"viewership" text
);
Question: How many episodes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"country" text,
"transfers_in" real,
"transfers_out" real,
"internal_transfers" real,
"total_transfers" real
);
Question: Name the least transfers out when transfers is 21
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"country" text,
"transfers_in" real,
"transfers_out" real,
"internal_transfers" real,
"total_transfers" real
);
Question: Name the least total transfers for romania
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"country" text,
"transfers_in" real,
"transfers_out" real,
"internal_transfers" real,
"total_transfers" real
);
Question: Name the least internal transfers
<|assistant|>
SELECT MI... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
Question: How many status are there for Moncton?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
Question: What is the census ranking of the location with ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
Question: What is the name of the place with 582.20 square... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "westmorland_county_new_brunswick" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"census_ranking" text
);
Question: What is the name of the place where area is 578.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
Question: If the points is 20, wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
Question: What is the time/retired... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
Question: If the laps is 191, what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
Question: What is the time/retired... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
Question: If the time/retired is +... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
);
Question: If the driver is Milka D... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progress" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classificat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series_race_winners" (
"season" real,
"date" text,
"winning_driver" text,
"car_num" real,
"sponsor" text,
"make" text,
"team" text,
"avg_speed" text,
"margin_of_victory... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_division_final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"poin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_division_final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"poin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_division_final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"poin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1771753_3" (
"season" text,
"date" text,
"driver" text,
"team" text,
"chassis" text,
"engine" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17736890_5" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real
);
Question: What tie number featured Chelsea as the home team?
<|assistant|>
SELECT MI... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17736890_5" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real
);
Question: In what tie were Leeds United the away team?
<|assistant|>
SELECT MAX("tie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17736890_5" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real
);
Question: Who was the home team when Burnley were the away team?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: what is the lowest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What was the score ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What was the outcom... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_10_4_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: On what surface was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "active_teams" (
"tournament_appearances" real,
"team" text,
"league" text,
"wins" real,
"final_losses" real,
"semi_final_losses" real,
"fourth_place" real,
"final_win_pct" text,
"years_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: What is the record for November 26, 1961?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: What was the game site against the Dallas Texans?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_secon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_secon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_secon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_secon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"final_television_commentator" text,
"radio_commentator" text,
"spokesperson" text,
"semi_final_television_commentator" text,
"semi_final_secon... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: What was their record when the attendance at the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: When did they play at the Cotton Bowl?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"rank" real,
"family" text,
"abbre_viation" text,
"constellation" text,
"area_sq_deg" text,
"area_msr" text,
"per_cent_age" text,
"right_ascension_hm" text,
"decli_nati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1776943_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Name the broadcast date for 6.4 million viewers for the archi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1776943_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Name the archive where run time 24:04
<|assistant|>
SELECT "a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: On November 1, 1964, where was the game site?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: How many people attended the Week 8 game when Den... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: How many times did the Denver Broncos face the Da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: What year was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: For races with an ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: What manufacturer ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: What date did Jami... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17801022_1" (
"year" real,
"date" text,
"driver" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: What was the date ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17802778_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text
);
Question: Wha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.