text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_drivers" text,
"winning_team" text
);
Question: On how many different dates was the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_drivers" text,
"winning_team" text
);
Question: When was the circuit Donington Park... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" text,
"date_of_birth" text,
"home_team" text
);
Question: What is the weight is the name is Stuart Craig?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" text,
"date_of_birth" text,
"home_team" text
);
Question: If the name is Timo Higgins, what is the total date of birth amount?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" text,
"date_of_birth" text,
"home_team" text
);
Question: If the height is 181cm, what was the position?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" text,
"date_of_birth" text,
"home_team" text
);
Question: If the home team is UMBC and the weight is 78kg, what the the name to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"position" text,
"height" text,
"weight" text,
"date_of_birth" text,
"home_team" text
);
Question: If the height is 185cm and the home team is Heaton Mersey, what is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22347090_4" (
"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_22347090_4" (
"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_22347090_4" (
"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_22347090_5" (
"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_22347090_5" (
"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_22347090_5" (
"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_22347090_5" (
"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_22347090_6" (
"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_22347090_6" (
"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_22347090_6" (
"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_22347090_6" (
"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_22347090_6" (
"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 "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_olympic_medalists_in_athletics_m" (
"rank" real,
"athlete" text,
"nation" text,
"olympics" text,
"gold" real,
"silver" real,
"bronze" real,
"total_min_2_medals" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22360_3" (
"discipline" text,
"contested" text,
"number_of_olympiads" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the most total
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22360_3" (
"discipline" text,
"contested" text,
"number_of_olympiads" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the silver for baseball
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22360_3" (
"discipline" text,
"contested" text,
"number_of_olympiads" real,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the discipline for bronze being ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22368322_2" (
"institution" text,
"date_of_report" text,
"s_risk_weighted_asset_million" real,
"tier_1_capital_million" real,
"tier_1_ratio" text
);
Question: Name the most tier 1 capita... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22368322_2" (
"institution" text,
"date_of_report" text,
"s_risk_weighted_asset_million" real,
"tier_1_capital_million" real,
"tier_1_ratio" text
);
Question: Name the institution for ti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22368322_2" (
"institution" text,
"date_of_report" text,
"s_risk_weighted_asset_million" real,
"tier_1_capital_million" real,
"tier_1_ratio" text
);
Question: Name the tier 1 ratio for i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22368322_2" (
"institution" text,
"date_of_report" text,
"s_risk_weighted_asset_million" real,
"tier_1_capital_million" real,
"tier_1_ratio" text
);
Question: Name the total number of ti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22368322_2" (
"institution" text,
"date_of_report" text,
"s_risk_weighted_asset_million" real,
"tier_1_capital_million" real,
"tier_1_ratio" text
);
Question: Name the date of report for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_i" (
"no" real,
"season" text,
"championship" real,
"no_of_teams" real,
"start_reg_season" text,
"finish_incl_championship" text,
"top_record" text,
"national_champion" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_i" (
"no" real,
"season" text,
"championship" real,
"no_of_teams" real,
"start_reg_season" text,
"finish_incl_championship" text,
"top_record" text,
"national_champion" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_i" (
"no" real,
"season" text,
"championship" real,
"no_of_teams" real,
"start_reg_season" text,
"finish_incl_championship" text,
"top_record" text,
"national_champion" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_i" (
"no" real,
"season" text,
"championship" real,
"no_of_teams" real,
"start_reg_season" text,
"finish_incl_championship" text,
"top_record" text,
"national_champion" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22380270_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22380270_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22380270_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22385461_1" (
"num" text,
"spacecraft" text,
"spacewalkers" text,
"start_utc" text,
"end_utc" text,
"duration" text
);
Question: Who walked in space from STS-101 Eva 1?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22385461_8" (
"num" text,
"spacecraft" text,
"spacewalkers" text,
"start_utc" text,
"end_utc" text,
"duration" text
);
Question: What is the end (UTC) if the duration is 6 hours, 55 mi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22385461_8" (
"num" text,
"spacecraft" text,
"spacewalkers" text,
"start_utc" text,
"end_utc" text,
"duration" text
);
Question: If the end (UTC) is January 31, 2007 23:09, what is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22385461_8" (
"num" text,
"spacecraft" text,
"spacewalkers" text,
"start_utc" text,
"end_utc" text,
"duration" text
);
Question: What are the names of the spacewalkers for end (UTC) Oc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which position is player bernie doan?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many pick # are there for the goaltender ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: How many college/junior/clubteams have John g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Who is the player with the pick# 80?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which nationality is player John Garrett?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"sprints_classification" text,
"mountains_classification" text,
"youth_classification" text,
"team_classification" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_board_members" (
"year" text,
"chairman" text,
"artistic_director" text,
"performance_liaison" text,
"secretary" text,
"business_manager" text,
"production_stagemanager" text,
"dramat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_board_members" (
"year" text,
"chairman" text,
"artistic_director" text,
"performance_liaison" text,
"secretary" text,
"business_manager" text,
"production_stagemanager" text,
"dramat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_board_members" (
"year" text,
"chairman" text,
"artistic_director" text,
"performance_liaison" text,
"secretary" text,
"business_manager" text,
"production_stagemanager" text,
"dramat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_board_members" (
"year" text,
"chairman" text,
"artistic_director" text,
"performance_liaison" text,
"secretary" text,
"business_manager" text,
"production_stagemanager" text,
"dramat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_board_members" (
"year" text,
"chairman" text,
"artistic_director" text,
"performance_liaison" text,
"secretary" text,
"business_manager" text,
"production_stagemanager" text,
"dramat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_board_members" (
"year" text,
"chairman" text,
"artistic_director" text,
"performance_liaison" text,
"secretary" text,
"business_manager" text,
"production_stagemanager" text,
"dramat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241101_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241101_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241101_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241101_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241259_1" (
"year" real,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241841_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241841_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241841_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241841_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2241841_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: How many different cities are represented by co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: How tall is contestant Alexandra Díaz Bello?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: Which contestant hails from Dajabón?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: Which province is Villa Bisonó in?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: How old is contestant Valerie Chardonnens Varga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "principal_roles_and_cast_members" (
"character" text,
"original_manchester_performer" text,
"original_west_end_performer" text,
"original_broadway_performer" text,
"original_uk_tour_performer" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "principal_roles_and_cast_members" (
"character" text,
"original_manchester_performer" text,
"original_west_end_performer" text,
"original_broadway_performer" text,
"original_uk_tour_performer" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "principal_roles_and_cast_members" (
"character" text,
"original_manchester_performer" text,
"original_west_end_performer" text,
"original_broadway_performer" text,
"original_uk_tour_performer" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "principal_roles_and_cast_members" (
"character" text,
"original_manchester_performer" text,
"original_west_end_performer" text,
"original_broadway_performer" text,
"original_uk_tour_performer" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "principal_roles_and_cast_members" (
"character" text,
"original_manchester_performer" text,
"original_west_end_performer" text,
"original_broadway_performer" text,
"original_uk_tour_performer" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "principal_roles_and_cast_members" (
"character" text,
"original_manchester_performer" text,
"original_west_end_performer" text,
"original_broadway_performer" text,
"original_uk_tour_performer" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guitar_hero_on_tour_setlist" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"na_uk_aus_jpn_nl_tier" text,
"european_tier" text
);
Question: Name the european tier f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guitar_hero_on_tour_setlist" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"na_uk_aus_jpn_nl_tier" text,
"european_tier" text
);
Question: Name the song title for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guitar_hero_on_tour_setlist" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"na_uk_aus_jpn_nl_tier" text,
"european_tier" text
);
Question: Name the number of maste... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guitar_hero_on_tour_setlist" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"na_uk_aus_jpn_nl_tier" text,
"european_tier" text
);
Question: Name the master recordin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22464685_1" (
"english_name" text,
"georgian_name" text,
"transliteration" text,
"date" text,
"author" text,
"period_covered" text
);
Question: what is the date for when the georgian n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22464685_1" (
"english_name" text,
"georgian_name" text,
"transliteration" text,
"date" text,
"author" text,
"period_covered" text
);
Question: what is the transliteration during the p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22464685_1" (
"english_name" text,
"georgian_name" text,
"transliteration" text,
"date" text,
"author" text,
"period_covered" text
);
Question: Who is the auther when the english name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22464685_1" (
"english_name" text,
"georgian_name" text,
"transliteration" text,
"date" text,
"author" text,
"period_covered" text
);
Question: who is the auther when the transliterati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22464685_1" (
"english_name" text,
"georgian_name" text,
"transliteration" text,
"date" text,
"author" text,
"period_covered" text
);
Question: what is the transliteration where the pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_224840_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: in which state where John Laurance ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_224840_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: when the vacator was Henry Latimer ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_224840_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: how many times has Aaron Ogden (f),... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_fina_diving_world_series" (
"year" real,
"1st_venue" text,
"2nd_venue" text,
"3rd_venue" text,
"4th_venue" text,
"5th_venue" text
);
Question: How many 5th venue cities were there whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_fina_diving_world_series" (
"year" real,
"1st_venue" text,
"2nd_venue" text,
"3rd_venue" text,
"4th_venue" text,
"5th_venue" text
);
Question: When Qingdao was the 1st venue city, how... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.