cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What Nickname(s) has a Location of elkville, illinois?`

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

CREATE TABLE "former_members" (
  "school" text,
  "location" text,
  "nickname_s" text,
  "colors" text,
  "years_member" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nickname(s) has a Location of elkville, illinois?`:
```sql
                SELECT "nickname_s" FROM "former_members" WHERE "location"='elkville, illinois';
```
## Task
Generate a SQL query to answer the following question:
`Which Season 1 has a Season 7 of david chilton?`

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

CREATE TABLE "english_version" (
  "seat" real,
  "season_1" text,
  "season_2" text,
  "season_3" text,
  "season_6" text,
  "season_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season 1 has a Season 7 of david chilton?`:
```sql
                SELECT "season_1" FROM "english_version" WHERE "season_7"='david chilton';
```
## Task
Generate a SQL query to answer the following question:
`Which Seat has a Season 6 of kevin o'leary?`

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

CREATE TABLE "english_version" (
  "seat" real,
  "season_1" text,
  "season_2" text,
  "season_3" text,
  "season_6" text,
  "season_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Seat has a Season 6 of kevin o'leary?`:
```sql
                SELECT MAX("seat") FROM "english_version" WHERE "season_6"='kevin o''leary';
```
## Task
Generate a SQL query to answer the following question:
`Which Season 7 has a Season 6 of jim treliving?`

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

CREATE TABLE "english_version" (
  "seat" real,
  "season_1" text,
  "season_2" text,
  "season_3" text,
  "season_6" text,
  "season_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season 7 has a Season 6 of jim treliving?`:
```sql
                SELECT "season_7" FROM "english_version" WHERE "season_6"='jim treliving';
```
## Task
Generate a SQL query to answer the following question:
`Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?`

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

CREATE TABLE "english_version" (
  "seat" real,
  "season_1" text,
  "season_2" text,
  "season_3" text,
  "season_6" text,
  "season_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?`:
```sql
                SELECT "season_7" FROM "english_version" WHERE "seat">1 AND "season_3"='w. brett wilson';
```
## Task
Generate a SQL query to answer the following question:
`Which Season 3 has a Season 7 of jim treliving?`

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

CREATE TABLE "english_version" (
  "seat" real,
  "season_1" text,
  "season_2" text,
  "season_3" text,
  "season_6" text,
  "season_7" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season 3 has a Season 7 of jim treliving?`:
```sql
                SELECT "season_3" FROM "english_version" WHERE "season_7"='jim treliving';
```
## Task
Generate a SQL query to answer the following question:
`What is Weekly Winner, when Air Date is "July 4, 2008"?`

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

CREATE TABLE "ratings_and_results" (
  "air_date" text,
  "rating" text,
  "18_49" text,
  "viewers" text,
  "weekly_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Weekly Winner, when Air Date is "July 4, 2008"?`:
```sql
                SELECT "weekly_winner" FROM "ratings_and_results" WHERE "air_date"='july 4, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"?`

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

CREATE TABLE "ratings_and_results" (
  "air_date" text,
  "rating" text,
  "18_49" text,
  "viewers" text,
  "weekly_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"?`:
```sql
                SELECT "rating" FROM "ratings_and_results" WHERE "air_date"='july 24, 2008*' AND "weekly_winner"='sales rep. oscar ledezma';
```
## Task
Generate a SQL query to answer the following question:
`What is Viewers, when 18-49 is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?`

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

CREATE TABLE "ratings_and_results" (
  "air_date" text,
  "rating" text,
  "18_49" text,
  "viewers" text,
  "weekly_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Viewers, when 18-49 is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?`:
```sql
                SELECT "viewers" FROM "ratings_and_results" WHERE "18_49"='n/a' AND "weekly_winner"='wedding dj chris dixon';
```
## Task
Generate a SQL query to answer the following question:
`What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?`

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

CREATE TABLE "ratings_and_results" (
  "air_date" text,
  "rating" text,
  "18_49" text,
  "viewers" text,
  "weekly_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?`:
```sql
                SELECT "18_49" FROM "ratings_and_results" WHERE "weekly_winner"='youth counselor justin meece';
```
## Task
Generate a SQL query to answer the following question:
`What is Viewers, when Air Date is "July 4, 2008"?`

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

CREATE TABLE "ratings_and_results" (
  "air_date" text,
  "rating" text,
  "18_49" text,
  "viewers" text,
  "weekly_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Viewers, when Air Date is "July 4, 2008"?`:
```sql
                SELECT "viewers" FROM "ratings_and_results" WHERE "air_date"='july 4, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?`

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

CREATE TABLE "ratings_and_results" (
  "air_date" text,
  "rating" text,
  "18_49" text,
  "viewers" text,
  "weekly_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?`:
```sql
                SELECT "air_date" FROM "ratings_and_results" WHERE "rating"='n/a' AND "weekly_winner"='wedding dj chris dixon';
```
## Task
Generate a SQL query to answer the following question:
`What was the record for Dec 16?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for Dec 16?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='dec 16';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2010 with a qf in 2011?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2010 with a qf in 2011?`:
```sql
                SELECT "2010" FROM "doubles_performance_timeline" WHERE "2011"='qf';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2013 of the grand slam tournaments?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2013 of the grand slam tournaments?`:
```sql
                SELECT "2013" FROM "doubles_performance_timeline" WHERE "tournament"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2013 with a 2r in 2010 and a qf in 2011?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2013 with a 2r in 2010 and a qf in 2011?`:
```sql
                SELECT "2013" FROM "doubles_performance_timeline" WHERE "2010"='2r' AND "2011"='qf';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2011 with 1r in 2010?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2011 with 1r in 2010?`:
```sql
                SELECT "2011" FROM "doubles_performance_timeline" WHERE "2010"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2012 with A in 2009 and 2r in 2010?`

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

CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2012 with A in 2009 and 2r in 2010?`:
```sql
                SELECT "2012" FROM "doubles_performance_timeline" WHERE "2009"='a' AND "2010"='2r';
```
## Task
Generate a SQL query to answer the following question:
`What is the poison/klesha word for moha avijja in pali?`

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

CREATE TABLE "five_poisons" (
  "poison_klesha" text,
  "sanskrit" text,
  "pali" text,
  "tibetan" text,
  "alternate_translations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the poison/klesha word for moha avijja in pali?`:
```sql
                SELECT "poison_klesha" FROM "five_poisons" WHERE "pali"='moha avijja';
```
## Task
Generate a SQL query to answer the following question:
`What is the poision/klesha word for the tibetan word gti mug ma rig pa?`

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

CREATE TABLE "five_poisons" (
  "poison_klesha" text,
  "sanskrit" text,
  "pali" text,
  "tibetan" text,
  "alternate_translations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the poision/klesha word for the tibetan word gti mug ma rig pa?`:
```sql
                SELECT "poison_klesha" FROM "five_poisons" WHERE "tibetan"='gti mug ma rig pa';
```
## Task
Generate a SQL query to answer the following question:
`What is the pali word for pride in poison/klesha?`

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

CREATE TABLE "five_poisons" (
  "poison_klesha" text,
  "sanskrit" text,
  "pali" text,
  "tibetan" text,
  "alternate_translations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pali word for pride in poison/klesha?`:
```sql
                SELECT "pali" FROM "five_poisons" WHERE "poison_klesha"='pride';
```
## Task
Generate a SQL query to answer the following question:
`What is the pali word for phrag dog in tibetan?`

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

CREATE TABLE "five_poisons" (
  "poison_klesha" text,
  "sanskrit" text,
  "pali" text,
  "tibetan" text,
  "alternate_translations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pali word for phrag dog in tibetan?`:
```sql
                SELECT "pali" FROM "five_poisons" WHERE "tibetan"='phrag dog';
```
## Task
Generate a SQL query to answer the following question:
`What is the pali word for rāga in sanskrit?`

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

CREATE TABLE "five_poisons" (
  "poison_klesha" text,
  "sanskrit" text,
  "pali" text,
  "tibetan" text,
  "alternate_translations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pali word for rāga in sanskrit?`:
```sql
                SELECT "pali" FROM "five_poisons" WHERE "sanskrit"='rāga';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance total when Southend Manor is the away team and there are less than 93 ties?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance total when Southend Manor is the away team and there are less than 93 ties?`:
```sql
                SELECT COUNT("attendance") FROM "ties" WHERE "away_team"='southend manor' AND "tie_no"<93;
```
## Task
Generate a SQL query to answer the following question:
`What is the score when the attendance is less than 83 and Raunds Town is the away team?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when the attendance is less than 83 and Raunds Town is the away team?`:
```sql
                SELECT "score" FROM "ties" WHERE "attendance"<83 AND "away_team"='raunds town';
```
## Task
Generate a SQL query to answer the following question:
`Who was the player that was picked at a number less than 205 from the Michigan State Spartans?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "player" text,
  "nationality" text,
  "position" text,
  "team_from" text,
  "league_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the player that was picked at a number less than 205 from the Michigan State Spartans?`:
```sql
                SELECT "player" FROM "round_seven" WHERE "pick_num"<205 AND "team_from"='michigan state spartans';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Density of 53 No. munic.?`

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

CREATE TABLE "list" (
  "abbr" text,
  "canton" text,
  "capital" text,
  "density_per_km" real,
  "no_munic" real,
  "s_official_language" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Density of 53 No. munic.?`:
```sql
                SELECT AVG("density_per_km") FROM "list" WHERE "no_munic"=53;
```
## Task
Generate a SQL query to answer the following question:
`Name the Status of Venue of sydney sports ground , sydney?`

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

CREATE TABLE "1963" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Status of Venue of sydney sports ground , sydney?`:
```sql
                SELECT "status" FROM "1963" WHERE "venue"='sydney sports ground , sydney';
```
## Task
Generate a SQL query to answer the following question:
`Which Status has a Opposing Teams of wales?`

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

CREATE TABLE "1963" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Status has a Opposing Teams of wales?`:
```sql
                SELECT "status" FROM "1963" WHERE "opposing_teams"='wales';
```
## Task
Generate a SQL query to answer the following question:
`WHICH Date has a Venue of lancaster park , christchurch?`

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

CREATE TABLE "1963" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHICH Date has a Venue of lancaster park , christchurch?`:
```sql
                SELECT "date" FROM "1963" WHERE "venue"='lancaster park , christchurch';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TEAM WITH DAVE COGGIN?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TEAM WITH DAVE COGGIN?`:
```sql
                SELECT "team" FROM "first_round_selections" WHERE "player"='dave coggin';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?`:
```sql
                SELECT "team" FROM "first_round_selections" WHERE "position"='of' AND "pick"=24;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?`:
```sql
                SELECT "position" FROM "first_round_selections" WHERE "team"='boston red sox' AND "player"='corey jenkins';
```
## Task
Generate a SQL query to answer the following question:
`WHAT PLAYER HAS UPLAND HIGH SCHOOL?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT PLAYER HAS UPLAND HIGH SCHOOL?`:
```sql
                SELECT "player" FROM "first_round_selections" WHERE "hometown_school"='upland high school';
```
## Task
Generate a SQL query to answer the following question:
`WHAT PLAYER HAS THE OAKLAND ATHLETICS?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT PLAYER HAS THE OAKLAND ATHLETICS?`:
```sql
                SELECT "player" FROM "first_round_selections" WHERE "team"='oakland athletics';
```
## Task
Generate a SQL query to answer the following question:
`WHAT TEAM HAS A PICK LARGER THAN 29?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT TEAM HAS A PICK LARGER THAN 29?`:
```sql
                SELECT "team" FROM "first_round_selections" WHERE "pick">29;
```
## Task
Generate a SQL query to answer the following question:
`Which rampage killed 8 in Israel?`

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

CREATE TABLE "vehicular_manslaughter" (
  "name" text,
  "date" text,
  "year" real,
  "country" text,
  "killed" text,
  "injured" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which rampage killed 8 in Israel?`:
```sql
                SELECT "name" FROM "vehicular_manslaughter" WHERE "killed"='8' AND "country"='israel';
```
## Task
Generate a SQL query to answer the following question:
`What coutry had a rampaged killing 14 in 1965?`

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

CREATE TABLE "vehicular_manslaughter" (
  "name" text,
  "date" text,
  "year" real,
  "country" text,
  "killed" text,
  "injured" text
);
### SQL
Given the database schema, here is the SQL query that answers `What coutry had a rampaged killing 14 in 1965?`:
```sql
                SELECT "country" FROM "vehicular_manslaughter" WHERE "killed"='14' AND "year"=1965;
```
## Task
Generate a SQL query to answer the following question:
`What is Club, when Drawn is "0", and when Try Bonus is "5"?`

### 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 Club, when Drawn is "0", and when Try Bonus is "5"?`:
```sql
                SELECT "club" FROM "league_table" WHERE "drawn"='0' AND "try_bonus"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is Club, when Points is "82"?`

### 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 Club, when Points is "82"?`:
```sql
                SELECT "club" FROM "league_table" WHERE "points"='82';
```
## Task
Generate a SQL query to answer the following question:
`What is Played, when Points Against is "374"?`

### 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 Played, when Points Against is "374"?`:
```sql
                SELECT "played" FROM "league_table" WHERE "points_against"='374';
```
## Task
Generate a SQL query to answer the following question:
`What is Points Against, when Try Bonus is "Try bonus"?`

### 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 Points Against, when Try Bonus is "Try bonus"?`:
```sql
                SELECT "points_against" FROM "league_table" WHERE "try_bonus"='try bonus';
```
## Task
Generate a SQL query to answer the following question:
`What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"?`

### 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 Try Bonus, when Losing Bonus is "1", and when Points For is "179"?`:
```sql
                SELECT "try_bonus" FROM "league_table" WHERE "losing_bonus"='1' AND "points_for"='179';
```
## Task
Generate a SQL query to answer the following question:
`What is Points For, when Club is "Tycroes RFC"?`

### 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 Points For, when Club is "Tycroes RFC"?`:
```sql
                SELECT "points_for" FROM "league_table" WHERE "club"='tycroes rfc';
```
## Task
Generate a SQL query to answer the following question:
`When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig?`

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

CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
  "colliery" text,
  "location" text,
  "date" text,
  "year" real,
  "death_toll" real,
  "cause" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig?`:
```sql
                SELECT "date" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "death_toll"<63 AND "location"='penygraig';
```
## Task
Generate a SQL query to answer the following question:
`Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?`

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

CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
  "colliery" text,
  "location" text,
  "date" text,
  "year" real,
  "death_toll" real,
  "cause" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?`:
```sql
                SELECT "location" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "death_toll">38 AND "date"='10 june';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Location of dinas on 13 january?`

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

CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
  "colliery" text,
  "location" text,
  "date" text,
  "year" real,
  "death_toll" real,
  "cause" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Location of dinas on 13 january?`:
```sql
                SELECT "year" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "location"='dinas' AND "date"='13 january';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a cause of firedamp and a Death toll larger than 11?`

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

CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
  "colliery" text,
  "location" text,
  "date" text,
  "year" real,
  "death_toll" real,
  "cause" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a cause of firedamp and a Death toll larger than 11?`:
```sql
                SELECT SUM("year") FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='firedamp' AND "death_toll">11;
```
## Task
Generate a SQL query to answer the following question:
`Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?`

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

CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
  "colliery" text,
  "location" text,
  "date" text,
  "year" real,
  "death_toll" real,
  "cause" text
);
### SQL
Given the database schema, here is the SQL query that answers `Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?`:
```sql
                SELECT MIN("year") FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "colliery"='tylorstown colliery' AND "death_toll">57;
```
## Task
Generate a SQL query to answer the following question:
`Which Colliery has a Death toll of 7?`

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

CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" (
  "colliery" text,
  "location" text,
  "date" text,
  "year" real,
  "death_toll" real,
  "cause" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Colliery has a Death toll of 7?`:
```sql
                SELECT "colliery" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "death_toll"=7;
```
## Task
Generate a SQL query to answer the following question:
`What is the Score 1 of Tie no 6?`

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

CREATE TABLE "south" (
  "tie_no" text,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score 1 of Tie no 6?`:
```sql
                SELECT "score_1" FROM "south" WHERE "tie_no"='6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Attendance of Tie no 3?`

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

CREATE TABLE "south" (
  "tie_no" text,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Attendance of Tie no 3?`:
```sql
                SELECT "attendance" FROM "south" WHERE "tie_no"='3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Attendance at the Hereford United Away game?`

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

CREATE TABLE "south" (
  "tie_no" text,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Attendance at the Hereford United Away game?`:
```sql
                SELECT "attendance" FROM "south" WHERE "away_team"='hereford united';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team of Tie no 11?`

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

CREATE TABLE "south" (
  "tie_no" text,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home team of Tie no 11?`:
```sql
                SELECT "home_team" FROM "south" WHERE "tie_no"='11';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tie no of Hereford United's Away game?`

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

CREATE TABLE "south" (
  "tie_no" text,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tie no of Hereford United's Away game?`:
```sql
                SELECT "tie_no" FROM "south" WHERE "away_team"='hereford united';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score 1 of the game with Attendance of 2,571?`

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

CREATE TABLE "south" (
  "tie_no" text,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score 1 of the game with Attendance of 2,571?`:
```sql
                SELECT "score_1" FROM "south" WHERE "attendance"='2,571';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved?`:
```sql
                SELECT SUM("clubs_remaining") FROM "teams" WHERE "new_entries_this_round"='34' AND "clubs_involved">34;
```
## Task
Generate a SQL query to answer the following question:
`What are the clubs involved with 16 clubs remaining?`

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

CREATE TABLE "teams" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the clubs involved with 16 clubs remaining?`:
```sql
                SELECT "clubs_involved" FROM "teams" WHERE "clubs_remaining"=16;
```
## Task
Generate a SQL query to answer the following question:
`What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87?`

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

CREATE TABLE "men_s_taijiquan_taijijian_combined" (
  "rank" real,
  "athlete" text,
  "taijijian" real,
  "taijiquan" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87?`:
```sql
                SELECT COUNT("rank") FROM "men_s_taijiquan_taijijian_combined" WHERE "total">19.42 AND "taijiquan"<9.87;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total?`

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

CREATE TABLE "men_s_taijiquan_taijijian_combined" (
  "rank" real,
  "athlete" text,
  "taijijian" real,
  "taijiquan" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total?`:
```sql
                SELECT MIN("rank") FROM "men_s_taijiquan_taijijian_combined" WHERE "taijiquan">9.42 AND "total"=19.02;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?`

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

CREATE TABLE "men_s_taijiquan_taijijian_combined" (
  "rank" real,
  "athlete" text,
  "taijijian" real,
  "taijiquan" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?`:
```sql
                SELECT MAX("taijijian") FROM "men_s_taijiquan_taijijian_combined" WHERE "taijiquan"=9.87 AND "total"<19.77;
```
## Task
Generate a SQL query to answer the following question:
`Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1?`

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

CREATE TABLE "2008" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1?`:
```sql
                SELECT "week_3" FROM "2008" WHERE "week_1"='demi jessica';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2?`

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

CREATE TABLE "2008" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2?`:
```sql
                SELECT "week_4" FROM "2008" WHERE "week_2"='lexi lombardelli';
```
## Task
Generate a SQL query to answer the following question:
`When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1?`

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

CREATE TABLE "2008" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1?`:
```sql
                SELECT "week_1" FROM "2008" WHERE "week_3"='alinna d penta';
```
## Task
Generate a SQL query to answer the following question:
`Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?`

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

CREATE TABLE "2008" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?`:
```sql
                SELECT "week_5" FROM "2008" WHERE "week_3"='felicia taylor';
```
## Task
Generate a SQL query to answer the following question:
`Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2?`

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

CREATE TABLE "2008" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2?`:
```sql
                SELECT "week_3" FROM "2008" WHERE "week_2"='ashley lowe';
```
## Task
Generate a SQL query to answer the following question:
`When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2?`

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

CREATE TABLE "2008" (
  "week_1" text,
  "week_2" text,
  "week_3" text,
  "week_4" text,
  "week_5" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2?`:
```sql
                SELECT "week_2" FROM "2008" WHERE "week_4"='diane deluna';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Year later than 2011?`

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

CREATE TABLE "fed_cup_results_10_8" (
  "year" real,
  "edition" text,
  "round" text,
  "date" text,
  "location" text,
  "surface" text,
  "against" text,
  "opponent_s" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Year later than 2011?`:
```sql
                SELECT "round" FROM "fed_cup_results_10_8" WHERE "year">2011;
```
## Task
Generate a SQL query to answer the following question:
`When was the Result of 3–2, with a Score of 6–0, 6–4?`

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

CREATE TABLE "fed_cup_results_10_8" (
  "year" real,
  "edition" text,
  "round" text,
  "date" text,
  "location" text,
  "surface" text,
  "against" text,
  "opponent_s" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Result of 3–2, with a Score of 6–0, 6–4?`:
```sql
                SELECT "date" FROM "fed_cup_results_10_8" WHERE "result"='3–2' AND "score"='6–0, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek?`

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

CREATE TABLE "fed_cup_results_10_8" (
  "year" real,
  "edition" text,
  "round" text,
  "date" text,
  "location" text,
  "surface" text,
  "against" text,
  "opponent_s" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek?`:
```sql
                SELECT "surface" FROM "fed_cup_results_10_8" WHERE "opponent_s"='anna-lena grönefeld tatjana malek';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Date of 5–6 february?`

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

CREATE TABLE "fed_cup_results_10_8" (
  "year" real,
  "edition" text,
  "round" text,
  "date" text,
  "location" text,
  "surface" text,
  "against" text,
  "opponent_s" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Date of 5–6 february?`:
```sql
                SELECT AVG("year") FROM "fed_cup_results_10_8" WHERE "date"='5–6 february';
```
## Task
Generate a SQL query to answer the following question:
`What home team has 27 as the tie no.?`

### 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 `What home team has 27 as the tie no.?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "tie_no"='27';
```
## Task
Generate a SQL query to answer the following question:
`What date has 1 as the tie no.?`

### 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 `What date has 1 as the tie no.?`:
```sql
                SELECT "date" FROM "third_round_proper" WHERE "tie_no"='1';
```
## Task
Generate a SQL query to answer the following question:
`What score has west ham united as the away team?`

### 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 `What score has west ham united as the away team?`:
```sql
                SELECT "score" FROM "third_round_proper" WHERE "away_team"='west ham united';
```
## Task
Generate a SQL query to answer the following question:
`What home team has Southampton as the away team?`

### 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 `What home team has Southampton as the away team?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='southampton';
```
## Task
Generate a SQL query to answer the following question:
`What current club has a Height of 1.96?`

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

CREATE TABLE "fiba_world_olympic_qualifying_tournament" (
  "player" text,
  "height" real,
  "position" text,
  "year_born_age" text,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What current club has a Height of 1.96?`:
```sql
                SELECT "current_club" FROM "fiba_world_olympic_qualifying_tournament" WHERE "height"=1.96;
```
## Task
Generate a SQL query to answer the following question:
`What is the Age of f/c Posiiton?`

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

CREATE TABLE "fiba_world_olympic_qualifying_tournament" (
  "player" text,
  "height" real,
  "position" text,
  "year_born_age" text,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Age of f/c Posiiton?`:
```sql
                SELECT "year_born_age" FROM "fiba_world_olympic_qualifying_tournament" WHERE "position"='f/c';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with a score of 70-68-70=208?`

### 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 `Who is the player with a score of 70-68-70=208?`:
```sql
                SELECT "player" FROM "third_round" WHERE "score"='70-68-70=208';
```
## Task
Generate a SQL query to answer the following question:
`What place is the player with score of 70-68-70=208 from?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place is the player with score of 70-68-70=208 from?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='70-68-70=208';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for Malay with a foundation in Iptura?`

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

CREATE TABLE "ministry_of_higher_education" (
  "name_in_english" text,
  "name_in_malay" text,
  "acronym" text,
  "foundation" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for Malay with a foundation in Iptura?`:
```sql
                SELECT "name_in_malay" FROM "ministry_of_higher_education" WHERE "foundation"='iptura';
```