cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Tell me the degree for degree year of 1983`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "nobel_laureate_alumni" (
  "name" text,
  "degree" text,
  "degree_year" text,
  "award_year" real,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the degree for degree year of 1983`:
```sql
                SELECT "degree" FROM "nobel_laureate_alumni" WHERE "degree_year"='1983';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the degree for chemistry 1965`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "nobel_laureate_alumni" (
  "name" text,
  "degree" text,
  "degree_year" text,
  "award_year" real,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the degree for chemistry 1965`:
```sql
                SELECT "degree" FROM "nobel_laureate_alumni" WHERE "award_year"=1965 AND "award"='chemistry';
```
## Task
Generate a SQL query to answer the following question:
`What is the MP's term who was elected from grey and bell?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "initial_composition_of_the_2nd_parliamen" (
  "member" text,
  "electorate" text,
  "province" text,
  "mp_s_term" text,
  "election_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the MP's term who was elected from grey and bell?`:
```sql
                SELECT "mp_s_term" FROM "initial_composition_of_the_2nd_parliamen" WHERE "electorate"='grey and bell';
```
## Task
Generate a SQL query to answer the following question:
`What is the Election date for Member william richmond category:articles with hcards?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "initial_composition_of_the_2nd_parliamen" (
  "member" text,
  "electorate" text,
  "province" text,
  "mp_s_term" text,
  "election_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Election date for Member william richmond category:articles with hcards?`:
```sql
                SELECT "election_date" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='william richmond category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is Member alfred east category:articles with hcards's term?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "initial_composition_of_the_2nd_parliamen" (
  "member" text,
  "electorate" text,
  "province" text,
  "mp_s_term" text,
  "election_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Member alfred east category:articles with hcards's term?`:
```sql
                SELECT "mp_s_term" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='alfred east category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is the election date for the city of auckland category:articles with hcards?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "initial_composition_of_the_2nd_parliamen" (
  "member" text,
  "electorate" text,
  "province" text,
  "mp_s_term" text,
  "election_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the election date for the city of auckland category:articles with hcards?`:
```sql
                SELECT "election_date" FROM "initial_composition_of_the_2nd_parliamen" WHERE "electorate"='city of auckland category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What electorate does Member dingley brittin category:articles with hcards represent?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "initial_composition_of_the_2nd_parliamen" (
  "member" text,
  "electorate" text,
  "province" text,
  "mp_s_term" text,
  "election_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What electorate does Member dingley brittin category:articles with hcards represent?`:
```sql
                SELECT "electorate" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='dingley brittin category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is the election date for the electorate of member charles brown category:articles with hcards?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "initial_composition_of_the_2nd_parliamen" (
  "member" text,
  "electorate" text,
  "province" text,
  "mp_s_term" text,
  "election_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the election date for the electorate of member charles brown category:articles with hcards?`:
```sql
                SELECT "election_date" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='charles brown category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1980s" (
  "year" real,
  "date" text,
  "event" text,
  "days" text,
  "stages" text,
  "acts" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock`:
```sql
                SELECT "date" FROM "1980s" WHERE "acts"='6 bands' AND "year">1981 AND "event"='monsters of rock';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the stages for 1981`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1980s" (
  "year" real,
  "date" text,
  "event" text,
  "days" text,
  "stages" text,
  "acts" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the stages for 1981`:
```sql
                SELECT "stages" FROM "1980s" WHERE "year"=1981;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the event for 6 bands`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1980s" (
  "year" real,
  "date" text,
  "event" text,
  "days" text,
  "stages" text,
  "acts" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the event for 6 bands`:
```sql
                SELECT "event" FROM "1980s" WHERE "acts"='6 bands';
```
## Task
Generate a SQL query to answer the following question:
`What is the lightweight value with no information model and the flexible value is unknown?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "popular_languages_used_for_data_exchange" (
  "schemas" text,
  "flexible" text,
  "semantic_verification" text,
  "dictionary" text,
  "information_model" text,
  "synonyms_and_homonyms" text,
  "dialecting" text,
  "web_standard" text,
  "transformations" text,
  "lightweight" text,
  "human_readable" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lightweight value with no information model and the flexible value is unknown?`:
```sql
                SELECT "lightweight" FROM "popular_languages_used_for_data_exchange" WHERE "information_model"='no' AND "flexible"='unknown';
```
## Task
Generate a SQL query to answer the following question:
`What value for U.S. dance occurred in 1986 when the value of U.S. R&B was 9?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "solo" (
  "year" real,
  "title" text,
  "u_s" text,
  "u_s_r_b" text,
  "u_s_dance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What value for U.S. dance occurred in 1986 when the value of U.S. R&B was 9?`:
```sql
                SELECT "u_s_dance" FROM "solo" WHERE "year"=1986 AND "u_s_r_b"='9';
```
## Task
Generate a SQL query to answer the following question:
`What is the bore for a 9-cyl radial on a 9 AD?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "salmson_post_world_war_one_engines" (
  "name" text,
  "cyl" text,
  "bore" text,
  "capacity" text,
  "power" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bore for a 9-cyl radial on a 9 AD?`:
```sql
                SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "cyl"='9-cyl radial' AND "name"='9 ad';
```
## Task
Generate a SQL query to answer the following question:
`What bore goes with an 18 AB?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "salmson_post_world_war_one_engines" (
  "name" text,
  "cyl" text,
  "bore" text,
  "capacity" text,
  "power" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `What bore goes with an 18 AB?`:
```sql
                SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "name"='18 ab';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the venue for notes of 10.93 secs`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "major_achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the venue for notes of 10.93 secs`:
```sql
                SELECT "venue" FROM "major_achievements" WHERE "notes"='10.93 secs';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the venue for year less than 2003`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "major_achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the venue for year less than 2003`:
```sql
                SELECT "venue" FROM "major_achievements" WHERE "year"<2003;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of points team Alfa Romeo 184T won?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of points team Alfa Romeo 184T won?`:
```sql
                SELECT SUM("points") FROM "complete_formula_one_results" WHERE "team_chassis"='alfa romeo 184t';
```
## Task
Generate a SQL query to answer the following question:
`What engine was used after 1984?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What engine was used after 1984?`:
```sql
                SELECT "engine" FROM "complete_formula_one_results" WHERE "year">1984;
```
## Task
Generate a SQL query to answer the following question:
`In which year were the points more than 0?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `In which year were the points more than 0?`:
```sql
                SELECT "year" FROM "complete_formula_one_results" WHERE "points">0;
```
## Task
Generate a SQL query to answer the following question:
`What were the Tyres after 1984?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the Tyres after 1984?`:
```sql
                SELECT "tyres" FROM "complete_formula_one_results" WHERE "year">1984;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the bp comp 2 for % wt comp 1 of 76`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "binary_azeotropes" (
  "component_1" text,
  "b_p_comp_1_c" text,
  "component_2" text,
  "b_p_comp_2_c" text,
  "b_p_azeo_c" text,
  "pct_wt_comp_1" real,
  "pct_wt_comp_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the bp comp 2 for % wt comp 1 of 76`:
```sql
                SELECT "b_p_comp_2_c" FROM "binary_azeotropes" WHERE "pct_wt_comp_1"=76;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of % wt comp 1 foR % wt comp 2 or 27`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "binary_azeotropes" (
  "component_1" text,
  "b_p_comp_1_c" text,
  "component_2" text,
  "b_p_comp_2_c" text,
  "b_p_azeo_c" text,
  "pct_wt_comp_1" real,
  "pct_wt_comp_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of % wt comp 1 foR % wt comp 2 or 27`:
```sql
                SELECT COUNT("pct_wt_comp_1") FROM "binary_azeotropes" WHERE "pct_wt_comp_2"=27;
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of the popular vote when there were 90 seats available?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "election_results" (
  "year_of_election" real,
  "candidates_elected" real,
  "num_of_seats_available" real,
  "num_of_votes" text,
  "pct_of_popular_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of the popular vote when there were 90 seats available?`:
```sql
                SELECT "pct_of_popular_vote" FROM "election_results" WHERE "num_of_seats_available"=90;
```
## Task
Generate a SQL query to answer the following question:
`Name the gold for silver of 39`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "medals_by_country" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the gold for silver of 39`:
```sql
                SELECT "gold" FROM "medals_by_country" WHERE "silver"=39;
```
## Task
Generate a SQL query to answer the following question:
`What is the compression ratio for the 302-2v Windsor v8 engine?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1973_engines" (
  "engine" text,
  "horsepower" text,
  "torque" text,
  "carburetor" text,
  "compression_ratio" text,
  "bore_stroke" text,
  "vin_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the compression ratio for the 302-2v Windsor v8 engine?`:
```sql
                SELECT "compression_ratio" FROM "1973_engines" WHERE "engine"='302-2v windsor v8';
```
## Task
Generate a SQL query to answer the following question:
`How many games had 41 rushes and were than 197 yards?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "career_rushing_statistics_at_ohio_state" (
  "year" text,
  "games" real,
  "rushes" real,
  "yards" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games had 41 rushes and were than 197 yards?`:
```sql
                SELECT COUNT("games") FROM "career_rushing_statistics_at_ohio_state" WHERE "rushes"=41 AND "yards"<197;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "career_rushing_statistics_at_ohio_state" (
  "year" text,
  "games" real,
  "rushes" real,
  "yards" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?`:
```sql
                SELECT MAX("yards") FROM "career_rushing_statistics_at_ohio_state" WHERE "rushes"<51 AND "games">12;
```
## Task
Generate a SQL query to answer the following question:
`What is the pick # for Dimelon Westfield?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_three" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick # for Dimelon Westfield?`:
```sql
                SELECT MIN("pick_num") FROM "round_three" WHERE "player"='dimelon westfield';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the November 8, 2001 game?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "schedule_and_results" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "overall" text,
  "conf" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the November 8, 2001 game?`:
```sql
                SELECT "result" FROM "schedule_and_results" WHERE "date"='november 8, 2001';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the bullet tip color of headstamp id of h1z`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "headstamps_and_colour_coding" (
  "headstamp_id" text,
  "primer_annulus_color" text,
  "bullet_tip_color" text,
  "other_features" text,
  "functional_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the bullet tip color of headstamp id of h1z`:
```sql
                SELECT "bullet_tip_color" FROM "headstamps_and_colour_coding" WHERE "headstamp_id"='h1z';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of gold for bronze more than 0 and total more than 100`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of gold for bronze more than 0 and total more than 100`:
```sql
                SELECT COUNT("gold") FROM "medal_table" WHERE "bronze">0 AND "rank"='total' AND "total">100;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the least silver for total less than 6 and rank of 8`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the least silver for total less than 6 and rank of 8`:
```sql
                SELECT MIN("silver") FROM "medal_table" WHERE "total"<6 AND "rank"='8';
```
## Task
Generate a SQL query to answer the following question:
`Who played men's singles in 1951?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "winners" (
  "year" text,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played men's singles in 1951?`:
```sql
                SELECT "men_s_singles" FROM "winners" WHERE "year"='1951';
```
## Task
Generate a SQL query to answer the following question:
`Who played women's singles in 1955?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "winners" (
  "year" text,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played women's singles in 1955?`:
```sql
                SELECT "women_s_singles" FROM "winners" WHERE "year"='1955';
```
## Task
Generate a SQL query to answer the following question:
`Who played Women's singles when xiong guobao played men's singles, and tian bingyi li yongbo played Men's doubles?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "winners" (
  "year" text,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played Women's singles when xiong guobao played men's singles, and tian bingyi li yongbo played Men's doubles?`:
```sql
                SELECT "women_s_singles" FROM "winners" WHERE "men_s_singles"='xiong guobao' AND "men_s_doubles"='tian bingyi li yongbo';
```
## Task
Generate a SQL query to answer the following question:
`Who played men's doubles when gao ling huang sui played women's doubles in 2007?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "winners" (
  "year" text,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played men's doubles when gao ling huang sui played women's doubles in 2007?`:
```sql
                SELECT "men_s_doubles" FROM "winners" WHERE "women_s_doubles"='gao ling huang sui' AND "year"='2007';
```
## Task
Generate a SQL query to answer the following question:
`What year did huang nanyan yang wei play women's doubles and Men's doubles was played by lee dong-soo yoo yong-sung?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "winners" (
  "year" text,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did huang nanyan yang wei play women's doubles and Men's doubles was played by lee dong-soo yoo yong-sung?`:
```sql
                SELECT "year" FROM "winners" WHERE "women_s_doubles"='huang nanyan yang wei' AND "men_s_doubles"='lee dong-soo yoo yong-sung';
```
## Task
Generate a SQL query to answer the following question:
`Who played men's doubles when men's singles were played by wong peng soon and Women's singles was played by cecilia samuel, in 1952?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "winners" (
  "year" text,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played men's doubles when men's singles were played by wong peng soon and Women's singles was played by cecilia samuel, in 1952?`:
```sql
                SELECT "men_s_doubles" FROM "winners" WHERE "men_s_singles"='wong peng soon' AND "women_s_singles"='cecilia samuel' AND "year"='1952';
```
## Task
Generate a SQL query to answer the following question:
`What is the first leg score in that match where Marseille was the first team?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_of_16" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first leg score in that match where Marseille was the first team?`:
```sql
                SELECT "1st_leg" FROM "round_of_16" WHERE "team_1"='marseille';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the discovery/publication for still living`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "comparative_table_of_homo_species_view_t" (
  "species" text,
  "lived_when_mya" text,
  "lived_where" text,
  "fossil_record" text,
  "discovery_publication_of_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the discovery/publication for still living`:
```sql
                SELECT "discovery_publication_of_name" FROM "comparative_table_of_homo_species_view_t" WHERE "fossil_record"='still living';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the discovery/publication for red deer cave people`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "comparative_table_of_homo_species_view_t" (
  "species" text,
  "lived_when_mya" text,
  "lived_where" text,
  "fossil_record" text,
  "discovery_publication_of_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the discovery/publication for red deer cave people`:
```sql
                SELECT "discovery_publication_of_name" FROM "comparative_table_of_homo_species_view_t" WHERE "species"='red deer cave people';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the discovery/publicatio of name for h.heidelbergensis`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "comparative_table_of_homo_species_view_t" (
  "species" text,
  "lived_when_mya" text,
  "lived_where" text,
  "fossil_record" text,
  "discovery_publication_of_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the discovery/publicatio of name for h.heidelbergensis`:
```sql
                SELECT "discovery_publication_of_name" FROM "comparative_table_of_homo_species_view_t" WHERE "species"='h.heidelbergensis';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the fossil record for name of 1994/2003`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "comparative_table_of_homo_species_view_t" (
  "species" text,
  "lived_when_mya" text,
  "lived_where" text,
  "fossil_record" text,
  "discovery_publication_of_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the fossil record for name of 1994/2003`:
```sql
                SELECT "fossil_record" FROM "comparative_table_of_homo_species_view_t" WHERE "discovery_publication_of_name"='1994/2003';
```
## Task
Generate a SQL query to answer the following question:
`Tell me lived for name of 1994/2003`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "comparative_table_of_homo_species_view_t" (
  "species" text,
  "lived_when_mya" text,
  "lived_where" text,
  "fossil_record" text,
  "discovery_publication_of_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me lived for name of 1994/2003`:
```sql
                SELECT "lived_when_mya" FROM "comparative_table_of_homo_species_view_t" WHERE "discovery_publication_of_name"='1994/2003';
```
## Task
Generate a SQL query to answer the following question:
`When was the Monza circuit?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "european_championship_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_drivers" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Monza circuit?`:
```sql
                SELECT "date" FROM "european_championship_grands_prix" WHERE "circuit"='monza';
```
## Task
Generate a SQL query to answer the following question:
`What is Metro's win percentage?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "record_by_conference" (
  "conference" text,
  "num_of_bids" real,
  "record" text,
  "win_pct" text,
  "round_of_32" text,
  "elite_eight" text,
  "final_four" text,
  "championship_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Metro's win percentage?`:
```sql
                SELECT "win_pct" FROM "record_by_conference" WHERE "conference"='metro';
```
## Task
Generate a SQL query to answer the following question:
`How many elite eight teams came from the Atlantic 10?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "record_by_conference" (
  "conference" text,
  "num_of_bids" real,
  "record" text,
  "win_pct" text,
  "round_of_32" text,
  "elite_eight" text,
  "final_four" text,
  "championship_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many elite eight teams came from the Atlantic 10?`:
```sql
                SELECT "elite_eight" FROM "record_by_conference" WHERE "conference"='atlantic 10';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the opponent for attendance of 55,527`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the opponent for attendance of 55,527`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance"='55,527';
```
## Task
Generate a SQL query to answer the following question:
`Which version B-58 aircraft model originated in the United States has 2 in service?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "aircraft_inventory" (
  "aircraft" text,
  "origin" text,
  "type" text,
  "versions" text,
  "in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which version B-58 aircraft model originated in the United States has 2 in service?`:
```sql
                SELECT "aircraft" FROM "aircraft_inventory" WHERE "in_service"='2' AND "origin"='united states' AND "versions"='b-58';
```
## Task
Generate a SQL query to answer the following question:
`What aircraft type is the Casa C-212 Aviocar?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "aircraft_inventory" (
  "aircraft" text,
  "origin" text,
  "type" text,
  "versions" text,
  "in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `What aircraft type is the Casa C-212 Aviocar?`:
```sql
                SELECT "type" FROM "aircraft_inventory" WHERE "aircraft"='casa c-212 aviocar';
```
## Task
Generate a SQL query to answer the following question:
`How many T-260 EU aircrafts are currently in service?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "aircraft_inventory" (
  "aircraft" text,
  "origin" text,
  "type" text,
  "versions" text,
  "in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many T-260 EU aircrafts are currently in service?`:
```sql
                SELECT "in_service" FROM "aircraft_inventory" WHERE "versions"='t-260 eu';
```
## Task
Generate a SQL query to answer the following question:
`How many C-95 aircrafts originating in Brazil are currently in service?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "aircraft_inventory" (
  "aircraft" text,
  "origin" text,
  "type" text,
  "versions" text,
  "in_service" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many C-95 aircrafts originating in Brazil are currently in service?`:
```sql
                SELECT "in_service" FROM "aircraft_inventory" WHERE "origin"='brazil' AND "versions"='c-95';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the lowest other for albanians more than 8793 and Roma less than 1030`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "demographics" (
  "census_year" real,
  "total" real,
  "macedonians" real,
  "albanians" real,
  "turks" real,
  "roma" real,
  "vlachs" real,
  "serbs" real,
  "bosniaks" real,
  "other" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the lowest other for albanians more than 8793 and Roma less than 1030`:
```sql
                SELECT MIN("other") FROM "demographics" WHERE "albanians">8793 AND "roma"<1030;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the highest bosniaks for year more than 2002`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "demographics" (
  "census_year" real,
  "total" real,
  "macedonians" real,
  "albanians" real,
  "turks" real,
  "roma" real,
  "vlachs" real,
  "serbs" real,
  "bosniaks" real,
  "other" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the highest bosniaks for year more than 2002`:
```sql
                SELECT MAX("bosniaks") FROM "demographics" WHERE "census_year">2002;
```
## Task
Generate a SQL query to answer the following question:
`Name the lowest ERP W with a frequency mhz less than 103.1`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the lowest ERP W with a frequency mhz less than 103.1`:
```sql
                SELECT MIN("erp_w") FROM "translators" WHERE "frequency_m_hz"<103.1;
```
## Task
Generate a SQL query to answer the following question:
`Name the city with 103.1 frequency and ERP W less than 80`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the city with 103.1 frequency and ERP W less than 80`:
```sql
                SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"=103.1 AND "erp_w"<80;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the affiliation for pick number less than 59 and position of gk`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_six" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the affiliation for pick number less than 59 and position of gk`:
```sql
                SELECT "affiliation" FROM "round_six" WHERE "pick_num"<59 AND "position"='gk';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament of canada happened in 1998?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament of canada happened in 1998?`:
```sql
                SELECT "1998" FROM "doubles_performance_timeline" WHERE "tournament"='canada';
```
## Task
Generate a SQL query to answer the following question:
`Who had 1990 of 2–2 in 1993?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had 1990 of 2–2 in 1993?`:
```sql
                SELECT "1993" FROM "doubles_performance_timeline" WHERE "1990"='2–2';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament of monte carlo had 1996 and a 1987 of nme?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament of monte carlo had 1996 and a 1987 of nme?`:
```sql
                SELECT "1996" FROM "doubles_performance_timeline" WHERE "1987"='nme' AND "tournament"='monte carlo';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament of the french open had 2004 that has a 1998 of 2r?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "1993" text,
  "1994" text,
  "1995" text,
  "1996" text,
  "1997" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament of the french open had 2004 that has a 1998 of 2r?`:
```sql
                SELECT "2004" FROM "doubles_performance_timeline" WHERE "1998"='2r' AND "tournament"='french open';
```
## Task
Generate a SQL query to answer the following question:
`What is the margin at the Nabisco Championship?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the margin at the Nabisco Championship?`:
```sql
                SELECT "margin" FROM "wins_7" WHERE "championship"='nabisco championship';
```
## Task
Generate a SQL query to answer the following question:
`What was the margin in 2001 at the McDonald's LPGA Championship?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the margin in 2001 at the McDonald's LPGA Championship?`:
```sql
                SELECT "margin" FROM "wins_7" WHERE "year"=2001 AND "championship"='mcdonald''s lpga championship';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date of goal 5`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date of goal 5`:
```sql
                SELECT "date" FROM "international_goals" WHERE "goal"=5;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for goal of 5`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for goal of 5`:
```sql
                SELECT "date" FROM "international_goals" WHERE "goal"=5;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of Sopot (pol)?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1990s" (
  "year" real,
  "competition" text,
  "date" text,
  "location" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of Sopot (pol)?`:
```sql
                SELECT "result" FROM "1990s" WHERE "location"='sopot (pol)';
```
## Task
Generate a SQL query to answer the following question:
`Which division was the Rampage in when they were in the 2nd round in the Open Cup?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which division was the Rampage in when they were in the 2nd round in the Open Cup?`:
```sql
                SELECT "division" FROM "year_by_year" WHERE "open_cup"='2nd round';
```
## Task
Generate a SQL query to answer the following question:
`What was the Rampage's regular season in 1997?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Rampage's regular season in 1997?`:
```sql
                SELECT "reg_season" FROM "year_by_year" WHERE "year"=1997;
```
## Task
Generate a SQL query to answer the following question:
`What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs?`:
```sql
                SELECT "open_cup" FROM "year_by_year" WHERE "playoffs"='2nd round';
```
## Task
Generate a SQL query to answer the following question:
`What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central?`:
```sql
                SELECT "playoffs" FROM "year_by_year" WHERE "reg_season"='4th, central';
```
## Task
Generate a SQL query to answer the following question:
`Which method resulting in a win against Ed Mahone?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "professional_boxing_record" (
  "date" text,
  "result" text,
  "opponent" text,
  "method" text,
  "round" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which method resulting in a win against Ed Mahone?`:
```sql
                SELECT "method" FROM "professional_boxing_record" WHERE "result"='win' AND "opponent"='ed mahone';
```
## Task
Generate a SQL query to answer the following question:
`When did  the technical knockout against Fatu Tuimanono happen?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "professional_boxing_record" (
  "date" text,
  "result" text,
  "opponent" text,
  "method" text,
  "round" real
);
### SQL
Given the database schema, here is the SQL query that answers `When did  the technical knockout against Fatu Tuimanono happen?`:
```sql
                SELECT "date" FROM "professional_boxing_record" WHERE "method"='technical knockout' AND "opponent"='fatu tuimanono';
```
## Task
Generate a SQL query to answer the following question:
`When did the opponent knockout Barry Prior in more than 2 rounds?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "professional_boxing_record" (
  "date" text,
  "result" text,
  "opponent" text,
  "method" text,
  "round" real
);
### SQL
Given the database schema, here is the SQL query that answers `When did the opponent knockout Barry Prior in more than 2 rounds?`:
```sql
                SELECT "date" FROM "professional_boxing_record" WHERE "method"='knockout' AND "round">2 AND "opponent"='barry prior';
```
## Task
Generate a SQL query to answer the following question:
`What resulted after 4 rounds with Ed Mahone?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "professional_boxing_record" (
  "date" text,
  "result" text,
  "opponent" text,
  "method" text,
  "round" real
);
### SQL
Given the database schema, here is the SQL query that answers `What resulted after 4 rounds with Ed Mahone?`:
```sql
                SELECT "result" FROM "professional_boxing_record" WHERE "round">4 AND "opponent"='ed mahone';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the region for georgia`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_1_venues" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the region for georgia`:
```sql
                SELECT "region" FROM "round_1_venues" WHERE "state"='georgia';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the host for midwest thomas assembly center`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "round_1_venues" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the host for midwest thomas assembly center`:
```sql
                SELECT "host" FROM "round_1_venues" WHERE "region"='midwest' AND "venue"='thomas assembly center';
```