cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`In what way was Kewaubis executed on December 27, 1827?`

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

CREATE TABLE "under_u_s_jurisdiction_territorial" (
  "name" text,
  "date_of_execution" text,
  "crime" text,
  "method" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what way was Kewaubis executed on December 27, 1827?`:
```sql
                SELECT "method" FROM "under_u_s_jurisdiction_territorial" WHERE "date_of_execution"='december 27, 1827' AND "name"='kewaubis';
```
## Task
Generate a SQL query to answer the following question:
`How was the native american executed in July 1836?`

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

CREATE TABLE "under_u_s_jurisdiction_territorial" (
  "name" text,
  "date_of_execution" text,
  "crime" text,
  "method" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `How was the native american executed in July 1836?`:
```sql
                SELECT "method" FROM "under_u_s_jurisdiction_territorial" WHERE "race"='native american' AND "date_of_execution"='july 1836';
```
## Task
Generate a SQL query to answer the following question:
`How many draws have 1 win, 1 loss, and a Goal Differential of +1?`

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

CREATE TABLE "head_to_head_records_against_other_count" (
  "games" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_differential" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many draws have 1 win, 1 loss, and a Goal Differential of +1?`:
```sql
                SELECT SUM("draws") FROM "head_to_head_records_against_other_count" WHERE "wins"=1 AND "losses"=1 AND "goal_differential"='+1';
```
## Task
Generate a SQL query to answer the following question:
`What genre is Led Zeppelin?`

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

CREATE TABLE "250_million_or_more_records" (
  "artist" text,
  "country_of_origin" text,
  "period_active" text,
  "release_year_of_first_charted_record" real,
  "genre" text,
  "claimed_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `What genre is Led Zeppelin?`:
```sql
                SELECT "genre" FROM "250_million_or_more_records" WHERE "artist"='led zeppelin';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the Loss by Flanagan (6-7)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the Loss by Flanagan (6-7)?`:
```sql
                SELECT "date" FROM "game_log" WHERE "loss"='flanagan (6-7)';
```
## Task
Generate a SQL query to answer the following question:
`During which loss was the record 48-50?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which loss was the record 48-50?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='48-50';
```
## Task
Generate a SQL query to answer the following question:
`What was the score that made the record 47-49?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score that made the record 47-49?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='47-49';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent on July 29?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Opponent on July 29?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='july 29';
```
## Task
Generate a SQL query to answer the following question:
`What was the record during the loss by key (7-11)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record during the loss by key (7-11)?`:
```sql
                SELECT "record" FROM "game_log" WHERE "loss"='key (7-11)';
```
## Task
Generate a SQL query to answer the following question:
`What is the total diagram for builder york?`

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

CREATE TABLE "list_of_preserved_rm_bs" (
  "lot_no" real,
  "diagram" real,
  "built" text,
  "builder" text,
  "fleet_numbers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total diagram for builder york?`:
```sql
                SELECT SUM("diagram") FROM "list_of_preserved_rm_bs" WHERE "builder"='york';
```
## Task
Generate a SQL query to answer the following question:
`What fleet  numbers have a diagram less than 99 and built in 1960?`

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

CREATE TABLE "list_of_preserved_rm_bs" (
  "lot_no" real,
  "diagram" real,
  "built" text,
  "builder" text,
  "fleet_numbers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What fleet  numbers have a diagram less than 99 and built in 1960?`:
```sql
                SELECT "fleet_numbers" FROM "list_of_preserved_rm_bs" WHERE "diagram"<99 AND "built"='1960';
```
## Task
Generate a SQL query to answer the following question:
`What diagram built in 1962 has a lot number smaller than 30702?`

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

CREATE TABLE "list_of_preserved_rm_bs" (
  "lot_no" real,
  "diagram" real,
  "built" text,
  "builder" text,
  "fleet_numbers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What diagram built in 1962 has a lot number smaller than 30702?`:
```sql
                SELECT MIN("diagram") FROM "list_of_preserved_rm_bs" WHERE "built"='1962' AND "lot_no"<30702;
```
## Task
Generate a SQL query to answer the following question:
`What builder has lot number 30702?`

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

CREATE TABLE "list_of_preserved_rm_bs" (
  "lot_no" real,
  "diagram" real,
  "built" text,
  "builder" text,
  "fleet_numbers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What builder has lot number 30702?`:
```sql
                SELECT "builder" FROM "list_of_preserved_rm_bs" WHERE "lot_no"=30702;
```
## Task
Generate a SQL query to answer the following question:
`Which Genre has a Year before 2013, and a Name of kikumana?`

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

CREATE TABLE "works" (
  "year" real,
  "name" text,
  "genre" text,
  "status" text,
  "post" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Genre has a Year before 2013, and a Name of kikumana?`:
```sql
                SELECT "genre" FROM "works" WHERE "year"<2013 AND "name"='kikumana';
```
## Task
Generate a SQL query to answer the following question:
`In what year has a Post of designer?`

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

CREATE TABLE "works" (
  "year" real,
  "name" text,
  "genre" text,
  "status" text,
  "post" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year has a Post of designer?`:
```sql
                SELECT SUM("year") FROM "works" WHERE "post"='designer';
```
## Task
Generate a SQL query to answer the following question:
`Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?`:
```sql
                SELECT "visitor" FROM "game_log" WHERE "home"='boston bruins' AND "date"='november 15';
```
## Task
Generate a SQL query to answer the following question:
`Which Visitor is listed as having a Date of December 17?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Visitor is listed as having a Date of December 17?`:
```sql
                SELECT "visitor" FROM "game_log" WHERE "date"='december 17';
```
## Task
Generate a SQL query to answer the following question:
`What's the Score with the Visitor of Montreal Maroons and has a Date of December 28?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Score with the Visitor of Montreal Maroons and has a Date of December 28?`:
```sql
                SELECT "score" FROM "game_log" WHERE "visitor"='montreal maroons' AND "date"='december 28';
```
## Task
Generate a SQL query to answer the following question:
`What's the attendance of the san diego chargers game before week 6?`

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

CREATE TABLE "season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the attendance of the san diego chargers game before week 6?`:
```sql
                SELECT COUNT("attendance") FROM "season_schedule" WHERE "week"<6 AND "opponent"='san diego chargers';
```
## Task
Generate a SQL query to answer the following question:
`How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events?`:
```sql
                SELECT COUNT("wins") FROM "summary" WHERE "top_25"=1 AND "cuts_made"<2 AND "events"<5;
```
## Task
Generate a SQL query to answer the following question:
`How many events have a Top-25 of 1 and made less than 1 cut?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many events have a Top-25 of 1 and made less than 1 cut?`:
```sql
                SELECT MAX("events") FROM "summary" WHERE "top_25"=1 AND "cuts_made"<1;
```
## Task
Generate a SQL query to answer the following question:
`During the PGA Championship, what's the lowest amount of events with wins greater than 0?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `During the PGA Championship, what's the lowest amount of events with wins greater than 0?`:
```sql
                SELECT MIN("events") FROM "summary" WHERE "tournament"='pga championship' AND "wins">0;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest number of cuts made while the win was less than 0?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest number of cuts made while the win was less than 0?`:
```sql
                SELECT MIN("cuts_made") FROM "summary" WHERE "wins"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971?`

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

CREATE TABLE "reactor_data" (
  "unit" text,
  "reactortype" text,
  "net_capacity" text,
  "gross_capacity" text,
  "construction_started" text,
  "electricity_grid" text,
  "commercial_operation" text,
  "shutdown" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971?`:
```sql
                SELECT "reactortype" FROM "reactor_data" WHERE "gross_capacity"='417 mw' AND "electricity_grid"='27.12.1971';
```
## Task
Generate a SQL query to answer the following question:
`Which Unit's Construction started on 01.07.1967?`

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

CREATE TABLE "reactor_data" (
  "unit" text,
  "reactortype" text,
  "net_capacity" text,
  "gross_capacity" text,
  "construction_started" text,
  "electricity_grid" text,
  "commercial_operation" text,
  "shutdown" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Unit's Construction started on 01.07.1967?`:
```sql
                SELECT "unit" FROM "reactor_data" WHERE "construction_started"='01.07.1967';
```
## Task
Generate a SQL query to answer the following question:
`Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?`

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

CREATE TABLE "reactor_data" (
  "unit" text,
  "reactortype" text,
  "net_capacity" text,
  "gross_capacity" text,
  "construction_started" text,
  "electricity_grid" text,
  "commercial_operation" text,
  "shutdown" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?`:
```sql
                SELECT "commercial_operation" FROM "reactor_data" WHERE "gross_capacity"='417 mw' AND "electricity_grid"='27.12.1971';
```
## Task
Generate a SQL query to answer the following question:
`When did the Electricity Grid 28.12.1972 officially shutdown?`

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

CREATE TABLE "reactor_data" (
  "unit" text,
  "reactortype" text,
  "net_capacity" text,
  "gross_capacity" text,
  "construction_started" text,
  "electricity_grid" text,
  "commercial_operation" text,
  "shutdown" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the Electricity Grid 28.12.1972 officially shutdown?`:
```sql
                SELECT "shutdown" FROM "reactor_data" WHERE "electricity_grid"='28.12.1972';
```
## Task
Generate a SQL query to answer the following question:
`Which Electricity Grid started its Commercial Operation of 24.03.1973?`

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

CREATE TABLE "reactor_data" (
  "unit" text,
  "reactortype" text,
  "net_capacity" text,
  "gross_capacity" text,
  "construction_started" text,
  "electricity_grid" text,
  "commercial_operation" text,
  "shutdown" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Electricity Grid started its Commercial Operation of 24.03.1973?`:
```sql
                SELECT "electricity_grid" FROM "reactor_data" WHERE "commercial_operation"='24.03.1973';
```
## Task
Generate a SQL query to answer the following question:
`Tell what has the App(GS/Sub) of 14 (8/6)`

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

CREATE TABLE "squad_information" (
  "nat" text,
  "name" text,
  "since" real,
  "app_gs_sub" text,
  "goals" real,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell what has the App(GS/Sub) of 14 (8/6)`:
```sql
                SELECT "name" FROM "squad_information" WHERE "app_gs_sub"='14 (8/6)';
```
## Task
Generate a SQL query to answer the following question:
`Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)`

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

CREATE TABLE "squad_information" (
  "nat" text,
  "name" text,
  "since" real,
  "app_gs_sub" text,
  "goals" real,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)`:
```sql
                SELECT "goals" FROM "squad_information" WHERE "since"<2007 AND "app_gs_sub"='97 (69/28)';
```
## Task
Generate a SQL query to answer the following question:
`When is  Cadott Rock Fest taken place?`

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

CREATE TABLE "hit_n_run_shows" (
  "date" text,
  "city" text,
  "country" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is  Cadott Rock Fest taken place?`:
```sql
                SELECT "date" FROM "hit_n_run_shows" WHERE "venue"='cadott rock fest';
```
## Task
Generate a SQL query to answer the following question:
`Which City has mandalay bay resort`

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

CREATE TABLE "hit_n_run_shows" (
  "date" text,
  "city" text,
  "country" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which City has mandalay bay resort`:
```sql
                SELECT "city" FROM "hit_n_run_shows" WHERE "venue"='mandalay bay resort';
```
## Task
Generate a SQL query to answer the following question:
`Which City has a Date on october 26, 2007`

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

CREATE TABLE "hit_n_run_shows" (
  "date" text,
  "city" text,
  "country" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which City has a Date on october 26, 2007`:
```sql
                SELECT "city" FROM "hit_n_run_shows" WHERE "date"='october 26, 2007';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has Mandalay Bay Resort`

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

CREATE TABLE "hit_n_run_shows" (
  "date" text,
  "city" text,
  "country" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance has Mandalay Bay Resort`:
```sql
                SELECT "attendance" FROM "hit_n_run_shows" WHERE "venue"='mandalay bay resort';
```
## Task
Generate a SQL query to answer the following question:
`When is Country of united states, and a Venue of mandalay bay resort in?`

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

CREATE TABLE "hit_n_run_shows" (
  "date" text,
  "city" text,
  "country" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is Country of united states, and a Venue of mandalay bay resort in?`:
```sql
                SELECT "date" FROM "hit_n_run_shows" WHERE "country"='united states' AND "venue"='mandalay bay resort';
```
## Task
Generate a SQL query to answer the following question:
`When has a City of san jacinto, california?`

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

CREATE TABLE "hit_n_run_shows" (
  "date" text,
  "city" text,
  "country" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has a City of san jacinto, california?`:
```sql
                SELECT "date" FROM "hit_n_run_shows" WHERE "city"='san jacinto, california';
```
## Task
Generate a SQL query to answer the following question:
`Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952?`

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

CREATE TABLE "complete_world_championship_grand_prix_r" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952?`:
```sql
                SELECT "chassis" FROM "complete_world_championship_grand_prix_r" WHERE "points">0 AND "entrant"='scuderia ferrari' AND "year">1952;
```
## Task
Generate a SQL query to answer the following question:
`Which Entrant has a vanwall straight-4 engine?`

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

CREATE TABLE "complete_world_championship_grand_prix_r" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Entrant has a vanwall straight-4 engine?`:
```sql
                SELECT "entrant" FROM "complete_world_championship_grand_prix_r" WHERE "engine"='vanwall straight-4';
```
## Task
Generate a SQL query to answer the following question:
`Which region has a date of 1970?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which region has a date of 1970?`:
```sql
                SELECT "region" FROM "release_history" WHERE "date"='1970';
```
## Task
Generate a SQL query to answer the following question:
`Which label has a date of 1987?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which label has a date of 1987?`:
```sql
                SELECT "label" FROM "release_history" WHERE "date"='1987';
```
## Task
Generate a SQL query to answer the following question:
`Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?`:
```sql
                SELECT "catalogue" FROM "release_history" WHERE "format"='cd remastered with 3 bonus tracks';
```
## Task
Generate a SQL query to answer the following question:
`Which catalogue has a date of 1987?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which catalogue has a date of 1987?`:
```sql
                SELECT "catalogue" FROM "release_history" WHERE "date"='1987';
```
## Task
Generate a SQL query to answer the following question:
`What is the latest season where Al Ahly is the runners-up?`

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

CREATE TABLE "performances" (
  "season" real,
  "host" text,
  "winners" text,
  "score" text,
  "runners_up" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest season where Al Ahly is the runners-up?`:
```sql
                SELECT MAX("season") FROM "performances" WHERE "runners_up"='al ahly';
```
## Task
Generate a SQL query to answer the following question:
`What is the season where Vasco da gama is the score?`

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

CREATE TABLE "performances" (
  "season" real,
  "host" text,
  "winners" text,
  "score" text,
  "runners_up" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the season where Vasco da gama is the score?`:
```sql
                SELECT "season" FROM "performances" WHERE "score"='vasco da gama';
```
## Task
Generate a SQL query to answer the following question:
`Who is the winner in 2010?`

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

CREATE TABLE "performances" (
  "season" real,
  "host" text,
  "winners" text,
  "score" text,
  "runners_up" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the winner in 2010?`:
```sql
                SELECT "winners" FROM "performances" WHERE "season"=2010;
```
## Task
Generate a SQL query to answer the following question:
`Who is the winner in 2011?`

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

CREATE TABLE "performances" (
  "season" real,
  "host" text,
  "winners" text,
  "score" text,
  "runners_up" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the winner in 2011?`:
```sql
                SELECT "winners" FROM "performances" WHERE "season"=2011;
```
## Task
Generate a SQL query to answer the following question:
`What was the third place of the performance in 2006 with the host Japan?`

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

CREATE TABLE "performances" (
  "season" real,
  "host" text,
  "winners" text,
  "score" text,
  "runners_up" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the third place of the performance in 2006 with the host Japan?`:
```sql
                SELECT "third_place" FROM "performances" WHERE "host"='japan' AND "season"<2006;
```
## Task
Generate a SQL query to answer the following question:
`Which round did Dundee United end in?`

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

CREATE TABLE "uefa_cup_winners_cup" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round did Dundee United end in?`:
```sql
                SELECT "round" FROM "uefa_cup_winners_cup" WHERE "club"='dundee united';
```
## Task
Generate a SQL query to answer the following question:
`Name the event with pursuit of 18th and sprint of 20th`

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

CREATE TABLE "olympic_games" (
  "event" text,
  "individual" text,
  "sprint" text,
  "pursuit" text,
  "mass_start" text,
  "relay" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the event with pursuit of 18th and sprint of 20th`:
```sql
                SELECT "event" FROM "olympic_games" WHERE "pursuit"='18th' AND "sprint"='20th';
```
## Task
Generate a SQL query to answer the following question:
`Name the pursuit for 1994 lillehammer`

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

CREATE TABLE "olympic_games" (
  "event" text,
  "individual" text,
  "sprint" text,
  "pursuit" text,
  "mass_start" text,
  "relay" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pursuit for 1994 lillehammer`:
```sql
                SELECT "pursuit" FROM "olympic_games" WHERE "event"='1994 lillehammer';
```
## Task
Generate a SQL query to answer the following question:
`Name the sprint with mass start of 2nd`

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

CREATE TABLE "olympic_games" (
  "event" text,
  "individual" text,
  "sprint" text,
  "pursuit" text,
  "mass_start" text,
  "relay" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sprint with mass start of 2nd`:
```sql
                SELECT "sprint" FROM "olympic_games" WHERE "mass_start"='2nd';
```
## Task
Generate a SQL query to answer the following question:
`What country had a film in 1993?`

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

CREATE TABLE "1990s" (
  "year" real,
  "english_title" text,
  "original_title" text,
  "country" text,
  "director_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country had a film in 1993?`:
```sql
                SELECT "country" FROM "1990s" WHERE "year"=1993;
```
## Task
Generate a SQL query to answer the following question:
`Where was Extreme Challenge 63 with a time of 2:00 held?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was Extreme Challenge 63 with a time of 2:00 held?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='extreme challenge 63' AND "time"='2:00';
```
## Task
Generate a SQL query to answer the following question:
`How many total rounds were there at UFC 114?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total rounds were there at UFC 114?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "event"='ufc 114';
```
## Task
Generate a SQL query to answer the following question:
`In the round that lasted 0:20, what was the Res?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the round that lasted 0:20, what was the Res?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "time"='0:20';
```
## Task
Generate a SQL query to answer the following question:
`In what City was the Ept Baden Classic?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what City was the Ept Baden Classic?`:
```sql
                SELECT "city" FROM "european_poker_tour" WHERE "event"='ept baden classic';
```
## Task
Generate a SQL query to answer the following question:
`What Event has a Prize of €869,000?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Event has a Prize of €869,000?`:
```sql
                SELECT "event" FROM "european_poker_tour" WHERE "prize"='€869,000';
```
## Task
Generate a SQL query to answer the following question:
`What Winner had a Prize of zł2,153,999?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Winner had a Prize of zł2,153,999?`:
```sql
                SELECT "winner" FROM "european_poker_tour" WHERE "prize"='zł2,153,999';
```
## Task
Generate a SQL query to answer the following question:
`How many decile has a roll less than 20?`

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

CREATE TABLE "queenstown_lakes_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many decile has a roll less than 20?`:
```sql
                SELECT AVG("decile") FROM "queenstown_lakes_district" WHERE "roll"<20;
```
## Task
Generate a SQL query to answer the following question:
`Which gender had a roll of 627?`

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

CREATE TABLE "queenstown_lakes_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which gender had a roll of 627?`:
```sql
                SELECT "gender" FROM "queenstown_lakes_district" WHERE "roll"=627;
```
## Task
Generate a SQL query to answer the following question:
`Glenorchy school has a decile less than 10 and is in what area?`

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

CREATE TABLE "queenstown_lakes_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Glenorchy school has a decile less than 10 and is in what area?`:
```sql
                SELECT "area" FROM "queenstown_lakes_district" WHERE "decile"<10 AND "name"='glenorchy school';
```
## Task
Generate a SQL query to answer the following question:
`Makarora primary school has a roll less than 141 and what gender?`

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

CREATE TABLE "queenstown_lakes_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Makarora primary school has a roll less than 141 and what gender?`:
```sql
                SELECT "gender" FROM "queenstown_lakes_district" WHERE "roll"<141 AND "name"='makarora primary school';
```
## Task
Generate a SQL query to answer the following question:
`In what season did the Sporting CP Club have a 1. round?`

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

CREATE TABLE "uefa_champions_league" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what season did the Sporting CP Club have a 1. round?`:
```sql
                SELECT "season" FROM "uefa_champions_league" WHERE "round"='1. round' AND "club"='sporting cp';
```
## Task
Generate a SQL query to answer the following question:
`The Club of Ekranas was an away with a score of what?`

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

CREATE TABLE "uefa_champions_league" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `The Club of Ekranas was an away with a score of what?`:
```sql
                SELECT "away" FROM "uefa_champions_league" WHERE "club"='ekranas';
```
## Task
Generate a SQL query to answer the following question:
`What is Rhiannon Leier's lane?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Rhiannon Leier's lane?`:
```sql
                SELECT "lane" FROM "semifinal_1" WHERE "name"='rhiannon leier';
```
## Task
Generate a SQL query to answer the following question:
`What pennant does Narbada have?`

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

CREATE TABLE "class" (
  "name" text,
  "pennant" text,
  "builder" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `What pennant does Narbada have?`:
```sql
                SELECT "pennant" FROM "class" WHERE "name"='narbada';
```
## Task
Generate a SQL query to answer the following question:
`What date was the U21 pennant laid down?`

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

CREATE TABLE "class" (
  "name" text,
  "pennant" text,
  "builder" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the U21 pennant laid down?`:
```sql
                SELECT "laid_down" FROM "class" WHERE "pennant"='u21';
```
## Task
Generate a SQL query to answer the following question:
`What position went lower than 106 from the College of Virginia?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position went lower than 106 from the College of Virginia?`:
```sql
                SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "overall"<106 AND "college"='virginia';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest round a fullback went in?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest round a fullback went in?`:
```sql
                SELECT MIN("round") FROM "indianapolis_colts_draft_history" WHERE "position"='fullback';
```
## Task
Generate a SQL query to answer the following question:
`Name the province with rank more than 49`

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

CREATE TABLE "the_50_most_topographically_isolated_mou" (
  "rank" real,
  "mountain_peak" text,
  "province" text,
  "mountain_range" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the province with rank more than 49`:
```sql
                SELECT "province" FROM "the_50_most_topographically_isolated_mou" WHERE "rank">49;
```
## Task
Generate a SQL query to answer the following question:
`Name the mountain peak with location of 46.7000°n 60.5992°w`

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

CREATE TABLE "the_50_most_topographically_isolated_mou" (
  "rank" real,
  "mountain_peak" text,
  "province" text,
  "mountain_range" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mountain peak with location of 46.7000°n 60.5992°w`:
```sql
                SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "location"='46.7000°n 60.5992°w';
```
## Task
Generate a SQL query to answer the following question:
`Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w`

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

CREATE TABLE "the_50_most_topographically_isolated_mou" (
  "rank" real,
  "mountain_peak" text,
  "province" text,
  "mountain_range" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w`:
```sql
                SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "rank"<6 AND "location"='81.9083°n 75.0250°w';
```
## Task
Generate a SQL query to answer the following question:
`Name the mountain range for nunavut with location of 73.2294°n 78.6233°w`

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

CREATE TABLE "the_50_most_topographically_isolated_mou" (
  "rank" real,
  "mountain_peak" text,
  "province" text,
  "mountain_range" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mountain range for nunavut with location of 73.2294°n 78.6233°w`:
```sql
                SELECT "mountain_range" FROM "the_50_most_topographically_isolated_mou" WHERE "province"='nunavut' AND "location"='73.2294°n 78.6233°w';
```
## Task
Generate a SQL query to answer the following question:
`Name the mountain peak of 49 rank`

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

CREATE TABLE "the_50_most_topographically_isolated_mou" (
  "rank" real,
  "mountain_peak" text,
  "province" text,
  "mountain_range" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mountain peak of 49 rank`:
```sql
                SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "rank"=49;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR?`

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

CREATE TABLE "references" (
  "county" text,
  "live_births_2006" real,
  "gfr_2006" real,
  "tfr_2006" real,
  "whites_as_pct_of_pop" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR?`:
```sql
                SELECT SUM("live_births_2006") FROM "references" WHERE "whites_as_pct_of_pop"='98.40%' AND "tfr_2006">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?`

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

CREATE TABLE "references" (
  "county" text,
  "live_births_2006" real,
  "gfr_2006" real,
  "tfr_2006" real,
  "whites_as_pct_of_pop" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?`:
```sql
                SELECT MIN("gfr_2006") FROM "references" WHERE "whites_as_pct_of_pop"='95.80%' AND "tfr_2006">2.14;
```
## Task
Generate a SQL query to answer the following question:
`In 2006, what is the highest number for Live births in the County of Cumbria that has a TFR larger than 1.76?`

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

CREATE TABLE "references" (
  "county" text,
  "live_births_2006" real,
  "gfr_2006" real,
  "tfr_2006" real,
  "whites_as_pct_of_pop" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 2006, what is the highest number for Live births in the County of Cumbria that has a TFR larger than 1.76?`:
```sql
                SELECT MAX("live_births_2006") FROM "references" WHERE "county"='cumbria' AND "tfr_2006">1.76;
```
## Task
Generate a SQL query to answer the following question:
`Question doesn't make sense since there is no team of pramac d'antin ducati`

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

CREATE TABLE "grand_prix_career_statistics" (
  "year" real,
  "class" text,
  "team" text,
  "machine" text,
  "points" real,
  "rank" text,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `Question doesn't make sense since there is no team of pramac d'antin ducati`:
```sql
                SELECT MIN("year") FROM "grand_prix_career_statistics" WHERE "team"='pramac d''antin ducati';
```
## Task
Generate a SQL query to answer the following question:
`Which player from the Ironi Nahariya club was born in 1980?`

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

CREATE TABLE "fiba_euro_basket_2007_squads" (
  "player" text,
  "height" real,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player from the Ironi Nahariya club was born in 1980?`:
```sql
                SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='ironi nahariya' AND "year_born"=1980;
```
## Task
Generate a SQL query to answer the following question:
`Which position from the Cherkassy Monkeys' club was born after 1978?`

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

CREATE TABLE "fiba_euro_basket_2007_squads" (
  "player" text,
  "height" real,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position from the Cherkassy Monkeys' club was born after 1978?`:
```sql
                SELECT "position" FROM "fiba_euro_basket_2007_squads" WHERE "year_born">1978 AND "current_club"='cherkassy monkeys';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?`

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

CREATE TABLE "north_america" (
  "rank" real,
  "circuit" text,
  "headquarters" text,
  "screens" real,
  "sites" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?`:
```sql
                SELECT AVG("rank") FROM "north_america" WHERE "headquarters"='toronto, on' AND "screens"<'1,438';
```