cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the smallest number of laps for Team Green when the grid is 1?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest number of laps for Team Green when the grid is 1?`:
```sql
                SELECT MIN("laps") FROM "race" WHERE "team"='team green' AND "grid"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?`

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

CREATE TABLE "population" (
  "1861" real,
  "1866" real,
  "1872" real,
  "1876" real,
  "1881" real,
  "1886" real,
  "1891" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?`:
```sql
                SELECT COUNT("1876") FROM "population" WHERE "1872"<1921 AND "1891"<354;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of 1886(s), when 1886 is greater than 1070, and when 1891 is less than 1946?`

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

CREATE TABLE "population" (
  "1861" real,
  "1866" real,
  "1872" real,
  "1876" real,
  "1881" real,
  "1886" real,
  "1891" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of 1886(s), when 1886 is greater than 1070, and when 1891 is less than 1946?`:
```sql
                SELECT SUM("1886") FROM "population" WHERE "1866">1070 AND "1891"<1946;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of 1891(s), when 1872 is less than 685, and when 1881 is less than 348?`

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

CREATE TABLE "population" (
  "1861" real,
  "1866" real,
  "1872" real,
  "1876" real,
  "1881" real,
  "1886" real,
  "1891" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of 1891(s), when 1872 is less than 685, and when 1881 is less than 348?`:
```sql
                SELECT SUM("1891") FROM "population" WHERE "1872"<685 AND "1881"<348;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990?`

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

CREATE TABLE "population" (
  "1861" real,
  "1866" real,
  "1872" real,
  "1876" real,
  "1881" real,
  "1886" real,
  "1891" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990?`:
```sql
                SELECT SUM("1872") FROM "population" WHERE "1866">856 AND "1861">1906 AND "1876">1990;
```
## Task
Generate a SQL query to answer the following question:
`What is the Record with a Date that is december 20?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record with a Date that is december 20?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='december 20';
```
## Task
Generate a SQL query to answer the following question:
`In what round was the first outside linebacker picked?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what round was the first outside linebacker picked?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "position"='outside linebacker';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue resulted in AUS by 229 runs?`

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

CREATE TABLE "england_in_australia_1901_2" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue resulted in AUS by 229 runs?`:
```sql
                SELECT "venue" FROM "england_in_australia_1901_2" WHERE "result"='aus by 229 runs';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground?`

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

CREATE TABLE "england_in_australia_1901_2" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground?`:
```sql
                SELECT "away_captain" FROM "england_in_australia_1901_2" WHERE "venue"='melbourne cricket ground' AND "home_captain"='joe darling';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Home Captain and the Result for AUS by 4 wkts?`

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

CREATE TABLE "england_in_australia_1901_2" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Home Captain and the Result for AUS by 4 wkts?`:
```sql
                SELECT "home_captain" FROM "england_in_australia_1901_2" WHERE "result"='aus by 4 wkts';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest match when the away opponent was Dalian Shide Siwu?`

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

CREATE TABLE "s_league" (
  "match" real,
  "date" text,
  "home_away" text,
  "opponent_team" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest match when the away opponent was Dalian Shide Siwu?`:
```sql
                SELECT MAX("match") FROM "s_league" WHERE "opponent_team"='dalian shide siwu' AND "home_away"='away';
```
## Task
Generate a SQL query to answer the following question:
`Which Home/Away was on April 27, 2008?`

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

CREATE TABLE "s_league" (
  "match" real,
  "date" text,
  "home_away" text,
  "opponent_team" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home/Away was on April 27, 2008?`:
```sql
                SELECT "home_away" FROM "s_league" WHERE "date"='april 27, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What was the score on March 3, 2008?`

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

CREATE TABLE "s_league" (
  "match" real,
  "date" text,
  "home_away" text,
  "opponent_team" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score on March 3, 2008?`:
```sql
                SELECT "score" FROM "s_league" WHERE "date"='march 3, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the McCune-Reischauer when the 2000 n South Korea population * is more than 6,796,227 people, and a Hangul of 송?`

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

CREATE TABLE "list" (
  "hangul" text,
  "hanja" text,
  "revised" text,
  "mc_cune_reischauer" text,
  "2000_n_south_korea_population" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the McCune-Reischauer when the 2000 n South Korea population * is more than 6,796,227 people, and a Hangul of 송?`:
```sql
                SELECT "mc_cune_reischauer" FROM "list" WHERE "2000_n_south_korea_population">'6,796,227' AND "hangul"='송';
```
## Task
Generate a SQL query to answer the following question:
`What is the Hanja for McCune-Reischauer of chŏn?`

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

CREATE TABLE "list" (
  "hangul" text,
  "hanja" text,
  "revised" text,
  "mc_cune_reischauer" text,
  "2000_n_south_korea_population" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hanja for McCune-Reischauer of chŏn?`:
```sql
                SELECT "hanja" FROM "list" WHERE "mc_cune_reischauer"='chŏn';
```
## Task
Generate a SQL query to answer the following question:
`What is the Hangul when the Hanja is 西, 徐?`

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

CREATE TABLE "list" (
  "hangul" text,
  "hanja" text,
  "revised" text,
  "mc_cune_reischauer" text,
  "2000_n_south_korea_population" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Hangul when the Hanja is 西, 徐?`:
```sql
                SELECT "hangul" FROM "list" WHERE "hanja"='西, 徐';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue with a Result that is win, and a Score that is 5-0?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Venue with a Result that is win, and a Score that is 5-0?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "result"='win' AND "score"='5-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Competition with a Result of win with a Score that is 1-0?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Competition with a Result of win with a Score that is 1-0?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "result"='win' AND "score"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`How many total Gold medals did the nation ranked #3 receive?`

### 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 `How many total Gold medals did the nation ranked #3 receive?`:
```sql
                SELECT SUM("gold") FROM "medal_table" WHERE "rank"='3';
```
## Task
Generate a SQL query to answer the following question:
`What ship size had a cargo value of $46,000 in 2006?`

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

CREATE TABLE "recent_markets" (
  "ship_size" text,
  "cargo" text,
  "2004" text,
  "2005" text,
  "2006" text
);
### SQL
Given the database schema, here is the SQL query that answers `What ship size had a cargo value of $46,000 in 2006?`:
```sql
                SELECT "ship_size" FROM "recent_markets" WHERE "2006"='$46,000';
```
## Task
Generate a SQL query to answer the following question:
`What ship size had a cargo value of $31,750 in 2006?`

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

CREATE TABLE "recent_markets" (
  "ship_size" text,
  "cargo" text,
  "2004" text,
  "2005" text,
  "2006" text
);
### SQL
Given the database schema, here is the SQL query that answers `What ship size had a cargo value of $31,750 in 2006?`:
```sql
                SELECT "ship_size" FROM "recent_markets" WHERE "2006"='$31,750';
```
## Task
Generate a SQL query to answer the following question:
`What was the cargo value in 2005 with a ship size of all product carriers?`

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

CREATE TABLE "recent_markets" (
  "ship_size" text,
  "cargo" text,
  "2004" text,
  "2005" text,
  "2006" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the cargo value in 2005 with a ship size of all product carriers?`:
```sql
                SELECT "2005" FROM "recent_markets" WHERE "ship_size"='all product carriers';
```
## Task
Generate a SQL query to answer the following question:
`What was the cargo value in 2004 for ship size?`

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

CREATE TABLE "recent_markets" (
  "ship_size" text,
  "cargo" text,
  "2004" text,
  "2005" text,
  "2006" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the cargo value in 2004 for ship size?`:
```sql
                SELECT "2004" FROM "recent_markets" WHERE "ship_size"='ship size';
```
## Task
Generate a SQL query to answer the following question:
`What cargo was contained in a ship size of aframax?`

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

CREATE TABLE "recent_markets" (
  "ship_size" text,
  "cargo" text,
  "2004" text,
  "2005" text,
  "2006" text
);
### SQL
Given the database schema, here is the SQL query that answers `What cargo was contained in a ship size of aframax?`:
```sql
                SELECT "cargo" FROM "recent_markets" WHERE "ship_size"='aframax';
```
## Task
Generate a SQL query to answer the following question:
`What was the cargo value in 2005 for all product carriers?`

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

CREATE TABLE "recent_markets" (
  "ship_size" text,
  "cargo" text,
  "2004" text,
  "2005" text,
  "2006" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the cargo value in 2005 for all product carriers?`:
```sql
                SELECT "2005" FROM "recent_markets" WHERE "cargo"='all product carriers';
```
## Task
Generate a SQL query to answer the following question:
`How many  Crude death rate (per 1,000) has a Migration (per 1,000) larger than -5.06, and a Natural change (per 1,000) larger than 7.06? Question 1`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1_000" text,
  "live_births" text,
  "deaths" text,
  "natural_change" text,
  "migration" text,
  "crude_birth_rate_per_1_000" real,
  "crude_death_rate_per_1_000" real,
  "natural_change_per_1_000" real,
  "migration_per_1_000" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many  Crude death rate (per 1,000) has a Migration (per 1,000) larger than -5.06, and a Natural change (per 1,000) larger than 7.06? Question 1`:
```sql
                SELECT AVG("crude_death_rate_per_1_000") FROM "vital_statistics" WHERE "migration_per_1_000">-5.06 AND "natural_change_per_1_000">7.06;
```
## Task
Generate a SQL query to answer the following question:
`Which Natural change (per 1,000) has Deaths of 17 413, and a Migration (per 1,000) larger than -7.35?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1_000" text,
  "live_births" text,
  "deaths" text,
  "natural_change" text,
  "migration" text,
  "crude_birth_rate_per_1_000" real,
  "crude_death_rate_per_1_000" real,
  "natural_change_per_1_000" real,
  "migration_per_1_000" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Natural change (per 1,000) has Deaths of 17 413, and a Migration (per 1,000) larger than -7.35?`:
```sql
                SELECT MIN("natural_change_per_1_000") FROM "vital_statistics" WHERE "deaths"='17 413' AND "migration_per_1_000">-7.35;
```
## Task
Generate a SQL query to answer the following question:
`How many Migration (per 1,000) has a Crude birth rate (per 1,000) of 17.54 and a Natural change (per 1,000) larger than 10.95?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1_000" text,
  "live_births" text,
  "deaths" text,
  "natural_change" text,
  "migration" text,
  "crude_birth_rate_per_1_000" real,
  "crude_death_rate_per_1_000" real,
  "natural_change_per_1_000" real,
  "migration_per_1_000" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Migration (per 1,000) has a Crude birth rate (per 1,000) of 17.54 and a Natural change (per 1,000) larger than 10.95?`:
```sql
                SELECT SUM("migration_per_1_000") FROM "vital_statistics" WHERE "crude_birth_rate_per_1_000"=17.54 AND "natural_change_per_1_000">10.95;
```
## Task
Generate a SQL query to answer the following question:
`What kind of Live births has a Migration of -14 873?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1_000" text,
  "live_births" text,
  "deaths" text,
  "natural_change" text,
  "migration" text,
  "crude_birth_rate_per_1_000" real,
  "crude_death_rate_per_1_000" real,
  "natural_change_per_1_000" real,
  "migration_per_1_000" real
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Live births has a Migration of -14 873?`:
```sql
                SELECT "live_births" FROM "vital_statistics" WHERE "migration"='-14 873';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "games" real,
  "goals" real,
  "goals_games" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162?`:
```sql
                SELECT AVG("goals_games") FROM "list_of_top_association_football_goal_sc" WHERE "name"='rummenigge, karl-heinz' AND "goals"<162;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Games for Allofs, Klaus, with Goals less than 177?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "games" real,
  "goals" real,
  "goals_games" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Games for Allofs, Klaus, with Goals less than 177?`:
```sql
                SELECT SUM("games") FROM "list_of_top_association_football_goal_sc" WHERE "name"='allofs, klaus' AND "goals"<177;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Rank for more than 220 goals in 1965–1978-78?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "games" real,
  "goals" real,
  "goals_games" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Rank for more than 220 goals in 1965–1978-78?`:
```sql
                SELECT MAX("rank") FROM "list_of_top_association_football_goal_sc" WHERE "goals">220 AND "years"='1965–1978-78';
```
## Task
Generate a SQL query to answer the following question:
`Who is the composer of El Hanone?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "length" text,
  "writer" text,
  "composer" text,
  "arranger" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the composer of El Hanone?`:
```sql
                SELECT "composer" FROM "track_listing" WHERE "title"='el hanone';
```
## Task
Generate a SQL query to answer the following question:
`Which arranger worked with composer Imad Shams Eldeen at 4:03?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "length" text,
  "writer" text,
  "composer" text,
  "arranger" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which arranger worked with composer Imad Shams Eldeen at 4:03?`:
```sql
                SELECT "arranger" FROM "track_listing" WHERE "composer"='imad shams eldeen' AND "length"='4:03';
```
## Task
Generate a SQL query to answer the following question:
`What is the title track that is 3:50 and arranged by Tarek Akef?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "length" text,
  "writer" text,
  "composer" text,
  "arranger" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title track that is 3:50 and arranged by Tarek Akef?`:
```sql
                SELECT "title" FROM "track_listing" WHERE "arranger"='tarek akef' AND "length"='3:50';
```
## Task
Generate a SQL query to answer the following question:
`Who is the arranger for Ana Rouh?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "length" text,
  "writer" text,
  "composer" text,
  "arranger" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the arranger for Ana Rouh?`:
```sql
                SELECT "arranger" FROM "track_listing" WHERE "title"='ana rouh';
```
## Task
Generate a SQL query to answer the following question:
`Who was the writer that worked with arranger Tarek Akef on a 4:58 song?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "length" text,
  "writer" text,
  "composer" text,
  "arranger" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the writer that worked with arranger Tarek Akef on a 4:58 song?`:
```sql
                SELECT "writer" FROM "track_listing" WHERE "arranger"='tarek akef' AND "length"='4:58';
```
## Task
Generate a SQL query to answer the following question:
`What is the year of the ceremony with a not nominated result and ničiji sin as the original title?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year of the ceremony with a not nominated result and ničiji sin as the original title?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "result"='not nominated' AND "original_title"='ničiji sin';
```
## Task
Generate a SQL query to answer the following question:
`What is the year of the ceremony with the original title ničiji sin?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year of the ceremony with the original title ničiji sin?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='ničiji sin';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the ceremony in 2006 (79th)?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the ceremony in 2006 (79th)?`:
```sql
                SELECT "result" FROM "submissions" WHERE "year_ceremony"='2006 (79th)';
```
## Task
Generate a SQL query to answer the following question:
`What is the film title used for nomination with the original title sedamdeset i dva dana?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the film title used for nomination with the original title sedamdeset i dva dana?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "original_title"='sedamdeset i dva dana';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of Cannibal vegetarian, which is the film title used in nomination?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of Cannibal vegetarian, which is the film title used in nomination?`:
```sql
                SELECT "director_s" FROM "submissions" WHERE "film_title_used_in_nomination"='cannibal vegetarian';
```
## Task
Generate a SQL query to answer the following question:
`What is the average First Downs for december 4?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average First Downs for december 4?`:
```sql
                SELECT AVG("first_downs") FROM "schedule" WHERE "date"='december 4';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Attendance against the tampa bay buccaneers, with Points Against of less than 7?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Attendance against the tampa bay buccaneers, with Points Against of less than 7?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "opponent"='tampa bay buccaneers' AND "points_against"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Points when the record was 12–2, and the Points Against are larger than 6?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Points when the record was 12–2, and the Points Against are larger than 6?`:
```sql
                SELECT MAX("points_for") FROM "schedule" WHERE "record"='12–2' AND "points_against">6;
```
## Task
Generate a SQL query to answer the following question:
`Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?`:
```sql
                SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='prolonged' AND "condition"='factor v deficiency';
```
## Task
Generate a SQL query to answer the following question:
`Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged?`:
```sql
                SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='prolonged' AND "platelet_count"='decreased' AND "prothrombin_time"='prolonged';
```
## Task
Generate a SQL query to answer the following question:
`Which Platelet count has a Partial thromboplastin time of prolonged or unaffected?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Platelet count has a Partial thromboplastin time of prolonged or unaffected?`:
```sql
                SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='prolonged or unaffected';
```
## Task
Generate a SQL query to answer the following question:
`Which Prothrombin time that has a Partial thromboplastin time of unaffected, and a Condition of thrombocytopenia?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Prothrombin time that has a Partial thromboplastin time of unaffected, and a Condition of thrombocytopenia?`:
```sql
                SELECT "prothrombin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='unaffected' AND "condition"='thrombocytopenia';
```
## Task
Generate a SQL query to answer the following question:
`Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged?`:
```sql
                SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='unaffected' AND "prothrombin_time"='prolonged';
```
## Task
Generate a SQL query to answer the following question:
`Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6`:
```sql
                SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='prolonged' AND "bleeding_time"='unaffected' AND "condition"='vitamin k deficiency or warfarin';
```
## Task
Generate a SQL query to answer the following question:
`What are the notes where the authors are Zhou & Zhang?`

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

CREATE TABLE "birds" (
  "name" text,
  "novelty" text,
  "status" text,
  "authors" text,
  "unit" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the notes where the authors are Zhou & Zhang?`:
```sql
                SELECT "notes" FROM "birds" WHERE "authors"='zhou & zhang';
```
## Task
Generate a SQL query to answer the following question:
`What is the status where the notes are possible jr synonym of sapeornis?`

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

CREATE TABLE "birds" (
  "name" text,
  "novelty" text,
  "status" text,
  "authors" text,
  "unit" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status where the notes are possible jr synonym of sapeornis?`:
```sql
                SELECT "status" FROM "birds" WHERE "notes"='possible jr synonym of sapeornis';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?`:
```sql
                SELECT AVG("top_5") FROM "summary" WHERE "top_10"=2 AND "top_25">4;
```
## Task
Generate a SQL query to answer the following question:
`What are the least Top-5 finish when the events are greater than 18?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the least Top-5 finish when the events are greater than 18?`:
```sql
                SELECT MIN("top_5") FROM "summary" WHERE "events">18;
```
## Task
Generate a SQL query to answer the following question:
`What is the total of wins when the evens is less than 3?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of wins when the evens is less than 3?`:
```sql
                SELECT SUM("wins") FROM "summary" WHERE "events"<3;
```
## Task
Generate a SQL query to answer the following question:
`How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and a Top-5 greater than 2, when the events is greater than 18?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and a Top-5 greater than 2, when the events is greater than 18?`:
```sql
                SELECT COUNT("cuts_made") FROM "summary" WHERE "top_10">1 AND "wins">0 AND "top_5">2 AND "events">18;
```
## Task
Generate a SQL query to answer the following question:
`What years did Omar Sneed play?`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did Omar Sneed play?`:
```sql
                SELECT "season" FROM "s" WHERE "name"='omar sneed';
```
## Task
Generate a SQL query to answer the following question:
`Which season did Jovy Sese play?`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which season did Jovy Sese play?`:
```sql
                SELECT "season" FROM "s" WHERE "name"='jovy sese';
```
## Task
Generate a SQL query to answer the following question:
`How did the School/Club Team of Manuel Luis Quezon acquire their Forward?`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `How did the School/Club Team of Manuel Luis Quezon acquire their Forward?`:
```sql
                SELECT "acquisition_via" FROM "s" WHERE "position"='forward' AND "school_club_team"='manuel luis quezon';
```
## Task
Generate a SQL query to answer the following question:
`Which School/ Club Team acquired Jondan Salvador via trade?`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which School/ Club Team acquired Jondan Salvador via trade?`:
```sql
                SELECT "school_club_team" FROM "s" WHERE "acquisition_via"='trade' AND "name"='jondan salvador';
```
## Task
Generate a SQL query to answer the following question:
`What is the Points with a Played larger than 14?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Points with a Played larger than 14?`:
```sql
                SELECT COUNT("points") FROM "apea_s_campeonato_paulista" WHERE "played">14;
```
## Task
Generate a SQL query to answer the following question:
`What is the Points with an Against smaller than 16?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Points with an Against smaller than 16?`:
```sql
                SELECT AVG("points") FROM "apea_s_campeonato_paulista" WHERE "against"<16;
```
## Task
Generate a SQL query to answer the following question:
`Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22?`:
```sql
                SELECT "team" FROM "apea_s_campeonato_paulista" WHERE "lost">2 AND "position"<7 AND "drawn"<2 AND "points"=22;
```
## Task
Generate a SQL query to answer the following question:
`Which Points has a Position of 3, and a Drawn smaller than 2?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points has a Position of 3, and a Drawn smaller than 2?`:
```sql
                SELECT MAX("points") FROM "apea_s_campeonato_paulista" WHERE "position"=3 AND "drawn"<2;
```
## Task
Generate a SQL query to answer the following question:
`Which Played has a Points of 2, and a Position smaller than 8?`

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

CREATE TABLE "apea_s_campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Played has a Points of 2, and a Position smaller than 8?`:
```sql
                SELECT AVG("played") FROM "apea_s_campeonato_paulista" WHERE "points"=2 AND "position"<8;
```
## Task
Generate a SQL query to answer the following question:
`How many average plays have points greater than 14, with an against greater than 17?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many average plays have points greater than 14, with an against greater than 17?`:
```sql
                SELECT AVG("played") FROM "campeonato_paulista" WHERE "points">14 AND "against">17;
```
## Task
Generate a SQL query to answer the following question:
`Which average against has a lost less than 1?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average against has a lost less than 1?`:
```sql
                SELECT AVG("against") FROM "campeonato_paulista" WHERE "lost"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which of the highest drawn has a played less than 10?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which of the highest drawn has a played less than 10?`:
```sql
                SELECT MAX("drawn") FROM "campeonato_paulista" WHERE "played"<10;
```
## Task
Generate a SQL query to answer the following question:
`How many played have 3 as the drawn, and a position greater than 4?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many played have 3 as the drawn, and a position greater than 4?`:
```sql
                SELECT COUNT("played") FROM "campeonato_paulista" WHERE "drawn"=3 AND "position">4;
```
## Task
Generate a SQL query to answer the following question:
`Who sang the song composed by Mariah Carey and Walter Afanasieff?`

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

CREATE TABLE "most_played_songs" (
  "rank" real,
  "song_title" text,
  "composer_s" text,
  "performer_s" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who sang the song composed by Mariah Carey and Walter Afanasieff?`:
```sql
                SELECT "performer_s" FROM "most_played_songs" WHERE "composer_s"='mariah carey and walter afanasieff';
```
## Task
Generate a SQL query to answer the following question:
`How many years was Louis Armstrong performing?`

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

CREATE TABLE "most_played_songs" (
  "rank" real,
  "song_title" text,
  "composer_s" text,
  "performer_s" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many years was Louis Armstrong performing?`:
```sql
                SELECT COUNT("year") FROM "most_played_songs" WHERE "performer_s"='louis armstrong';
```
## Task
Generate a SQL query to answer the following question:
`Who were the Runner(s)-up with the winning score of −16 (66-68-70-68=272)?`

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

CREATE TABLE "champions_tour_wins_8" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the Runner(s)-up with the winning score of −16 (66-68-70-68=272)?`:
```sql
                SELECT "runner_s_up" FROM "champions_tour_wins_8" WHERE "winning_score"='−16 (66-68-70-68=272)';
```
## Task
Generate a SQL query to answer the following question:
`What tournament had a winning score of −27 (64-64-61=189)?`

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

CREATE TABLE "champions_tour_wins_8" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament had a winning score of −27 (64-64-61=189)?`:
```sql
                SELECT "tournament" FROM "champions_tour_wins_8" WHERE "winning_score"='−27 (64-64-61=189)';
```