text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17356205_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What season episode is directed by Skipp Sudduth?
<|assistant|>
SELECT "season_num" FROM "table1_17356205_1" WHERE "directed_by"='Skipp Sudduth';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17356205_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: How many titles are given for the episode directed by Joanna Kerns?
<|assistant|>
SELECT COUNT("title") FROM "table1_17356205_1" WHERE "directed_by"='Joanna Kerns';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17356205_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the original air date of the episode directed by Terrence Nightingall?
<|assistant|>
SELECT "original_air_date" FROM "table1_17356205_1" WHERE "directed_by"='Terrence Nightingall';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355933_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the season number for "Impulse Control"?
<|assistant|>
SELECT MIN("season_num") FROM "table1_17355933_1" WHERE "title"='\"Impulse Control\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355933_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Which seasons were directed by Nelson McCormick?
<|assistant|>
SELECT "title" FROM "table1_17355933_1" WHERE "directed_by"='Nelson McCormick';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355933_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Which season titles were directed by Laura Innes?
<|assistant|>
SELECT "title" FROM "table1_17355933_1" WHERE "directed_by"='Laura Innes';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355820_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Which episodes did Nelson McCormick direct?
<|assistant|>
SELECT "written_by" FROM "table1_17355820_1" WHERE "directed_by"='Nelson McCormick';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355820_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: How many episodes were there in season 19?
<|assistant|>
SELECT COUNT("title") FROM "table1_17355820_1" WHERE "season_num"=19;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355820_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: In which season did Paul McCrane first direct an episode?
<|assistant|>
SELECT MIN("season_num") FROM "table1_17355820_1" WHERE "directed_by"='Paul McCrane';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355820_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: On which dates did the episodes directed by TR Babu Subramaniam air?
<|assistant|>
SELECT "original_air_date" FROM "table1_17355820_1" WHERE "directed_by"='TR Babu Subramaniam';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17355820_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who directed the episode titled "the advocate"?
<|assistant|>
SELECT "directed_by" FROM "table1_17355820_1" WHERE "title"='\"The Advocate\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_average_1" text,
"points_2" real
);
Question: What is the fewest number of games lost?
<|assistant|>
SELECT MIN("lost") FROM "final_table";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_average_1" text,
"points_2" real
);
Question: What is the goal average 1 for teams that lost 9 games?
<|assistant|>
SELECT "goal_average_1" FROM "final_table" WHERE "lost"=9;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_average_1" text,
"points_2" real
);
Question: How many teams finished with a 2nd points total of 31?
<|assistant|>
SELECT COUNT("position") FROM "final_table" WHERE "points_2"=31;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_average_1" text,
"points_2" real
);
Question: How many games drawn for the team that had 72 goals for?
<|assistant|>
SELECT MAX("drawn") FROM "final_table" WHERE "goals_for"=72;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: How many games with record 1-3-3
<|assistant|>
SELECT COUNT("game") FROM "game_log" WHERE "record"='1-3-3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: How many attended on mathches against atlanta thrashers
<|assistant|>
SELECT COUNT("attendance") FROM "game_log" WHERE "opponent"='Atlanta Thrashers';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: Give the date of games against minnesota wild
<|assistant|>
SELECT "date" FROM "game_log" WHERE "opponent"='Minnesota Wild';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: State the dates of games with record 1-2-3
<|assistant|>
SELECT "date" FROM "game_log" WHERE "record"='1-2-3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: What is the minimum attendance on games of record 0-2-1
<|assistant|>
SELECT MIN("attendance") FROM "game_log" WHERE "record"='0-2-1';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overview" (
"team" text,
"head_coach" text,
"team_captain" text,
"venue" text,
"capacity" real,
"kitmaker" text,
"shirt_sponsor" text,
"club_chairman" text
);
Question: Which venue does Mardan sponsor?
<|assistant|>
SELECT "venue" FROM "overview" WHERE "shirt_sponsor"='Mardan';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overview" (
"team" text,
"head_coach" text,
"team_captain" text,
"venue" text,
"capacity" real,
"kitmaker" text,
"shirt_sponsor" text,
"club_chairman" text
);
Question: Erdoğan Arıca is the head coach at what venue?
<|assistant|>
SELECT "venue" FROM "overview" WHERE "head_coach"='Erdoğan Arıca';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overview" (
"team" text,
"head_coach" text,
"team_captain" text,
"venue" text,
"capacity" real,
"kitmaker" text,
"shirt_sponsor" text,
"club_chairman" text
);
Question: Who is the club chairman of the team that Murat Erdoğan is the captain of?
<|assistant|>
SELECT "club_chairman" FROM "overview" WHERE "team_captain"='Murat Erdoğan';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: How many points were scored when the record was 6-8-6?
<|assistant|>
SELECT COUNT("points") FROM "game_log" WHERE "record"='6-8-6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: Which game had a record of 6-9-7?
<|assistant|>
SELECT "game" FROM "game_log" WHERE "record"='6-9-7';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: When they played at the Bankatlantic Center, what was their record?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "location"='BankAtlantic Center';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: Who was the opponent on December 27?
<|assistant|>
SELECT "opponent" FROM "game_log" WHERE "date"='December 27';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: What was the score of the game on December 11?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "date"='December 11';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "location"='St. Pete Times Forum' AND "opponent"='Columbus Blue Jackets';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: What was the score when the record was 21-31-13?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "record"='21-31-13';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: How many locations were recorded when the opponent Columbus Blue Jackets?
<|assistant|>
SELECT COUNT("location") FROM "game_log" WHERE "opponent"='Columbus Blue Jackets';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"attendance" real,
"record" text,
"points" real
);
Question: What was the attendance when the opposing team was the Ottawa Senators and the record was 24-35-17?
<|assistant|>
SELECT MAX("attendance") FROM "game_log" WHERE "opponent"='Ottawa Senators' AND "record"='24-35-17';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"overall_pick" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: The player who plays left wing is from what college/junior/club team?
<|assistant|>
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "position"='Left Wing';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"overall_pick" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: The player who plays goaltender is from what college/junior/club team?
<|assistant|>
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "position"='Goaltender';<|endoftext|>
|
<|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,
"losing_bonus" text,
"points" text
);
Question: How many were played when there were 39 tries for?
<|assistant|>
SELECT "played" FROM "league_table" WHERE "tries_for"='39';<|endoftext|>
|
<|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,
"losing_bonus" text,
"points" text
);
Question: How many were won when the points were 12?
<|assistant|>
SELECT COUNT("won") FROM "league_table" WHERE "points"='12';<|endoftext|>
|
<|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,
"losing_bonus" text,
"points" text
);
Question: How many were won when there were 49 points?
<|assistant|>
SELECT "won" FROM "league_table" WHERE "points"='49';<|endoftext|>
|
<|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,
"losing_bonus" text,
"points" text
);
Question: How many points were there when tries for were 84?
<|assistant|>
SELECT "points" FROM "league_table" WHERE "tries_for"='84';<|endoftext|>
|
<|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: what team play in february 18 in the supersonic season
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='February 18';<|endoftext|>
|
<|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: what is the score in february 12 of the boston celtics team
<|assistant|>
SELECT "score" FROM "game_log" WHERE "team"='Boston Celtics';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"stadium" text,
"result" text,
"record" text,
"streak" text,
"attendance" real
);
Question: Who is the opposing team when the game was played on the Shea Stadium?
<|assistant|>
SELECT "opponent" FROM "schedule" WHERE "stadium"='Shea Stadium';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"stadium" text,
"result" text,
"record" text,
"streak" text,
"attendance" real
);
Question: How many games or records were played on the Miami Orange Bowl?
<|assistant|>
SELECT COUNT("record") FROM "schedule" WHERE "stadium"='Miami Orange Bowl';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"stadium" text,
"result" text,
"record" text,
"streak" text,
"attendance" real
);
Question: What was the result of the game that was played on Nov. 26, 1972?
<|assistant|>
SELECT "result" FROM "schedule" WHERE "date"='Nov. 26';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons" (
"season_in_tamil" text,
"english_transliteration" text,
"english_translation" text,
"season_in_sanskrit" text,
"season_in_english" text,
"tamil_months" text,
"gregorian_months" text
);
Question: What are all Tamil months when the season in English is monsoon?
<|assistant|>
SELECT "tamil_months" FROM "seasons" WHERE "season_in_english"='Monsoon';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons" (
"season_in_tamil" text,
"english_transliteration" text,
"english_translation" text,
"season_in_sanskrit" text,
"season_in_english" text,
"tamil_months" text,
"gregorian_months" text
);
Question: What is every English translation when Tamil months is Mārkazhi, Tai?
<|assistant|>
SELECT "english_translation" FROM "seasons" WHERE "tamil_months"='mārkazhi, tai';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons" (
"season_in_tamil" text,
"english_transliteration" text,
"english_translation" text,
"season_in_sanskrit" text,
"season_in_english" text,
"tamil_months" text,
"gregorian_months" text
);
Question: What is every Gregorian month when the season in Tamil is இளவேனில்?
<|assistant|>
SELECT "gregorian_months" FROM "seasons" WHERE "season_in_tamil"='இளவேனில்';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons" (
"season_in_tamil" text,
"english_transliteration" text,
"english_translation" text,
"season_in_sanskrit" text,
"season_in_english" text,
"tamil_months" text,
"gregorian_months" text
);
Question: How many seasons in Tamil occur when the season in Sanskrit is Grishma?
<|assistant|>
SELECT COUNT("season_in_tamil") FROM "seasons" WHERE "season_in_sanskrit"='Grishma';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"sno" real,
"college_code" text,
"faculty_name" text,
"designation" text,
"qualification" text,
"department" text,
"experience" text
);
Question: Which departments have M.Phil(Maths)?
<|assistant|>
SELECT "department" FROM "external_links" WHERE "qualification"='M.Phil(Maths)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"sno" real,
"college_code" text,
"faculty_name" text,
"designation" text,
"qualification" text,
"department" text,
"experience" text
);
Question: How many faculty members have 20 years of experience?
<|assistant|>
SELECT COUNT("designation") FROM "external_links" WHERE "experience"='20 years';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_with_other_buses" (
"name" text,
"raw_bandwidth_mbit_s" real,
"transfer_speed_mb_s" text,
"max_cable_length_m" text,
"power_provided" text,
"devices_per_channel" text
);
Question: Name the power provided for transfer speed mb/s is 1250
<|assistant|>
SELECT "power_provided" FROM "comparison_with_other_buses" WHERE "transfer_speed_mb_s"='1250';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_with_other_buses" (
"name" text,
"raw_bandwidth_mbit_s" real,
"transfer_speed_mb_s" text,
"max_cable_length_m" text,
"power_provided" text,
"devices_per_channel" text
);
Question: Name the devices per channel for 2560
<|assistant|>
SELECT "devices_per_channel" FROM "comparison_with_other_buses" WHERE "raw_bandwidth_mbit_s"=2560;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_with_other_buses" (
"name" text,
"raw_bandwidth_mbit_s" real,
"transfer_speed_mb_s" text,
"max_cable_length_m" text,
"power_provided" text,
"devices_per_channel" text
);
Question: Name the power provided where transfer speed mb/s is 300 and max cable length of 10
<|assistant|>
SELECT "power_provided" FROM "comparison_with_other_buses" WHERE "transfer_speed_mb_s"='300' AND "max_cable_length_m"='10';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17425749_1" (
"alaska" text,
"arizona" text,
"arkansas" text,
"california" text,
"colorado" text
);
Question: Name the colorado when alaska is connecticut
<|assistant|>
SELECT "colorado" FROM "table1_17425749_1" WHERE "alaska"='Connecticut';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17425749_1" (
"alaska" text,
"arizona" text,
"arkansas" text,
"california" text,
"colorado" text
);
Question: Name the california where alaska tennessee
<|assistant|>
SELECT "california" FROM "table1_17425749_1" WHERE "alaska"='Tennessee';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the date for score of 95-101
<|assistant|>
SELECT "date" FROM "2009_season_schedule" WHERE "score"='95-101';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high rebounds for march 15
<|assistant|>
SELECT "high_rebounds" FROM "2009_season_schedule" WHERE "date"='March 15';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_season_schedule" (
"date" text,
"opponent" text,
"home_away" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the score for record of 2-5
<|assistant|>
SELECT "score" FROM "2009_season_schedule" WHERE "record"='2-5';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_school" (
"school" text,
"years_of_participation" text,
"occ_championships" real,
"last_occ_championship" text,
"last_outright_occ_championship" text
);
Question: How many schools won their last occ championship in 2006?
<|assistant|>
SELECT COUNT("school") FROM "by_school" WHERE "last_occ_championship"='2006';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_school" (
"school" text,
"years_of_participation" text,
"occ_championships" real,
"last_occ_championship" text,
"last_outright_occ_championship" text
);
Question: What are the years of participation for central crossing school?
<|assistant|>
SELECT "years_of_participation" FROM "by_school" WHERE "school"='Central Crossing';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_school" (
"school" text,
"years_of_participation" text,
"occ_championships" real,
"last_occ_championship" text,
"last_outright_occ_championship" text
);
Question: What is the fewest number of occ championships for the team that last won an outright occ championship in 2006?
<|assistant|>
SELECT MIN("occ_championships") FROM "by_school" WHERE "last_outright_occ_championship"='2006';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_school" (
"school" text,
"years_of_participation" text,
"occ_championships" real,
"last_occ_championship" text,
"last_outright_occ_championship" text
);
Question: What are the years of participation for pickerington north?
<|assistant|>
SELECT "years_of_participation" FROM "by_school" WHERE "school"='Pickerington North';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17417383_6" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: Name the event for redouane bouchtouk
<|assistant|>
SELECT "event" FROM "table1_17417383_6" WHERE "athlete"='Redouane Bouchtouk';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17417383_6" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: Name the round 16 for did not advance and light flyweight
<|assistant|>
SELECT "round_of_16" FROM "table1_17417383_6" WHERE "quarterfinals"='Did not advance' AND "event"='Light flyweight';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17417383_6" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: Name the athelte for enkhzorig ( mgl ) l 1–10
<|assistant|>
SELECT "athlete" FROM "table1_17417383_6" WHERE "round_of_32"='Enkhzorig ( MGL ) L 1–10';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17427004_7" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: Who did Abdelhafid Benchebla face in the quarterfinals?
<|assistant|>
SELECT "quarterfinals" FROM "table1_17427004_7" WHERE "athlete"='Abdelhafid Benchebla';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17427004_7" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: Who did Nabil Kassel face in the Round of 32?
<|assistant|>
SELECT "round_of_32" FROM "table1_17427004_7" WHERE "athlete"='Nabil Kassel';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_17427004_7" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: How did Hamza Kramou fare in the semifinals?
<|assistant|>
SELECT "semifinals" FROM "table1_17427004_7" WHERE "athlete"='Hamza Kramou';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_nordic_combined" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: In what year did the winner of the FIS championship in 1982 win the Winter Olympics?
<|assistant|>
SELECT "winter_olympics" FROM "men_s_nordic_combined" WHERE "fis_nordic_world_ski_championships"='1982';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_nordic_combined" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What year did Thorleif Haug win the Winter Olympics?
<|assistant|>
SELECT "winter_olympics" FROM "men_s_nordic_combined" WHERE "winner"='Thorleif Haug';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_nordic_combined" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships?
<|assistant|>
SELECT "fis_nordic_world_ski_championships" FROM "men_s_nordic_combined" WHERE "country"='Norway' AND "holmenkollen"='1958';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_ski_jump" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What is the holmenkollen for the 1982 FIS Nordic World Ski Championships?
<|assistant|>
SELECT "holmenkollen" FROM "men_s_ski_jump" WHERE "fis_nordic_world_ski_championships"='1982';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_ski_jump" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What years did Birger Ruud win the FIS Nordic World Ski Championships?
<|assistant|>
SELECT "fis_nordic_world_ski_championships" FROM "men_s_ski_jump" WHERE "winner"='Birger Ruud';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_ski_jump" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What year did Karl Schnabl win the Winter Olympics?
<|assistant|>
SELECT "winter_olympics" FROM "men_s_ski_jump" WHERE "winner"='Karl Schnabl';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_ski_jump" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What is the FIS Nordic World Ski Championships when holmenkollen is 1976?
<|assistant|>
SELECT "fis_nordic_world_ski_championships" FROM "men_s_ski_jump" WHERE "holmenkollen"='1976';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_ski_jump" (
"winner" text,
"country" text,
"winter_olympics" text,
"fis_nordic_world_ski_championships" text,
"holmenkollen" text
);
Question: What year is Winter Olympics when Holmenkollen is 1957, 1960?
<|assistant|>
SELECT "winter_olympics" FROM "men_s_ski_jump" WHERE "holmenkollen"='1957, 1960';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's the part 4 for the verb whose part 3 is borgen?
<|assistant|>
SELECT "part_4" FROM "dutch" WHERE "part_3"='borgen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's the meaning of the verb whose part 1 is slapen?
<|assistant|>
SELECT "verb_meaning" FROM "dutch" WHERE "part_1"='slapen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: In what class does the verb with part 4 gelopen belong to?
<|assistant|>
SELECT "class" FROM "dutch" WHERE "part_4"='gelopen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's part 1 of the verb whose part 4 is gevroren?
<|assistant|>
SELECT "part_1" FROM "dutch" WHERE "part_4"='gevroren';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: How many different meanings does the verb with part 4 gegeven have?
<|assistant|>
SELECT COUNT("verb_meaning") FROM "dutch" WHERE "part_4"='gegeven';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dutch" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's the part 3 of the verb with part 4 gelopen?
<|assistant|>
SELECT "part_3" FROM "dutch" WHERE "part_4"='gelopen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: How many different classes of verbs are there whose part 3 is lucon?
<|assistant|>
SELECT COUNT("class") FROM "english" WHERE "part_3"='lucon';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's the class of the verb whose part 1 is lesan?
<|assistant|>
SELECT "class" FROM "english" WHERE "part_1"='lesan';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: How many different part 3 verbs are there that mean to freeze?
<|assistant|>
SELECT COUNT("part_3") FROM "english" WHERE "verb_meaning"='to freeze';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's the part 3 of the verb whose class is 4?
<|assistant|>
SELECT "part_3" FROM "english" WHERE "class"='4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What's the part 3 of the verb in class 5?
<|assistant|>
SELECT "part_3" FROM "english" WHERE "class"='5';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What is the class of the word who's second participle is laug?
<|assistant|>
SELECT "class" FROM "gothic" WHERE "part_2"='laug';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What is the meaning of the class 6 verbs?
<|assistant|>
SELECT "verb_meaning" FROM "gothic" WHERE "class"='6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What is the 3rd participle of the verb whose 2nd participle is band?
<|assistant|>
SELECT "part_3" FROM "gothic" WHERE "part_2"='band';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gothic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What is the 1st participle of the verb whose 4th participle is haitans?
<|assistant|>
SELECT "part_1" FROM "gothic" WHERE "part_4"='haitans';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text,
"usual_pie_origin" text
);
Question: For part 2 *lauk, what is listed for part 4?
<|assistant|>
SELECT "part_4" FROM "classes_1_to_6" WHERE "part_2"='*lauk';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text,
"usual_pie_origin" text
);
Question: What is the verb meaning for *bundun?
<|assistant|>
SELECT "verb_meaning" FROM "classes_1_to_6" WHERE "part_3"='*bundun';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text,
"usual_pie_origin" text
);
Question: For part 2 *raid, what is listed for part 3?
<|assistant|>
SELECT "part_3" FROM "classes_1_to_6" WHERE "part_2"='*raid';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text,
"usual_pie_origin" text
);
Question: What word is listed under part 2 for part 4 *ridanaz?
<|assistant|>
SELECT "part_2" FROM "classes_1_to_6" WHERE "part_4"='*ridanaz';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classes_1_to_6" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text,
"usual_pie_origin" text
);
Question: What is listed under part 1 for class 3b?
<|assistant|>
SELECT "part_1" FROM "classes_1_to_6" WHERE "class"='3b';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "north_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What class is the verb wich its part 4 is frosinn
<|assistant|>
SELECT "class" FROM "north_germanic" WHERE "part_4"='frosinn';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "north_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What class is the verb wich its part 3 is heldu
<|assistant|>
SELECT "class" FROM "north_germanic" WHERE "part_3"='heldu';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "north_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What is part 1 of the verb in class 7b
<|assistant|>
SELECT "part_1" FROM "north_germanic" WHERE "class"='7b';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "north_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: What is part 1 of the verb in class 4
<|assistant|>
SELECT "part_3" FROM "north_germanic" WHERE "class"='4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "north_germanic" (
"class" text,
"part_1" text,
"part_2" text,
"part_3" text,
"part_4" text,
"verb_meaning" text
);
Question: How many verbs mean to bear
<|assistant|>
SELECT COUNT("part_4") FROM "north_germanic" WHERE "verb_meaning"='to bear';<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.