text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tbm_regions" (
"region_name" text,
"state_name" text,
"region_num" real,
"page_count" real,
"regional_page_num" text
);
Question: In Ca/Nv, what are all of the regional page #s?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "region_rank_by_number_of_wins" (
"region_represented" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicabl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "region_rank_by_number_of_wins" (
"region_represented" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicabl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "region_rank_by_number_of_wins" (
"region_represented" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicabl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2879165_1" (
"ioc_code" text,
"country" text,
"network_station" text,
"television_station" text,
"radio_station" text
);
Question: What is the name of the country when the ioc code is ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2879165_1" (
"ioc_code" text,
"country" text,
"network_station" text,
"television_station" text,
"radio_station" text
);
Question: What is the ioc code when the country is listed as Sing... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2879165_1" (
"ioc_code" text,
"country" text,
"network_station" text,
"television_station" text,
"radio_station" text
);
Question: What is listed in Network station when the country is B... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2879165_1" (
"ioc_code" text,
"country" text,
"network_station" text,
"television_station" text,
"radio_station" text
);
Question: How many television station listing have a radio statio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2879165_1" (
"ioc_code" text,
"country" text,
"network_station" text,
"television_station" text,
"radio_station" text
);
Question: How many television station listings have a ioc code as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28768925_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28768925_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28768925_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28768925_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28768925_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_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28787871_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What was the airdate of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28787871_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: How many numbers in the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28787871_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What is the highest pro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28787871_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: How many millions of US... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"county" text,
"balls" real,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: When the number of wicket... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"county" text,
"balls" real,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: How many wickets was ther... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"county" text,
"balls" real,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: What is the average of al... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dzrh_nationwide" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"station_type" text,
"location" text
);
Question: Which branding has the callsign of DXGH?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dzrh_nationwide" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"station_type" text,
"location" text
);
Question: What type of station is within the 972khz frequency?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dzrh_nationwide" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"station_type" text,
"location" text
);
Question: What types of stations are located in Cebu?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dzrh_nationwide" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"station_type" text,
"location" text
);
Question: Where are all the 1485khz frequency located?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dzrh_nationwide" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"station_type" text,
"location" text
);
Question: How many locations have the callsign DXGH?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dzrh_nationwide" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"station_type" text,
"location" text
);
Question: Where are the broadcasting companys with the callsig... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28793672_1" (
"episode_air_date" text,
"audition_city" text,
"date" text,
"venue" text,
"callback_date" text,
"callback_venue" text,
"golden_tickets" real
);
Question: Where is the a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28793672_1" (
"episode_air_date" text,
"audition_city" text,
"date" text,
"venue" text,
"callback_date" text,
"callback_venue" text,
"golden_tickets" real
);
Question: How many times... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"year" text,
"candidates" real,
"total_votes" real,
"average_votes_per_candidate" real,
"pct_of_total_vote" text,
"average_pct_of_vote_per_candidate" text,
"saved... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"year" text,
"candidates" real,
"total_votes" real,
"average_votes_per_candidate" real,
"pct_of_total_vote" text,
"average_pct_of_vote_per_candidate" text,
"saved... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_election_results" (
"year" text,
"candidates" real,
"total_votes" real,
"average_votes_per_candidate" real,
"pct_of_total_vote" text,
"average_pct_of_vote_per_candidate" text,
"saved... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dramas" (
"no" real,
"name" text,
"country" text,
"original_channel" text,
"no_of_episodes" real,
"running_time" text,
"launched" text,
"date" text,
"irst" text
);
Question: How many sh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dramas" (
"no" real,
"name" text,
"country" text,
"original_channel" text,
"no_of_episodes" real,
"running_time" text,
"launched" text,
"date" text,
"irst" text
);
Question: How many IR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dramas" (
"no" real,
"name" text,
"country" text,
"original_channel" text,
"no_of_episodes" real,
"running_time" text,
"launched" text,
"date" text,
"irst" text
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dramas" (
"no" real,
"name" text,
"country" text,
"original_channel" text,
"no_of_episodes" real,
"running_time" text,
"launched" text,
"date" text,
"irst" text
);
Question: What are th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: How many economy stats for the player ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: Who is the player with an average of 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: What is the economy of the player with... |
<|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" text,
"100s" real,
"50s" real
);
Question: What is the average when the hig... |
<|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" text,
"100s" real,
"50s" real
);
Question: Who is the player when the highe... |
<|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" text,
"100s" real,
"50s" real
);
Question: How many runs are there when the... |
<|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" text,
"100s" real,
"50s" real
);
Question: What is the average when the 100... |
<|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" text,
"100s" real,
"50s" real
);
Question: What is the innings when the hig... |
<|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" text,
"100s" real,
"50s" real
);
Question: What is the highest number liste... |
<|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" text,
"100s" real,
"50s" real
);
Question: How many entries is under 50s co... |
<|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" text,
"100s" real,
"50s" real
);
Question: How many runs are there when the... |
<|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" text,
"100s" real,
"50s" real
);
Question: Who is the player when the avera... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real,
"10wi" real
);
Question: what is the minimumfor 5w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real,
"10wi" real
);
Question: how many 10wi and bbi is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real,
"10wi" real
);
Question: how many innings had bbi ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real,
"10wi" real
);
Question: how many 5wi with an aver... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"innings" real,
"wickets" real,
"average" text,
"bbi" text,
"bbm" text,
"5wi" real,
"10wi" real
);
Question: how many innings have an ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: What is the average when the BBI is 3/... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: Who is the player when the economy is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: Who is the player when the economy is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: What the number of matches when the BB... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages" (
"player" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real
);
Question: What is the BBI whent the economy is 5... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "short_tournaments" (
"year" text,
"position" real,
"games_played" real,
"won" real,
"tied" real,
"lost" real,
"goals_scored" real,
"goals_against" real,
"points" real,
"postseason_plac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "short_tournaments" (
"year" text,
"position" real,
"games_played" real,
"won" real,
"tied" real,
"lost" real,
"goals_scored" real,
"goals_against" real,
"points" real,
"postseason_plac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "short_tournaments" (
"year" text,
"position" real,
"games_played" real,
"won" real,
"tied" real,
"lost" real,
"goals_scored" real,
"goals_against" real,
"points" real,
"postseason_plac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "short_tournaments" (
"year" text,
"position" real,
"games_played" real,
"won" real,
"tied" real,
"lost" real,
"goals_scored" real,
"goals_against" real,
"points" real,
"postseason_plac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progression" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"sprints_classification" text,
"team_classifi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progression" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"sprints_classification" text,
"team_classifi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progression" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"sprints_classification" text,
"team_classifi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progression" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"sprints_classification" text,
"team_classifi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2003_2004" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the highest series number f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2003_2004" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the episode series number f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2003_2004" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the production code for "St... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2003_2004" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who directed the episode that aired... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2003_2004" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the episode series number o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1_2003_2004" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many episode titles have series... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How may college/junior/club team has a the nhl tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What player was picked by the New York Rangers?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What position did the draft pick for Toronto Mapl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Who did Edmonton Oilers get for their draft pick?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What college team did Milan Kostolny play for?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What player was picked for Buffalo Sabres?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What NHL team picked Sergei Luchinkin?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_prix_motorcycle_racing_world_champ" (
"rank" real,
"rider" text,
"country" text,
"winning_span" text,
"moto_gp_500cc" real,
"350cc" real,
"moto2_250cc" real,
"moto3_125cc" real,
"8... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28884880_4" (
"conference" text,
"regular_season_winner" text,
"conference_player_of_the_year" text,
"conference_tournament" text,
"tournament_venue_city" text,
"tournament_winner" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28884880_4" (
"conference" text,
"regular_season_winner" text,
"conference_player_of_the_year" text,
"conference_tournament" text,
"tournament_venue_city" text,
"tournament_winner" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28884880_4" (
"conference" text,
"regular_season_winner" text,
"conference_player_of_the_year" text,
"conference_tournament" text,
"tournament_venue_city" text,
"tournament_winner" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_roland_drum_sets" (
"drum_set_name" text,
"product_line" text,
"years_available" text,
"drum_module" text,
"kick_drum_pad" text,
"snare_pad" text,
"tom_tom_pads" text,
"hi_hat_pad_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_roland_drum_sets" (
"drum_set_name" text,
"product_line" text,
"years_available" text,
"drum_module" text,
"kick_drum_pad" text,
"snare_pad" text,
"tom_tom_pads" text,
"hi_hat_pad_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_roland_drum_sets" (
"drum_set_name" text,
"product_line" text,
"years_available" text,
"drum_module" text,
"kick_drum_pad" text,
"snare_pad" text,
"tom_tom_pads" text,
"hi_hat_pad_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_roland_drum_sets" (
"drum_set_name" text,
"product_line" text,
"years_available" text,
"drum_module" text,
"kick_drum_pad" text,
"snare_pad" text,
"tom_tom_pads" text,
"hi_hat_pad_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_roland_drum_sets" (
"drum_set_name" text,
"product_line" text,
"years_available" text,
"drum_module" text,
"kick_drum_pad" text,
"snare_pad" text,
"tom_tom_pads" text,
"hi_hat_pad_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28925058_1" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text
);
Question: Who won the race on June 26?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28925058_1" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text
);
Question: Who won the race on June 26?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28925058_1" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text
);
Question: Who won the race on August 15?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28925058_1" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text
);
Question: What is the date of the Italian ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28925058_1" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text
);
Question: How many dates did Daniel Ruiz w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28925058_1" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text
);
Question: Who won the race on May 1?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "changes_during_term" (
"by_election" real,
"electorate" text,
"date" text,
"incumbent" text,
"reason" text,
"winner" text
);
Question: When james rutherford is the incumbent how many dates ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.