cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?`:
```sql
                SELECT "lost" FROM "league_table" WHERE "losing_bonus"='1' AND "points_for"='148';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LOSING BONUS WITH 190 POINTS?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE LOSING BONUS WITH 190 POINTS?`:
```sql
                SELECT "losing_bonus" FROM "league_table" WHERE "points_for"='190';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the pick of the guard position player?`

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

CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
  "player" text,
  "round" real,
  "pick" real,
  "position" text,
  "nfl_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the pick of the guard position player?`:
```sql
                SELECT SUM("pick") FROM "1954_ohio_state_buckeyes_football_team" WHERE "position"='guard';
```
## Task
Generate a SQL query to answer the following question:
`What is the NFL club with pick # 153?`

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

CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
  "player" text,
  "round" real,
  "pick" real,
  "position" text,
  "nfl_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NFL club with pick # 153?`:
```sql
                SELECT "nfl_club" FROM "1954_ohio_state_buckeyes_football_team" WHERE "pick"=153;
```
## Task
Generate a SQL query to answer the following question:
`Who is the player from a round less than 13 and has a pick of 74?`

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

CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
  "player" text,
  "round" real,
  "pick" real,
  "position" text,
  "nfl_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player from a round less than 13 and has a pick of 74?`:
```sql
                SELECT "player" FROM "1954_ohio_state_buckeyes_football_team" WHERE "round"<13 AND "pick"=74;
```
## Task
Generate a SQL query to answer the following question:
`Who is the player from round 13 that plays center?`

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

CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
  "player" text,
  "round" real,
  "pick" real,
  "position" text,
  "nfl_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player from round 13 that plays center?`:
```sql
                SELECT "player" FROM "1954_ohio_state_buckeyes_football_team" WHERE "round"=13 AND "position"='center';
```
## Task
Generate a SQL query to answer the following question:
`What is the NFL club with a pick less than 74 and a round greater than 2?`

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

CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
  "player" text,
  "round" real,
  "pick" real,
  "position" text,
  "nfl_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NFL club with a pick less than 74 and a round greater than 2?`:
```sql
                SELECT "nfl_club" FROM "1954_ohio_state_buckeyes_football_team" WHERE "pick"<74 AND "round">2;
```
## Task
Generate a SQL query to answer the following question:
`Which Conference Semifinals has a Record of 55–27?`

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

CREATE TABLE "playoffs" (
  "season" text,
  "record" text,
  "seed" text,
  "first_round" text,
  "conference_semifinals" text,
  "conference_finals" text,
  "nba_finals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Conference Semifinals has a Record of 55–27?`:
```sql
                SELECT "conference_semifinals" FROM "playoffs" WHERE "record"='55–27';
```
## Task
Generate a SQL query to answer the following question:
`Which Conference Semifinals has a Conference Finals of † denotes division championship?`

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

CREATE TABLE "playoffs" (
  "season" text,
  "record" text,
  "seed" text,
  "first_round" text,
  "conference_semifinals" text,
  "conference_finals" text,
  "nba_finals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Conference Semifinals has a Conference Finals of † denotes division championship?`:
```sql
                SELECT "conference_semifinals" FROM "playoffs" WHERE "conference_finals"='† denotes division championship';
```
## Task
Generate a SQL query to answer the following question:
`Which Conference Finals has a Seed of † denotes division championship?`

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

CREATE TABLE "playoffs" (
  "season" text,
  "record" text,
  "seed" text,
  "first_round" text,
  "conference_semifinals" text,
  "conference_finals" text,
  "nba_finals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Conference Finals has a Seed of † denotes division championship?`:
```sql
                SELECT "conference_finals" FROM "playoffs" WHERE "seed"='† denotes division championship';
```
## Task
Generate a SQL query to answer the following question:
`What rank is the publication the observer music monthly?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What rank is the publication the observer music monthly?`:
```sql
                SELECT "rank" FROM "accolades" WHERE "publication"='the observer music monthly';
```
## Task
Generate a SQL query to answer the following question:
`What is the publication the observer music monthly highest year?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the publication the observer music monthly highest year?`:
```sql
                SELECT MAX("year") FROM "accolades" WHERE "publication"='the observer music monthly';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"?`

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

CREATE TABLE "1990s_49ers_17_3" (
  "year" real,
  "date" text,
  "home_team" text,
  "result" text,
  "visiting_team" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"?`:
```sql
                SELECT AVG("attendance") FROM "1990s_49ers_17_3" WHERE "venue"='candlestick park' AND "date"='december 27';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Date is "November 22"?`

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

CREATE TABLE "1990s_49ers_17_3" (
  "year" real,
  "date" text,
  "home_team" text,
  "result" text,
  "visiting_team" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Date is "November 22"?`:
```sql
                SELECT "result" FROM "1990s_49ers_17_3" WHERE "date"='november 22';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"?`

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

CREATE TABLE "1990s_49ers_17_3" (
  "year" real,
  "date" text,
  "home_team" text,
  "result" text,
  "visiting_team" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"?`:
```sql
                SELECT AVG("attendance") FROM "1990s_49ers_17_3" WHERE "venue"='candlestick park' AND "date"='november 25';
```
## Task
Generate a SQL query to answer the following question:
`What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold?`

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

CREATE TABLE "women" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold?`:
```sql
                SELECT "bronze" FROM "women" WHERE "silver"='tatiana ryabkina' AND "gold"='anne margrethe hausken';
```
## Task
Generate a SQL query to answer the following question:
`What label is in CD format in Australia?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label is in CD format in Australia?`:
```sql
                SELECT "label" FROM "release_history" WHERE "format"='cd' AND "region"='australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the label for catalog number CRG3P-90054?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the label for catalog number CRG3P-90054?`:
```sql
                SELECT "label" FROM "release_history" WHERE "catalog"='crg3p-90054';
```
## Task
Generate a SQL query to answer the following question:
`What is the format for the MCA label?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the format for the MCA label?`:
```sql
                SELECT "format" FROM "release_history" WHERE "label"='mca';
```
## Task
Generate a SQL query to answer the following question:
`What is the catalog number for the Grilled Cheese label?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the catalog number for the Grilled Cheese label?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "label"='grilled cheese';
```
## Task
Generate a SQL query to answer the following question:
`Which region has the format CD and label MCA?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which region has the format CD and label MCA?`:
```sql
                SELECT "region" FROM "release_history" WHERE "format"='cd' AND "label"='mca';
```
## Task
Generate a SQL query to answer the following question:
`What is the format for the label Mightier than Sword on January 12, 2010 in the United States?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the format for the label Mightier than Sword on January 12, 2010 in the United States?`:
```sql
                SELECT "format" FROM "release_history" WHERE "region"='united states' AND "date"='january 12, 2010' AND "label"='mightier than sword';
```
## Task
Generate a SQL query to answer the following question:
`Which station that sat 54m above seal level is now Closed?`

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

CREATE TABLE "stations" (
  "station" text,
  "distance_from_wellington" text,
  "height_above_sea_level_m" text,
  "opened" real,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which station that sat 54m above seal level is now Closed?`:
```sql
                SELECT "station" FROM "stations" WHERE "height_above_sea_level_m"='54m' AND "closed"='closed';
```
## Task
Generate a SQL query to answer the following question:
`Opened prior to 1877 only 2.44km from Wellington, when did this station close?`

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

CREATE TABLE "stations" (
  "station" text,
  "distance_from_wellington" text,
  "height_above_sea_level_m" text,
  "opened" real,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `Opened prior to 1877 only 2.44km from Wellington, when did this station close?`:
```sql
                SELECT "closed" FROM "stations" WHERE "opened"<1877 AND "distance_from_wellington"='2.44km';
```
## Task
Generate a SQL query to answer the following question:
`What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?`

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

CREATE TABLE "stations" (
  "station" text,
  "distance_from_wellington" text,
  "height_above_sea_level_m" text,
  "opened" real,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?`:
```sql
                SELECT "height_above_sea_level_m" FROM "stations" WHERE "opened"<1887 AND "distance_from_wellington"='175.67km';
```
## Task
Generate a SQL query to answer the following question:
`For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?`

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

CREATE TABLE "stations" (
  "station" text,
  "distance_from_wellington" text,
  "height_above_sea_level_m" text,
  "opened" real,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?`:
```sql
                SELECT "height_above_sea_level_m" FROM "stations" WHERE "opened">1876 AND "distance_from_wellington"='604.53km';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game attended by 70,012?`

### 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 at the game attended by 70,012?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance"='70,012';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the post-week 2 game with a result of l 16–10?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the post-week 2 game with a result of l 16–10?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week">2 AND "result"='l 16–10';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest to par number for Justin Leonard when the total is less than 297?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest to par number for Justin Leonard when the total is less than 297?`:
```sql
                SELECT MAX("to_par") FROM "made_the_cut" WHERE "player"='justin leonard' AND "total"<297;
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the finish was t44?`

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

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

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has a total larger than 293, and a to par less than 17?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "total">293 AND "to_par"<17;
```
## Task
Generate a SQL query to answer the following question:
`When Karaorman is Team 1, what is the Agg.?`

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

CREATE TABLE "eighth_finals" (
  "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 `When Karaorman is Team 1, what is the Agg.?`:
```sql
                SELECT "agg" FROM "eighth_finals" WHERE "team_1"='karaorman';
```
## Task
Generate a SQL query to answer the following question:
`What is week 3 when week 6 is 26.05?`

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

CREATE TABLE "scores" (
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text,
  "week_6" text,
  "week_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is week 3 when week 6 is 26.05?`:
```sql
                SELECT "week_3" FROM "scores" WHERE "week_6"='26.05';
```
## Task
Generate a SQL query to answer the following question:
`What is week 5 when week 2 is 36.80, and week 4 is 39.75?`

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

CREATE TABLE "scores" (
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text,
  "week_6" text,
  "week_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is week 5 when week 2 is 36.80, and week 4 is 39.75?`:
```sql
                SELECT "week_5" FROM "scores" WHERE "week_2"='36.80' AND "week_4"='39.75';
```
## Task
Generate a SQL query to answer the following question:
`What is week 4 if week 3 is 35.40?`

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

CREATE TABLE "scores" (
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text,
  "week_6" text,
  "week_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is week 4 if week 3 is 35.40?`:
```sql
                SELECT "week_4" FROM "scores" WHERE "week_3"='35.40';
```
## Task
Generate a SQL query to answer the following question:
`What is week 7 when week 3 is 35.90?`

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

CREATE TABLE "scores" (
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text,
  "week_6" text,
  "week_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is week 7 when week 3 is 35.90?`:
```sql
                SELECT "week_7" FROM "scores" WHERE "week_3"='35.90';
```
## Task
Generate a SQL query to answer the following question:
`What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?`

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

CREATE TABLE "scores" (
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text,
  "week_6" text,
  "week_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?`:
```sql
                SELECT "week_6" FROM "scores" WHERE "week_7"='evicted' AND "week_4"='evicted' AND "week_3"='evicted' AND "week_2"='29.35';
```
## Task
Generate a SQL query to answer the following question:
`What is week 5 when week 6 is evicted, and week 2 is 34.55?`

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

CREATE TABLE "scores" (
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text,
  "week_6" text,
  "week_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is week 5 when week 6 is evicted, and week 2 is 34.55?`:
```sql
                SELECT "week_5" FROM "scores" WHERE "week_6"='evicted' AND "week_2"='34.55';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Winner's share (¥) in 2011?`

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

CREATE TABLE "winners" (
  "year" real,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "purse" real,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Winner's share (¥) in 2011?`:
```sql
                SELECT MIN("winner_s_share") FROM "winners" WHERE "year"=2011;
```
## Task
Generate a SQL query to answer the following question:
`How much is the purse worth (¥) after 2012?`

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

CREATE TABLE "winners" (
  "year" real,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "purse" real,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much is the purse worth (¥) after 2012?`:
```sql
                SELECT SUM("purse") FROM "winners" WHERE "year">2012;
```
## Task
Generate a SQL query to answer the following question:
`What place had a score of 67-67=134?`

### 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 place had a score of 67-67=134?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='67-67=134';
```
## Task
Generate a SQL query to answer the following question:
`What country placed t3 with a score of 70-65=135?`

### 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 country placed t3 with a score of 70-65=135?`:
```sql
                SELECT "country" FROM "second_round" WHERE "place"='t3' AND "score"='70-65=135';
```
## Task
Generate a SQL query to answer the following question:
`What player placed t6 for the United States with a score of 67-69=136?`

### 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 player placed t6 for the United States with a score of 67-69=136?`:
```sql
                SELECT "player" FROM "second_round" WHERE "country"='united states' AND "place"='t6' AND "score"='67-69=136';
```
## Task
Generate a SQL query to answer the following question:
`What is Competition, when Round is "Group A - Match 1"?`

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

CREATE TABLE "matches" (
  "competition" text,
  "round" text,
  "date_and_time" text,
  "opponent_team" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Competition, when Round is "Group A - Match 1"?`:
```sql
                SELECT "competition" FROM "matches" WHERE "round"='group a - match 1';
```
## Task
Generate a SQL query to answer the following question:
`What is Date and Time, when Competition is "Serie A", and when Result is "0-3"?`

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

CREATE TABLE "matches" (
  "competition" text,
  "round" text,
  "date_and_time" text,
  "opponent_team" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date and Time, when Competition is "Serie A", and when Result is "0-3"?`:
```sql
                SELECT "date_and_time" FROM "matches" WHERE "competition"='serie a' AND "result"='0-3';
```
## Task
Generate a SQL query to answer the following question:
`What is Competition, when Round is "8 A"?`

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

CREATE TABLE "matches" (
  "competition" text,
  "round" text,
  "date_and_time" text,
  "opponent_team" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Competition, when Round is "8 A"?`:
```sql
                SELECT "competition" FROM "matches" WHERE "round"='8 a';
```
## Task
Generate a SQL query to answer the following question:
`What is City of License, when Frequency is greater than 1380?`

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

CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is City of License, when Frequency is greater than 1380?`:
```sql
                SELECT "city_of_license" FROM "am" WHERE "frequency">1380;
```
## Task
Generate a SQL query to answer the following question:
`What is Brand, when Frequency is "640"?`

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

CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Brand, when Frequency is "640"?`:
```sql
                SELECT "brand" FROM "am" WHERE "frequency"=640;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Frequency, when Type is "Norteño", and when Brand is "La Cotorra"?`

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

CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Frequency, when Type is "Norteño", and when Brand is "La Cotorra"?`:
```sql
                SELECT AVG("frequency") FROM "am" WHERE "type"='norteño' AND "brand"='la cotorra';
```
## Task
Generate a SQL query to answer the following question:
`What is Type, when Frequency is "1480"?`

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

CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Type, when Frequency is "1480"?`:
```sql
                SELECT "type" FROM "am" WHERE "frequency"=1480;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Frequency, when Type is "Christian Pop"?`

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

CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Frequency, when Type is "Christian Pop"?`:
```sql
                SELECT SUM("frequency") FROM "am" WHERE "type"='christian pop';
```
## Task
Generate a SQL query to answer the following question:
`What is the Type, when Callsign is "Xetam"?`

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

CREATE TABLE "am" (
  "frequency" real,
  "callsign" text,
  "brand" text,
  "city_of_license" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Type, when Callsign is "Xetam"?`:
```sql
                SELECT "type" FROM "am" WHERE "callsign"='xetam';
```
## Task
Generate a SQL query to answer the following question:
`Which Chief Judge has Appointed by of reagan category:articles with hcards?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Chief Judge has Appointed by of reagan category:articles with hcards?`:
```sql
                SELECT "chief_judge" FROM "former_judges" WHERE "appointed_by"='reagan category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?`:
```sql
                SELECT "senior_status" FROM "former_judges" WHERE "chief_judge"='—' AND "reason_for_termination"='death' AND "active_service"='1967–1983';
```
## Task
Generate a SQL query to answer the following question:
`Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?`:
```sql
                SELECT "senior_status" FROM "former_judges" WHERE "appointed_by"='l. johnson category:articles with hcards' AND "born_died"='1918–2009';
```
## Task
Generate a SQL query to answer the following question:
`Which Chief Judge has Active service of 1873–1875?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Chief Judge has Active service of 1873–1875?`:
```sql
                SELECT "chief_judge" FROM "former_judges" WHERE "active_service"='1873–1875';
```
## Task
Generate a SQL query to answer the following question:
`Which Reason for termination has Appointed by of eisenhower category:articles with hcards?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Reason for termination has Appointed by of eisenhower category:articles with hcards?`:
```sql
                SELECT "reason_for_termination" FROM "former_judges" WHERE "appointed_by"='eisenhower category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`Which Senior status has a Chief Judge of 1991–1995?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Senior status has a Chief Judge of 1991–1995?`:
```sql
                SELECT "senior_status" FROM "former_judges" WHERE "chief_judge"='1991–1995';
```
## Task
Generate a SQL query to answer the following question:
`When did the Wolverhampton Wanderers play at home?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the Wolverhampton Wanderers play at home?`:
```sql
                SELECT "date" FROM "third_round_proper" WHERE "home_team"='wolverhampton wanderers';
```
## Task
Generate a SQL query to answer the following question:
`What are 2004's notes?`

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

CREATE TABLE "men" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are 2004's notes?`:
```sql
                SELECT "notes" FROM "men" WHERE "year"=2004;
```
## Task
Generate a SQL query to answer the following question:
`What year did Yuri Omeltchenko win Silver?`

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

CREATE TABLE "men" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did Yuri Omeltchenko win Silver?`:
```sql
                SELECT "year" FROM "men" WHERE "silver"='yuri omeltchenko';
```
## Task
Generate a SQL query to answer the following question:
`Who won Silver in 2000?`

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

CREATE TABLE "men" (
  "year" real,
  "gold" text,
  "silver" text,
  "bronze" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won Silver in 2000?`:
```sql
                SELECT "silver" FROM "men" WHERE "year"=2000;
```
## Task
Generate a SQL query to answer the following question:
`What is the score on April 12?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score on April 12?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='april 12';
```
## Task
Generate a SQL query to answer the following question:
`What is the score on April 5?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score on April 5?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='april 5';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when there were 6 matches?`

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

CREATE TABLE "olympic_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when there were 6 matches?`:
```sql
                SELECT "result" FROM "olympic_record" WHERE "matches"='6';
```
## Task
Generate a SQL query to answer the following question:
`What year was the result did not qualify?`

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

CREATE TABLE "olympic_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the result did not qualify?`:
```sql
                SELECT "year" FROM "olympic_record" WHERE "result"='did not qualify';
```
## Task
Generate a SQL query to answer the following question:
`What was the result in 2008?`

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

CREATE TABLE "olympic_record" (
  "year" text,
  "result" text,
  "matches" text,
  "wins" text,
  "draws" text,
  "losses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result in 2008?`:
```sql
                SELECT "result" FROM "olympic_record" WHERE "year"='2008';
```
## Task
Generate a SQL query to answer the following question:
`What was the to par score for Tim Herron, who had a score of 69-72=141?`

### 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 was the to par score for Tim Herron, who had a score of 69-72=141?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "score"='69-72=141' AND "player"='tim herron';
```
## Task
Generate a SQL query to answer the following question:
`Which golfer finished with a score of 70-71=141?`

### 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 `Which golfer finished with a score of 70-71=141?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='70-71=141';
```
## Task
Generate a SQL query to answer the following question:
`In what place did Adam Scott, who had a to par score of +1, finish?`

### 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 `In what place did Adam Scott, who had a to par score of +1, finish?`:
```sql
                SELECT "place" FROM "second_round" WHERE "to_par"='+1' AND "player"='adam scott';
```
## Task
Generate a SQL query to answer the following question:
`In what place did the golfer that scored 66-74=140 finish?`

### 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 `In what place did the golfer that scored 66-74=140 finish?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='66-74=140';
```
## Task
Generate a SQL query to answer the following question:
`Which player has a place of t2?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player has a place of t2?`:
```sql
                SELECT "player" FROM "first_round" WHERE "place"='t2';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for Nick Faldo?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for Nick Faldo?`:
```sql
                SELECT "score" FROM "first_round" WHERE "player"='nick faldo';
```
## Task
Generate a SQL query to answer the following question:
`What's the average against of Leopold with more than 11 wins?`

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

CREATE TABLE "2010_ladder" (
  "geelong_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average against of Leopold with more than 11 wins?`:
```sql
                SELECT AVG("against") FROM "2010_ladder" WHERE "geelong_fl"='leopold' AND "wins">11;
```
## Task
Generate a SQL query to answer the following question:
`How many total wins for Leopold that had fewer than 1706 against?`

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

CREATE TABLE "2010_ladder" (
  "geelong_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total wins for Leopold that had fewer than 1706 against?`:
```sql
                SELECT SUM("wins") FROM "2010_ladder" WHERE "against"<1706 AND "geelong_fl"='leopold';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against?`

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

CREATE TABLE "2010_ladder" (
  "geelong_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against?`:
```sql
                SELECT MAX("draws") FROM "2010_ladder" WHERE "losses">6 AND "geelong_fl"='st josephs' AND "against"<1250;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of against when they had 14 losses and more than 0 byes?`

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

CREATE TABLE "2010_ladder" (
  "geelong_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of against when they had 14 losses and more than 0 byes?`:
```sql
                SELECT SUM("against") FROM "2010_ladder" WHERE "losses"=14 AND "byes">0;
```
## Task
Generate a SQL query to answer the following question:
`What is Classification, when Dennis Kucinich is "3%", and when % of All is "53%"?`

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

CREATE TABLE "exit_polling" (
  "classification" text,
  "pct_of_all" text,
  "john_kerry" text,
  "john_edwards" text,
  "dennis_kucinich" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Classification, when Dennis Kucinich is "3%", and when % of All is "53%"?`:
```sql
                SELECT "classification" FROM "exit_polling" WHERE "dennis_kucinich"='3%' AND "pct_of_all"='53%';
```
## Task
Generate a SQL query to answer the following question:
`What is Dennis Kucinich, when % of All is "53%"?`

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

CREATE TABLE "exit_polling" (
  "classification" text,
  "pct_of_all" text,
  "john_kerry" text,
  "john_edwards" text,
  "dennis_kucinich" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Dennis Kucinich, when % of All is "53%"?`:
```sql
                SELECT "dennis_kucinich" FROM "exit_polling" WHERE "pct_of_all"='53%';
```
## Task
Generate a SQL query to answer the following question:
`What is John Edwards, when John Kerry is "70%"?`

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

CREATE TABLE "exit_polling" (
  "classification" text,
  "pct_of_all" text,
  "john_kerry" text,
  "john_edwards" text,
  "dennis_kucinich" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is John Edwards, when John Kerry is "70%"?`:
```sql
                SELECT "john_edwards" FROM "exit_polling" WHERE "john_kerry"='70%';
```
## Task
Generate a SQL query to answer the following question:
`What is Dennis Kucinich, when Classification is "Democrat"?`

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

CREATE TABLE "exit_polling" (
  "classification" text,
  "pct_of_all" text,
  "john_kerry" text,
  "john_edwards" text,
  "dennis_kucinich" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Dennis Kucinich, when Classification is "Democrat"?`:
```sql
                SELECT "dennis_kucinich" FROM "exit_polling" WHERE "classification"='democrat';
```