cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE RIDER WITH A 21 GRID?`

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

CREATE TABLE "125cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE RIDER WITH A 21 GRID?`:
```sql
                SELECT "rider" FROM "125cc_classification" WHERE "grid"='21';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27?`

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

CREATE TABLE "125cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" text,
  "time_retired" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27?`:
```sql
                SELECT "manufacturer" FROM "125cc_classification" WHERE "laps"='24' AND "grid"='27';
```
## Task
Generate a SQL query to answer the following question:
`What is the most recent year georgia tech chose a linebacker?`

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

CREATE TABLE "players_selected" (
  "year_a" real,
  "pick" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most recent year georgia tech chose a linebacker?`:
```sql
                SELECT MAX("year_a") FROM "players_selected" WHERE "position"='linebacker' AND "college"='georgia tech';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player from Spain that has a +2 to par?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player from Spain that has a +2 to par?`:
```sql
                SELECT "player" FROM "second_round" WHERE "to_par"='+2' AND "country"='spain';
```
## Task
Generate a SQL query to answer the following question:
`Name the country with a score of 69-71=140.`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country with a score of 69-71=140.`:
```sql
                SELECT "country" FROM "second_round" WHERE "score"='69-71=140';
```
## Task
Generate a SQL query to answer the following question:
`What's the to par for Hale Irwin of the United States?`

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

CREATE TABLE "second_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's the to par for Hale Irwin of the United States?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "player"='hale irwin';
```
## Task
Generate a SQL query to answer the following question:
`What's the to par for Jim Thorpe in T5 Place?`

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

CREATE TABLE "second_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's the to par for Jim Thorpe in T5 Place?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t5' AND "player"='jim thorpe';
```
## Task
Generate a SQL query to answer the following question:
`What was Jack Nicklaus's score after round 1?`

### 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 was Jack Nicklaus's score after round 1?`:
```sql
                SELECT MIN("score") FROM "first_round" WHERE "player"='jack nicklaus';
```
## Task
Generate a SQL query to answer the following question:
`Which Laps have a Time of +39.476, and a Grid larger than 11?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Laps have a Time of +39.476, and a Grid larger than 11?`:
```sql
                SELECT AVG("laps") FROM "moto_gp_classification" WHERE "time"='+39.476' AND "grid">11;
```
## Task
Generate a SQL query to answer the following question:
`Which Time has Laps smaller than 28, and a Rider of nicky hayden?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Time has Laps smaller than 28, and a Rider of nicky hayden?`:
```sql
                SELECT "time" FROM "moto_gp_classification" WHERE "laps"<28 AND "rider"='nicky hayden';
```
## Task
Generate a SQL query to answer the following question:
`Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476?`:
```sql
                SELECT "rider" FROM "moto_gp_classification" WHERE "grid">6 AND "laps"=28 AND "time"='+39.476';
```
## Task
Generate a SQL query to answer the following question:
`Which Bronze has a Total of 4, and a Gold smaller than 1?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Bronze has a Total of 4, and a Gold smaller than 1?`:
```sql
                SELECT MIN("bronze") FROM "medal_table" WHERE "total"=4 AND "gold"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2?`:
```sql
                SELECT SUM("bronze") FROM "medal_table" WHERE "silver">1 AND "total">3 AND "nation"='turkey' AND "gold"<2;
```
## Task
Generate a SQL query to answer the following question:
`Which Gold has a Bronze of 1, and a Total smaller than 3?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Gold has a Bronze of 1, and a Total smaller than 3?`:
```sql
                SELECT AVG("gold") FROM "medal_table" WHERE "bronze"=1 AND "total"<3;
```
## Task
Generate a SQL query to answer the following question:
`In what Week is the Opponent the New Orleans Saints?`

### 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 is the Opponent the New Orleans Saints?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "opponent"='new orleans saints';
```
## Task
Generate a SQL query to answer the following question:
`In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance?`

### 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 Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "opponent"='tampa bay buccaneers' AND "attendance"<'44,506';
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent in the game in Week 6 with more than 42,910 in Attendance?`

### 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 is the Opponent in the game in Week 6 with more than 42,910 in Attendance?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance">'42,910' AND "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`What team was home, when the record was 24–16–6?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was home, when the record was 24–16–6?`:
```sql
                SELECT "home" FROM "regular_season" WHERE "record"='24–16–6';
```
## Task
Generate a SQL query to answer the following question:
`What date was the visitor the Boston Bruins, and the record was 4–0–1?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the visitor the Boston Bruins, and the record was 4–0–1?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "visitor"='boston bruins' AND "record"='4–0–1';
```
## Task
Generate a SQL query to answer the following question:
`Who had the most points in game 81?`

### 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,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the most points in game 81?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "game"=81;
```
## Task
Generate a SQL query to answer the following question:
`Which flight had an aircraft of vickers viscount type 794?`

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

CREATE TABLE "turkish_airlines_reported_incidents_and_" (
  "date" text,
  "flight" text,
  "aircraft" text,
  "registration" text,
  "location" text,
  "fatalities" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which flight had an aircraft of vickers viscount type 794?`:
```sql
                SELECT "flight" FROM "turkish_airlines_reported_incidents_and_" WHERE "aircraft"='vickers viscount type 794';
```
## Task
Generate a SQL query to answer the following question:
`Which flight had the aircraft avro rj-100?`

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

CREATE TABLE "turkish_airlines_reported_incidents_and_" (
  "date" text,
  "flight" text,
  "aircraft" text,
  "registration" text,
  "location" text,
  "fatalities" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which flight had the aircraft avro rj-100?`:
```sql
                SELECT "flight" FROM "turkish_airlines_reported_incidents_and_" WHERE "aircraft"='avro rj-100';
```
## Task
Generate a SQL query to answer the following question:
`When was the registration of tc-jes?`

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

CREATE TABLE "turkish_airlines_reported_incidents_and_" (
  "date" text,
  "flight" text,
  "aircraft" text,
  "registration" text,
  "location" text,
  "fatalities" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was the registration of tc-jes?`:
```sql
                SELECT "date" FROM "turkish_airlines_reported_incidents_and_" WHERE "registration"='tc-jes';
```
## Task
Generate a SQL query to answer the following question:
`Which fatality was at ankara for the aircraft douglas c-47?`

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

CREATE TABLE "turkish_airlines_reported_incidents_and_" (
  "date" text,
  "flight" text,
  "aircraft" text,
  "registration" text,
  "location" text,
  "fatalities" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which fatality was at ankara for the aircraft douglas c-47?`:
```sql
                SELECT "fatalities" FROM "turkish_airlines_reported_incidents_and_" WHERE "location"='ankara' AND "aircraft"='douglas c-47';
```
## Task
Generate a SQL query to answer the following question:
`How many total rounds have the results of win, and n/a as the method?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total rounds have the results of win, and n/a as the method?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "res"='win' AND "method"='n/a';
```
## Task
Generate a SQL query to answer the following question:
`How long did the match last in the Rings: Final Capture event?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long did the match last in the Rings: Final Capture event?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "event"='rings: final capture';
```
## Task
Generate a SQL query to answer the following question:
`What is the result for the match against Wataru Sakata?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result for the match against Wataru Sakata?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='wataru sakata';
```
## Task
Generate a SQL query to answer the following question:
`The match against Oleg Taktarov had what result?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `The match against Oleg Taktarov had what result?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='oleg taktarov';
```
## Task
Generate a SQL query to answer the following question:
`What was the method when 4-2 was the record?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the method when 4-2 was the record?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='4-2';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for Tie no. 6?`

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

CREATE TABLE "fifth_round_proper" (
  "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 was the score for Tie no. 6?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"='6';
```
## Task
Generate a SQL query to answer the following question:
`What was the tie against the away team, Leicester City?`

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

CREATE TABLE "fifth_round_proper" (
  "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 was the tie against the away team, Leicester City?`:
```sql
                SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='leicester city';
```
## Task
Generate a SQL query to answer the following question:
`Which round has a time of 3:01?`

### 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 round has a time of 3:01?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "time"='3:01';
```
## Task
Generate a SQL query to answer the following question:
`Where is the UFC 110 event with 3 rounds located?`

### 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 is the UFC 110 event with 3 rounds located?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "event"='ufc 110';
```
## Task
Generate a SQL query to answer the following question:
`Which Home team score is on sunday 24 february?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home team score is on sunday 24 february?`:
```sql
                SELECT "home_team_score" FROM "1st_round" WHERE "date"='sunday 24 february';
```
## Task
Generate a SQL query to answer the following question:
`Which Home team has a score of 12.10 (82)?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home team has a score of 12.10 (82)?`:
```sql
                SELECT "home_team" FROM "1st_round" WHERE "home_team_score"='12.10 (82)';
```
## Task
Generate a SQL query to answer the following question:
`Which Crowd has a Home team of st kilda?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Crowd has a Home team of st kilda?`:
```sql
                SELECT "crowd" FROM "1st_round" WHERE "home_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`Which Away team has a Ground of gabba?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Away team has a Ground of gabba?`:
```sql
                SELECT "away_team" FROM "1st_round" WHERE "ground"='gabba';
```
## Task
Generate a SQL query to answer the following question:
`Which Crowd has a Away team of sydney?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Crowd has a Away team of sydney?`:
```sql
                SELECT MAX("crowd") FROM "1st_round" WHERE "away_team"='sydney';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE NUMBER OF COINS OF $25-1/4 OZ WITH $50-1/2 OZ OF 13,836, AND $100-01 OZ, SMALLER THAN 14,912?`

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

CREATE TABLE "proof_coins" (
  "year" real,
  "10_1_10_oz" real,
  "25_1_4_oz" real,
  "50_1_2_oz" real,
  "100_1_oz" real
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE NUMBER OF COINS OF $25-1/4 OZ WITH $50-1/2 OZ OF 13,836, AND $100-01 OZ, SMALLER THAN 14,912?`:
```sql
                SELECT COUNT("25_1_4_oz") FROM "proof_coins" WHERE "50_1_2_oz"='13,836' AND "100_1_oz"<'14,912';
```
## Task
Generate a SQL query to answer the following question:
`Which OWGR pts has Dates of may 10-13?`

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

CREATE TABLE "tournament_results" (
  "dates" text,
  "tournament" text,
  "prize_fund" real,
  "winner" text,
  "owgr_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which OWGR pts has Dates of may 10-13?`:
```sql
                SELECT SUM("owgr_pts") FROM "tournament_results" WHERE "dates"='may 10-13';
```
## Task
Generate a SQL query to answer the following question:
`Which OWGR pts has Dates of apr 26-29, and a Prize fund (￥) smaller than 120,000,000?`

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

CREATE TABLE "tournament_results" (
  "dates" text,
  "tournament" text,
  "prize_fund" real,
  "winner" text,
  "owgr_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which OWGR pts has Dates of apr 26-29, and a Prize fund (￥) smaller than 120,000,000?`:
```sql
                SELECT MIN("owgr_pts") FROM "tournament_results" WHERE "dates"='apr 26-29' AND "prize_fund"<'120,000,000';
```
## Task
Generate a SQL query to answer the following question:
`Which OWGR pts has a Prize fund (￥) larger than 100,000,000, and Dates of oct 25-28?`

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

CREATE TABLE "tournament_results" (
  "dates" text,
  "tournament" text,
  "prize_fund" real,
  "winner" text,
  "owgr_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which OWGR pts has a Prize fund (￥) larger than 100,000,000, and Dates of oct 25-28?`:
```sql
                SELECT "owgr_pts" FROM "tournament_results" WHERE "prize_fund">'100,000,000' AND "dates"='oct 25-28';
```
## Task
Generate a SQL query to answer the following question:
`How many OWGR pts have a Prize fund (￥) of 100,000,000, and a Tournament of tsuruya open?`

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

CREATE TABLE "tournament_results" (
  "dates" text,
  "tournament" text,
  "prize_fund" real,
  "winner" text,
  "owgr_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many OWGR pts have a Prize fund (￥) of 100,000,000, and a Tournament of tsuruya open?`:
```sql
                SELECT COUNT("owgr_pts") FROM "tournament_results" WHERE "prize_fund"='100,000,000' AND "tournament"='tsuruya open';
```
## Task
Generate a SQL query to answer the following question:
`Which Home has an Attendance larger than 1,858?`

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

CREATE TABLE "round_9" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home has an Attendance larger than 1,858?`:
```sql
                SELECT "home" FROM "round_9" WHERE "attendance">'1,858';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has a Score of 0:2?`

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

CREATE TABLE "round_9" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance has a Score of 0:2?`:
```sql
                SELECT MAX("attendance") FROM "round_9" WHERE "score"='0:2';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has an Attendance larger than 1,858?`

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

CREATE TABLE "round_9" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has an Attendance larger than 1,858?`:
```sql
                SELECT "date" FROM "round_9" WHERE "attendance">'1,858';
```
## Task
Generate a SQL query to answer the following question:
`Which Home has a Score of 0:2?`

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

CREATE TABLE "round_9" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home has a Score of 0:2?`:
```sql
                SELECT "home" FROM "round_9" WHERE "score"='0:2';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Location/Attendance of verizon center 7,448?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" 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 `Which Date has a Location/Attendance of verizon center 7,448?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "location_attendance"='verizon center 7,448';
```
## Task
Generate a SQL query to answer the following question:
`Which Game has a Score of 101-109 (ot)?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" 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 `Which Game has a Score of 101-109 (ot)?`:
```sql
                SELECT AVG("game") FROM "regular_season" WHERE "score"='101-109 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87?`

### 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 `Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87?`:
```sql
                SELECT "high_assists" FROM "playoffs" WHERE "location_attendance"='fleetcenter' AND "score"='w 120-87';
```
## Task
Generate a SQL query to answer the following question:
`Which player was the high points scorer during the game with an end score of W 93-85?`

### 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 `Which player was the high points scorer during the game with an end score of W 93-85?`:
```sql
                SELECT "high_points" FROM "playoffs" WHERE "score"='w 93-85';
```
## Task
Generate a SQL query to answer the following question:
`For the game in which P. Pierce (31) scored the most points, what was the final score?`

### 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 `For the game in which P. Pierce (31) scored the most points, what was the final score?`:
```sql
                SELECT "score" FROM "playoffs" WHERE "high_points"='p. pierce (31)';
```
## Task
Generate a SQL query to answer the following question:
`Who made the most assists in Game 2 of this season?`

### 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 `Who made the most assists in Game 2 of this season?`:
```sql
                SELECT "high_assists" FROM "playoffs" WHERE "game"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?`

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

CREATE TABLE "group_ii" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?`:
```sql
                SELECT MIN("goals_for") FROM "group_ii" WHERE "goals_against">58 AND "played">30;
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum position when points are 32 and wins are greater than 13?`

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

CREATE TABLE "group_ii" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum position when points are 32 and wins are greater than 13?`:
```sql
                SELECT MIN("position") FROM "group_ii" WHERE "points"=32 AND "wins">13;
```
## Task
Generate a SQL query to answer the following question:
`What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51?`

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

CREATE TABLE "group_ii" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51?`:
```sql
                SELECT MAX("draws") FROM "group_ii" WHERE "goals_against">33 AND "losses"=13 AND "goals_for"<51;
```
## Task
Generate a SQL query to answer the following question:
`What is the position when wins are fewer than 14 and draws are fewer than 3?`

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

CREATE TABLE "group_ii" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position when wins are fewer than 14 and draws are fewer than 3?`:
```sql
                SELECT AVG("position") FROM "group_ii" WHERE "wins"<14 AND "draws"<3;
```
## Task
Generate a SQL query to answer the following question:
`Which club has 15 losses and 14 wins?`

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

CREATE TABLE "group_ii" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which club has 15 losses and 14 wins?`:
```sql
                SELECT "club" FROM "group_ii" WHERE "losses"=15 AND "wins"=14;
```
## Task
Generate a SQL query to answer the following question:
`What home is dated march 19?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What home is dated march 19?`:
```sql
                SELECT "home" FROM "game_log" WHERE "date"='march 19';
```
## Task
Generate a SQL query to answer the following question:
`What home has 46 points?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What home has 46 points?`:
```sql
                SELECT "home" FROM "game_log" WHERE "points"=46;
```
## Task
Generate a SQL query to answer the following question:
`What was the date of release for the episode sorted value of 6Y/AA?`

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

CREATE TABLE "series_1" (
  "series_sorted" text,
  "title" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of release for the episode sorted value of 6Y/AA?`:
```sql
                SELECT "released" FROM "series_1" WHERE "series_sorted"='6y/aa';
```
## Task
Generate a SQL query to answer the following question:
`What is the series sorted value for the episode released December 2009?`

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

CREATE TABLE "series_1" (
  "series_sorted" text,
  "title" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the series sorted value for the episode released December 2009?`:
```sql
                SELECT "series_sorted" FROM "series_1" WHERE "released"='december 2009';
```
## Task
Generate a SQL query to answer the following question:
`What round has Team #2 Gomel?`

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

CREATE TABLE "belarusian_clubs_in_euporean_cups" (
  "round" text,
  "team_num1" text,
  "agg" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round has Team #2 Gomel?`:
```sql
                SELECT "round" FROM "belarusian_clubs_in_euporean_cups" WHERE "team_num2"='gomel';
```
## Task
Generate a SQL query to answer the following question:
`Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?`:
```sql
                SELECT "elevator" FROM "cardinal_electors" WHERE "order_and_title"='cardinal-deacon of s. nicola in carcere tulliano';
```
## Task
Generate a SQL query to answer the following question:
`The Cardinal-Priest of S. Prassede order and title has who as the elevator?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `The Cardinal-Priest of S. Prassede order and title has who as the elevator?`:
```sql
                SELECT "elevator" FROM "cardinal_electors" WHERE "order_and_title"='cardinal-priest of s. prassede';
```
## Task
Generate a SQL query to answer the following question:
`When the elevator was Innocent IV what was the nationality?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the elevator was Innocent IV what was the nationality?`:
```sql
                SELECT "nationality" FROM "cardinal_electors" WHERE "elevator"='innocent iv';
```
## Task
Generate a SQL query to answer the following question:
`When Giovanni Gaetano Orsini was the elector who was the elevator?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Giovanni Gaetano Orsini was the elector who was the elevator?`:
```sql
                SELECT "elevator" FROM "cardinal_electors" WHERE "elector"='giovanni gaetano orsini';
```
## Task
Generate a SQL query to answer the following question:
`When Anchero Pantaleone was the elector what is under nationality?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Anchero Pantaleone was the elector what is under nationality?`:
```sql
                SELECT "nationality" FROM "cardinal_electors" WHERE "elector"='anchero pantaleone';
```
## Task
Generate a SQL query to answer the following question:
`With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?`

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

CREATE TABLE "cardinal_electors" (
  "elector" text,
  "nationality" text,
  "order_and_title" text,
  "elevated" text,
  "elevator" text
);
### SQL
Given the database schema, here is the SQL query that answers `With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?`:
```sql
                SELECT "order_and_title" FROM "cardinal_electors" WHERE "elevated"='may 1262' AND "elector"='guillaume de bray';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the San Francisco 49ers were the opponents?`

### 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 when the San Francisco 49ers were the opponents?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='san francisco 49ers';
```
## Task
Generate a SQL query to answer the following question:
`What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter?`

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

CREATE TABLE "singles_titles" (
  "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 `What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter?`:
```sql
                SELECT "score" FROM "singles_titles" WHERE "tournament"='rabat' AND "opponent_in_the_final"='yannik reuter';
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent of the match played on a Clay Surface with a Score of 6–0, 6–2?`

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

CREATE TABLE "singles_titles" (
  "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 `What is the Opponent of the match played on a Clay Surface with a Score of 6–0, 6–2?`:
```sql
                SELECT "opponent_in_the_final" FROM "singles_titles" WHERE "surface"='clay' AND "score"='6–0, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the match with Opponent in the final of Filip Polášek?`

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

CREATE TABLE "singles_titles" (
  "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 `What is the Date of the match with Opponent in the final of Filip Polášek?`:
```sql
                SELECT "date" FROM "singles_titles" WHERE "opponent_in_the_final"='filip polášek';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?`

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

CREATE TABLE "singles_titles" (
  "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 `What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?`:
```sql
                SELECT "score" FROM "singles_titles" WHERE "tournament"='rabat' AND "opponent_in_the_final"='frederico gil';
```
## Task
Generate a SQL query to answer the following question:
`On what Date was the Result of the game W 30–15?`

### 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 `On what Date was the Result of the game W 30–15?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='w 30–15';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of Week 9?`

### 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 Date of Week 9?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=9;
```
## Task
Generate a SQL query to answer the following question:
`What is the Result of the game on September 1, 1996?`

### 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 on September 1, 1996?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='september 1, 1996';
```
## Task
Generate a SQL query to answer the following question:
`On what Week was the Result W 34–24?`

### 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 `On what Week was the Result W 34–24?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "result"='w 34–24';
```
## Task
Generate a SQL query to answer the following question:
`What is the Week on November 10, 1996?`

### 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 Week on November 10, 1996?`:
```sql
                SELECT "week" FROM "schedule" WHERE "date"='november 10, 1996';
```