text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_7" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" text,
"premiere_air_dates" text
);
Question: Where was the season that ended on June 25 located?
<|assistant|>
SELECT "country" FROM "table1_1949994_7" WHERE "end_date"='June 25';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_7" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" text,
"premiere_air_dates" text
);
Question: When did the season that end in July ? start?
<|assistant|>
SELECT "start_date" FROM "table1_1949994_7" WHERE "end_date"='July ?';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_7" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" text,
"premiere_air_dates" text
);
Question: When did the season with 1 team format premiere?
<|assistant|>
SELECT "premiere_air_dates" FROM "table1_1949994_7" WHERE "format"='1 Team';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_7" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" text,
"premiere_air_dates" text
);
Question: What's the format of the season that ended on June 25?
<|assistant|>
SELECT "format" FROM "table1_1949994_7" WHERE "end_date"='June 25';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_7" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" text,
"premiere_air_dates" text
);
Question: What's season 3's premiere date?
<|assistant|>
SELECT "premiere_air_dates" FROM "table1_1949994_7" WHERE "no"=3;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_7" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" text,
"premiere_air_dates" text
);
Question: When did the season located in the Netherlands premier?
<|assistant|>
SELECT "premiere_air_dates" FROM "table1_1949994_7" WHERE "country"='The Netherlands';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19501664_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Name the viewers for the episode directed by tony phelan
<|assistant|>
SELECT "u_s_viewers_millions" FROM "table1_19501664_1" WHERE "directed_by"='Tony Phelan';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19501664_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Name the original air date for 15.74 viewers
<|assistant|>
SELECT "original_air_date" FROM "table1_19501664_1" WHERE "u_s_viewers_millions"='15.74';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19501664_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Name the title for us viewers being 18.29
<|assistant|>
SELECT "title" FROM "table1_19501664_1" WHERE "u_s_viewers_millions"='18.29';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19495707_1" (
"application" text,
"latest_release_date_and_version" text,
"developed_by" text,
"platforms" text,
"mainly_used_for" text,
"license" text
);
Question: Name the platforms for cityengine
<|assistant|>
SELECT "platforms" FROM "table1_19495707_1" WHERE "application"='CityEngine';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19495707_1" (
"application" text,
"latest_release_date_and_version" text,
"developed_by" text,
"platforms" text,
"mainly_used_for" text,
"license" text
);
Question: Name the license for e-on vue
<|assistant|>
SELECT "license" FROM "table1_19495707_1" WHERE "application"='E-on Vue';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19495707_1" (
"application" text,
"latest_release_date_and_version" text,
"developed_by" text,
"platforms" text,
"mainly_used_for" text,
"license" text
);
Question: Name the number of developed by for solid edge
<|assistant|>
SELECT COUNT("developed_by") FROM "table1_19495707_1" WHERE "application"='Solid Edge';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19495707_1" (
"application" text,
"latest_release_date_and_version" text,
"developed_by" text,
"platforms" text,
"mainly_used_for" text,
"license" text
);
Question: Name the license for 2009-05-25 v 7.61
<|assistant|>
SELECT "license" FROM "table1_19495707_1" WHERE "latest_release_date_and_version"='2009-05-25 v 7.61';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19495707_1" (
"application" text,
"latest_release_date_and_version" text,
"developed_by" text,
"platforms" text,
"mainly_used_for" text,
"license" text
);
Question: Name the number of application for modeling, computer aided design, animation
<|assistant|>
SELECT COUNT("application") FROM "table1_19495707_1" WHERE "mainly_used_for"='Modeling, Computer Aided Design, Animation';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19495707_1" (
"application" text,
"latest_release_date_and_version" text,
"developed_by" text,
"platforms" text,
"mainly_used_for" text,
"license" text
);
Question: Name the application for caligari corporation
<|assistant|>
SELECT "application" FROM "table1_19495707_1" WHERE "developed_by"='Caligari Corporation';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_8" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" real,
"premiere_air_dates" text
);
Question: What series number started production on June 6?
<|assistant|>
SELECT MIN("no") FROM "table1_1949994_8" WHERE "start_date"='June 6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_8" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" real,
"premiere_air_dates" text
);
Question: What was the production format for the series with the local title Fort Boyard: Ultimate Challenge?
<|assistant|>
SELECT "format" FROM "table1_1949994_8" WHERE "local_title"='Fort Boyard: Ultimate Challenge';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_8" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" real,
"premiere_air_dates" text
);
Question: What were the television air dates for the series that had a production start date of June 16?
<|assistant|>
SELECT "premiere_air_dates" FROM "table1_1949994_8" WHERE "start_date"='June 16';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_8" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" real,
"premiere_air_dates" text
);
Question: What series number had the local title of Fort Boyard?
<|assistant|>
SELECT MAX("no") FROM "table1_1949994_8" WHERE "local_title"='Fort Boyard';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1949994_8" (
"no" real,
"country" text,
"local_title" text,
"format" text,
"start_date" text,
"end_date" text,
"episodes" real,
"premiere_air_dates" text
);
Question: What was the minimum number of episodes in any of the series?
<|assistant|>
SELECT MIN("episodes") FROM "table1_1949994_8";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19508635_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Name the week number for the beatles
<|assistant|>
SELECT "week_num" FROM "table1_19508635_1" WHERE "theme"='The Beatles';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19508635_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Name the result for 1980s
<|assistant|>
SELECT "result" FROM "table1_19508635_1" WHERE "theme"='1980s';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19508635_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Name the order number for 1960s
<|assistant|>
SELECT "order_num" FROM "table1_19508635_1" WHERE "theme"='1960s';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19508635_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Name the result for dolly parton
<|assistant|>
SELECT "result" FROM "table1_19508635_1" WHERE "original_artist"='Dolly Parton';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19508635_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Name the song choice for michael jackson
<|assistant|>
SELECT "song_choice" FROM "table1_19508635_1" WHERE "original_artist"='Michael Jackson';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_three_2011" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What is the largest series number?
<|assistant|>
SELECT MAX("series_num") FROM "season_three_2011";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_three_2011" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What is the latest episode number with the title of Jerusalem?
<|assistant|>
SELECT MAX("episode_num") FROM "season_three_2011" WHERE "title"='Jerusalem';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_three_2011" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What was the original air date of the episode written by Michelle Offen?
<|assistant|>
SELECT "original_airdate" FROM "season_three_2011" WHERE "written_by"='Michelle Offen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_three_2011" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What is the title of the episode written by Vanessa Bates?
<|assistant|>
SELECT "title" FROM "season_three_2011" WHERE "written_by"='Vanessa Bates';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_three_2011" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What was the original air date for the episode Calle, The Transit of Venus?
<|assistant|>
SELECT "original_airdate" FROM "season_three_2011" WHERE "title"='The Transit of Venus';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" (
"rank" text,
"rating" text,
"completion_percentage" text,
"touchdown_percentage" text,
"yards_per_attempt" text,
"total_yards" text
);
Question: What is the completion percentage when yards per attempt was done by Steve McNair : 2003?
<|assistant|>
SELECT "completion_percentage" FROM "top_10_games_of_400_or_more_yards_by_cat" WHERE "yards_per_attempt"='Steve McNair : 2003';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" (
"rank" text,
"rating" text,
"completion_percentage" text,
"touchdown_percentage" text,
"yards_per_attempt" text,
"total_yards" text
);
Question: What rank has a rating of 146.8?
<|assistant|>
SELECT "rank" FROM "top_10_games_of_400_or_more_yards_by_cat" WHERE "rating"='146.8';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_games_of_400_or_more_yards_by_cat" (
"rank" text,
"rating" text,
"completion_percentage" text,
"touchdown_percentage" text,
"yards_per_attempt" text,
"total_yards" text
);
Question: How many yards per attempt were there when total yards were 513?
<|assistant|>
SELECT "yards_per_attempt" FROM "top_10_games_of_400_or_more_yards_by_cat" WHERE "total_yards"='513';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_two_2009" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What is the series number for the episode written by Kristen Dunphy and David Ogilvy?
<|assistant|>
SELECT MAX("series_num") FROM "season_two_2009" WHERE "written_by"='Kristen Dunphy and David Ogilvy';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_two_2009" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: If the title if the Lost Boy, how many directors were there?
<|assistant|>
SELECT COUNT("directed_by") FROM "season_two_2009" WHERE "title"='The Lost Boy';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_two_2009" (
"series_num" real,
"episode_num" real,
"title" text,
"written_by" text,
"directed_by" text,
"viewers" real,
"original_airdate" text
);
Question: What is the title for the episode that written by Michael Miller?
<|assistant|>
SELECT "title" FROM "season_two_2009" WHERE "written_by"='Michael Miller';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "total_playoff_berths_while_in_the_afl_af" (
"team" text,
"division_titles" real,
"playoff_berths" real,
"afl_titles" real,
"afc_championships" real,
"super_bowl_championships" real
);
Question: If the playoff berth is 17, what is the AFC championship number?
<|assistant|>
SELECT "afc_championships" FROM "total_playoff_berths_while_in_the_afl_af" WHERE "playoff_berths"=17;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "total_playoff_berths_while_in_the_afl_af" (
"team" text,
"division_titles" real,
"playoff_berths" real,
"afl_titles" real,
"afc_championships" real,
"super_bowl_championships" real
);
Question: If the team in the New England Patriots, what is the super bowl championship minimum number?
<|assistant|>
SELECT MIN("super_bowl_championships") FROM "total_playoff_berths_while_in_the_afl_af" WHERE "team"='New England Patriots';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "total_playoff_berths_while_in_the_afl_af" (
"team" text,
"division_titles" real,
"playoff_berths" real,
"afl_titles" real,
"afc_championships" real,
"super_bowl_championships" real
);
Question: What is the maximum number of AFC championships?
<|assistant|>
SELECT MAX("afc_championships") FROM "total_playoff_berths_while_in_the_afl_af";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19523708_1" (
"draw" real,
"artist" text,
"original" text,
"english_meaning" text,
"language" text,
"authors" text
);
Question: How many authors are present when the original was Carry On?
<|assistant|>
SELECT COUNT("authors") FROM "table1_19523708_1" WHERE "original"='Carry On';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19523708_1" (
"draw" real,
"artist" text,
"original" text,
"english_meaning" text,
"language" text,
"authors" text
);
Question: What was the draw for the english meaning Eyes that Never Lie?
<|assistant|>
SELECT "draw" FROM "table1_19523708_1" WHERE "language"='English' AND "english_meaning"='Eyes That Never Lie';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19523708_1" (
"draw" real,
"artist" text,
"original" text,
"english_meaning" text,
"language" text,
"authors" text
);
Question: What is the highest draw represented?
<|assistant|>
SELECT MAX("draw") FROM "table1_19523708_1";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19523708_1" (
"draw" real,
"artist" text,
"original" text,
"english_meaning" text,
"language" text,
"authors" text
);
Question: Who was the artist for the origin Shake it, Europe?
<|assistant|>
SELECT "artist" FROM "table1_19523708_1" WHERE "original"='Shake It, Europe';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"previous_season_2007_2008" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
Question: What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?
<|assistant|>
SELECT COUNT("arena_capacity") FROM "teams" WHERE "head_coach"='Yuriy Korotkevich';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"previous_season_2007_2008" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
Question: What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?
<|assistant|>
SELECT "arena_capacity" FROM "teams" WHERE "head_coach"='Roberto Serniotti';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"previous_season_2007_2008" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
Question: Who are the foreign players on team/s that play in Moscow?
<|assistant|>
SELECT "foreign_players_max_2" FROM "teams" WHERE "town"='Moscow';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"previous_season_2007_2008" text,
"team" text,
"town" text,
"arena_capacity" text,
"website" text,
"head_coach" text,
"foreign_players_max_2" text
);
Question: What are the previous season ranks of teams whose website is www.novavolley.narod.ru?
<|assistant|>
SELECT "previous_season_2007_2008" FROM "teams" WHERE "website"='www.novavolley.narod.ru';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_national_color_guard_competition_re" (
"region" text,
"wing" text,
"inspection" real,
"standard" real,
"indoor" real,
"outdoor" real,
"written" real,
"panel_quiz" real,
"mile_run" real,
"points" real,
"overall" text
);
Question: What are the minimum indoor results that have a 5 for inspection?
<|assistant|>
SELECT MIN("indoor") FROM "2013_national_color_guard_competition_re" WHERE "inspection"=5;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_national_color_guard_competition_re" (
"region" text,
"wing" text,
"inspection" real,
"standard" real,
"indoor" real,
"outdoor" real,
"written" real,
"panel_quiz" real,
"mile_run" real,
"points" real,
"overall" text
);
Question: What was the maximum number in written when the standard was 2?
<|assistant|>
SELECT MAX("written") FROM "2013_national_color_guard_competition_re" WHERE "standard"=2;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_national_color_guard_competition_re" (
"region" text,
"wing" text,
"inspection" real,
"standard" real,
"indoor" real,
"outdoor" real,
"written" real,
"panel_quiz" real,
"mile_run" real,
"points" real,
"overall" text
);
Question: How many point categories are there for the 3 mile run?
<|assistant|>
SELECT COUNT("points") FROM "2013_national_color_guard_competition_re" WHERE "mile_run"=3;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_national_color_guard_competition_re" (
"region" text,
"wing" text,
"inspection" real,
"standard" real,
"indoor" real,
"outdoor" real,
"written" real,
"panel_quiz" real,
"mile_run" real,
"points" real,
"overall" text
);
Question: What is the indoor number for the NJ wing/
<|assistant|>
SELECT "indoor" FROM "2013_national_color_guard_competition_re" WHERE "wing"='NJ';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2013_national_color_guard_competition_re" (
"region" text,
"wing" text,
"inspection" real,
"standard" real,
"indoor" real,
"outdoor" real,
"written" real,
"panel_quiz" real,
"mile_run" real,
"points" real,
"overall" text
);
Question: What is the indoor number for the NER region?
<|assistant|>
SELECT COUNT("indoor") FROM "2013_national_color_guard_competition_re" WHERE "region"='NER';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_criteria" (
"rank" text,
"name" text,
"lifespan" text,
"country" text,
"wins" real,
"majors" real,
"winning_span" text,
"span_years" real
);
Question: What is the winning span of the name martin kaymer?
<|assistant|>
SELECT "winning_span" FROM "detailed_criteria" WHERE "name"='Martin Kaymer';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_criteria" (
"rank" text,
"name" text,
"lifespan" text,
"country" text,
"wins" real,
"majors" real,
"winning_span" text,
"span_years" real
);
Question: What is the winning span in the country of England with the name of paul casey?
<|assistant|>
SELECT "winning_span" FROM "detailed_criteria" WHERE "country"='England' AND "name"='Paul Casey';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_criteria" (
"rank" text,
"name" text,
"lifespan" text,
"country" text,
"wins" real,
"majors" real,
"winning_span" text,
"span_years" real
);
Question: What is the winning span for the name of bernard gallacher?
<|assistant|>
SELECT "winning_span" FROM "detailed_criteria" WHERE "name"='Bernard Gallacher';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "detailed_criteria" (
"rank" text,
"name" text,
"lifespan" text,
"country" text,
"wins" real,
"majors" real,
"winning_span" text,
"span_years" real
);
Question: What is the winning span with the rank of 5?
<|assistant|>
SELECT "winning_span" FROM "detailed_criteria" WHERE "rank"='5';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19576091_1" (
"scorecard" real,
"date" text,
"venue" text,
"team_1" text,
"team_2" text,
"result" text,
"man_of_the_match" text
);
Question: How many scorecards are there for the match on October 28?
<|assistant|>
SELECT COUNT("scorecard") FROM "table1_19576091_1" WHERE "date"='October 28';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19576091_1" (
"scorecard" real,
"date" text,
"venue" text,
"team_1" text,
"team_2" text,
"result" text,
"man_of_the_match" text
);
Question: How many venues were there for the match on November 6?
<|assistant|>
SELECT COUNT("venue") FROM "table1_19576091_1" WHERE "date"='November 6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19576091_1" (
"scorecard" real,
"date" text,
"venue" text,
"team_1" text,
"team_2" text,
"result" text,
"man_of_the_match" text
);
Question: What was the venue for the match on October 10?
<|assistant|>
SELECT "venue" FROM "table1_19576091_1" WHERE "date"='October 10';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19576091_1" (
"scorecard" real,
"date" text,
"venue" text,
"team_1" text,
"team_2" text,
"result" text,
"man_of_the_match" text
);
Question: Who was the man of the match when the Rockets won by 9 wickets?
<|assistant|>
SELECT "man_of_the_match" FROM "table1_19576091_1" WHERE "result"='Rockets won by 9 wickets';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1958768_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the vacator for wisconsin 1st
<|assistant|>
SELECT "vacator" FROM "table1_1958768_3" WHERE "district"='Wisconsin 1st';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1958768_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the successor for pennsylvania 15th
<|assistant|>
SELECT "successor" FROM "table1_1958768_3" WHERE "district"='Pennsylvania 15th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19598014_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"gt2_winning_team" text,
"challenge_winning_team" text,
"results" text
);
Question: Name the circuit for #47 orbit racing
<|assistant|>
SELECT "circuit" FROM "table1_19598014_2" WHERE "challenge_winning_team"='#47 Orbit Racing';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19598014_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"gt2_winning_team" text,
"challenge_winning_team" text,
"results" text
);
Question: Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin
<|assistant|>
SELECT "gt2_winning_team" FROM "table1_19598014_2" WHERE "lmp2_winning_team"='Butch Leitzinger Marino Franchitti Ben Devlin';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19598014_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"gt2_winning_team" text,
"challenge_winning_team" text,
"results" text
);
Question: Name the lmp 1 winning team for rnd being 2 and adrian fernández luis díaz
<|assistant|>
SELECT "lmp1_winning_team" FROM "table1_19598014_2" WHERE "rnd"=2 AND "lmp2_winning_team"='Adrian Fernández Luis Díaz';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"country" text,
"area_km" real,
"population" real,
"population_density_per_km" real,
"hdi_2011" text,
"capital" text
);
Question: Which capitals have an area of exactly 377930 square km?
<|assistant|>
SELECT "capital" FROM "demographics" WHERE "area_km"=377930;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"country" text,
"area_km" real,
"population" real,
"population_density_per_km" real,
"hdi_2011" text,
"capital" text
);
Question: What is the total number of capitals that have an area of exactly 1104 square km?
<|assistant|>
SELECT COUNT("capital") FROM "demographics" WHERE "area_km"=1104;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"country" text,
"area_km" real,
"population" real,
"population_density_per_km" real,
"hdi_2011" text,
"capital" text
);
Question: What capital has a population of exactly 1339724852?
<|assistant|>
SELECT "capital" FROM "demographics" WHERE "population"=1339724852;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"country" text,
"area_km" real,
"population" real,
"population_density_per_km" real,
"hdi_2011" text,
"capital" text
);
Question: How many populations have a capital of Hong Kong?
<|assistant|>
SELECT COUNT("population") FROM "demographics" WHERE "capital"='Hong Kong';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wise_district_demographics_http_gov_bih_" (
"districts_of_bihar" text,
"total_population_2001" real,
"male_population_2001" real,
"female_population_2001" real,
"growth_rate_1981_91" text,
"growth_rate_1991_01" text,
"sex_ratio_1991" real,
"sex_ratio_2001" real,
"population_density_1991" real,
"population_density_2001" real
);
Question: What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
<|assistant|>
SELECT "male_population_2001" FROM "wise_district_demographics_http_gov_bih_" WHERE "growth_rate_1991_01"='36.16';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wise_district_demographics_http_gov_bih_" (
"districts_of_bihar" text,
"total_population_2001" real,
"male_population_2001" real,
"female_population_2001" real,
"growth_rate_1981_91" text,
"growth_rate_1991_01" text,
"sex_ratio_1991" real,
"sex_ratio_2001" real,
"population_density_1991" real,
"population_density_2001" real
);
Question: What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
<|assistant|>
SELECT MIN("total_population_2001") FROM "wise_district_demographics_http_gov_bih_" WHERE "growth_rate_1991_01"='33.08';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wise_district_demographics_http_gov_bih_" (
"districts_of_bihar" text,
"total_population_2001" real,
"male_population_2001" real,
"female_population_2001" real,
"growth_rate_1981_91" text,
"growth_rate_1991_01" text,
"sex_ratio_1991" real,
"sex_ratio_2001" real,
"population_density_1991" real,
"population_density_2001" real
);
Question: What are all values for male population in 2001 when sex ratio in 1991 is 896?
<|assistant|>
SELECT "male_population_2001" FROM "wise_district_demographics_http_gov_bih_" WHERE "sex_ratio_1991"=896;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wise_district_demographics_http_gov_bih_" (
"districts_of_bihar" text,
"total_population_2001" real,
"male_population_2001" real,
"female_population_2001" real,
"growth_rate_1981_91" text,
"growth_rate_1991_01" text,
"sex_ratio_1991" real,
"sex_ratio_2001" real,
"population_density_1991" real,
"population_density_2001" real
);
Question: What is every growth rate in 1991-2001 when sex ratio in 2001 is 937?
<|assistant|>
SELECT "growth_rate_1991_01" FROM "wise_district_demographics_http_gov_bih_" WHERE "sex_ratio_2001"=937;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wise_district_demographics_http_gov_bih_" (
"districts_of_bihar" text,
"total_population_2001" real,
"male_population_2001" real,
"female_population_2001" real,
"growth_rate_1981_91" text,
"growth_rate_1991_01" text,
"sex_ratio_1991" real,
"sex_ratio_2001" real,
"population_density_1991" real,
"population_density_2001" real
);
Question: What districts of Bihar have a sex ratio in 1991 of 864?
<|assistant|>
SELECT "districts_of_bihar" FROM "wise_district_demographics_http_gov_bih_" WHERE "sex_ratio_1991"=864;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "marriage_statistics" (
"year" text,
"marriages_between_men" real,
"marriages_between_women" real,
"same_sex_marriages" real,
"total_marriages" real,
"pct_same_sex_marriages" text
);
Question: How many marriages between women have % same-sex marriages of 1.06?
<|assistant|>
SELECT "marriages_between_women" FROM "marriage_statistics" WHERE "pct_same_sex_marriages"='1.06';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "marriage_statistics" (
"year" text,
"marriages_between_men" real,
"marriages_between_women" real,
"same_sex_marriages" real,
"total_marriages" real,
"pct_same_sex_marriages" text
);
Question: What is the % of same-sex marriages for the year of 2011?
<|assistant|>
SELECT "pct_same_sex_marriages" FROM "marriage_statistics" WHERE "year"='2011';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "marriage_statistics" (
"year" text,
"marriages_between_men" real,
"marriages_between_women" real,
"same_sex_marriages" real,
"total_marriages" real,
"pct_same_sex_marriages" text
);
Question: How many % same-sex marriages are there for the year 2008?
<|assistant|>
SELECT COUNT("pct_same_sex_marriages") FROM "marriage_statistics" WHERE "year"='2008';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "marriage_statistics" (
"year" text,
"marriages_between_men" real,
"marriages_between_women" real,
"same_sex_marriages" real,
"total_marriages" real,
"pct_same_sex_marriages" text
);
Question: How many % same-sex marriages are marriages between men for 923?
<|assistant|>
SELECT COUNT("pct_same_sex_marriages") FROM "marriage_statistics" WHERE "marriages_between_men"=923;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19632728_1" (
"season_num" real,
"episode_num" real,
"title" text,
"director_s" text,
"writer_s" text,
"original_air_date" text
);
Question: When was the episode number 2 originally aired?
<|assistant|>
SELECT "original_air_date" FROM "table1_19632728_1" WHERE "episode_num"=2;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19632728_1" (
"season_num" real,
"episode_num" real,
"title" text,
"director_s" text,
"writer_s" text,
"original_air_date" text
);
Question: When was the episode titled "The Parachute of Healing" originally aired?
<|assistant|>
SELECT "original_air_date" FROM "table1_19632728_1" WHERE "title"='\"The Parachute of Healing\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19632728_1" (
"season_num" real,
"episode_num" real,
"title" text,
"director_s" text,
"writer_s" text,
"original_air_date" text
);
Question: Who was the writer of the episode titled "The Parachute of Healing"?
<|assistant|>
SELECT "writer_s" FROM "table1_19632728_1" WHERE "title"='\"The Parachute of Healing\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_19632728_1" (
"season_num" real,
"episode_num" real,
"title" text,
"director_s" text,
"writer_s" text,
"original_air_date" text
);
Question: What was the highest season number?
<|assistant|>
SELECT MAX("season_num") FROM "table1_19632728_1";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the margin of victory of Steve Stricker as a runner up?
<|assistant|>
SELECT "margin_of_victory" FROM "pga_tour_wins_8" WHERE "runner_s_up"='Steve Stricker';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: How many to par has the winning score of 69-66-68=203.
<|assistant|>
SELECT "to_par" FROM "pga_tour_wins_8" WHERE "winning_score"='69-66-68=203';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What is the minimum number of the bmw championship tournament.
<|assistant|>
SELECT MIN("no") FROM "pga_tour_wins_8" WHERE "tournament"='BMW Championship';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What is the total number of John Merrick as a runner up?
<|assistant|>
SELECT COUNT("no") FROM "pga_tour_wins_8" WHERE "runner_s_up"='John Merrick';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitors_and_betting" (
"sp" text,
"number" real,
"horse" text,
"age" real,
"handicap_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text,
"finishing_position" text
);
Question: What horses does r. a. Scott own?
<|assistant|>
SELECT "horse" FROM "competitors_and_betting" WHERE "owner"='R. A. Scott';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitors_and_betting" (
"sp" text,
"number" real,
"horse" text,
"age" real,
"handicap_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text,
"finishing_position" text
);
Question: How many numbers have sp of 20/1 and a finishing position of fence 19?
<|assistant|>
SELECT COUNT("number") FROM "competitors_and_betting" WHERE "sp"='20/1' AND "finishing_position"='Fence 19';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitors_and_betting" (
"sp" text,
"number" real,
"horse" text,
"age" real,
"handicap_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text,
"finishing_position" text
);
Question: Which handicap has the horse knowhere?
<|assistant|>
SELECT "handicap_st_lb" FROM "competitors_and_betting" WHERE "horse"='Knowhere';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitors_and_betting" (
"sp" text,
"number" real,
"horse" text,
"age" real,
"handicap_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text,
"finishing_position" text
);
Question: What colors does David Langdon use?
<|assistant|>
SELECT "colours" FROM "competitors_and_betting" WHERE "owner"='David Langdon';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"persian_title" text,
"director" text,
"result" text
);
Question: If the film title nominated is Baran, what was the result?
<|assistant|>
SELECT "result" FROM "submissions" WHERE "film_title_used_in_nomination"='Baran';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"persian_title" text,
"director" text,
"result" text
);
Question: For the Persian Title میم مثل مادر, what were the results?
<|assistant|>
SELECT "result" FROM "submissions" WHERE "persian_title"='میم مثل مادر';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"persian_title" text,
"director" text,
"result" text
);
Question: For the Persian title گبه, What was the film title used for the nomination?
<|assistant|>
SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "persian_title"='گبه';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "buses" (
"fleet_num" text,
"year" real,
"manufacture" text,
"model" text,
"length_ft" real,
"engine" text,
"transmission" text
);
Question: What year had an Allison B400R transmission and a model of BRT?
<|assistant|>
SELECT "year" FROM "buses" WHERE "transmission"='Allison B400R' AND "model"='BRT';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "buses" (
"fleet_num" text,
"year" real,
"manufacture" text,
"model" text,
"length_ft" real,
"engine" text,
"transmission" text
);
Question: What is the fleet number when the length (ft) is 30?
<|assistant|>
SELECT "fleet_num" FROM "buses" WHERE "length_ft"=30;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "buses" (
"fleet_num" text,
"year" real,
"manufacture" text,
"model" text,
"length_ft" real,
"engine" text,
"transmission" text
);
Question: What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL?
<|assistant|>
SELECT "fleet_num" FROM "buses" WHERE "transmission"='Voith D863.4' AND "engine"='Cummins ISL';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "buses" (
"fleet_num" text,
"year" real,
"manufacture" text,
"model" text,
"length_ft" real,
"engine" text,
"transmission" text
);
Question: Which year had a transmission of Voith D863.4 and a Cummins ISM engine?
<|assistant|>
SELECT "year" FROM "buses" WHERE "transmission"='Voith D863.4' AND "engine"='Cummins ISM';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"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 ian turnbull
<|assistant|>
SELECT "college_junior_club_team" FROM "round_one" WHERE "player"='Ian Turnbull';<|endoftext|>
|
<|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: Name the position for nhl team being los angeles kings
<|assistant|>
SELECT "position" FROM "round_three" WHERE "nhl_team"='Los Angeles Kings';<|endoftext|>
|
<|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: Name the nhl times for jeff jacques
<|assistant|>
SELECT "nhl_team" FROM "round_three" WHERE "player"='Jeff Jacques';<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.