cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What's the most number of byes for Longwood having less than 1944 against?`

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

CREATE TABLE "2009_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the most number of byes for Longwood having less than 1944 against?`:
```sql
                SELECT MAX("byes") FROM "2009_ladder_and_finals" WHERE "benalla_dfl"='longwood' AND "against"<1944;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest number against when the draws are less than 0?`

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

CREATE TABLE "2009_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest number against when the draws are less than 0?`:
```sql
                SELECT MIN("against") FROM "2009_ladder_and_finals" WHERE "draws"<0;
```
## Task
Generate a SQL query to answer the following question:
`What are the average byes of Bonnie Doon having more than 16 wins?`

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

CREATE TABLE "2009_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the average byes of Bonnie Doon having more than 16 wins?`:
```sql
                SELECT AVG("byes") FROM "2009_ladder_and_finals" WHERE "benalla_dfl"='bonnie doon' AND "wins">16;
```
## Task
Generate a SQL query to answer the following question:
`What is Rovigo's Club?`

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

CREATE TABLE "girone_b" (
  "club" text,
  "city" text,
  "stadium" text,
  "capacity" real,
  "2007_08_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Rovigo's Club?`:
```sql
                SELECT "club" FROM "girone_b" WHERE "city"='rovigo';
```
## Task
Generate a SQL query to answer the following question:
`What 2007-08 had A.S. Gubbio 1910 Club?`

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

CREATE TABLE "girone_b" (
  "club" text,
  "city" text,
  "stadium" text,
  "capacity" real,
  "2007_08_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 2007-08 had A.S. Gubbio 1910 Club?`:
```sql
                SELECT "2007_08_season" FROM "girone_b" WHERE "club"='a.s. gubbio 1910';
```
## Task
Generate a SQL query to answer the following question:
`Which country had a total of 295?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country had a total of 295?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "total"=295;
```
## Task
Generate a SQL query to answer the following question:
`On what Date is West Ham United the Home team?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date is West Ham United the Home team?`:
```sql
                SELECT "date" FROM "third_round_proper" WHERE "home_team"='west ham united';
```
## Task
Generate a SQL query to answer the following question:
`On what Date was the Score 4–1?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date was the Score 4–1?`:
```sql
                SELECT "date" FROM "third_round_proper" WHERE "score"='4–1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Away team of Tie no 1?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Away team of Tie no 1?`:
```sql
                SELECT "away_team" FROM "third_round_proper" WHERE "tie_no"='1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tie no when Crystal Palace is the Away team?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tie no when Crystal Palace is the Away team?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='crystal palace';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team of Tie no 11?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home team of Tie no 11?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "tie_no"='11';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Week 4 has a Week 1 of sheila levell?`

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

CREATE TABLE "2004" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Week 4 has a Week 1 of sheila levell?`:
```sql
                SELECT "week_4" FROM "2004" WHERE "week_1"='sheila levell';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Week 2 has a Week 4 of araya robinson?`

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

CREATE TABLE "2004" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Week 2 has a Week 4 of araya robinson?`:
```sql
                SELECT "week_2" FROM "2004" WHERE "week_4"='araya robinson';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Week 4 has a Week 2 of tiffany logan?`

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

CREATE TABLE "2004" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Week 4 has a Week 2 of tiffany logan?`:
```sql
                SELECT "week_4" FROM "2004" WHERE "week_2"='tiffany logan';
```
## Task
Generate a SQL query to answer the following question:
`what kind of Week 5 that has a Week 1 of mandy ashford?`

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

CREATE TABLE "2004" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `what kind of Week 5 that has a Week 1 of mandy ashford?`:
```sql
                SELECT "week_5" FROM "2004" WHERE "week_1"='mandy ashford';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Week 2 that has a Week 1 of mandy ashford?`

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

CREATE TABLE "2004" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Week 2 that has a Week 1 of mandy ashford?`:
```sql
                SELECT "week_2" FROM "2004" WHERE "week_1"='mandy ashford';
```
## Task
Generate a SQL query to answer the following question:
`What Week 2 that has a Week 1 of mackenzie ryan?`

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

CREATE TABLE "2004" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Week 2 that has a Week 1 of mackenzie ryan?`:
```sql
                SELECT "week_2" FROM "2004" WHERE "week_1"='mackenzie ryan';
```
## Task
Generate a SQL query to answer the following question:
`What is the name when weight shows head coach: Aleksandr Kabanov?`

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

CREATE TABLE "russia" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name when weight shows head coach: Aleksandr Kabanov?`:
```sql
                SELECT "name" FROM "russia" WHERE "weight"='head coach: aleksandr kabanov';
```
## Task
Generate a SQL query to answer the following question:
`What is the park & ride lot for the Temple Square station?`

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

CREATE TABLE "stations" (
  "station_name" text,
  "opening_year" text,
  "municipality" text,
  "park_and_ride_lot" text,
  "free_fare_zone" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the park & ride lot for the Temple Square station?`:
```sql
                SELECT "park_and_ride_lot" FROM "stations" WHERE "station_name"='temple square';
```
## Task
Generate a SQL query to answer the following question:
`For the Temple Square station, what is the park & ride lot name?`

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

CREATE TABLE "stations" (
  "station_name" text,
  "opening_year" text,
  "municipality" text,
  "park_and_ride_lot" text,
  "free_fare_zone" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the Temple Square station, what is the park & ride lot name?`:
```sql
                SELECT "park_and_ride_lot" FROM "stations" WHERE "station_name"='temple square';
```
## Task
Generate a SQL query to answer the following question:
`Which station was opened in 2013, with no park & ride lot?`

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

CREATE TABLE "stations" (
  "station_name" text,
  "opening_year" text,
  "municipality" text,
  "park_and_ride_lot" text,
  "free_fare_zone" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which station was opened in 2013, with no park & ride lot?`:
```sql
                SELECT "station_name" FROM "stations" WHERE "opening_year"='2013' AND "park_and_ride_lot"='no';
```
## Task
Generate a SQL query to answer the following question:
`Where is the free fare zone for the Arena station?`

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

CREATE TABLE "stations" (
  "station_name" text,
  "opening_year" text,
  "municipality" text,
  "park_and_ride_lot" text,
  "free_fare_zone" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the free fare zone for the Arena station?`:
```sql
                SELECT "free_fare_zone" FROM "stations" WHERE "station_name"='arena';
```
## Task
Generate a SQL query to answer the following question:
`Calvin Abueva Calvin Abueva had what statistic?`

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

CREATE TABLE "individual_single_game_records" (
  "statistic" text,
  "name" text,
  "total" text,
  "school" text,
  "opponent" text,
  "stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `Calvin Abueva Calvin Abueva had what statistic?`:
```sql
                SELECT "statistic" FROM "individual_single_game_records" WHERE "name"='calvin abueva calvin abueva';
```
## Task
Generate a SQL query to answer the following question:
`When the opposing team was SSC-R what was the statistic?`

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

CREATE TABLE "individual_single_game_records" (
  "statistic" text,
  "name" text,
  "total" text,
  "school" text,
  "opponent" text,
  "stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the opposing team was SSC-R what was the statistic?`:
```sql
                SELECT "statistic" FROM "individual_single_game_records" WHERE "opponent"='ssc-r';
```
## Task
Generate a SQL query to answer the following question:
`When SSC-R is the opponent what is the name?`

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

CREATE TABLE "individual_single_game_records" (
  "statistic" text,
  "name" text,
  "total" text,
  "school" text,
  "opponent" text,
  "stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `When SSC-R is the opponent what is the name?`:
```sql
                SELECT "name" FROM "individual_single_game_records" WHERE "opponent"='ssc-r';
```
## Task
Generate a SQL query to answer the following question:
`With a statistic of most points, what is the stage?`

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

CREATE TABLE "individual_single_game_records" (
  "statistic" text,
  "name" text,
  "total" text,
  "school" text,
  "opponent" text,
  "stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `With a statistic of most points, what is the stage?`:
```sql
                SELECT "stage" FROM "individual_single_game_records" WHERE "statistic"='most points';
```
## Task
Generate a SQL query to answer the following question:
`When the opposing team was CSB UPHDS what was the total?`

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

CREATE TABLE "individual_single_game_records" (
  "statistic" text,
  "name" text,
  "total" text,
  "school" text,
  "opponent" text,
  "stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the opposing team was CSB UPHDS what was the total?`:
```sql
                SELECT "total" FROM "individual_single_game_records" WHERE "opponent"='csb uphds';
```
## Task
Generate a SQL query to answer the following question:
`Who had the statistic of most assists?`

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

CREATE TABLE "individual_single_game_records" (
  "statistic" text,
  "name" text,
  "total" text,
  "school" text,
  "opponent" text,
  "stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the statistic of most assists?`:
```sql
                SELECT "name" FROM "individual_single_game_records" WHERE "statistic"='most assists';
```
## Task
Generate a SQL query to answer the following question:
`What is Swimmer, when Year is less than 2011, and when Time is "53.06"?`

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

CREATE TABLE "records" (
  "event" text,
  "time" text,
  "swimmer" text,
  "school" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Swimmer, when Year is less than 2011, and when Time is "53.06"?`:
```sql
                SELECT "swimmer" FROM "records" WHERE "year"<2011 AND "time"='53.06';
```
## Task
Generate a SQL query to answer the following question:
`What is School, when Event is "100 Backstroke"?`

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

CREATE TABLE "records" (
  "event" text,
  "time" text,
  "swimmer" text,
  "school" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is School, when Event is "100 Backstroke"?`:
```sql
                SELECT "school" FROM "records" WHERE "event"='100 backstroke';
```
## Task
Generate a SQL query to answer the following question:
`What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?`

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

CREATE TABLE "records" (
  "event" text,
  "time" text,
  "swimmer" text,
  "school" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?`:
```sql
                SELECT "school" FROM "records" WHERE "year"<2013 AND "event"='100 breaststroke';
```
## Task
Generate a SQL query to answer the following question:
`What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?`

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

CREATE TABLE "records" (
  "event" text,
  "time" text,
  "swimmer" text,
  "school" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?`:
```sql
                SELECT "time" FROM "records" WHERE "year">2011 AND "event"='800 freestyle relay';
```
## Task
Generate a SQL query to answer the following question:
`What is Year, when Time is "1:47.55"?`

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

CREATE TABLE "records" (
  "event" text,
  "time" text,
  "swimmer" text,
  "school" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Year, when Time is "1:47.55"?`:
```sql
                SELECT "year" FROM "records" WHERE "time"='1:47.55';
```
## Task
Generate a SQL query to answer the following question:
`What is the Surface of the match against Yaroslava Shvedova?`

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

CREATE TABLE "singles_11_5_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Surface of the match against Yaroslava Shvedova?`:
```sql
                SELECT "surface" FROM "singles_11_5_6" WHERE "opponent_in_the_final"='yaroslava shvedova';
```
## Task
Generate a SQL query to answer the following question:
`What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)?`

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

CREATE TABLE "singles_11_5_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)?`:
```sql
                SELECT "surface" FROM "singles_11_5_6" WHERE "score_in_the_final"='5–7, 6–7 (2–7)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6?`

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

CREATE TABLE "singles_11_5_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6?`:
```sql
                SELECT "opponent_in_the_final" FROM "singles_11_5_6" WHERE "surface"='clay' AND "score_in_the_final"='4–6, 3–6';
```
## Task
Generate a SQL query to answer the following question:
`On what Date is the match played on Clay Surface with a Score in the final of 6–2, 7–5?`

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

CREATE TABLE "singles_11_5_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date is the match played on Clay Surface with a Score in the final of 6–2, 7–5?`:
```sql
                SELECT "date" FROM "singles_11_5_6" WHERE "surface"='clay' AND "score_in_the_final"='6–2, 7–5';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE NHL TEAM OF FINLAND?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE NHL TEAM OF FINLAND?`:
```sql
                SELECT "nhl_team" FROM "draft_picks" WHERE "nationality"='finland';
```
## Task
Generate a SQL query to answer the following question:
`What's the to Iran with fewer than 9 survivors, more than 3 damaged, and an ussr an-26 aircraft?`

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

CREATE TABLE "iraqi_air_force_strength_at_start_of_war" (
  "aircraft" text,
  "1990" real,
  "destroyed" real,
  "damaged" real,
  "to_iran" real,
  "survived" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the to Iran with fewer than 9 survivors, more than 3 damaged, and an ussr an-26 aircraft?`:
```sql
                SELECT AVG("to_iran") FROM "iraqi_air_force_strength_at_start_of_war" WHERE "survived"<9 AND "aircraft"='ussr an-26' AND "damaged">3;
```
## Task
Generate a SQL query to answer the following question:
`What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?`

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

CREATE TABLE "iraqi_air_force_strength_at_start_of_war" (
  "aircraft" text,
  "1990" real,
  "destroyed" real,
  "damaged" real,
  "to_iran" real,
  "survived" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?`:
```sql
                SELECT AVG("destroyed") FROM "iraqi_air_force_strength_at_start_of_war" WHERE "1990">12 AND "damaged">1 AND "to_iran"<4 AND "survived"=6;
```
## Task
Generate a SQL query to answer the following question:
`What's the average survived with a to Iran less than 1, more than 1 destroyed, and a brazil tucano aircraft?`

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

CREATE TABLE "iraqi_air_force_strength_at_start_of_war" (
  "aircraft" text,
  "1990" real,
  "destroyed" real,
  "damaged" real,
  "to_iran" real,
  "survived" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average survived with a to Iran less than 1, more than 1 destroyed, and a brazil tucano aircraft?`:
```sql
                SELECT AVG("survived") FROM "iraqi_air_force_strength_at_start_of_war" WHERE "to_iran"<1 AND "aircraft"='brazil tucano' AND "destroyed">1;
```
## Task
Generate a SQL query to answer the following question:
`What home team played when there was an attendance of 568?`

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

CREATE TABLE "replays" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team played when there was an attendance of 568?`:
```sql
                SELECT "home_team" FROM "replays" WHERE "attendance"='568';
```
## Task
Generate a SQL query to answer the following question:
`What away team did Horsham play?`

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

CREATE TABLE "replays" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What away team did Horsham play?`:
```sql
                SELECT "away_team" FROM "replays" WHERE "home_team"='horsham';
```
## Task
Generate a SQL query to answer the following question:
`What home team played Hinckley United?`

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

CREATE TABLE "replays" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team played Hinckley United?`:
```sql
                SELECT "home_team" FROM "replays" WHERE "away_team"='hinckley united';
```
## Task
Generate a SQL query to answer the following question:
`How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?`:
```sql
                SELECT SUM("pts") FROM "complete_formula_one_results" WHERE "engine"='ferrari tipo 033 v6 tc' AND "year">1987;
```
## Task
Generate a SQL query to answer the following question:
`Which Team/Chassis has a Year larger than 1987?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team/Chassis has a Year larger than 1987?`:
```sql
                SELECT "team_chassis" FROM "complete_formula_one_results" WHERE "year">1987;
```
## Task
Generate a SQL query to answer the following question:
`How many points have an Engine of ferrari tipo 033 v6 tc, and a Year smaller than 1987?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points have an Engine of ferrari tipo 033 v6 tc, and a Year smaller than 1987?`:
```sql
                SELECT MAX("pts") FROM "complete_formula_one_results" WHERE "engine"='ferrari tipo 033 v6 tc' AND "year"<1987;
```
## Task
Generate a SQL query to answer the following question:
`Which Team/Chassis has less than 65 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team_chassis" text,
  "engine" text,
  "tyres" text,
  "pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team/Chassis has less than 65 points?`:
```sql
                SELECT "team_chassis" FROM "complete_formula_one_results" WHERE "pts"<65;
```
## Task
Generate a SQL query to answer the following question:
`What is the score if the Tie no is 32?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score if the Tie no is 32?`:
```sql
                SELECT "score" FROM "third_round_proper" WHERE "tie_no"='32';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tie no for Scunthorpe United?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tie no for Scunthorpe United?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "home_team"='scunthorpe united';
```
## Task
Generate a SQL query to answer the following question:
`Which home team played against Stoke City?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which home team played against Stoke City?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='stoke city';
```
## Task
Generate a SQL query to answer the following question:
`Which away team has a Tie no of 14?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which away team has a Tie no of 14?`:
```sql
                SELECT "away_team" FROM "third_round_proper" WHERE "tie_no"='14';
```
## Task
Generate a SQL query to answer the following question:
`On what date does Watford have a Tie no of 2?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date does Watford have a Tie no of 2?`:
```sql
                SELECT "date" FROM "third_round_proper" WHERE "home_team"='watford' AND "tie_no"='2';
```
## Task
Generate a SQL query to answer the following question:
`Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?`

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

CREATE TABLE "ultra_low_voltage_processors" (
  "model_number" text,
  "clock_speed" text,
  "l1_cache" text,
  "l2_cache" text,
  "fsb_speed" text,
  "clock_multiplier" text,
  "idle_power" text,
  "socket" text,
  "cores" real,
  "release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?`:
```sql
                SELECT "l1_cache" FROM "ultra_low_voltage_processors" WHERE "fsb_speed"='800mhz' AND "clock_speed"='1.2ghz';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of Player Tom Kite?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of Player Tom Kite?`:
```sql
                SELECT "score" FROM "third_round" WHERE "player"='tom kite';
```
## Task
Generate a SQL query to answer the following question:
`What is the To Par that has a 69-69-73=211 score?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the To Par that has a 69-69-73=211 score?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "score"='69-69-73=211';
```
## Task
Generate a SQL query to answer the following question:
`What is the Top that has a 66-71-66=203 score and a place of t1?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Top that has a 66-71-66=203 score and a place of t1?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "place"='t1' AND "score"='66-71-66=203';
```
## Task
Generate a SQL query to answer the following question:
`What player has a To Par of +1 with a score of 71-67-73=211?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player has a To Par of +1 with a score of 71-67-73=211?`:
```sql
                SELECT "player" FROM "third_round" WHERE "to_par"='+1' AND "score"='71-67-73=211';
```
## Task
Generate a SQL query to answer the following question:
`Which Player has a Score of 72-68-78-71=289?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player has a Score of 72-68-78-71=289?`:
```sql
                SELECT "player" FROM "final_round" WHERE "score"='72-68-78-71=289';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place for the 66 Score?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place for the 66 Score?`:
```sql
                SELECT "place" FROM "first_round" WHERE "score"=66;
```
## Task
Generate a SQL query to answer the following question:
`What Country has a 67 score by Phil Mickelson?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Country has a 67 score by Phil Mickelson?`:
```sql
                SELECT "country" FROM "first_round" WHERE "score"=67 AND "player"='phil mickelson';
```
## Task
Generate a SQL query to answer the following question:
`When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?`

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

CREATE TABLE "2002" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?`:
```sql
                SELECT "week_5" FROM "2002" WHERE "week_3"='cathi o''malley';
```
## Task
Generate a SQL query to answer the following question:
`When Star Zemba was featured in Week 3, who was the cyber girl for Week 2?`

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

CREATE TABLE "2002" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Star Zemba was featured in Week 3, who was the cyber girl for Week 2?`:
```sql
                SELECT "week_2" FROM "2002" WHERE "week_3"='star zemba';
```
## Task
Generate a SQL query to answer the following question:
`When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?`

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

CREATE TABLE "2002" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?`:
```sql
                SELECT "week_3" FROM "2002" WHERE "week_2"='heather christensen';
```
## Task
Generate a SQL query to answer the following question:
`When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?`

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

CREATE TABLE "2002" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?`:
```sql
                SELECT "week_5" FROM "2002" WHERE "week_2"='audra lynn';
```
## Task
Generate a SQL query to answer the following question:
`What is Agg., when Team 1 is "Tirana"?`

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

CREATE TABLE "qualifying_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Agg., when Team 1 is "Tirana"?`:
```sql
                SELECT "agg" FROM "qualifying_round" WHERE "team_1"='tirana';
```
## Task
Generate a SQL query to answer the following question:
`What is 2nd Leg, when Team 2 is "Dunaferr"?`

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

CREATE TABLE "qualifying_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 2nd Leg, when Team 2 is "Dunaferr"?`:
```sql
                SELECT "2nd_leg" FROM "qualifying_round" WHERE "team_2"='dunaferr';
```
## Task
Generate a SQL query to answer the following question:
`What is the elimination number for the time 13:43?`

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

CREATE TABLE "six_man_elimination_tag_team_match" (
  "elimination" text,
  "wrestler" text,
  "eliminated_by" text,
  "elimination_move" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the elimination number for the time 13:43?`:
```sql
                SELECT "elimination" FROM "six_man_elimination_tag_team_match" WHERE "time"='13:43';
```
## Task
Generate a SQL query to answer the following question:
`What Elimination number is listed againt Eliminated by Sonjay Dutt?`

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

CREATE TABLE "six_man_elimination_tag_team_match" (
  "elimination" text,
  "wrestler" text,
  "eliminated_by" text,
  "elimination_move" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Elimination number is listed againt Eliminated by Sonjay Dutt?`:
```sql
                SELECT "elimination" FROM "six_man_elimination_tag_team_match" WHERE "eliminated_by"='sonjay dutt';
```
## Task
Generate a SQL query to answer the following question:
`What time is listed against the Wrestler Jimmy Rave?`

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

CREATE TABLE "six_man_elimination_tag_team_match" (
  "elimination" text,
  "wrestler" text,
  "eliminated_by" text,
  "elimination_move" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time is listed against the Wrestler Jimmy Rave?`:
```sql
                SELECT "time" FROM "six_man_elimination_tag_team_match" WHERE "wrestler"='jimmy rave';
```
## Task
Generate a SQL query to answer the following question:
`Which Wrestler has an Elimination of 5?`

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

CREATE TABLE "six_man_elimination_tag_team_match" (
  "elimination" text,
  "wrestler" text,
  "eliminated_by" text,
  "elimination_move" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wrestler has an Elimination of 5?`:
```sql
                SELECT "wrestler" FROM "six_man_elimination_tag_team_match" WHERE "elimination"='5';
```
## Task
Generate a SQL query to answer the following question:
`What time is listed against Elimination number 2?`

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

CREATE TABLE "six_man_elimination_tag_team_match" (
  "elimination" text,
  "wrestler" text,
  "eliminated_by" text,
  "elimination_move" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time is listed against Elimination number 2?`:
```sql
                SELECT "time" FROM "six_man_elimination_tag_team_match" WHERE "elimination"='2';
```
## Task
Generate a SQL query to answer the following question:
`What score has 2 as the place?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What score has 2 as the place?`:
```sql
                SELECT "score" FROM "final_round" WHERE "place"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score?`:
```sql
                SELECT AVG("money") FROM "final_round" WHERE "to_par"='+8' AND "score"='73-72-72-71=288';
```
## Task
Generate a SQL query to answer the following question:
`What place has money (£) greater than 17,333 with +8 as the to par, and seve ballesteros as the player?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What place has money (£) greater than 17,333 with +8 as the to par, and seve ballesteros as the player?`:
```sql
                SELECT "place" FROM "final_round" WHERE "money">'17,333' AND "to_par"='+8' AND "player"='seve ballesteros';
```
## Task
Generate a SQL query to answer the following question:
`What country has t6 as the place, with seve ballesteros as the player?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What country has t6 as the place, with seve ballesteros as the player?`:
```sql
                SELECT "country" FROM "final_round" WHERE "place"='t6' AND "player"='seve ballesteros';
```
## Task
Generate a SQL query to answer the following question:
`What year weas John McEnroe the champion?`

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

CREATE TABLE "singles_champions" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year weas John McEnroe the champion?`:
```sql
                SELECT AVG("year") FROM "singles_champions" WHERE "champion"='john mcenroe';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner-up, when the champion was Björn Borg after 1978?`

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

CREATE TABLE "singles_champions" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner-up, when the champion was Björn Borg after 1978?`:
```sql
                SELECT "runner_up" FROM "singles_champions" WHERE "champion"='björn borg' AND "year">1978;
```
## Task
Generate a SQL query to answer the following question:
`Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?`

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

CREATE TABLE "singles_champions" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?`:
```sql
                SELECT "champion" FROM "singles_champions" WHERE "runner_up"='jimmy connors' AND "year"<1978;
```
## Task
Generate a SQL query to answer the following question:
`Which municipality has the code 2401?`

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

CREATE TABLE "references" (
  "code" real,
  "municipality" text,
  "county" text,
  "population" real,
  "total_area" text,
  "density_per_km_2_land" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which municipality has the code 2401?`:
```sql
                SELECT "municipality" FROM "references" WHERE "code"=2401;
```
## Task
Generate a SQL query to answer the following question:
`What is the population of Danderyd municipality in Stockholm County with a code lower than 162?`

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

CREATE TABLE "references" (
  "code" real,
  "municipality" text,
  "county" text,
  "population" real,
  "total_area" text,
  "density_per_km_2_land" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population of Danderyd municipality in Stockholm County with a code lower than 162?`:
```sql
                SELECT COUNT("population") FROM "references" WHERE "county"='stockholm county' AND "municipality"='danderyd municipality' AND "code"<162;
```
## Task
Generate a SQL query to answer the following question:
`What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6?`

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

CREATE TABLE "references" (
  "code" real,
  "municipality" text,
  "county" text,
  "population" real,
  "total_area" text,
  "density_per_km_2_land" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6?`:
```sql
                SELECT "total_area" FROM "references" WHERE "code"<1862 AND "density_per_km_2_land"=21.6;
```