cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the least total seasons of the Vancouver 86ers?`

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

CREATE TABLE "list_of_csl_teams" (
  "team" text,
  "city" text,
  "total_seasons" real,
  "seasons" text,
  "highest_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least total seasons of the Vancouver 86ers?`:
```sql
                SELECT MIN("total_seasons") FROM "list_of_csl_teams" WHERE "team"='vancouver 86ers';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in week 14?`

### 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 `Who was the opponent in week 14?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=14;
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when City is "Punta Del Este"?`

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

CREATE TABLE "season_4" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when City is "Punta Del Este"?`:
```sql
                SELECT "date" FROM "season_4" WHERE "city"='punta del este';
```
## Task
Generate a SQL query to answer the following question:
`What is City, when Prize is "$146,000"?`

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

CREATE TABLE "season_4" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is City, when Prize is "$146,000"?`:
```sql
                SELECT "city" FROM "season_4" WHERE "prize"='$146,000';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Winner is "Murilo Figueiredo"?`

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

CREATE TABLE "season_4" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Winner is "Murilo Figueiredo"?`:
```sql
                SELECT "date" FROM "season_4" WHERE "winner"='murilo figueiredo';
```
## Task
Generate a SQL query to answer the following question:
`What Aspect has a Programming of Saigon Network Television?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Aspect has a Programming of Saigon Network Television?`:
```sql
                SELECT "aspect" FROM "digital_channels" WHERE "programming"='saigon network television';
```
## Task
Generate a SQL query to answer the following question:
`Which Aspect has a Programming of latv?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Aspect has a Programming of latv?`:
```sql
                SELECT "aspect" FROM "digital_channels" WHERE "programming"='latv';
```
## Task
Generate a SQL query to answer the following question:
`Which Programming has a Channel greater than 51.2 and a PSIP Short Name of kyaz-5?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Programming has a Channel greater than 51.2 and a PSIP Short Name of kyaz-5?`:
```sql
                SELECT "programming" FROM "digital_channels" WHERE "channel">51.2 AND "psip_short_name"='kyaz-5';
```
## Task
Generate a SQL query to answer the following question:
`What is the PSIP Short name for the Channel that is less than 51.6?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the PSIP Short name for the Channel that is less than 51.6?`:
```sql
                SELECT "psip_short_name" FROM "digital_channels" WHERE "channel"<51.6;
```
## Task
Generate a SQL query to answer the following question:
`What year did maggs magnificent mild bear win overall at the camra reading branch beer festival?`

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

CREATE TABLE "awards" (
  "year" real,
  "beer_name" text,
  "prize" text,
  "category" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did maggs magnificent mild bear win overall at the camra reading branch beer festival?`:
```sql
                SELECT MAX("year") FROM "awards" WHERE "beer_name"='maggs magnificent mild' AND "competition"='camra reading branch beer festival' AND "category"='overall';
```
## Task
Generate a SQL query to answer the following question:
`What prize did good old boy win in 2002 at the camra london and south east regional competition?`

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

CREATE TABLE "awards" (
  "year" real,
  "beer_name" text,
  "prize" text,
  "category" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What prize did good old boy win in 2002 at the camra london and south east regional competition?`:
```sql
                SELECT "prize" FROM "awards" WHERE "year">2002 AND "competition"='camra london and south east regional competition' AND "beer_name"='good old boy';
```
## Task
Generate a SQL query to answer the following question:
`What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?`

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

CREATE TABLE "awards" (
  "year" real,
  "beer_name" text,
  "prize" text,
  "category" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?`:
```sql
                SELECT AVG("year") FROM "awards" WHERE "beer_name"='maggs magnificent mild' AND "prize"='gold medal' AND "category"='mild and porter' AND "competition"='siba south east region beer competition';
```
## Task
Generate a SQL query to answer the following question:
`What beer won a silver medal at the camra reading branch beer festival in 2008?`

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

CREATE TABLE "awards" (
  "year" real,
  "beer_name" text,
  "prize" text,
  "category" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What beer won a silver medal at the camra reading branch beer festival in 2008?`:
```sql
                SELECT "beer_name" FROM "awards" WHERE "prize"='silver medal' AND "competition"='camra reading branch beer festival' AND "year"=2008;
```
## Task
Generate a SQL query to answer the following question:
`What is Model Number, when Part Number(s) is AY80609003987AB?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Model Number, when Part Number(s) is AY80609003987AB?`:
```sql
                SELECT "model_number" FROM "45_nm" WHERE "part_number_s"='ay80609003987ab';
```
## Task
Generate a SQL query to answer the following question:
`What is Frequency, when Part Number(s) is AY80609004002AC?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Frequency, when Part Number(s) is AY80609004002AC?`:
```sql
                SELECT "frequency" FROM "45_nm" WHERE "part_number_s"='ay80609004002ac';
```
## Task
Generate a SQL query to answer the following question:
`What is sSpec Number, when Frequency is 1 GHZ?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is sSpec Number, when Frequency is 1 GHZ?`:
```sql
                SELECT "s_spec_number" FROM "45_nm" WHERE "frequency"='1 ghz';
```
## Task
Generate a SQL query to answer the following question:
`What is Release Date, when sSpec Number is SLBZE(C0)SLBR8?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Release Date, when sSpec Number is SLBZE(C0)SLBR8?`:
```sql
                SELECT "release_date" FROM "45_nm" WHERE "s_spec_number"='slbze(c0)slbr8';
```
## Task
Generate a SQL query to answer the following question:
`What is L2 Cache, when Model Number is Atom Z625?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is L2 Cache, when Model Number is Atom Z625?`:
```sql
                SELECT "l2_cache" FROM "45_nm" WHERE "model_number"='atom z625';
```
## Task
Generate a SQL query to answer the following question:
`Which Pick has a Player of renaldo wynn, and a Round smaller than 1?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pick has a Player of renaldo wynn, and a Round smaller than 1?`:
```sql
                SELECT COUNT("pick") FROM "nfl_draft" WHERE "player"='renaldo wynn' AND "round"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Player of damon jones?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Player of damon jones?`:
```sql
                SELECT SUM("round") FROM "nfl_draft" WHERE "player"='damon jones';
```
## Task
Generate a SQL query to answer the following question:
`Which College has a Round smaller than 2?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which College has a Round smaller than 2?`:
```sql
                SELECT "college" FROM "nfl_draft" WHERE "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`What was the lead margin when Nixon had 48% and reporting was done by Rasmussen Reports?`

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

CREATE TABLE "opinion_polling_for_the_united_states_gu" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_jay_nixon" text,
  "republican_kenny_hulshof" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lead margin when Nixon had 48% and reporting was done by Rasmussen Reports?`:
```sql
                SELECT COUNT("lead_margin") FROM "opinion_polling_for_the_united_states_gu" WHERE "democrat_jay_nixon"='48%' AND "poll_source"='rasmussen reports';
```
## Task
Generate a SQL query to answer the following question:
`What are the dates where Hulshof had 37% and Nixon had 48%?`

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

CREATE TABLE "opinion_polling_for_the_united_states_gu" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_jay_nixon" text,
  "republican_kenny_hulshof" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the dates where Hulshof had 37% and Nixon had 48%?`:
```sql
                SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_kenny_hulshof"='37%' AND "democrat_jay_nixon"='48%';
```
## Task
Generate a SQL query to answer the following question:
`Which event is located in Northfield, Mn?`

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

CREATE TABLE "records" (
  "date" text,
  "distance" text,
  "handler" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event is located in Northfield, Mn?`:
```sql
                SELECT "event" FROM "records" WHERE "location"='northfield, mn';
```
## Task
Generate a SQL query to answer the following question:
`Which event has a distance of ft10in (m)?`

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

CREATE TABLE "records" (
  "date" text,
  "distance" text,
  "handler" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event has a distance of ft10in (m)?`:
```sql
                SELECT "event" FROM "records" WHERE "distance"='ft10in (m)';
```
## Task
Generate a SQL query to answer the following question:
`What distance does the Bass Pro Shops event have?`

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

CREATE TABLE "records" (
  "date" text,
  "distance" text,
  "handler" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What distance does the Bass Pro Shops event have?`:
```sql
                SELECT "distance" FROM "records" WHERE "event"='bass pro shops';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?`

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

CREATE TABLE "records" (
  "date" text,
  "distance" text,
  "handler" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?`:
```sql
                SELECT "date" FROM "records" WHERE "handler"='mike jackson' AND "event"='indianapolis boat, sport & travel show';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play when there were only 751 in attendance?`

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

CREATE TABLE "january" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real,
  "competition" text,
  "man_of_the_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play when there were only 751 in attendance?`:
```sql
                SELECT "opponent" FROM "january" WHERE "attendance"<751;
```
## Task
Generate a SQL query to answer the following question:
`When did they play the swindon wildcats away?`

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

CREATE TABLE "january" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real,
  "competition" text,
  "man_of_the_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did they play the swindon wildcats away?`:
```sql
                SELECT "date" FROM "january" WHERE "venue"='away' AND "opponent"='swindon wildcats';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Man of the Match when they played the Romford Raiders at home?`

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

CREATE TABLE "january" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real,
  "competition" text,
  "man_of_the_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Man of the Match when they played the Romford Raiders at home?`:
```sql
                SELECT "man_of_the_match" FROM "january" WHERE "venue"='home' AND "opponent"='romford raiders';
```
## Task
Generate a SQL query to answer the following question:
`What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)?`

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

CREATE TABLE "players_out_on_loan" (
  "nat" text,
  "name" text,
  "since" text,
  "app_l_c_e" text,
  "goals_l_c_e" text,
  "ends" real,
  "transfer_fee" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)?`:
```sql
                SELECT "nat" FROM "players_out_on_loan" WHERE "app_l_c_e"='0 (0/0/0)' AND "name"='yahaya';
```
## Task
Generate a SQL query to answer the following question:
`What was the transfer fee for the player who had an App(L/C/E) of 0 (0/0/0) and notes of to anagennisi karditsa?`

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

CREATE TABLE "players_out_on_loan" (
  "nat" text,
  "name" text,
  "since" text,
  "app_l_c_e" text,
  "goals_l_c_e" text,
  "ends" real,
  "transfer_fee" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the transfer fee for the player who had an App(L/C/E) of 0 (0/0/0) and notes of to anagennisi karditsa?`:
```sql
                SELECT "transfer_fee" FROM "players_out_on_loan" WHERE "app_l_c_e"='0 (0/0/0)' AND "notes"='to anagennisi karditsa';
```
## Task
Generate a SQL query to answer the following question:
`what is the american name when the triple dotted value is 15/2 or 7 1/2?`

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

CREATE TABLE "variations" (
  "american_name" text,
  "british_name" text,
  "value" text,
  "dotted_value" text,
  "double_dotted_value" text,
  "triple_dotted_value" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the american name when the triple dotted value is 15/2 or 7 1/2?`:
```sql
                SELECT "american_name" FROM "variations" WHERE "triple_dotted_value"='15/2 or 7 1/2';
```
## Task
Generate a SQL query to answer the following question:
`what is the british name when the american name is sixteenth note?`

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

CREATE TABLE "variations" (
  "american_name" text,
  "british_name" text,
  "value" text,
  "dotted_value" text,
  "double_dotted_value" text,
  "triple_dotted_value" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the british name when the american name is sixteenth note?`:
```sql
                SELECT "british_name" FROM "variations" WHERE "american_name"='sixteenth note';
```
## Task
Generate a SQL query to answer the following question:
`what is the value when the british name is quaver?`

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

CREATE TABLE "variations" (
  "american_name" text,
  "british_name" text,
  "value" text,
  "dotted_value" text,
  "double_dotted_value" text,
  "triple_dotted_value" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the value when the british name is quaver?`:
```sql
                SELECT "value" FROM "variations" WHERE "british_name"='quaver';
```
## Task
Generate a SQL query to answer the following question:
`what is the british name when the double dotted value is 7/32?`

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

CREATE TABLE "variations" (
  "american_name" text,
  "british_name" text,
  "value" text,
  "dotted_value" text,
  "double_dotted_value" text,
  "triple_dotted_value" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the british name when the double dotted value is 7/32?`:
```sql
                SELECT "british_name" FROM "variations" WHERE "double_dotted_value"='7/32';
```
## Task
Generate a SQL query to answer the following question:
`what is the double dotted value when the triple dotted value is 15/128?`

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

CREATE TABLE "variations" (
  "american_name" text,
  "british_name" text,
  "value" text,
  "dotted_value" text,
  "double_dotted_value" text,
  "triple_dotted_value" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the double dotted value when the triple dotted value is 15/128?`:
```sql
                SELECT "double_dotted_value" FROM "variations" WHERE "triple_dotted_value"='15/128';
```
## Task
Generate a SQL query to answer the following question:
`what is the value when the british name is maxima?`

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

CREATE TABLE "variations" (
  "american_name" text,
  "british_name" text,
  "value" text,
  "dotted_value" text,
  "double_dotted_value" text,
  "triple_dotted_value" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the value when the british name is maxima?`:
```sql
                SELECT "value" FROM "variations" WHERE "british_name"='maxima';
```
## Task
Generate a SQL query to answer the following question:
`What is Home Team, when Date is "28 January 1984", and when Tie No is "4"?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Team, when Date is "28 January 1984", and when Tie No is "4"?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "date"='28 january 1984' AND "tie_no"='4';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Away Team is "Gillingham"?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Away Team is "Gillingham"?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "away_team"='gillingham';
```
## Task
Generate a SQL query to answer the following question:
`What is Home Team, when Date is "1 February 1984", and when Tie No is "5"?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Team, when Date is "1 February 1984", and when Tie No is "5"?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "date"='1 february 1984' AND "tie_no"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is Away Team, when Home Team is "Sheffield Wednesday"?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Away Team, when Home Team is "Sheffield Wednesday"?`:
```sql
                SELECT "away_team" FROM "fourth_round_proper" WHERE "home_team"='sheffield wednesday';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "tie_no"='replay' AND "away_team"='crystal palace';
```
## Task
Generate a SQL query to answer the following question:
`What to par has tom kite as the player?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What to par has tom kite as the player?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "player"='tom kite';
```
## Task
Generate a SQL query to answer the following question:
`What player has a t57 as the finish?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player has a t57 as the finish?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "finish"='t57';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest total that has 1992 as the year (s) won?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest total that has 1992 as the year (s) won?`:
```sql
                SELECT MIN("total") FROM "made_the_cut" WHERE "year_s_won"='1992';
```
## Task
Generate a SQL query to answer the following question:
`What player has +21 as the to par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player has +21 as the to par?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "to_par"='+21';
```
## Task
Generate a SQL query to answer the following question:
`Which to par has a total less than 296?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which to par has a total less than 296?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "total"<296;
```
## Task
Generate a SQL query to answer the following question:
`What finish has +21 as the to par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What finish has +21 as the to par?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "to_par"='+21';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of events that had 34 cuts and 3 in the top 10?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of events that had 34 cuts and 3 in the top 10?`:
```sql
                SELECT COUNT("events") FROM "summary" WHERE "cuts_made"<34 AND "top_10">3;
```
## Task
Generate a SQL query to answer the following question:
`Who played with more than 51,901 attendance and resulted in t 13-13?`

### 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 `Who played with more than 51,901 attendance and resulted in t 13-13?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance">'51,901' AND "result"='t 13-13';
```
## Task
Generate a SQL query to answer the following question:
`Who had the most rebounds on January 3?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the most rebounds on January 3?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "date"='january 3';
```
## Task
Generate a SQL query to answer the following question:
`Which surface had a date after 1982 and partner of Guy Forget?`

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

CREATE TABLE "doubles_finals_53_26_27" (
  "outcome" text,
  "date" real,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which surface had a date after 1982 and partner of Guy Forget?`:
```sql
                SELECT "surface" FROM "doubles_finals_53_26_27" WHERE "date">1982 AND "partner"='guy forget';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the week 9 game?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the week 9 game?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"=9;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance during the november 16, 1975 game?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance during the november 16, 1975 game?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "date"='november 16, 1975';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number in class for the Whitehaven Coal?`

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

CREATE TABLE "summary" (
  "owner" text,
  "class" text,
  "number_in_class" real,
  "road_numbers" text,
  "built" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number in class for the Whitehaven Coal?`:
```sql
                SELECT SUM("number_in_class") FROM "summary" WHERE "owner"='whitehaven coal';
```
## Task
Generate a SQL query to answer the following question:
`What was built in a class with less than 10, and the Downer Rail owner?`

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

CREATE TABLE "summary" (
  "owner" text,
  "class" text,
  "number_in_class" real,
  "road_numbers" text,
  "built" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was built in a class with less than 10, and the Downer Rail owner?`:
```sql
                SELECT "built" FROM "summary" WHERE "number_in_class"<10 AND "owner"='downer rail';
```
## Task
Generate a SQL query to answer the following question:
`Which class has more than 15 people in the class?`

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

CREATE TABLE "summary" (
  "owner" text,
  "class" text,
  "number_in_class" real,
  "road_numbers" text,
  "built" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has more than 15 people in the class?`:
```sql
                SELECT "class" FROM "summary" WHERE "number_in_class">15;
```
## Task
Generate a SQL query to answer the following question:
`Who is the owner that built in 2009-2011?`

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

CREATE TABLE "summary" (
  "owner" text,
  "class" text,
  "number_in_class" real,
  "road_numbers" text,
  "built" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the owner that built in 2009-2011?`:
```sql
                SELECT "owner" FROM "summary" WHERE "built"='2009-2011';
```
## Task
Generate a SQL query to answer the following question:
`Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?`

### 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" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?`:
```sql
                SELECT AVG("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "rider"='bradley smith';
```
## Task
Generate a SQL query to answer the following question:
`Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?`

### 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" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?`:
```sql
                SELECT "time" FROM "125cc_classification" WHERE "laps"=19 AND "grid">19 AND "manufacturer"='ktm' AND "rider"='randy krummenacher';
```
## Task
Generate a SQL query to answer the following question:
`Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?`

### 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" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?`:
```sql
                SELECT "time" FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "grid"<16 AND "rider"='sandro cortese';
```
## Task
Generate a SQL query to answer the following question:
`Name the Silver which has a Bronze of 19, and a Total larger than 58?`

### 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 `Name the Silver which has a Bronze of 19, and a Total larger than 58?`:
```sql
                SELECT MIN("silver") FROM "medal_table" WHERE "bronze"=19 AND "total">58;
```
## Task
Generate a SQL query to answer the following question:
`What kind of Silver has a Rank of 3, 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 `What kind of Silver has a Rank of 3, and a Gold smaller than 2?`:
```sql
                SELECT COUNT("silver") FROM "medal_table" WHERE "rank"='3' AND "gold"<2;
```
## Task
Generate a SQL query to answer the following question:
`COunt the silver that has a Bronze 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 `COunt the silver that has a Bronze smaller than 1?`:
```sql
                SELECT SUM("silver") FROM "medal_table" WHERE "bronze"<1;
```
## Task
Generate a SQL query to answer the following question:
`Name the Total which has a Silver larger than 19?`

### 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 `Name the Total which has a Silver larger than 19?`:
```sql
                SELECT MAX("total") FROM "medal_table" WHERE "silver">19;
```
## Task
Generate a SQL query to answer the following question:
`Name the  Silver that has a Total smaller than 2, and a Nation of south korea?`

### 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 `Name the  Silver that has a Total smaller than 2, and a Nation of south korea?`:
```sql
                SELECT AVG("silver") FROM "medal_table" WHERE "total"<2 AND "nation"='south korea';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the match with chad armstrong as the opponent?`

### 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 location of the match with chad armstrong as the opponent?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='chad armstrong';
```
## Task
Generate a SQL query to answer the following question:
`What is Scott Verplank's score?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Scott Verplank's score?`:
```sql
                SELECT "score" FROM "third_round" WHERE "player"='scott verplank';
```
## Task
Generate a SQL query to answer the following question:
`What place is United States player Corey Pavin in?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place is United States player Corey Pavin in?`:
```sql
                SELECT "place" FROM "third_round" WHERE "country"='united states' AND "player"='corey pavin';
```
## Task
Generate a SQL query to answer the following question:
`Which country has a score of 70-71-72=213?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a score of 70-71-72=213?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='70-71-72=213';
```
## Task
Generate a SQL query to answer the following question:
`Where does Bob Tway Place?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where does Bob Tway Place?`:
```sql
                SELECT "place" FROM "third_round" WHERE "player"='bob tway';
```
## Task
Generate a SQL query to answer the following question:
`What is the place with a to par of E and a score of 69-69-72=210?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place with a to par of E and a score of 69-69-72=210?`:
```sql
                SELECT "place" FROM "third_round" WHERE "to_par"='e' AND "score"='69-69-72=210';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE COUNTRY WITH DAVE BARR?`

### 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 IS THE COUNTRY WITH DAVE BARR?`:
```sql
                SELECT "country" FROM "second_round" WHERE "player"='dave barr';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?`

### 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 IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t7' AND "score"='72-67=139' AND "player"='raymond floyd';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLACE WITH PLAYER mark o'meara?`

### 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 IS THE PLACE WITH PLAYER mark o'meara?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='mark o''meara';
```
## Task
Generate a SQL query to answer the following question:
`Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?`

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

CREATE TABLE "first_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?`:
```sql
                SELECT MAX("drawn") FROM "first_round" WHERE "position"<4 AND "lost"<2;
```
## Task
Generate a SQL query to answer the following question:
`How many Points have a Position larger than 3, and a Played smaller than 14?`

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

CREATE TABLE "first_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points have a Position larger than 3, and a Played smaller than 14?`:
```sql
                SELECT COUNT("points") FROM "first_round" WHERE "position">3 AND "played"<14;
```
## Task
Generate a SQL query to answer the following question:
`Which Lost has a Position of 4, and a Drawn smaller than 3?`

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

CREATE TABLE "first_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lost has a Position of 4, and a Drawn smaller than 3?`:
```sql
                SELECT AVG("lost") FROM "first_round" WHERE "position"=4 AND "drawn"<3;
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Lost larger than 4, and a Played larger than 14?`

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

CREATE TABLE "first_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a Lost larger than 4, and a Played larger than 14?`:
```sql
                SELECT AVG("position") FROM "first_round" WHERE "lost">4 AND "played">14;
```