cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the bird uniform that is associated with the rank of G2?`

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

CREATE TABLE "team_variations_across_different_version" (
  "gatchaman" text,
  "eagle_riders" text,
  "rank" text,
  "bird_uniform" text,
  "weapon" text,
  "mecha" text,
  "japanese_voice_actor" text,
  "voice_actor_eagle_riders" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bird uniform that is associated with the rank of G2?`:
```sql
                SELECT "bird_uniform" FROM "team_variations_across_different_version" WHERE "rank"='g2';
```
## Task
Generate a SQL query to answer the following question:
`Which team had a score of 103-96?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "team" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a score of 103-96?`:
```sql
                SELECT "team" FROM "playoffs" WHERE "score"='103-96';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest game had a location of Madison Square Garden with a score of 109-99?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "team" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest game had a location of Madison Square Garden with a score of 109-99?`:
```sql
                SELECT MIN("game") FROM "playoffs" WHERE "location_attendance"='madison square garden' AND "score"='109-99';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2007 value for the 2006 wta premier tournaments?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "career_sr" text,
  "career_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2007 value for the 2006 wta premier tournaments?`:
```sql
                SELECT "2007" FROM "singles_performance_timeline" WHERE "2006"='wta premier tournaments';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2007 value for the 2010 wta premier 5 tournaments?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "career_sr" text,
  "career_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2007 value for the 2010 wta premier 5 tournaments?`:
```sql
                SELECT "2007" FROM "singles_performance_timeline" WHERE "2010"='wta premier 5 tournaments';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2004 value with A in 2005, A in 2008, and lq in 2009?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "career_sr" text,
  "career_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2004 value with A in 2005, A in 2008, and lq in 2009?`:
```sql
                SELECT "2004" FROM "singles_performance_timeline" WHERE "2005"='a' AND "2008"='a' AND "2009"='lq';
```
## Task
Generate a SQL query to answer the following question:
`What is the career SR for the tournament of wimbledon?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "career_sr" text,
  "career_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the career SR for the tournament of wimbledon?`:
```sql
                SELECT "career_sr" FROM "singles_performance_timeline" WHERE "tournament"='wimbledon';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for the Tie no. 12?`

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

CREATE TABLE "fourth_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 for the Tie no. 12?`:
```sql
                SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='12';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team against the away team Norwich City?`

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

CREATE TABLE "fourth_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 against the away team Norwich City?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "away_team"='norwich city';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team with a tie no. 12?`

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

CREATE TABLE "fourth_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 `Who is the home team with a tie no. 12?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='12';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLAYER WITH A PICK OF 219?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE PLAYER WITH A PICK OF 219?`:
```sql
                SELECT "player" FROM "draft_picks" WHERE "pick"=219;
```
## Task
Generate a SQL query to answer the following question:
`WHAT NATIONALITY HAS ROUND 3?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT NATIONALITY HAS ROUND 3?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "round"=3;
```
## Task
Generate a SQL query to answer the following question:
`WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE?`:
```sql
                SELECT "player" FROM "draft_picks" WHERE "pick"<110 AND "college"='duke';
```
## Task
Generate a SQL query to answer the following question:
`WHAT POSITION HAD SPURS IN 2009-2012?`

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

CREATE TABLE "j" (
  "player" text,
  "no_s" real,
  "height_in_ft" text,
  "position" text,
  "years_with_spurs" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT POSITION HAD SPURS IN 2009-2012?`:
```sql
                SELECT "position" FROM "j" WHERE "years_with_spurs"='2009-2012';
```
## Task
Generate a SQL query to answer the following question:
`Who won on the week of August 10?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner_and_score" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won on the week of August 10?`:
```sql
                SELECT "winner_and_score" FROM "singles" WHERE "week"='august 10';
```
## Task
Generate a SQL query to answer the following question:
`What surface was played on during the week of August 10?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner_and_score" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface was played on during the week of August 10?`:
```sql
                SELECT "surface" FROM "singles" WHERE "week"='august 10';
```
## Task
Generate a SQL query to answer the following question:
`What tournament had Greg Rusedski as a finalist?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner_and_score" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament had Greg Rusedski as a finalist?`:
```sql
                SELECT "tournament" FROM "singles" WHERE "finalist"='greg rusedski';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface that was played on during the week of March 16?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner_and_score" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface that was played on during the week of March 16?`:
```sql
                SELECT "surface" FROM "singles" WHERE "week"='march 16';
```
## Task
Generate a SQL query to answer the following question:
`what is the least laps when the driver is rubens barrichello and the grid is less than 12?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the least laps when the driver is rubens barrichello and the grid is less than 12?`:
```sql
                SELECT MIN("laps") FROM "classification" WHERE "driver"='rubens barrichello' AND "grid"<12;
```
## Task
Generate a SQL query to answer the following question:
`what is the time/retired when the laps is 55?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the time/retired when the laps is 55?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "laps"=55;
```
## Task
Generate a SQL query to answer the following question:
`Where was the event Kage Kombat 16?`

### 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" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the event Kage Kombat 16?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='kage kombat 16';
```
## Task
Generate a SQL query to answer the following question:
`Which event had the record of 18–5 (1)?`

### 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" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event had the record of 18–5 (1)?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "record"='18–5 (1)';
```
## Task
Generate a SQL query to answer the following question:
`What was Menato Boffa's grid?`

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

CREATE TABLE "results" (
  "driver" text,
  "entrant" text,
  "constructor" text,
  "time_retired" text,
  "grid" text,
  "heat_1_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Menato Boffa's grid?`:
```sql
                SELECT "grid" FROM "results" WHERE "driver"='menato boffa';
```
## Task
Generate a SQL query to answer the following question:
`What is the Time/Retired value for Ludovico Scarfiotti?`

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

CREATE TABLE "results" (
  "driver" text,
  "entrant" text,
  "constructor" text,
  "time_retired" text,
  "grid" text,
  "heat_1_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Time/Retired value for Ludovico Scarfiotti?`:
```sql
                SELECT "time_retired" FROM "results" WHERE "driver"='ludovico scarfiotti';
```
## Task
Generate a SQL query to answer the following question:
`Who was Albino Buticchi's constructor?`

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

CREATE TABLE "results" (
  "driver" text,
  "entrant" text,
  "constructor" text,
  "time_retired" text,
  "grid" text,
  "heat_1_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Albino Buticchi's constructor?`:
```sql
                SELECT "constructor" FROM "results" WHERE "driver"='albino buticchi';
```
## Task
Generate a SQL query to answer the following question:
`Who was the driver for Rovero Campello?`

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

CREATE TABLE "results" (
  "driver" text,
  "entrant" text,
  "constructor" text,
  "time_retired" text,
  "grid" text,
  "heat_1_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the driver for Rovero Campello?`:
```sql
                SELECT "driver" FROM "results" WHERE "entrant"='rovero campello';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of player jay haas?`

### 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 score of player jay haas?`:
```sql
                SELECT "score" FROM "final_round" WHERE "player"='jay haas';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of the player with more than $4,100 and a score of 69-67-72-70=278?`

### 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 to par of the player with more than $4,100 and a score of 69-67-72-70=278?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "money">'4,100' AND "score"='69-67-72-70=278';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with a +3 to par and a 72-68-71-72=283 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 `Who is the player with a +3 to par and a 72-68-71-72=283 score?`:
```sql
                SELECT "player" FROM "final_round" WHERE "to_par"='+3' AND "score"='72-68-71-72=283';
```
## Task
Generate a SQL query to answer the following question:
`What country has a 74-72-71-67=284 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 country has a 74-72-71-67=284 score?`:
```sql
                SELECT "country" FROM "final_round" WHERE "score"='74-72-71-67=284';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4?`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4?`:
```sql
                SELECT MIN("bike_no") FROM "riders" WHERE "driver_passenger"='joris hendrickx / kaspars liepins' AND "position"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Position, when Bike No is greater than 8, and when Points is less than 240?`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Position, when Bike No is greater than 8, and when Points is less than 240?`:
```sql
                SELECT AVG("position") FROM "riders" WHERE "bike_no">8 AND "points"<240;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244?`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244?`:
```sql
                SELECT MIN("position") FROM "riders" WHERE "bike_no">10 AND "driver_passenger"='nicky pulinx / ondrej cermak' AND "points">244;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1?`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1?`:
```sql
                SELECT MAX("points") FROM "riders" WHERE "position"<4 AND "equipment"='zabel - vmc' AND "bike_no"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is greater than 4?`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is greater than 4?`:
```sql
                SELECT AVG("bike_no") FROM "riders" WHERE "driver_passenger"='joris hendrickx / kaspars liepins' AND "position">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the type of electronic with the Gamecube Platform?`

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

CREATE TABLE "video_game" (
  "publisher" text,
  "year" real,
  "platform" text,
  "type" text,
  "metacritic_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type of electronic with the Gamecube Platform?`:
```sql
                SELECT "type" FROM "video_game" WHERE "platform"='gamecube';
```
## Task
Generate a SQL query to answer the following question:
`On what type of surface did they play on 13 February 1994?`

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

CREATE TABLE "singles_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what type of surface did they play on 13 February 1994?`:
```sql
                SELECT "surface" FROM "singles_7" WHERE "date"='13 february 1994';
```
## Task
Generate a SQL query to answer the following question:
`In which tournament was Silke Meier the opponent in the final?`

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

CREATE TABLE "singles_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which tournament was Silke Meier the opponent in the final?`:
```sql
                SELECT "tournament" FROM "singles_7" WHERE "opponent_in_the_final"='silke meier';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has a scoreof 2–0?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has a scoreof 2–0?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "score"='2–0';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SCORE WITH THE TEAM OF INDIANA?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SCORE WITH THE TEAM OF INDIANA?`:
```sql
                SELECT "score" FROM "game_log" WHERE "team"='indiana';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921?`:
```sql
                SELECT "team" FROM "game_log" WHERE "location_attendance"='target center 11,921';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on 10/29/1932?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "site" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance on 10/29/1932?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "date"='10/29/1932';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance on December 21, 1986 before Week 16?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance on December 21, 1986 before Week 16?`:
```sql
                SELECT SUM("attendance") FROM "schedule" WHERE "date"='december 21, 1986' AND "week"<16;
```
## Task
Generate a SQL query to answer the following question:
`In what Week was the Attendance 43,430?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what Week was the Attendance 43,430?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "attendance"='43,430';
```
## Task
Generate a SQL query to answer the following question:
`What was the Result of the game on December 14, 1986 after Week 11?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Result of the game on December 14, 1986 after Week 11?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week">11 AND "date"='december 14, 1986';
```
## Task
Generate a SQL query to answer the following question:
`What team did they play when the series was 1-1?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team did they play when the series was 1-1?`:
```sql
                SELECT "team" FROM "playoffs" WHERE "series"='1-1';
```
## Task
Generate a SQL query to answer the following question:
`What were the high points on May 12?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the high points on May 12?`:
```sql
                SELECT "high_points" FROM "playoffs" WHERE "date"='may 12';
```
## Task
Generate a SQL query to answer the following question:
`What was the team they played when the series was 2-1?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team they played when the series was 2-1?`:
```sql
                SELECT "team" FROM "playoffs" WHERE "series"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`who is the opponent on february 8, 1990?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the opponent on february 8, 1990?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='february 8, 1990';
```
## Task
Generate a SQL query to answer the following question:
`who is the opponent when the streak is won 9 on april 13, 1990?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the opponent when the streak is won 9 on april 13, 1990?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "streak"='won 9' AND "date"='april 13, 1990';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?`

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

CREATE TABLE "councillors_election_results" (
  "election" real,
  "leader" text,
  "num_of_seats_won" real,
  "num_of_national_votes" real,
  "pct_of_national_vote" text,
  "num_of_prefectural_votes" real,
  "pct_of_prefectural_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?`:
```sql
                SELECT COUNT("num_of_prefectural_votes") FROM "councillors_election_results" WHERE "num_of_seats_won">69 AND "leader"='yasuhiro nakasone';
```
## Task
Generate a SQL query to answer the following question:
`What is the average # Of National Votes, when the Election is before 1992, when the % Of Prefectural Vote is 39.5%, when Leader is Takeo Fukuda, and when # Of Seats Won is greater than 63?`

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

CREATE TABLE "councillors_election_results" (
  "election" real,
  "leader" text,
  "num_of_seats_won" real,
  "num_of_national_votes" real,
  "pct_of_national_vote" text,
  "num_of_prefectural_votes" real,
  "pct_of_prefectural_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average # Of National Votes, when the Election is before 1992, when the % Of Prefectural Vote is 39.5%, when Leader is Takeo Fukuda, and when # Of Seats Won is greater than 63?`:
```sql
                SELECT AVG("num_of_national_votes") FROM "councillors_election_results" WHERE "election"<1992 AND "pct_of_prefectural_vote"='39.5%' AND "leader"='takeo fukuda' AND "num_of_seats_won">63;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Election, when % Of Prefectural Vote is 38.57%, and when # Of Prefectural Votes is greater than 21,114,727?`

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

CREATE TABLE "councillors_election_results" (
  "election" real,
  "leader" text,
  "num_of_seats_won" real,
  "num_of_national_votes" real,
  "pct_of_national_vote" text,
  "num_of_prefectural_votes" real,
  "pct_of_prefectural_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Election, when % Of Prefectural Vote is 38.57%, and when # Of Prefectural Votes is greater than 21,114,727?`:
```sql
                SELECT AVG("election") FROM "councillors_election_results" WHERE "pct_of_prefectural_vote"='38.57%' AND "num_of_prefectural_votes">'21,114,727';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Election, when % Of Nation Vote is 45.23%, and when # Of Prefectural Votes is less than 14,961,199?`

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

CREATE TABLE "councillors_election_results" (
  "election" real,
  "leader" text,
  "num_of_seats_won" real,
  "num_of_national_votes" real,
  "pct_of_national_vote" text,
  "num_of_prefectural_votes" real,
  "pct_of_prefectural_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Election, when % Of Nation Vote is 45.23%, and when # Of Prefectural Votes is less than 14,961,199?`:
```sql
                SELECT AVG("election") FROM "councillors_election_results" WHERE "pct_of_national_vote"='45.23%' AND "num_of_prefectural_votes"<'14,961,199';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?`

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

CREATE TABLE "councillors_election_results" (
  "election" real,
  "leader" text,
  "num_of_seats_won" real,
  "num_of_national_votes" real,
  "pct_of_national_vote" text,
  "num_of_prefectural_votes" real,
  "pct_of_prefectural_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?`:
```sql
                SELECT COUNT("num_of_prefectural_votes") FROM "councillors_election_results" WHERE "pct_of_prefectural_vote"='48.4%' AND "num_of_seats_won">61;
```
## Task
Generate a SQL query to answer the following question:
`What was the resolution of the fight against steve schneider?`

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

CREATE TABLE "mma_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 `What was the resolution of the fight against steve schneider?`:
```sql
                SELECT "res" FROM "mma_record" WHERE "opponent"='steve schneider';
```
## Task
Generate a SQL query to answer the following question:
`What was the resolution of the fight when matt grice had a record of 2-0?`

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

CREATE TABLE "mma_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 `What was the resolution of the fight when matt grice had a record of 2-0?`:
```sql
                SELECT "res" FROM "mma_record" WHERE "record"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when matt grice fought dennis bermudez with a time of 5:00?`

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

CREATE TABLE "mma_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 `What was the record when matt grice fought dennis bermudez with a time of 5:00?`:
```sql
                SELECT "record" FROM "mma_record" WHERE "time"='5:00' AND "opponent"='dennis bermudez';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome of the match against Juan Ignacio Chela?`

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

CREATE TABLE "singles_5_2_titles_3_runners_up" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome of the match against Juan Ignacio Chela?`:
```sql
                SELECT "outcome" FROM "singles_5_2_titles_3_runners_up" WHERE "opponent"='juan ignacio chela';
```
## Task
Generate a SQL query to answer the following question:
`What is the 250 cc with a year bigger than 1984?`

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

CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" (
  "year" real,
  "track" text,
  "250_cc" text,
  "500_cc" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 250 cc with a year bigger than 1984?`:
```sql
                SELECT "250_cc" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "year">1984;
```
## Task
Generate a SQL query to answer the following question:
`What is the report for a 250 cc of sito pons, and a 500 cc of wayne gardner?`

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

CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" (
  "year" real,
  "track" text,
  "250_cc" text,
  "500_cc" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the report for a 250 cc of sito pons, and a 500 cc of wayne gardner?`:
```sql
                SELECT "report" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "250_cc"='sito pons' AND "500_cc"='wayne gardner';
```
## Task
Generate a SQL query to answer the following question:
`What is the 500 cc with a 250 cc of freddie spencer?`

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

CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" (
  "year" real,
  "track" text,
  "250_cc" text,
  "500_cc" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 500 cc with a 250 cc of freddie spencer?`:
```sql
                SELECT "500_cc" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "250_cc"='freddie spencer';
```
## Task
Generate a SQL query to answer the following question:
`What track has a 250 cc of sito pons?`

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

CREATE TABLE "winners_of_the_yugoslavian_motorcycle_gr" (
  "year" real,
  "track" text,
  "250_cc" text,
  "500_cc" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What track has a 250 cc of sito pons?`:
```sql
                SELECT "track" FROM "winners_of_the_yugoslavian_motorcycle_gr" WHERE "250_cc"='sito pons';
```
## Task
Generate a SQL query to answer the following question:
`How much did Jerry Barber score to come in at T9?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much did Jerry Barber score to come in at T9?`:
```sql
                SELECT "score" FROM "third_round" WHERE "place"='t9' AND "player"='jerry barber';
```
## Task
Generate a SQL query to answer the following question:
`What place did Jerry Barber of the United States come in at?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What place did Jerry Barber of the United States come in at?`:
```sql
                SELECT "place" FROM "third_round" WHERE "country"='united states' AND "player"='jerry barber';
```
## Task
Generate a SQL query to answer the following question:
`What score did Ed Furgol get to come in at T6?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What score did Ed Furgol get to come in at T6?`:
```sql
                SELECT "score" FROM "third_round" WHERE "place"='t6' AND "player"='ed furgol';
```
## Task
Generate a SQL query to answer the following question:
`What score did Ted Kroll get to come in at T2?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What score did Ted Kroll get to come in at T2?`:
```sql
                SELECT "score" FROM "third_round" WHERE "place"='t2' AND "player"='ted kroll';
```
## Task
Generate a SQL query to answer the following question:
`Where is Fred Haas from?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where is Fred Haas from?`:
```sql
                SELECT "country" FROM "third_round" WHERE "player"='fred haas';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when School/Club Team is McMaster?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when School/Club Team is McMaster?`:
```sql
                SELECT "position" FROM "cfl_draft" WHERE "school_club_team"='mcmaster';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Round, when Pick is 9 (via Hamilton)?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Round, when Pick is 9 (via Hamilton)?`:
```sql
                SELECT MIN("round") FROM "cfl_draft" WHERE "pick"='9 (via hamilton)';
```
## Task
Generate a SQL query to answer the following question:
`What is Pick, when Position is OL, and when Round is less than 6?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pick, when Position is OL, and when Round is less than 6?`:
```sql
                SELECT "pick" FROM "cfl_draft" WHERE "position"='ol' AND "round"<6;
```
## Task
Generate a SQL query to answer the following question:
`What is School/Club Team, when Pick is 9 (via Hamilton)?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is School/Club Team, when Pick is 9 (via Hamilton)?`:
```sql
                SELECT "school_club_team" FROM "cfl_draft" WHERE "pick"='9 (via hamilton)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Result of the game with an Attendance of 55,353?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Result of the game with an Attendance of 55,353?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance"='55,353';
```
## Task
Generate a SQL query to answer the following question:
`In what Week was the Attendance 39,923?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Week was the Attendance 39,923?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "attendance"='39,923';
```
## Task
Generate a SQL query to answer the following question:
`What was the Result of the game after Week 9 with an Attendance of 69,714?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Result of the game after Week 9 with an Attendance of 69,714?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week">9 AND "attendance"='69,714';
```
## Task
Generate a SQL query to answer the following question:
`What Week falls on September 4, 1994?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Week falls on September 4, 1994?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "date"='september 4, 1994';
```
## Task
Generate a SQL query to answer the following question:
`What is Pos., when Player is "Nigel De Jong"?`

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

CREATE TABLE "first_team" (
  "date" text,
  "pos" text,
  "player" text,
  "from_club" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pos., when Player is "Nigel De Jong"?`:
```sql
                SELECT "pos" FROM "first_team" WHERE "player"='nigel de jong';
```
## Task
Generate a SQL query to answer the following question:
`What is From Club, when Player is "Robinho"?`

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

CREATE TABLE "first_team" (
  "date" text,
  "pos" text,
  "player" text,
  "from_club" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is From Club, when Player is "Robinho"?`:
```sql
                SELECT "from_club" FROM "first_team" WHERE "player"='robinho';
```
## Task
Generate a SQL query to answer the following question:
`What is Pos., when From Club is "CSKA Moscow"?`

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

CREATE TABLE "first_team" (
  "date" text,
  "pos" text,
  "player" text,
  "from_club" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pos., when From Club is "CSKA Moscow"?`:
```sql
                SELECT "pos" FROM "first_team" WHERE "from_club"='cska moscow';
```