text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1932_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the number of the tax supervising and conservation bill?
<|assistant|>
SELECT MIN("meas_num") FROM "1932_general_election" WHERE "description"='Tax Supervising and Conservation Bill';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many ballot measures had a percentage yes of 52.11%?
<|assistant|>
SELECT COUNT("passed") FROM "1954_general_election" WHERE "pct_yes"='52.11%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the measure where the yes% is 44.06%?
<|assistant|>
SELECT "description" FROM "1954_general_election" WHERE "pct_yes"='44.06%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many measures had a yes vote of 216545?
<|assistant|>
SELECT COUNT("passed") FROM "1954_general_election" WHERE "yes_votes"=216545;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the highest measure number?
<|assistant|>
SELECT MAX("meas_num") FROM "1954_general_election";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What was the percentage of yes votes for the measure where the no votes number 199174?
<|assistant|>
SELECT "pct_yes" FROM "1962_general_election" WHERE "no_votes"=199174;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many types are there for the measure where there were 312680 yes votes?
<|assistant|>
SELECT COUNT("type") FROM "1962_general_election" WHERE "yes_votes"=312680;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment?
<|assistant|>
SELECT COUNT("no_votes") FROM "1962_general_election" WHERE "description"='Forest Rehabilitation Debt Limit Amendment';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the type of measure that voted on the Power Development Debt Limit Amendment?
<|assistant|>
SELECT "type" FROM "1962_general_election" WHERE "description"='Power Development Debt Limit Amendment';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1956_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What vote passed for the measure with the description, authorizing state acceptance of certain gifts?
<|assistant|>
SELECT "passed" FROM "1956_general_election" WHERE "description"='Authorizing State Acceptance of Certain Gifts';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1956_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many votes passed are listed on the measure that had 390338 yes votes?
<|assistant|>
SELECT COUNT("passed") FROM "1956_general_election" WHERE "yes_votes"=390338;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1956_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What was the type when there were 175932 yes votes?
<|assistant|>
SELECT "type" FROM "1956_general_election" WHERE "yes_votes"=175932;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1958_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49%
<|assistant|>
SELECT COUNT("yes_votes") FROM "1958_general_election" WHERE "no_votes"<299939.1619948521 AND "pct_yes"='66.49%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the description of the measure that got 78.27% yes votes?
<|assistant|>
SELECT "description" FROM "1970_general_election" WHERE "pct_yes"='78.27%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the highest measure number?
<|assistant|>
SELECT MAX("meas_num") FROM "1970_general_election";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many measures numbered 8 were a constitutional ammendment?
<|assistant|>
SELECT COUNT("const_amd") FROM "1970_general_election" WHERE "meas_num"=8;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1910_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many type classifications are given to the measure with the description, calling convention to revise state constitution?
<|assistant|>
SELECT COUNT("type") FROM "1910_general_election" WHERE "description"='Calling Convention to revise State Constitution';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1910_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the yes percentage in the measure that had 35270 yes votes?
<|assistant|>
SELECT "pct_yes" FROM "1910_general_election" WHERE "yes_votes"=35270;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1910_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: Was the constitution amended for the measure with description , to annex part of Washington county to multnomah?
<|assistant|>
SELECT "const_amd" FROM "1910_general_election" WHERE "description"='To Annex Part of Washington County to Multnomah';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "may_1970_primary_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: When the no votes was 322682, what was the max meas. number?
<|assistant|>
SELECT MAX("meas_num") FROM "may_1970_primary_election" WHERE "no_votes"=322682;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: Was the constitution amended on the measure described as authorizes bonds for water development fund?
<|assistant|>
SELECT "const_amd" FROM "may_1974_election" WHERE "description"='Authorizes bonds for water development fund';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How yes votes were there for measure 4?
<|assistant|>
SELECT MAX("yes_votes") FROM "may_1974_election" WHERE "meas_num"=4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: Was the constitution amended when the percentage of yes votes was 69.82%?
<|assistant|>
SELECT "const_amd" FROM "may_1974_election" WHERE "pct_yes"='69.82%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "may_1974_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What was the lowest measure number?
<|assistant|>
SELECT MIN("meas_num") FROM "may_1974_election";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1914_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What was the type of ballot measures if the % of yes vote is 32.47%?
<|assistant|>
SELECT "type" FROM "1914_general_election" WHERE "pct_yes"='32.47%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1914_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What was the type of ballot measure with the description of Department of Industry and Public Works Amendment?
<|assistant|>
SELECT "type" FROM "1914_general_election" WHERE "description"='Department of Industry and Public Works Amendment';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1914_general_election" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many data are there under NO vote with a description of $1500 tax exemption amendment?
<|assistant|>
SELECT COUNT("no_votes") FROM "1914_general_election" WHERE "description"='$1500 Tax Exemption Amendment';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the percentage of yes when there were 218846 yes votes
<|assistant|>
SELECT "pct_yes" FROM "table1_256286_61" WHERE "yes_votes"=218846;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: How many type catagories are listed when the percentage of yes is 68.91%?
<|assistant|>
SELECT COUNT("type") FROM "table1_256286_61" WHERE "pct_yes"='68.91%';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the type when yes votes are 546255?
<|assistant|>
SELECT "type" FROM "table1_256286_61" WHERE "yes_votes"=546255;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_256286_61" (
"meas_num" real,
"passed" text,
"yes_votes" real,
"no_votes" real,
"pct_yes" text,
"const_amd" text,
"type" text,
"description" text
);
Question: What is the measure number for the bill described as obscenity and sexual conduct bill?
<|assistant|>
SELECT "meas_num" FROM "table1_256286_61" WHERE "description"='Obscenity and sexual conduct bill';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many points did art renner have?
<|assistant|>
SELECT COUNT("points") FROM "individual_scoring_totals" WHERE "player"='Art Renner';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many touchdowns did bill culligan have?
<|assistant|>
SELECT COUNT("touchdowns") FROM "individual_scoring_totals" WHERE "player"='Bill Culligan';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What was the highest number of touchdowns by a player?
<|assistant|>
SELECT MAX("touchdowns") FROM "individual_scoring_totals";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_scoring_totals" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: How many points did robert stenberg have?
<|assistant|>
SELECT MIN("points") FROM "individual_scoring_totals" WHERE "player"='Robert Stenberg';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_earthquakes" (
"date" text,
"origin_time" text,
"epicentre_lat_s" text,
"epicentre_long_e" text,
"local_magnitude" text,
"location" text
);
Question: Where was the quake that began at 14:07?
<|assistant|>
SELECT "location" FROM "table_of_earthquakes" WHERE "origin_time"='14:07';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_earthquakes" (
"date" text,
"origin_time" text,
"epicentre_lat_s" text,
"epicentre_long_e" text,
"local_magnitude" text,
"location" text
);
Question: What was the epicenter latitude for the quake that started at 17:09?
<|assistant|>
SELECT "epicentre_lat_s" FROM "table_of_earthquakes" WHERE "origin_time"='17:09';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
);
Question: When "pants on fire" is the title what is the air date?
<|assistant|>
SELECT "original_air_date" FROM "table1_25649467_2" WHERE "title"='\"Pants on Fire\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
);
Question: When "the charlotte letter" is the title what is the air date?
<|assistant|>
SELECT "original_air_date" FROM "table1_25649467_2" WHERE "title"='\"The Charlotte Letter\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
);
Question: When "the 37-year itch" is the title what is the lowest series number?
<|assistant|>
SELECT MIN("series_num") FROM "table1_25649467_2" WHERE "title"='\"The 37-Year Itch\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25649467_2" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text
);
Question: When 12 is the season number how many series numbers are there?
<|assistant|>
SELECT COUNT("series_num") FROM "table1_25649467_2" WHERE "season_num"=12;<|endoftext|> |
<|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,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
);
Question: Who had the mountains classification when borut božič was the winner?
<|assistant|>
SELECT "mountains_classification" FROM "classification_leadership" WHERE "winner"='Borut Božič';<|endoftext|> |
<|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,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
);
Question: What was the team classification where andré greipel was the winner and had the points classification?
<|assistant|>
SELECT "team_classification" FROM "classification_leadership" WHERE "winner"='André Greipel' AND "points_classification"='André Greipel';<|endoftext|> |
<|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,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
);
Question: How many stages are there?
<|assistant|>
SELECT MAX("stage") FROM "classification_leadership";<|endoftext|> |
<|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,
"sprint_classification" text,
"mountains_classification" text,
"points_classification" text,
"team_classification" text
);
Question: How many sprint classifications are there where marco frapporti is the winner?
<|assistant|>
SELECT COUNT("sprint_classification") FROM "classification_leadership" WHERE "winner"='Marco Frapporti';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
);
Question: Who was the second couple for the episode having an ITV1 ranking of 29?
<|assistant|>
SELECT "second_couple" FROM "series_1" WHERE "itv1_weekly_ranking"=29;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
);
Question: What is the maximum ITV1 weekly ranking?
<|assistant|>
SELECT MAX("itv1_weekly_ranking") FROM "series_1";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
);
Question: What was the number of viewers for the episode having a fourth couple of Tony and Jamie?
<|assistant|>
SELECT "viewers_millions" FROM "series_1" WHERE "fourth_couple"='Tony and Jamie';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
);
Question: Who was the first couple in the episode having a fourth couple of Sammy and Nat?
<|assistant|>
SELECT "first_couple" FROM "series_1" WHERE "fourth_couple"='Sammy and Nat';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_1" (
"num" real,
"airdate" text,
"no_of_couples" real,
"first_couple" text,
"second_couple" text,
"third_couple" text,
"fourth_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" real
);
Question: What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?
<|assistant|>
SELECT MIN("itv1_weekly_ranking") FROM "series_1" WHERE "viewers_millions"='5.42';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What episode number in the series was viewed by 13.66 million people in the U.S.?
<|assistant|>
SELECT MAX("no_in_series") FROM "table1_25668962_1" WHERE "u_s_viewers_million"='13.66';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many million U.S. viewers watched the epiode with a production code of 1arc12?
<|assistant|>
SELECT "u_s_viewers_million" FROM "table1_25668962_1" WHERE "production_code"='1ARC12';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many million U.S. viewers watched the episode with a production code of 1arc03?
<|assistant|>
SELECT "u_s_viewers_million" FROM "table1_25668962_1" WHERE "production_code"='1ARC03';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many million U.S. viewers watched episode number 6 in the series?
<|assistant|>
SELECT "u_s_viewers_million" FROM "table1_25668962_1" WHERE "no_in_series"=6;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25668962_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who directed episode number 18 in the series?
<|assistant|>
SELECT "directed_by" FROM "table1_25668962_1" WHERE "no_in_series"=18;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_2" (
"num" real,
"airdate" text,
"no_of_couples" real,
"1st_couple" text,
"2nd_couple" text,
"3rd_couple" text,
"4th_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" text
);
Question: How many episode numbers are there on the show whose first couple was Stuart and Pegah>?
<|assistant|>
SELECT COUNT("num") FROM "series_2" WHERE "1st_couple"='Stuart and Pegah';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_2" (
"num" real,
"airdate" text,
"no_of_couples" real,
"1st_couple" text,
"2nd_couple" text,
"3rd_couple" text,
"4th_couple" text,
"viewers_millions" text,
"itv1_weekly_ranking" text
);
Question: Who were the 3rd couple that were viewed by 4.89 million viewers?
<|assistant|>
SELECT "3rd_couple" FROM "series_2" WHERE "viewers_millions"='4.89';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
);
Question: What location(s) did patrick mckenna lead the most laps?
<|assistant|>
SELECT "location" FROM "race_calendar_and_results" WHERE "most_laps_led"='Patrick McKenna';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
);
Question: How many races went for 10 rounds?
<|assistant|>
SELECT COUNT("fastest_lap") FROM "race_calendar_and_results" WHERE "rnd"='10';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
);
Question: Who had the most laps led in monterey, california when scott rarick won the race?
<|assistant|>
SELECT "most_laps_led" FROM "race_calendar_and_results" WHERE "location"='Monterey, California' AND "winning_driver"='Scott Rarick';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"rnd" text,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
);
Question: What was the winning team when mikhail goikhberg was the winning driver?
<|assistant|>
SELECT "winning_team" FROM "race_calendar_and_results" WHERE "winning_driver"='Mikhail Goikhberg';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25679312_2" (
"series_num" real,
"episode_title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: Who directed the episode with the production code 10?
<|assistant|>
SELECT "directed_by" FROM "table1_25679312_2" WHERE "prod_code"=10;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25679312_2" (
"series_num" real,
"episode_title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: Who wrote the episode with production code 2?
<|assistant|>
SELECT "written_by" FROM "table1_25679312_2" WHERE "prod_code"=2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25679312_2" (
"series_num" real,
"episode_title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real
);
Question: Who wrote the episode with production code 5?
<|assistant|>
SELECT "written_by" FROM "table1_25679312_2" WHERE "prod_code"=5;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"edition" text,
"class" text,
"legs" real,
"in_port_races" text,
"entries" text,
"start" text,
"finish" text,
"winning_yacht" text,
"winning_skipper" text
);
Question: Name the number of finishes for 15 entries 15 and l'esprit d'equipe
<|assistant|>
SELECT COUNT("finish") FROM "history" WHERE "entries"='15' AND "winning_yacht"='L''Esprit d''Equipe';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"edition" text,
"class" text,
"legs" real,
"in_port_races" text,
"entries" text,
"start" text,
"finish" text,
"winning_yacht" text,
"winning_skipper" text
);
Question: Name the most legs for steinlager 2
<|assistant|>
SELECT MAX("legs") FROM "history" WHERE "winning_yacht"='Steinlager 2';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"edition" text,
"class" text,
"legs" real,
"in_port_races" text,
"entries" text,
"start" text,
"finish" text,
"winning_yacht" text,
"winning_skipper" text
);
Question: Name the wininng yacht for 14 entries
<|assistant|>
SELECT "winning_yacht" FROM "history" WHERE "entries"='14';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the word for the episode that aired February 11?
<|assistant|>
SELECT "the_w_rd" FROM "table1_25691838_2" WHERE "original_airdate"='February 11';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the introductory phrase for the episode with the production bode 6026?
<|assistant|>
SELECT "introductory_phrase" FROM "table1_25691838_2" WHERE "production_code"=6026;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the word on episode number 673?
<|assistant|>
SELECT "the_w_rd" FROM "table1_25691838_2" WHERE "episode_num"=673;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_2" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: Who were the guests in the episode with production code 6021?
<|assistant|>
SELECT "guest" FROM "table1_25691838_2" WHERE "production_code"=6021;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: Who were the guests on a show where the production code is 6152?
<|assistant|>
SELECT "guest" FROM "table1_25691838_12" WHERE "production_code"=6152;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: Who were the guests for the episode with an original airdate of december 07?
<|assistant|>
SELECT "guest" FROM "table1_25691838_12" WHERE "original_airdate"='December 07';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: How many introductory phrases are there with "the wørd" is "unrequited gov"?
<|assistant|>
SELECT COUNT("introductory_phrase") FROM "table1_25691838_12" WHERE "the_w_rd"='\"Unrequited Gov\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor?
<|assistant|>
SELECT "the_w_rd" FROM "table1_25691838_12" WHERE "guest"='Daniel Ellsberg , William Wegman , Julie Taymor';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What is the production code of the episode with an original airdate of december 01?
<|assistant|>
SELECT "production_code" FROM "table1_25691838_12" WHERE "original_airdate"='December 01';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_12" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What is the episode # when the guests were julie nixon eisenhower and david eisenhower?
<|assistant|>
SELECT MIN("episode_num") FROM "table1_25691838_12" WHERE "guest"='Julie Nixon Eisenhower and David Eisenhower';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: Who were the guests on the episode that first aired August 16?
<|assistant|>
SELECT "guest" FROM "table1_25691838_8" WHERE "original_airdate"='August 16';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the introductory phrase on the episode production code 6101?
<|assistant|>
SELECT "introductory_phrase" FROM "table1_25691838_8" WHERE "production_code"=6101;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the smallest production code for August 11's original episode?
<|assistant|>
SELECT MIN("production_code") FROM "table1_25691838_8" WHERE "original_airdate"='August 11';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: How many introductory phrases were there on David Finkel's guest episode?
<|assistant|>
SELECT COUNT("introductory_phrase") FROM "table1_25691838_8" WHERE "guest"='David Finkel';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the minimum number of the episode that first aired August 11?
<|assistant|>
SELECT MIN("episode_num") FROM "table1_25691838_8" WHERE "original_airdate"='August 11';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25691838_8" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: Who were the guests for August 16's original episode?
<|assistant|>
SELECT "guest" FROM "table1_25691838_8" WHERE "original_airdate"='August 16';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What was the introductory phrase for episode 794?
<|assistant|>
SELECT "introductory_phrase" FROM "november" WHERE "episode_num"=794;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: What date did the episode originally air on with salvatore giunta as a guest?
<|assistant|>
SELECT "original_airdate" FROM "november" WHERE "guest"='Salvatore Giunta';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"episode_num" real,
"the_w_rd" text,
"guest" text,
"introductory_phrase" text,
"original_airdate" text,
"production_code" real
);
Question: How many production codes were there for the episode that aired on November 15?
<|assistant|>
SELECT COUNT("production_code") FROM "november" WHERE "original_airdate"='November 15';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
);
Question: What was the cylinder size of this engine that was made with only 88 pieces?
<|assistant|>
SELECT "cylinder_size" FROM "engine_num7002" WHERE "number_built"='88';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
);
Question: What was the engine class that was built on 1906-08?
<|assistant|>
SELECT "class" FROM "engine_num7002" WHERE "years_built"='1906-08';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
);
Question: How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson?
<|assistant|>
SELECT "number_built" FROM "engine_num7002" WHERE "cylinder_size"='20 ½” x 26”' AND "firebox"='Belpaire' AND "valve_gear"='Stephenson';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
);
Question: This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when?
<|assistant|>
SELECT "years_built" FROM "engine_num7002" WHERE "cylinder_size"='20 ½” x 26”' AND "firebox"='Radial-stay';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engine_num7002" (
"class" text,
"firebox" text,
"cylinder_size" text,
"valves" text,
"valve_gear" text,
"number_built" text,
"years_built" text
);
Question: How many types of valves were used on this engine that was built on 1902-05?
<|assistant|>
SELECT COUNT("valves") FROM "engine_num7002" WHERE "years_built"='1902-05';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25692955_1" (
"agency" text,
"route_number" text,
"north_east_terminal" text,
"south_west_terminal" text,
"more_information" text
);
Question: Name the agency for santa rosa avenue
<|assistant|>
SELECT "agency" FROM "table1_25692955_1" WHERE "south_west_terminal"='Santa Rosa Avenue';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25692955_1" (
"agency" text,
"route_number" text,
"north_east_terminal" text,
"south_west_terminal" text,
"more_information" text
);
Question: Name the route number for rincon valley
<|assistant|>
SELECT "route_number" FROM "table1_25692955_1" WHERE "south_west_terminal"='Rincon Valley';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25692955_1" (
"agency" text,
"route_number" text,
"north_east_terminal" text,
"south_west_terminal" text,
"more_information" text
);
Question: Name the route number for santa rosa avenue
<|assistant|>
SELECT "route_number" FROM "table1_25692955_1" WHERE "north_east_terminal"='Santa Rosa Avenue';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
);
Question: What is the original air date of the episode "Another Happy Day"?
<|assistant|>
SELECT "original_air_date_uk" FROM "series_3_spearhead_in_hong_kong" WHERE "episode_title"='Another Happy Day';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
);
Question: What is the title of the episode that aired on 13 august 1981?
<|assistant|>
SELECT "episode_title" FROM "series_3_spearhead_in_hong_kong" WHERE "original_air_date_uk"='13 August 1981';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
);
Question: What is the original air date of episode 3-02?
<|assistant|>
SELECT "original_air_date_uk" FROM "series_3_spearhead_in_hong_kong" WHERE "episode_num"='3-02';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_spearhead_in_hong_kong" (
"episode_num" text,
"original_air_date_uk" text,
"episode_title" text,
"director" text,
"writer" text,
"cast" text
);
Question: Who are the cast members of episode 3-04?
<|assistant|>
SELECT "cast" FROM "series_3_spearhead_in_hong_kong" WHERE "episode_num"='3-04';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25703_1" (
"january_september_2013" text,
"birth_2013" real,
"birth_2012" real,
"death_2013" real,
"death_2012" text
);
Question: What is the highest birth/2013 when the death/2012 is 14,1?
<|assistant|>
SELECT MAX("birth_2013") FROM "table1_25703_1" WHERE "death_2012"='14,1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25703_1" (
"january_september_2013" text,
"birth_2013" real,
"birth_2012" real,
"death_2013" real,
"death_2012" text
);
Question: What is the highest death/2013 when the death/2012 is 12,7?
<|assistant|>
SELECT MAX("death_2013") FROM "table1_25703_1" WHERE "death_2012"='12,7';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.