cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What's the current streak with a last 10 meetings of lsu, 2-1?`

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

CREATE TABLE "record_vs_sec_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponent_s_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "since_joining_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the current streak with a last 10 meetings of lsu, 2-1?`:
```sql
                SELECT "current_streak" FROM "record_vs_sec_opponents" WHERE "last_10_meetings"='lsu, 2-1';
```
## Task
Generate a SQL query to answer the following question:
`What's the last 5 meetings with an opponent's venue result of vu, 2-0?`

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

CREATE TABLE "record_vs_sec_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponent_s_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "since_joining_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the last 5 meetings with an opponent's venue result of vu, 2-0?`:
```sql
                SELECT "last_5_meetings" FROM "record_vs_sec_opponents" WHERE "at_opponent_s_venue"='vu, 2-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the probable future word for the simple present/future word high grade?`

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

CREATE TABLE "finite_forms_of_garnu_to_do" (
  "simple_present_future" text,
  "probable_future" text,
  "simple_past" text,
  "past_habitual" text,
  "injunctive" text,
  "imperative" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the probable future word for the simple present/future word high grade?`:
```sql
                SELECT "probable_future" FROM "finite_forms_of_garnu_to_do" WHERE "simple_present_future"='high grade';
```
## Task
Generate a SQL query to answer the following question:
`What is the injunctive for the Simple Past of गरुँला garũlā 'I will (probably) do'?`

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

CREATE TABLE "finite_forms_of_garnu_to_do" (
  "simple_present_future" text,
  "probable_future" text,
  "simple_past" text,
  "past_habitual" text,
  "injunctive" text,
  "imperative" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the injunctive for the Simple Past of गरुँला garũlā 'I will (probably) do'?`:
```sql
                SELECT "injunctive" FROM "finite_forms_of_garnu_to_do" WHERE "simple_past"='गरुँला garũlā ''i will (probably) do''';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of taking office for Giorgia Meloni?`

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

CREATE TABLE "ministers_without_portfolio" (
  "portfolio" text,
  "minister" text,
  "took_office" text,
  "left_office" text,
  "party" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of taking office for Giorgia Meloni?`:
```sql
                SELECT "took_office" FROM "ministers_without_portfolio" WHERE "minister"='giorgia meloni';
```
## Task
Generate a SQL query to answer the following question:
`Which party was Andrea Ronchi from?`

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

CREATE TABLE "ministers_without_portfolio" (
  "portfolio" text,
  "minister" text,
  "took_office" text,
  "left_office" text,
  "party" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which party was Andrea Ronchi from?`:
```sql
                SELECT "party" FROM "ministers_without_portfolio" WHERE "minister"='andrea ronchi';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Division, when Team is "Benfica", and when Apps is 22?`

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

CREATE TABLE "club_statistics" (
  "season" text,
  "team" text,
  "country" text,
  "division" real,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Division, when Team is "Benfica", and when Apps is 22?`:
```sql
                SELECT MIN("division") FROM "club_statistics" WHERE "team"='benfica' AND "apps"=22;
```
## Task
Generate a SQL query to answer the following question:
`What Championship had a winning score of 69-71-67-68=275?`

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

CREATE TABLE "wins_5" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_up" text,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Championship had a winning score of 69-71-67-68=275?`:
```sql
                SELECT "championship" FROM "wins_5" WHERE "winning_score"='69-71-67-68=275';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest winner's share for the LPGA championship?`

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

CREATE TABLE "wins_5" (
  "year" real,
  "championship" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_up" text,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest winner's share for the LPGA championship?`:
```sql
                SELECT MIN("winner_s_share") FROM "wins_5" WHERE "championship"='lpga championship';
```
## Task
Generate a SQL query to answer the following question:
`What is Jockey, when Time is 1:15.89?`

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

CREATE TABLE "winners_since_2000" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Jockey, when Time is 1:15.89?`:
```sql
                SELECT "jockey" FROM "winners_since_2000" WHERE "time"='1:15.89';
```
## Task
Generate a SQL query to answer the following question:
`What is Time, when Jockey is John Velazquez, and when Trainer is Todd A. Pletcher?`

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

CREATE TABLE "winners_since_2000" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Time, when Jockey is John Velazquez, and when Trainer is Todd A. Pletcher?`:
```sql
                SELECT "time" FROM "winners_since_2000" WHERE "jockey"='john velazquez' AND "trainer"='todd a. pletcher';
```
## Task
Generate a SQL query to answer the following question:
`What is Winner, when Year is 2001?`

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

CREATE TABLE "winners_since_2000" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Winner, when Year is 2001?`:
```sql
                SELECT "winner" FROM "winners_since_2000" WHERE "year"=2001;
```
## Task
Generate a SQL query to answer the following question:
`What is Jockey, when Winner is Alke?`

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

CREATE TABLE "winners_since_2000" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Jockey, when Winner is Alke?`:
```sql
                SELECT "jockey" FROM "winners_since_2000" WHERE "winner"='alke';
```
## Task
Generate a SQL query to answer the following question:
`What is the average laps for the +50.653 time?`

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

CREATE TABLE "superbike_race_2_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average laps for the +50.653 time?`:
```sql
                SELECT AVG("laps") FROM "superbike_race_2_classification" WHERE "time"='+50.653';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?`

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

CREATE TABLE "table" (
  "place" real,
  "matches" real,
  "drawn" real,
  "lost" real,
  "difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?`:
```sql
                SELECT MAX("matches") FROM "table" WHERE "points"<8 AND "place">13 AND "drawn"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the average points when the drawn is less than 0?`

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

CREATE TABLE "table" (
  "place" real,
  "matches" real,
  "drawn" real,
  "lost" real,
  "difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average points when the drawn is less than 0?`:
```sql
                SELECT AVG("points") FROM "table" WHERE "drawn"<0;
```
## Task
Generate a SQL query to answer the following question:
`What was Turkey's lowest gold when there were less than 2 bronze?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Turkey's lowest gold when there were less than 2 bronze?`:
```sql
                SELECT MIN("gold") FROM "medal_table" WHERE "nation"='turkey' AND "bronze"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the average area in square miles for the division that is 9,630,960 square kilometers with a national share larger than 100%?`

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

CREATE TABLE "notes" (
  "rank" text,
  "administrative_division" text,
  "area_km" real,
  "area_sq_mi" real,
  "national_share_pct" real,
  "comparable_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average area in square miles for the division that is 9,630,960 square kilometers with a national share larger than 100%?`:
```sql
                SELECT AVG("area_sq_mi") FROM "notes" WHERE "area_km"='9,630,960' AND "national_share_pct">100;
```
## Task
Generate a SQL query to answer the following question:
`What is the average area in square miles for the hunan administrative division with a national share less than 2.19%?`

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

CREATE TABLE "notes" (
  "rank" text,
  "administrative_division" text,
  "area_km" real,
  "area_sq_mi" real,
  "national_share_pct" real,
  "comparable_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average area in square miles for the hunan administrative division with a national share less than 2.19%?`:
```sql
                SELECT AVG("area_sq_mi") FROM "notes" WHERE "administrative_division"='hunan' AND "national_share_pct"<2.19;
```
## Task
Generate a SQL query to answer the following question:
`What is the average square kilometer area of the division that has a 2,448 square mile area and a national share larger than 0.065%?`

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

CREATE TABLE "notes" (
  "rank" text,
  "administrative_division" text,
  "area_km" real,
  "area_sq_mi" real,
  "national_share_pct" real,
  "comparable_country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average square kilometer area of the division that has a 2,448 square mile area and a national share larger than 0.065%?`:
```sql
                SELECT AVG("area_km") FROM "notes" WHERE "area_sq_mi"='2,448' AND "national_share_pct">0.065;
```
## Task
Generate a SQL query to answer the following question:
`What is Central Michigan's average overall when the pick was 8?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Central Michigan's average overall when the pick was 8?`:
```sql
                SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "college"='central michigan' AND "pick"=8;
```
## Task
Generate a SQL query to answer the following question:
`what is the record when the opponent is jeff williams?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the record when the opponent is jeff williams?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='jeff williams';
```
## Task
Generate a SQL query to answer the following question:
`what is the method for round 1 and the opponent is bobby mcmaster?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the method for round 1 and the opponent is bobby mcmaster?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "opponent"='bobby mcmaster';
```
## Task
Generate a SQL query to answer the following question:
`what is the location when the time is 3:15?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the location when the time is 3:15?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "time"='3:15';
```
## Task
Generate a SQL query to answer the following question:
`what is the record when the round is before 3 and the time si 4:59?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the record when the round is before 3 and the time si 4:59?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"<3 AND "time"='4:59';
```
## Task
Generate a SQL query to answer the following question:
`what is the record when the event is shido usa mma and the opponent is raphael assunção?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the record when the event is shido usa mma and the opponent is raphael assunção?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "event"='shido usa mma' AND "opponent"='raphael assunção';
```
## Task
Generate a SQL query to answer the following question:
`How much money did Ben Crenshaw earn?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money did Ben Crenshaw earn?`:
```sql
                SELECT "money" FROM "final_leaderboard" WHERE "player"='ben crenshaw';
```
## Task
Generate a SQL query to answer the following question:
`what is the competition when the score is 2-1?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the competition when the score is 2-1?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "score"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`what is the venue when the score is 10-0 on 1997-06-22?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the venue when the score is 10-0 on 1997-06-22?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "score"='10-0' AND "date"='1997-06-22';
```
## Task
Generate a SQL query to answer the following question:
`what is the venue when the competition is 1996 afc asian cup group stage?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the venue when the competition is 1996 afc asian cup group stage?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "competition"='1996 afc asian cup group stage';
```
## Task
Generate a SQL query to answer the following question:
`what is the competition when the date is 1995-08-06?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the competition when the date is 1995-08-06?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "date"='1995-08-06';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of weeks that the Giants played against the Dallas Cowboys?`

### 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,
  "channel" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of weeks that the Giants played against the Dallas Cowboys?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "opponent"='dallas cowboys';
```
## Task
Generate a SQL query to answer the following question:
`Which Home has an Away of hispano?`

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

CREATE TABLE "round_15" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home has an Away of hispano?`:
```sql
                SELECT "home" FROM "round_15" WHERE "away"='hispano';
```
## Task
Generate a SQL query to answer the following question:
`What engine has the Mercedes AMG Petronas f1 team, and 93 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What engine has the Mercedes AMG Petronas f1 team, and 93 points?`:
```sql
                SELECT "engine" FROM "complete_formula_one_results" WHERE "entrant"='mercedes amg petronas f1 team' AND "points"='93';
```
## Task
Generate a SQL query to answer the following question:
`Which Chassis has 4 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Chassis has 4 points?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_results" WHERE "points"='4';
```
## Task
Generate a SQL query to answer the following question:
`What is Opponent, when Year is greater than 2009, and when Score is 7–5, 6–7 (6–8) , 6–1?`

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

CREATE TABLE "singles_21_17_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Opponent, when Year is greater than 2009, and when Score is 7–5, 6–7 (6–8) , 6–1?`:
```sql
                SELECT "opponent" FROM "singles_21_17_titles_4_runner_ups" WHERE "year">2009 AND "score"='7–5, 6–7 (6–8) , 6–1';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Year, when Surface is Hard, and when Opponent is Dinara Safina?`

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

CREATE TABLE "singles_21_17_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Year, when Surface is Hard, and when Opponent is Dinara Safina?`:
```sql
                SELECT MIN("year") FROM "singles_21_17_titles_4_runner_ups" WHERE "surface"='hard' AND "opponent"='dinara safina';
```
## Task
Generate a SQL query to answer the following question:
`What is Surface, when Championship is Australian Open?`

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

CREATE TABLE "singles_21_17_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Surface, when Championship is Australian Open?`:
```sql
                SELECT "surface" FROM "singles_21_17_titles_4_runner_ups" WHERE "championship"='australian open';
```
## Task
Generate a SQL query to answer the following question:
`What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6–2, 2–6, 7–5?`

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

CREATE TABLE "singles_21_17_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6–2, 2–6, 7–5?`:
```sql
                SELECT "outcome" FROM "singles_21_17_titles_4_runner_ups" WHERE "opponent"='victoria azarenka' AND "score"='6–2, 2–6, 7–5';
```
## Task
Generate a SQL query to answer the following question:
`WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012?`

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

CREATE TABLE "dvd_and_blu_ray_releases" (
  "release_title" text,
  "series" text,
  "no_of_dv_ds" text,
  "no_of_blu_ray_discs" text,
  "release_date" text,
  "episode_no" text,
  "region_no" real,
  "released_by" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012?`:
```sql
                SELECT "series" FROM "dvd_and_blu_ray_releases" WHERE "released_by"='itv studios' AND "release_date"='august 15, 2012';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE EPISODE NUMBER  THAT HAS 28 DVD?`

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

CREATE TABLE "dvd_and_blu_ray_releases" (
  "release_title" text,
  "series" text,
  "no_of_dv_ds" text,
  "no_of_blu_ray_discs" text,
  "release_date" text,
  "episode_no" text,
  "region_no" real,
  "released_by" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE EPISODE NUMBER  THAT HAS 28 DVD?`:
```sql
                SELECT "episode_no" FROM "dvd_and_blu_ray_releases" WHERE "no_of_dv_ds"='28';
```
## Task
Generate a SQL query to answer the following question:
`WHAT EPISODE HAS A REGION NUMBER BIGGER THAN 1, AND 32 DVDS?`

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

CREATE TABLE "dvd_and_blu_ray_releases" (
  "release_title" text,
  "series" text,
  "no_of_dv_ds" text,
  "no_of_blu_ray_discs" text,
  "release_date" text,
  "episode_no" text,
  "region_no" real,
  "released_by" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT EPISODE HAS A REGION NUMBER BIGGER THAN 1, AND 32 DVDS?`:
```sql
                SELECT "episode_no" FROM "dvd_and_blu_ray_releases" WHERE "region_no">1 AND "no_of_dv_ds"='32';
```
## Task
Generate a SQL query to answer the following question:
`Who was the player from Duke?`

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

CREATE TABLE "k" (
  "player" text,
  "nationality" text,
  "jersey_number_s" text,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the player from Duke?`:
```sql
                SELECT "position" FROM "k" WHERE "from"='duke';
```
## Task
Generate a SQL query to answer the following question:
`What is Duration, when Test Flight is Taxi Test #2?`

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

CREATE TABLE "list_of_alt_flights" (
  "test_flight" text,
  "date" text,
  "speed" text,
  "altitude" text,
  "crew" text,
  "duration" text,
  "comment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Duration, when Test Flight is Taxi Test #2?`:
```sql
                SELECT "duration" FROM "list_of_alt_flights" WHERE "test_flight"='taxi test #2';
```
## Task
Generate a SQL query to answer the following question:
`What it Duration, when Test Flight is Free Flight #3?`

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

CREATE TABLE "list_of_alt_flights" (
  "test_flight" text,
  "date" text,
  "speed" text,
  "altitude" text,
  "crew" text,
  "duration" text,
  "comment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What it Duration, when Test Flight is Free Flight #3?`:
```sql
                SELECT "duration" FROM "list_of_alt_flights" WHERE "test_flight"='free flight #3';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s?`

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

CREATE TABLE "list_of_alt_flights" (
  "test_flight" text,
  "date" text,
  "speed" text,
  "altitude" text,
  "crew" text,
  "duration" text,
  "comment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s?`:
```sql
                SELECT "date" FROM "list_of_alt_flights" WHERE "comment"='tailcone on, lakebed landing' AND "duration"='5min 34 s';
```
## Task
Generate a SQL query to answer the following question:
`What is Crew, when Date is July 26, 1977?`

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

CREATE TABLE "list_of_alt_flights" (
  "test_flight" text,
  "date" text,
  "speed" text,
  "altitude" text,
  "crew" text,
  "duration" text,
  "comment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Crew, when Date is July 26, 1977?`:
```sql
                SELECT "crew" FROM "list_of_alt_flights" WHERE "date"='july 26, 1977';
```
## Task
Generate a SQL query to answer the following question:
`What is Years, when Nationality is United States, and when Position is PG / SG?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Years, when Nationality is United States, and when Position is PG / SG?`:
```sql
                SELECT "years" FROM "r" WHERE "nationality"='united states' AND "position"='pg / sg';
```
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when Years is 1979?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Nationality, when Years is 1979?`:
```sql
                SELECT "nationality" FROM "r" WHERE "years"='1979';
```
## Task
Generate a SQL query to answer the following question:
`What is From, when Player is Jackie Robinson Category:Articles With Hcards?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is From, when Player is Jackie Robinson Category:Articles With Hcards?`:
```sql
                SELECT "from" FROM "r" WHERE "player"='jackie robinson category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`WHAT SCORE HAS A TIME OF 18:27?`

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

CREATE TABLE "scoring_summary" (
  "period" text,
  "team" text,
  "goal" text,
  "time" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT SCORE HAS A TIME OF 18:27?`:
```sql
                SELECT "score" FROM "scoring_summary" WHERE "time"='18:27';
```
## Task
Generate a SQL query to answer the following question:
`WHAT GOAL HAS A TIME OF 39:37?`

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

CREATE TABLE "scoring_summary" (
  "period" text,
  "team" text,
  "goal" text,
  "time" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT GOAL HAS A TIME OF 39:37?`:
```sql
                SELECT "goal" FROM "scoring_summary" WHERE "time"='39:37';
```
## Task
Generate a SQL query to answer the following question:
`What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "term_of_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"?`:
```sql
                SELECT "electorate" FROM "see_also" WHERE "party"='country' AND "state"='wa' AND "member"='john hallett';
```
## Task
Generate a SQL query to answer the following question:
`What is Term of Office, when Member is "Dominic Costa"?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "term_of_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Term of Office, when Member is "Dominic Costa"?`:
```sql
                SELECT "term_of_office" FROM "see_also" WHERE "member"='dominic costa';
```
## Task
Generate a SQL query to answer the following question:
`What is State, when Member is "Gil Duthie"?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "term_of_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is State, when Member is "Gil Duthie"?`:
```sql
                SELECT "state" FROM "see_also" WHERE "member"='gil duthie';
```
## Task
Generate a SQL query to answer the following question:
`What was the number of attendance at Stadion with a score of 2-0`

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

CREATE TABLE "stockholm_derbies" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of attendance at Stadion with a score of 2-0`:
```sql
                SELECT "attendance" FROM "stockholm_derbies" WHERE "venue"='stadion' AND "score"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`What season did the Rangers win?`

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

CREATE TABLE "tournaments" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season did the Rangers win?`:
```sql
                SELECT "season" FROM "tournaments" WHERE "winner"='rangers';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game with Falkirk as the runner-up?`

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

CREATE TABLE "tournaments" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the game with Falkirk as the runner-up?`:
```sql
                SELECT "score" FROM "tournaments" WHERE "runner_up"='falkirk';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue of the game where hibernian won and the rangers were the runner-up?`

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

CREATE TABLE "tournaments" (
  "season" text,
  "winner" text,
  "score" text,
  "runner_up" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue of the game where hibernian won and the rangers were the runner-up?`:
```sql
                SELECT "venue" FROM "tournaments" WHERE "runner_up"='rangers' AND "winner"='hibernian';
```
## Task
Generate a SQL query to answer the following question:
`what is the country for the 1972 winter olympics?`

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

CREATE TABLE "women_s_10_km" (
  "winner" text,
  "country" text,
  "winter_olympics" real,
  "fis_nordic_world_ski_championships" text,
  "holmenkollen" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country for the 1972 winter olympics?`:
```sql
                SELECT "country" FROM "women_s_10_km" WHERE "winter_olympics"=1972;
```
## Task
Generate a SQL query to answer the following question:
`what is the winter olympics year when the fis nordic world ski championships is 1976?`

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

CREATE TABLE "women_s_10_km" (
  "winner" text,
  "country" text,
  "winter_olympics" real,
  "fis_nordic_world_ski_championships" text,
  "holmenkollen" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the winter olympics year when the fis nordic world ski championships is 1976?`:
```sql
                SELECT "winter_olympics" FROM "women_s_10_km" WHERE "fis_nordic_world_ski_championships"='1976';
```
## Task
Generate a SQL query to answer the following question:
`what is the earliest winter olympics when the fis nordic world ski championships is 1976?`

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

CREATE TABLE "women_s_10_km" (
  "winner" text,
  "country" text,
  "winter_olympics" real,
  "fis_nordic_world_ski_championships" text,
  "holmenkollen" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the earliest winter olympics when the fis nordic world ski championships is 1976?`:
```sql
                SELECT MIN("winter_olympics") FROM "women_s_10_km" WHERE "fis_nordic_world_ski_championships"='1976';
```
## Task
Generate a SQL query to answer the following question:
`what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979?`

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

CREATE TABLE "women_s_10_km" (
  "winner" text,
  "country" text,
  "winter_olympics" real,
  "fis_nordic_world_ski_championships" text,
  "holmenkollen" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979?`:
```sql
                SELECT SUM("winter_olympics") FROM "women_s_10_km" WHERE "country"='soviet union' AND "holmenkollen"='1970, 1979';
```
## Task
Generate a SQL query to answer the following question:
`what is the date when the away team is newport county?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date when the away team is newport county?`:
```sql
                SELECT "date" FROM "second_round_proper" WHERE "away_team"='newport county';
```
## Task
Generate a SQL query to answer the following question:
`How many games have 5 goals and less than 8 assists?`

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

CREATE TABLE "play_offs" (
  "player" text,
  "club" text,
  "games" real,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have 5 goals and less than 8 assists?`:
```sql
                SELECT COUNT("games") FROM "play_offs" WHERE "goals"=5 AND "assists"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists?`

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

CREATE TABLE "play_offs" (
  "player" text,
  "club" text,
  "games" real,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists?`:
```sql
                SELECT MAX("goals") FROM "play_offs" WHERE "points"=13 AND "assists"=10 AND "club"='eisbären berlin';
```
## Task
Generate a SQL query to answer the following question:
`What is Ivan Ciernik's average points with less than 11 goals?`

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

CREATE TABLE "play_offs" (
  "player" text,
  "club" text,
  "games" real,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ivan Ciernik's average points with less than 11 goals?`:
```sql
                SELECT AVG("points") FROM "play_offs" WHERE "player"='ivan ciernik' AND "goals"<11;
```
## Task
Generate a SQL query to answer the following question:
`Which province is Parun in?`

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

CREATE TABLE "provinces_of_afghanistan" (
  "province" text,
  "map_num" real,
  "iso_3166_2_af" text,
  "centers" text,
  "population" real,
  "area_km" real,
  "language" text,
  "notes" text,
  "u_n_region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which province is Parun in?`:
```sql
                SELECT "province" FROM "provinces_of_afghanistan" WHERE "centers"='parun';
```
## Task
Generate a SQL query to answer the following question:
`In which category is Frank Scarabino a pilot?`

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

CREATE TABLE "aircraft" (
  "category" text,
  "speed_km_h" real,
  "speed_mph" real,
  "vehicle" text,
  "pilot" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which category is Frank Scarabino a pilot?`:
```sql
                SELECT "category" FROM "aircraft" WHERE "pilot"='frank scarabino';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of speed in km per hour reached by John Egginton?`

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

CREATE TABLE "aircraft" (
  "category" text,
  "speed_km_h" real,
  "speed_mph" real,
  "vehicle" text,
  "pilot" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of speed in km per hour reached by John Egginton?`:
```sql
                SELECT SUM("speed_km_h") FROM "aircraft" WHERE "pilot"='john egginton';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of team 1 that was after the 2005 season and with a 4-2 score?`

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

CREATE TABLE "results" (
  "season" real,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of team 1 that was after the 2005 season and with a 4-2 score?`:
```sql
                SELECT "team_1" FROM "results" WHERE "season">2005 AND "score"='4-2';
```
## Task
Generate a SQL query to answer the following question:
`In the 2004 season with a 0-2 score what was the name of the venue?`

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

CREATE TABLE "results" (
  "season" real,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the 2004 season with a 0-2 score what was the name of the venue?`:
```sql
                SELECT "venue" FROM "results" WHERE "score"='0-2' AND "season"=2004;
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest season that Pisico Bình ðinh is team 2?`

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

CREATE TABLE "results" (
  "season" real,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest season that Pisico Bình ðinh is team 2?`:
```sql
                SELECT MIN("season") FROM "results" WHERE "team_2"='pisico bình ðinh';
```
## Task
Generate a SQL query to answer the following question:
`Which years have a rank less than 2?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "reb_avg" real,
  "total_rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which years have a rank less than 2?`:
```sql
                SELECT "years" FROM "rebounds" WHERE "rank"<2;
```
## Task
Generate a SQL query to answer the following question:
`How many games have rebounds larger than 1048?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "reb_avg" real,
  "total_rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have rebounds larger than 1048?`:
```sql
                SELECT COUNT("games") FROM "rebounds" WHERE "total_rebounds">1048;
```
## Task
Generate a SQL query to answer the following question:
`How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "reb_avg" real,
  "total_rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?`:
```sql
                SELECT COUNT("total_rebounds") FROM "rebounds" WHERE "player"='andre gaddy' AND "rank"<6;
```
## Task
Generate a SQL query to answer the following question:
`How many rebounds have a Player of herb estes?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "reb_avg" real,
  "total_rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rebounds have a Player of herb estes?`:
```sql
                SELECT COUNT("total_rebounds") FROM "rebounds" WHERE "player"='herb estes';
```
## Task
Generate a SQL query to answer the following question:
`What is the total of rebound averages with more than 98 games and a rank of 7?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "reb_avg" real,
  "total_rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of rebound averages with more than 98 games and a rank of 7?`:
```sql
                SELECT SUM("reb_avg") FROM "rebounds" WHERE "games">98 AND "rank"=7;
```