cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Tell me the team 1 for team 2 being civitavecchiese (latium a)`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the team 1 for team 2 being civitavecchiese (latium a)`:
```sql
                SELECT "team_1" FROM "second_round" WHERE "team_2"='civitavecchiese (latium a)';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the 1st leg for team being budoni (Sardinia)`

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

CREATE TABLE "second_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the 1st leg for team being budoni (Sardinia)`:
```sql
                SELECT "1st_leg" FROM "second_round" WHERE "team_1"='budoni (sardinia)';
```
## Task
Generate a SQL query to answer the following question:
`How many attended the game at Busch Stadium (ii) when the time was 3:54?`

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

CREATE TABLE "st_louis_cardinals_vs_houston_astros" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many attended the game at Busch Stadium (ii) when the time was 3:54?`:
```sql
                SELECT "attendance" FROM "st_louis_cardinals_vs_houston_astros" WHERE "location"='busch stadium (ii)' AND "time"='3:54';
```
## Task
Generate a SQL query to answer the following question:
`What dates were the games after game 6 played?`

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

CREATE TABLE "st_louis_cardinals_vs_houston_astros" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What dates were the games after game 6 played?`:
```sql
                SELECT "date" FROM "st_louis_cardinals_vs_houston_astros" WHERE "game">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1977 value that had Grand Slam Tournaments in 1972?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1972" text,
  "1973" text,
  "1974" text,
  "1975" text,
  "1976" text,
  "1977" text,
  "1978" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1977 value that had Grand Slam Tournaments in 1972?`:
```sql
                SELECT "1977" FROM "singles_performance_timeline" WHERE "1972"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`What is the tournament that had Grand Slam Tournaments in 1976?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1972" text,
  "1973" text,
  "1974" text,
  "1975" text,
  "1976" text,
  "1977" text,
  "1978" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tournament that had Grand Slam Tournaments in 1976?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "1976"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1976 value of the Australian Open?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1972" text,
  "1973" text,
  "1974" text,
  "1975" text,
  "1976" text,
  "1977" text,
  "1978" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1976 value of the Australian Open?`:
```sql
                SELECT "1976" FROM "singles_performance_timeline" WHERE "tournament"='australian open';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1977 value that has a 1974 a value?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1972" text,
  "1973" text,
  "1974" text,
  "1975" text,
  "1976" text,
  "1977" text,
  "1978" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1977 value that has a 1974 a value?`:
```sql
                SELECT "1977" FROM "singles_performance_timeline" WHERE "1974"='a';
```
## Task
Generate a SQL query to answer the following question:
`Which week led to a record of 4-10?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which week led to a record of 4-10?`:
```sql
                SELECT "week" FROM "schedule" WHERE "record"='4-10';
```
## Task
Generate a SQL query to answer the following question:
`Which week was the game against the San Diego Chargers?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "kickoff_a" text,
  "game_site" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which week was the game against the San Diego Chargers?`:
```sql
                SELECT "week" FROM "schedule" WHERE "opponent"='san diego chargers';
```
## Task
Generate a SQL query to answer the following question:
`What is the height of the player who is from Huntington, WV?`

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

CREATE TABLE "2007_boys_team" (
  "player" text,
  "height" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the height of the player who is from Huntington, WV?`:
```sql
                SELECT "height" FROM "2007_boys_team" WHERE "hometown"='huntington, wv';
```
## Task
Generate a SQL query to answer the following question:
`What school is the player who has a hometown of Chicago, IL from?`

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

CREATE TABLE "2007_boys_team" (
  "player" text,
  "height" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school is the player who has a hometown of Chicago, IL from?`:
```sql
                SELECT "school" FROM "2007_boys_team" WHERE "hometown"='chicago, il';
```
## Task
Generate a SQL query to answer the following question:
`Which college is the player from South Medford High School headed to?`

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

CREATE TABLE "2007_boys_team" (
  "player" text,
  "height" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college is the player from South Medford High School headed to?`:
```sql
                SELECT "college" FROM "2007_boys_team" WHERE "school"='south medford high school';
```
## Task
Generate a SQL query to answer the following question:
`Which school is the player who is headed to Duke from?`

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

CREATE TABLE "2007_boys_team" (
  "player" text,
  "height" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school is the player who is headed to Duke from?`:
```sql
                SELECT "school" FROM "2007_boys_team" WHERE "college"='duke';
```
## Task
Generate a SQL query to answer the following question:
`What is the hometown of the player who is headed to Duke?`

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

CREATE TABLE "2007_boys_team" (
  "player" text,
  "height" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the hometown of the player who is headed to Duke?`:
```sql
                SELECT "hometown" FROM "2007_boys_team" WHERE "college"='duke';
```
## Task
Generate a SQL query to answer the following question:
`Who was Louise when Tracy Venner was Dainty June?`

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

CREATE TABLE "casts_and_directors_of_broadway_and_west" (
  "productions" text,
  "rose" text,
  "louise" text,
  "dainty_june" text,
  "herbie" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Louise when Tracy Venner was Dainty June?`:
```sql
                SELECT "louise" FROM "casts_and_directors_of_broadway_and_west" WHERE "dainty_june"='tracy venner';
```
## Task
Generate a SQL query to answer the following question:
`Who was Dainty June when Tammy Blanchard was Louise?`

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

CREATE TABLE "casts_and_directors_of_broadway_and_west" (
  "productions" text,
  "rose" text,
  "louise" text,
  "dainty_june" text,
  "herbie" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Dainty June when Tammy Blanchard was Louise?`:
```sql
                SELECT "dainty_june" FROM "casts_and_directors_of_broadway_and_west" WHERE "louise"='tammy blanchard';
```
## Task
Generate a SQL query to answer the following question:
`Who was Dainty June when Boyd Gaines was Herbie?`

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

CREATE TABLE "casts_and_directors_of_broadway_and_west" (
  "productions" text,
  "rose" text,
  "louise" text,
  "dainty_june" text,
  "herbie" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Dainty June when Boyd Gaines was Herbie?`:
```sql
                SELECT "dainty_june" FROM "casts_and_directors_of_broadway_and_west" WHERE "herbie"='boyd gaines';
```
## Task
Generate a SQL query to answer the following question:
`What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?`

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

CREATE TABLE "casts_and_directors_of_broadway_and_west" (
  "productions" text,
  "rose" text,
  "louise" text,
  "dainty_june" text,
  "herbie" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?`:
```sql
                SELECT "productions" FROM "casts_and_directors_of_broadway_and_west" WHERE "rose"='angela lansbury' AND "herbie"='barrie ingham';
```
## Task
Generate a SQL query to answer the following question:
`Who was rose in the 1975 Broadway Revival?`

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

CREATE TABLE "casts_and_directors_of_broadway_and_west" (
  "productions" text,
  "rose" text,
  "louise" text,
  "dainty_june" text,
  "herbie" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was rose in the 1975 Broadway Revival?`:
```sql
                SELECT "rose" FROM "casts_and_directors_of_broadway_and_west" WHERE "productions"='1975 broadway revival';
```
## Task
Generate a SQL query to answer the following question:
`Which production had Rex Robbins as Herbie?`

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

CREATE TABLE "casts_and_directors_of_broadway_and_west" (
  "productions" text,
  "rose" text,
  "louise" text,
  "dainty_june" text,
  "herbie" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which production had Rex Robbins as Herbie?`:
```sql
                SELECT "productions" FROM "casts_and_directors_of_broadway_and_west" WHERE "herbie"='rex robbins';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the venue VFL Park?`

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

CREATE TABLE "round_21" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the venue VFL Park?`:
```sql
                SELECT "date" FROM "round_21" WHERE "venue"='vfl park';
```
## Task
Generate a SQL query to answer the following question:
`What date did Footscray play at home?`

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

CREATE TABLE "round_21" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did Footscray play at home?`:
```sql
                SELECT "date" FROM "round_21" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score when they played the away team of Geelong?`

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

CREATE TABLE "round_21" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score when they played the away team of Geelong?`:
```sql
                SELECT "home_team_score" FROM "round_21" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`For the away team with a score of 14.7 (91) what was the home team?`

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

CREATE TABLE "round_21" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the away team with a score of 14.7 (91) what was the home team?`:
```sql
                SELECT "home_team" FROM "round_21" WHERE "away_team_score"='14.7 (91)';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest pick number for the Boston Celtics?`

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

CREATE TABLE "draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest pick number for the Boston Celtics?`:
```sql
                SELECT MIN("pick") FROM "draft" WHERE "team"='boston celtics';
```
## Task
Generate a SQL query to answer the following question:
`Who is the visitor team on 23 November 2007?`

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

CREATE TABLE "november" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the visitor team on 23 November 2007?`:
```sql
                SELECT "visitor" FROM "november" WHERE "date"='23 november 2007';
```
## Task
Generate a SQL query to answer the following question:
`Who is the leading scorer of the game on 20 November 2007?`

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

CREATE TABLE "november" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the leading scorer of the game on 20 November 2007?`:
```sql
                SELECT "leading_scorer" FROM "november" WHERE "date"='20 november 2007';
```
## Task
Generate a SQL query to answer the following question:
`When was petter ronnquist picked?`

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

CREATE TABLE "1992_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was petter ronnquist picked?`:
```sql
                SELECT "overall" FROM "1992_draft_picks" WHERE "player"='petter ronnquist';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has a Result of 1–0?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "result" text,
  "scored" real,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has a Result of 1–0?`:
```sql
                SELECT "venue" FROM "international_career" WHERE "result"='1–0';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has a Result of 1–2?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "result" text,
  "scored" real,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has a Result of 1–2?`:
```sql
                SELECT "venue" FROM "international_career" WHERE "result"='1–2';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest score with a Result of 1–1 on 4 march 2001?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "result" text,
  "scored" real,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest score with a Result of 1–1 on 4 march 2001?`:
```sql
                SELECT MAX("scored") FROM "international_career" WHERE "result"='1–1' AND "date"='4 march 2001';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of 2003 eaff championship preliminary on 2 march 2003?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "result" text,
  "scored" real,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of 2003 eaff championship preliminary on 2 march 2003?`:
```sql
                SELECT "result" FROM "international_career" WHERE "competition"='2003 eaff championship preliminary' AND "date"='2 march 2003';
```
## Task
Generate a SQL query to answer the following question:
`I want the engine for luigi villoresi`

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

CREATE TABLE "entries" (
  "driver" text,
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyre" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the engine for luigi villoresi`:
```sql
                SELECT "engine" FROM "entries" WHERE "driver"='luigi villoresi';
```
## Task
Generate a SQL query to answer the following question:
`I want the chassis for entrant of ecurie lutetia`

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

CREATE TABLE "entries" (
  "driver" text,
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyre" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want the chassis for entrant of ecurie lutetia`:
```sql
                SELECT "chassis" FROM "entries" WHERE "entrant"='ecurie lutetia';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue when the away team scored 15.9 (99)?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue when the away team scored 15.9 (99)?`:
```sql
                SELECT "venue" FROM "round_2" WHERE "away_team_score"='15.9 (99)';
```
## Task
Generate a SQL query to answer the following question:
`What date was the game played at princes park?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the game played at princes park?`:
```sql
                SELECT "date" FROM "round_2" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the away team when the game was played at vfl park?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the away team when the game was played at vfl park?`:
```sql
                SELECT "away_team_score" FROM "round_2" WHERE "venue"='vfl park';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue when the away team scored 17.21 (123)?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue when the away team scored 17.21 (123)?`:
```sql
                SELECT "venue" FROM "round_2" WHERE "away_team_score"='17.21 (123)';
```
## Task
Generate a SQL query to answer the following question:
`What team was the home team when the away team scored 17.21 (123)?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was the home team when the away team scored 17.21 (123)?`:
```sql
                SELECT "home_team" FROM "round_2" WHERE "away_team_score"='17.21 (123)';
```
## Task
Generate a SQL query to answer the following question:
`Name the kaz hayashi for block A being bushi`

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

CREATE TABLE "2011" (
  "block_a" text,
  "black_bushi" text,
  "bushi" text,
  "kaz_hayashi" text,
  "kenny_omega" text,
  "minoru" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the kaz hayashi for block A being bushi`:
```sql
                SELECT "kaz_hayashi" FROM "2011" WHERE "block_a"='bushi';
```
## Task
Generate a SQL query to answer the following question:
`Name the minoru for block A being koji kanemoto`

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

CREATE TABLE "2011" (
  "block_a" text,
  "black_bushi" text,
  "bushi" text,
  "kaz_hayashi" text,
  "kenny_omega" text,
  "minoru" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the minoru for block A being koji kanemoto`:
```sql
                SELECT "minoru" FROM "2011" WHERE "block_a"='koji kanemoto';
```
## Task
Generate a SQL query to answer the following question:
`Name the BUSHI when it has kenny omega of yang (7:27)`

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

CREATE TABLE "2011" (
  "block_a" text,
  "black_bushi" text,
  "bushi" text,
  "kaz_hayashi" text,
  "kenny_omega" text,
  "minoru" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the BUSHI when it has kenny omega of yang (7:27)`:
```sql
                SELECT "bushi" FROM "2011" WHERE "kenny_omega"='yang (7:27)';
```
## Task
Generate a SQL query to answer the following question:
`Name the BUSHI that has kaz hayashi of kai (14:01)`

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

CREATE TABLE "2011" (
  "block_a" text,
  "black_bushi" text,
  "bushi" text,
  "kaz_hayashi" text,
  "kenny_omega" text,
  "minoru" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the BUSHI that has kaz hayashi of kai (14:01)`:
```sql
                SELECT "bushi" FROM "2011" WHERE "kaz_hayashi"='kai (14:01)';
```
## Task
Generate a SQL query to answer the following question:
`Name the Kaz Hayashi which has BUSHI of yang (9:43)`

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

CREATE TABLE "2011" (
  "block_a" text,
  "black_bushi" text,
  "bushi" text,
  "kaz_hayashi" text,
  "kenny_omega" text,
  "minoru" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Kaz Hayashi which has BUSHI of yang (9:43)`:
```sql
                SELECT "kaz_hayashi" FROM "2011" WHERE "bushi"='yang (9:43)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning driver for the Dutch Grand Prix?`

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

CREATE TABLE "season_review" (
  "race" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "constructor" text,
  "tyre" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning driver for the Dutch Grand Prix?`:
```sql
                SELECT "winning_driver" FROM "season_review" WHERE "race"='dutch grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii`

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

CREATE TABLE "songs_by_tanvi" (
  "film" text,
  "song" text,
  "year" real,
  "music_director" text,
  "language" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii`:
```sql
                SELECT "song" FROM "songs_by_tanvi" WHERE "year"<2013 AND "music_director"='yuvan shankar raja' AND "film"='billa ii';
```
## Task
Generate a SQL query to answer the following question:
`What title aired on March 19, 1998?`

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

CREATE TABLE "season_4_1998" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title aired on March 19, 1998?`:
```sql
                SELECT "title" FROM "season_4_1998" WHERE "original_air_date"='march 19, 1998';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the show with the production code k2708?`

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

CREATE TABLE "season_4_1998" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the show with the production code k2708?`:
```sql
                SELECT "directed_by" FROM "season_4_1998" WHERE "production_code"='k2708';
```
## Task
Generate a SQL query to answer the following question:
`What is the season for series 81?`

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

CREATE TABLE "season_4_1998" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the season for series 81?`:
```sql
                SELECT "season_num" FROM "season_4_1998" WHERE "series_num"=81;
```
## Task
Generate a SQL query to answer the following question:
`On what date was a match played at Lake Oval?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was a match played at Lake Oval?`:
```sql
                SELECT "date" FROM "round_8" WHERE "venue"='lake oval';
```
## Task
Generate a SQL query to answer the following question:
`At the home game in Collingwood, how much did the away team score?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `At the home game in Collingwood, how much did the away team score?`:
```sql
                SELECT "away_team_score" FROM "round_8" WHERE "home_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`In the game at Victoria Park, what was the number of people in the crowd?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the game at Victoria Park, what was the number of people in the crowd?`:
```sql
                SELECT SUM("crowd") FROM "round_8" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What was the tournament that happened in 1974 in gothenburg , sweden?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tournament that happened in 1974 in gothenburg , sweden?`:
```sql
                SELECT "tournament" FROM "achievements" WHERE "year"=1974 AND "venue"='gothenburg , sweden';
```
## Task
Generate a SQL query to answer the following question:
`Which MLB division has a win record of 76?`

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

CREATE TABLE "table_key" (
  "mlb_season" text,
  "team_season" text,
  "league" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which MLB division has a win record of 76?`:
```sql
                SELECT "division" FROM "table_key" WHERE "wins"='76';
```
## Task
Generate a SQL query to answer the following question:
`What was the final rank of the Brewers in 1980?`

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

CREATE TABLE "table_key" (
  "mlb_season" text,
  "team_season" text,
  "league" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final rank of the Brewers in 1980?`:
```sql
                SELECT "finish" FROM "table_key" WHERE "team_season"='1980';
```
## Task
Generate a SQL query to answer the following question:
`What was the final rank of the Brewers when they achieved a win percentage of .585?`

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

CREATE TABLE "table_key" (
  "mlb_season" text,
  "team_season" text,
  "league" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final rank of the Brewers when they achieved a win percentage of .585?`:
```sql
                SELECT "finish" FROM "table_key" WHERE "win_pct"='.585';
```
## Task
Generate a SQL query to answer the following question:
`Which division were the Brewers a part of in the 1987 season?`

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

CREATE TABLE "table_key" (
  "mlb_season" text,
  "team_season" text,
  "league" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which division were the Brewers a part of in the 1987 season?`:
```sql
                SELECT "division" FROM "table_key" WHERE "team_season"='1987';
```
## Task
Generate a SQL query to answer the following question:
`Which division of the Brewers had a 5th place ranking and a loss record of 87?`

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

CREATE TABLE "table_key" (
  "mlb_season" text,
  "team_season" text,
  "league" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which division of the Brewers had a 5th place ranking and a loss record of 87?`:
```sql
                SELECT "division" FROM "table_key" WHERE "finish"='5th' AND "losses"='87';
```
## Task
Generate a SQL query to answer the following question:
`where was the game site when the opponent was san diego chargers?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `where was the game site when the opponent was san diego chargers?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "opponent"='san diego chargers';
```
## Task
Generate a SQL query to answer the following question:
`who was the opponent when the week was 9?`

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

CREATE TABLE "schedule" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `who was the opponent when the week was 9?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"='9';
```
## Task
Generate a SQL query to answer the following question:
`What venue features geelong as the away side?`

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

CREATE TABLE "round_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue features geelong as the away side?`:
```sql
                SELECT "venue" FROM "round_16" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What venue features essendon at home?`

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

CREATE TABLE "round_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue features essendon at home?`:
```sql
                SELECT "venue" FROM "round_16" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team score at princes park?`

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

CREATE TABLE "round_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team score at princes park?`:
```sql
                SELECT "home_team_score" FROM "round_16" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What home team scored 10.24 (84) at vfl park?`

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

CREATE TABLE "round_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team scored 10.24 (84) at vfl park?`:
```sql
                SELECT "home_team" FROM "round_16" WHERE "venue"='vfl park' AND "home_team_score"='10.24 (84)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the nominee for best director?`

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

CREATE TABLE "awards" (
  "ceremony" text,
  "award" text,
  "category" text,
  "nominee" text,
  "outcome" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the nominee for best director?`:
```sql
                SELECT "nominee" FROM "awards" WHERE "category"='best director';
```
## Task
Generate a SQL query to answer the following question:
`What ceremony was leela chitnis nominated at?`

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

CREATE TABLE "awards" (
  "ceremony" text,
  "award" text,
  "category" text,
  "nominee" text,
  "outcome" text
);
### SQL
Given the database schema, here is the SQL query that answers `What ceremony was leela chitnis nominated at?`:
```sql
                SELECT "ceremony" FROM "awards" WHERE "outcome"='nominated' AND "nominee"='leela chitnis';
```
## Task
Generate a SQL query to answer the following question:
`what is the highest pick number of the CFL team, the winnipeg blue bombers?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the highest pick number of the CFL team, the winnipeg blue bombers?`:
```sql
                SELECT MAX("pick_num") FROM "round_five" WHERE "cfl_team"='winnipeg blue bombers';
```
## Task
Generate a SQL query to answer the following question:
`Which college has 41 picks?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college has 41 picks?`:
```sql
                SELECT "college" FROM "round_five" WHERE "pick_num"=41;
```
## Task
Generate a SQL query to answer the following question:
`Which player plays for the college of manitoba?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player plays for the college of manitoba?`:
```sql
                SELECT "player" FROM "round_five" WHERE "college"='manitoba';
```
## Task
Generate a SQL query to answer the following question:
`What is the Unami Delaware value for a Thomas value of nacha?`

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

CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" (
  "munsee_delaware" text,
  "unami_delaware" text,
  "de_laet_1633" text,
  "campanius_ca_1645" text,
  "interpreter_1684" text,
  "thomas_1698" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Unami Delaware value for a Thomas value of nacha?`:
```sql
                SELECT "unami_delaware" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "thomas_1698"='nacha';
```
## Task
Generate a SQL query to answer the following question:
`What is the Interpreter value for an Unami Delaware value of palé·naxk?`

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

CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" (
  "munsee_delaware" text,
  "unami_delaware" text,
  "de_laet_1633" text,
  "campanius_ca_1645" text,
  "interpreter_1684" text,
  "thomas_1698" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Interpreter value for an Unami Delaware value of palé·naxk?`:
```sql
                SELECT "interpreter_1684" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "unami_delaware"='palé·naxk';
```
## Task
Generate a SQL query to answer the following question:
`What is the Munsee Delaware value for an Interpreter value of palenah?`

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

CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" (
  "munsee_delaware" text,
  "unami_delaware" text,
  "de_laet_1633" text,
  "campanius_ca_1645" text,
  "interpreter_1684" text,
  "thomas_1698" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Munsee Delaware value for an Interpreter value of palenah?`:
```sql
                SELECT "munsee_delaware" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "interpreter_1684"='palenah';
```
## Task
Generate a SQL query to answer the following question:
`What is the Campanius term for an Unami Delaware term of palé·naxk?`

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

CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" (
  "munsee_delaware" text,
  "unami_delaware" text,
  "de_laet_1633" text,
  "campanius_ca_1645" text,
  "interpreter_1684" text,
  "thomas_1698" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Campanius term for an Unami Delaware term of palé·naxk?`:
```sql
                SELECT "campanius_ca_1645" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "unami_delaware"='palé·naxk';
```
## Task
Generate a SQL query to answer the following question:
`What is the Interpreter term for a Munsee Delaware term of (n)xá·š?`

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

CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" (
  "munsee_delaware" text,
  "unami_delaware" text,
  "de_laet_1633" text,
  "campanius_ca_1645" text,
  "interpreter_1684" text,
  "thomas_1698" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Interpreter term for a Munsee Delaware term of (n)xá·š?`:
```sql
                SELECT "interpreter_1684" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "munsee_delaware"='(n)xá·š';
```
## Task
Generate a SQL query to answer the following question:
`What is the De Laet term for a Munsee Delaware term of ní·ša?`

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

CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" (
  "munsee_delaware" text,
  "unami_delaware" text,
  "de_laet_1633" text,
  "campanius_ca_1645" text,
  "interpreter_1684" text,
  "thomas_1698" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the De Laet term for a Munsee Delaware term of ní·ša?`:
```sql
                SELECT "de_laet_1633" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "munsee_delaware"='ní·ša';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player picked before round 2?`

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

CREATE TABLE "1993_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player picked before round 2?`:
```sql
                SELECT "player" FROM "1993_draft_picks" WHERE "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1?`

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

CREATE TABLE "1993_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1?`:
```sql
                SELECT "player" FROM "1993_draft_picks" WHERE "overall"<209 AND "club_team"='victoriaville tigres (qmjhl)' AND "round"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player with an Overall larger than 227?`

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

CREATE TABLE "1993_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player with an Overall larger than 227?`:
```sql
                SELECT "player" FROM "1993_draft_picks" WHERE "overall">227;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest overall for a round larger than 8 for pavol demitra?`

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

CREATE TABLE "1993_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest overall for a round larger than 8 for pavol demitra?`:
```sql
                SELECT MAX("overall") FROM "1993_draft_picks" WHERE "round">8 AND "player"='pavol demitra';
```