text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What week #(s featured sara bareilles as the or... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What week # featured first solo as the theme?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: How many weeks featured duffy as the original a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Who was the originally artist when Jasmine Murr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: With theme the Year They Were Born, what is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: With order number 7 and the theme is Motown, wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: With an original artist names Bette Midler, wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: With original artist of Tina Turner, what is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Who is the original artist with a theme of N/A?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150776_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_2150776_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_2150776_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 "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"rr3_pts" real,
"total_pts" real,
"ranking" real
);
Question: What is the rank when RR2 has 4 po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"rr3_pts" real,
"total_pts" real,
"ranking" real
);
Question: How many points does Swedish Ameri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political_party_strength" (
"state" text,
"governor" text,
"senior_u_s_senator" text,
"junior_u_s_senator" text,
"u_s_house_delegation" text,
"upper_house_majority" text,
"lower_house_majori... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "political_party_strength" (
"state" text,
"governor" text,
"senior_u_s_senator" text,
"junior_u_s_senator" text,
"u_s_house_delegation" text,
"upper_house_majority" text,
"lower_house_majori... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_cet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Who is every name f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_cet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is every time(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_cet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Who is every name f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_cet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Which days have a s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_cet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is every time(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "euronorm_standard_for_security_glazing" (
"class" text,
"weapon" text,
"caliber" text,
"type" text,
"weight_g" text,
"range_m" text,
"velocity_m_s" text,
"impact_energy" text,
"shots" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "euronorm_standard_for_security_glazing" (
"class" text,
"weapon" text,
"caliber" text,
"type" text,
"weight_g" text,
"range_m" text,
"velocity_m_s" text,
"impact_energy" text,
"shots" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "euronorm_standard_for_security_glazing" (
"class" text,
"weapon" text,
"caliber" text,
"type" text,
"weight_g" text,
"range_m" text,
"velocity_m_s" text,
"impact_energy" text,
"shots" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "euronorm_standard_for_security_glazing" (
"class" text,
"weapon" text,
"caliber" text,
"type" text,
"weight_g" text,
"range_m" text,
"velocity_m_s" text,
"impact_energy" text,
"shots" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "euronorm_standard_for_security_glazing" (
"class" text,
"weapon" text,
"caliber" text,
"type" text,
"weight_g" text,
"range_m" text,
"velocity_m_s" text,
"impact_energy" text,
"shots" re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21530474_1" (
"chassis_code" text,
"model_no" text,
"production_years" text,
"drivetrain" text,
"transmission" text,
"engine_type" text,
"engine_code" text,
"region_s" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21530474_1" (
"chassis_code" text,
"model_no" text,
"production_years" text,
"drivetrain" text,
"transmission" text,
"engine_type" text,
"engine_code" text,
"region_s" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21530474_1" (
"chassis_code" text,
"model_no" text,
"production_years" text,
"drivetrain" text,
"transmission" text,
"engine_type" text,
"engine_code" text,
"region_s" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21530474_1" (
"chassis_code" text,
"model_no" text,
"production_years" text,
"drivetrain" text,
"transmission" text,
"engine_type" text,
"engine_code" text,
"region_s" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "unemployment_rates_in_new_england" (
"employment_area" text,
"october_2010" text,
"october_2011" text,
"october_2012" text,
"net_change" text
);
Question: For the area which was 9.1 in October ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "unemployment_rates_in_new_england" (
"employment_area" text,
"october_2010" text,
"october_2011" text,
"october_2012" text,
"net_change" text
);
Question: Where is the rate 5.7 in October 2010?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21550870_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21550870_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" real
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"country" text,
"area_km" text,
"population_millions_2011" text,
"gdp_ppp_usd_per_capita" real,
"gdp_nominal_billions_usd" text,
"hdi_2011" text
);
Question: What is the population... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"country" text,
"area_km" text,
"population_millions_2011" text,
"gdp_ppp_usd_per_capita" real,
"gdp_nominal_billions_usd" text,
"hdi_2011" text
);
Question: What is the population... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"country" text,
"area_km" text,
"population_millions_2011" text,
"gdp_ppp_usd_per_capita" real,
"gdp_nominal_billions_usd" text,
"hdi_2011" text
);
Question: What is the HDI for 20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"country" text,
"area_km" text,
"population_millions_2011" text,
"gdp_ppp_usd_per_capita" real,
"gdp_nominal_billions_usd" text,
"hdi_2011" text
);
Question: What is the area (km2)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"country" text,
"area_km" text,
"population_millions_2011" text,
"gdp_ppp_usd_per_capita" real,
"gdp_nominal_billions_usd" text,
"hdi_2011" text
);
Question: What is the GDP (PPP) ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "members" (
"country" text,
"area_km" text,
"population_millions_2011" text,
"gdp_ppp_usd_per_capita" real,
"gdp_nominal_billions_usd" text,
"hdi_2011" text
);
Question: What is the GDP (nomin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2155350_2" (
"category" text,
"sub_category" text,
"cab_size" text,
"drive_wheels" text,
"capacity_litres" text
);
Question: Name the number of cab size for 4 medium tanker
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2155350_2" (
"category" text,
"sub_category" text,
"cab_size" text,
"drive_wheels" text,
"capacity_litres" text
);
Question: Name the category for cab size crew and super tanker
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2155350_2" (
"category" text,
"sub_category" text,
"cab_size" text,
"drive_wheels" text,
"capacity_litres" text
);
Question: Name the capacity for single cab size 2 medium tanker
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"school" text,
"location" text,
"catchment" text,
"roll" real,
"gender" text,
"external_link" text
);
Question: What school is in Brechin?
<|assistant|>
SELECT "external_lin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "external_links" (
"school" text,
"location" text,
"catchment" text,
"roll" real,
"gender" text,
"external_link" text
);
Question: How many kids go to Brechin High School?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_teams" (
"team" text,
"sport" text,
"league" text,
"established" real,
"began_in_st_louis" real,
"venue" text,
"championships_in_st_louis" text,
"left_st_louis" real
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_teams" (
"team" text,
"sport" text,
"league" text,
"established" real,
"began_in_st_louis" real,
"venue" text,
"championships_in_st_louis" text,
"left_st_louis" real
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_teams" (
"team" text,
"sport" text,
"league" text,
"established" real,
"began_in_st_louis" real,
"venue" text,
"championships_in_st_louis" text,
"left_st_louis" real
);
Question: H... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_teams" (
"team" text,
"sport" text,
"league" text,
"established" real,
"began_in_st_louis" real,
"venue" text,
"championships_in_st_louis" text,
"left_st_louis" real
);
Question: H... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"asian_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"asian_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2156758_4" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the number in season for the e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2156758_4" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the title for episode number i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2156758_4" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: Who directed the episode titled "Jack ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2156758_4" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: How many titles were written by Don Sh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_finishes" (
"season" text,
"mens_1st_xi" text,
"mens_2nd_xi" text,
"mens_3rd_xi" text,
"ladies_1st_xi" text
);
Question: When 3rd, sedgemoor division 1 is the ladies 1st xi what is the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_finishes" (
"season" text,
"mens_1st_xi" text,
"mens_2nd_xi" text,
"mens_3rd_xi" text,
"ladies_1st_xi" text
);
Question: When 10th, south west district 1 is the mens 2nd xi what is the l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_finishes" (
"season" text,
"mens_1st_xi" text,
"mens_2nd_xi" text,
"mens_3rd_xi" text,
"ladies_1st_xi" text
);
Question: When 5th, south western district 2 is the mens 2nd xi what is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_finishes" (
"season" text,
"mens_1st_xi" text,
"mens_2nd_xi" text,
"mens_3rd_xi" text,
"ladies_1st_xi" text
);
Question: When 6th, south division 2 is the mens 1st xi what is the mens 2n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_eet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Which stage has kou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_eet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Which stage has 15:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_eet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is the time wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_eet" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is the time wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159506_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Name the state class for resigned ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21584646_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: How many champions are shown for the run... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21584646_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: What week was stefan edberg anders järry... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21584646_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who is the runner up for the champion of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21584646_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who were the quarterfinalists for the r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21584646_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: Who are the quarterfinalists for runner-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21584646_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
);
Question: How many weeks are shown for the champio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159571_1" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: What is every reason for change fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159571_1" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who is every vacator if date of su... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159571_2" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Who is every successor for the Washington 3rd District... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159571_2" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: What is every reason for change for the Washington 3rd... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159571_2" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Who is every vacator with reason for change as resigne... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159537_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: In what district was the successor seated August 31, 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159537_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Who was the successor for the reason for change being ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159537_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Who was the successor in New York 11th district?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159547_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: On what date was James P. Buchanan (d)'s successor sea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159547_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: How many people vacated to successor Dave E. Satterfie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2159547_3" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Why did Robert L. Bacon (r) vacate?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_cast" (
"character" text,
"original_japanese" text,
"english_streamline" text,
"english_manga_uk" text,
"english_pioneer_geneon" text
);
Question: Makio Inoue dubbed on which character?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_cast" (
"character" text,
"original_japanese" text,
"english_streamline" text,
"english_manga_uk" text,
"english_pioneer_geneon" text
);
Question: Who was the cast on the English (Manga UK... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_cast" (
"character" text,
"original_japanese" text,
"english_streamline" text,
"english_manga_uk" text,
"english_pioneer_geneon" text
);
Question: Who was the original Japanese cast if Sea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2160008_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the district for reason for change being died jul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2160008_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: Name the number of reason for change on may 11, 1939
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "practice_times_leaderboard_superbike_sen" (
"rank" real,
"rider" text,
"mon_1_june" text,
"tue_2_june" text,
"wed_3_june" text,
"thurs_4_june" text,
"fri_5_june" text
);
Question: What were... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2161859_1" (
"series_num" real,
"title" text,
"story_num" real,
"artist" text,
"strip_numbers" text,
"number_of_strips" text,
"dates_of_original_publication_of_strip" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2161859_1" (
"series_num" real,
"title" text,
"story_num" real,
"artist" text,
"strip_numbers" text,
"number_of_strips" text,
"dates_of_original_publication_of_strip" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_list" (
"regional" text,
"champions" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: who got the first position when Ehime Shimanami got the third posit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_list" (
"regional" text,
"champions" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: who got the third position when laranja kyoto got the second positio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_list" (
"regional" text,
"champions" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: how many persons got the third position whan sanyo electric tokushim... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_list" (
"regional" text,
"champions" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: how many persons got the fourth position when the regional was shiko... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_list" (
"regional" text,
"champions" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: who got the first place when the Japanese Regional Leagues was in ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_list" (
"regional" text,
"champions" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: who got the first position when fujieda city government got the four... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21636599_2" (
"period" real,
"civilians" text,
"security_forces" text,
"insurgents" text,
"total_per_period" real
);
Question: What are the civilian total when the security force total i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21636599_2" (
"period" real,
"civilians" text,
"security_forces" text,
"insurgents" text,
"total_per_period" real
);
Question: What are the security forces when the civilians are 202?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21636599_2" (
"period" real,
"civilians" text,
"security_forces" text,
"insurgents" text,
"total_per_period" real
);
Question: How many figures are named for security forces in 1998?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21636599_2" (
"period" real,
"civilians" text,
"security_forces" text,
"insurgents" text,
"total_per_period" real
);
Question: How many insurgents are there when the total per period is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21634403_2" (
"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: How ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.