cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`what is the surface when the opponent is selma babic?`

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

CREATE TABLE "singles_15" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the surface when the opponent is selma babic?`:
```sql
                SELECT "surface" FROM "singles_15" WHERE "opponent"='selma babic';
```
## Task
Generate a SQL query to answer the following question:
`what is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii?`

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

CREATE TABLE "singles_15" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii?`:
```sql
                SELECT "surface" FROM "singles_15" WHERE "round"='gii play-offs' AND "edition"='2009 fed cup europe/africa group ii';
```
## Task
Generate a SQL query to answer the following question:
`what is the date when the surface is clay and the result is 6–7 (4–7) , 1–6?`

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

CREATE TABLE "singles_15" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date when the surface is clay and the result is 6–7 (4–7) , 1–6?`:
```sql
                SELECT "date" FROM "singles_15" WHERE "surface"='clay' AND "result"='6–7 (4–7) , 1–6';
```
## Task
Generate a SQL query to answer the following question:
`who is the opponent when norway is against?`

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

CREATE TABLE "singles_15" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the opponent when norway is against?`:
```sql
                SELECT "opponent" FROM "singles_15" WHERE "against"='norway';
```
## Task
Generate a SQL query to answer the following question:
`What is Postion, when Weight is greater than 220, and when Player is "Travis Knight"?`

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

CREATE TABLE "roster" (
  "number" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" real,
  "years_exp" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Postion, when Weight is greater than 220, and when Player is "Travis Knight"?`:
```sql
                SELECT "position" FROM "roster" WHERE "weight">220 AND "player"='travis knight';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Number, when College is "University of Alabama"?`

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

CREATE TABLE "roster" (
  "number" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" real,
  "years_exp" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Number, when College is "University of Alabama"?`:
```sql
                SELECT MIN("number") FROM "roster" WHERE "college"='university of alabama';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32?`

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

CREATE TABLE "roster" (
  "number" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" real,
  "years_exp" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32?`:
```sql
                SELECT COUNT("weight") FROM "roster" WHERE "position"='forward/center' AND "player"='othella harrington' AND "number"<32;
```
## Task
Generate a SQL query to answer the following question:
`What is Years Exp, when Height is "7-2"?`

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

CREATE TABLE "roster" (
  "number" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" real,
  "years_exp" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Years Exp, when Height is "7-2"?`:
```sql
                SELECT "years_exp" FROM "roster" WHERE "height"='7-2';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"?`

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

CREATE TABLE "roster" (
  "number" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" real,
  "years_exp" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"?`:
```sql
                SELECT "position" FROM "roster" WHERE "weight">200 AND "number"<44 AND "years_exp"='9' AND "college"='university of new mexico';
```
## Task
Generate a SQL query to answer the following question:
`What was the release price of the Atom Z510PT processor?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "mult" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the release price of the Atom Z510PT processor?`:
```sql
                SELECT "release_price_usd" FROM "45_nm" WHERE "model_number"='atom z510pt';
```
## Task
Generate a SQL query to answer the following question:
`Which part number was used for the Atom Z500 processor?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "mult" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which part number was used for the Atom Z500 processor?`:
```sql
                SELECT "part_number_s" FROM "45_nm" WHERE "model_number"='atom z500';
```
## Task
Generate a SQL query to answer the following question:
`What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "mult" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A?`:
```sql
                SELECT "mult" FROM "45_nm" WHERE "release_price_usd"='n/a' AND "s_spec_number"='slgpr(c0)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the runner-up at the Chicago challenge?`

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

CREATE TABLE "lpga_tour_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the runner-up at the Chicago challenge?`:
```sql
                SELECT "runner_s_up" FROM "lpga_tour_11" WHERE "tournament"='chicago challenge';
```
## Task
Generate a SQL query to answer the following question:
`Who is the runner-up of Atlantic city classic?`

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

CREATE TABLE "lpga_tour_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the runner-up of Atlantic city classic?`:
```sql
                SELECT "runner_s_up" FROM "lpga_tour_11" WHERE "tournament"='atlantic city classic';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the U.S. Women's open?`

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

CREATE TABLE "lpga_tour_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the U.S. Women's open?`:
```sql
                SELECT "date" FROM "lpga_tour_11" WHERE "tournament"='u.s. women''s open';
```
## Task
Generate a SQL query to answer the following question:
`What is the margin of victory of the gna/glendale federal classic?`

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

CREATE TABLE "lpga_tour_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the margin of victory of the gna/glendale federal classic?`:
```sql
                SELECT "margin_of_victory" FROM "lpga_tour_11" WHERE "tournament"='gna/glendale federal classic';
```
## Task
Generate a SQL query to answer the following question:
`Which class has *buranaz as Part 4?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has *buranaz as Part 4?`:
```sql
                SELECT "class" FROM "classes_1_to_6" WHERE "part_4"='*buranaz';
```
## Task
Generate a SQL query to answer the following question:
`What is the verb meaning for *bar as Part 2?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the verb meaning for *bar as Part 2?`:
```sql
                SELECT "verb_meaning" FROM "classes_1_to_6" WHERE "part_2"='*bar';
```
## Task
Generate a SQL query to answer the following question:
`Which class has *alanaz as Part 4?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has *alanaz as Part 4?`:
```sql
                SELECT "class" FROM "classes_1_to_6" WHERE "part_4"='*alanaz';
```
## Task
Generate a SQL query to answer the following question:
`Which class has *fraus as Part 2?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has *fraus as Part 2?`:
```sql
                SELECT "class" FROM "classes_1_to_6" WHERE "part_2"='*fraus';
```
## Task
Generate a SQL query to answer the following question:
`what is the transfer fee for evilasio?`

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

CREATE TABLE "squad_changes" (
  "nat" text,
  "name" text,
  "moving_from" text,
  "type" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the transfer fee for evilasio?`:
```sql
                SELECT "transfer_fee" FROM "squad_changes" WHERE "name"='evilasio';
```
## Task
Generate a SQL query to answer the following question:
`What team did James Vanderberg belong to when the Completions had a status of redshirt?`

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

CREATE TABLE "passing_statistics" (
  "year" text,
  "team" text,
  "attempts" text,
  "completions" text,
  "completion_pct" text,
  "yards" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team did James Vanderberg belong to when the Completions had a status of redshirt?`:
```sql
                SELECT "team" FROM "passing_statistics" WHERE "completions"='redshirt';
```
## Task
Generate a SQL query to answer the following question:
`What were the number of completions for James Vanderberg on Iowa when his yards were 45?`

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

CREATE TABLE "passing_statistics" (
  "year" text,
  "team" text,
  "attempts" text,
  "completions" text,
  "completion_pct" text,
  "yards" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the number of completions for James Vanderberg on Iowa when his yards were 45?`:
```sql
                SELECT "completions" FROM "passing_statistics" WHERE "team"='iowa' AND "yards"='45';
```
## Task
Generate a SQL query to answer the following question:
`What was the team Vanderberg belonged to when there was 42 completions?`

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

CREATE TABLE "passing_statistics" (
  "year" text,
  "team" text,
  "attempts" text,
  "completions" text,
  "completion_pct" text,
  "yards" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team Vanderberg belonged to when there was 42 completions?`:
```sql
                SELECT "team" FROM "passing_statistics" WHERE "completions"='42';
```
## Task
Generate a SQL query to answer the following question:
`What number of attempts were recorded when the completions were 223?`

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

CREATE TABLE "passing_statistics" (
  "year" text,
  "team" text,
  "attempts" text,
  "completions" text,
  "completion_pct" text,
  "yards" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number of attempts were recorded when the completions were 223?`:
```sql
                SELECT "attempts" FROM "passing_statistics" WHERE "completions"='223';
```
## Task
Generate a SQL query to answer the following question:
`In what year was the number of attempts 888?`

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

CREATE TABLE "passing_statistics" (
  "year" text,
  "team" text,
  "attempts" text,
  "completions" text,
  "completion_pct" text,
  "yards" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was the number of attempts 888?`:
```sql
                SELECT "year" FROM "passing_statistics" WHERE "attempts"='888';
```
## Task
Generate a SQL query to answer the following question:
`What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249?`

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

CREATE TABLE "passing_statistics" (
  "year" text,
  "team" text,
  "attempts" text,
  "completions" text,
  "completion_pct" text,
  "yards" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249?`:
```sql
                SELECT "attempts" FROM "passing_statistics" WHERE "team"='iowa' AND "yards"='2,249';
```
## Task
Generate a SQL query to answer the following question:
`Which Leading Scorer has an Opponent of @ indiana?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Leading Scorer has an Opponent of @ indiana?`:
```sql
                SELECT "leading_scorer" FROM "season_schedule" WHERE "opponent"='@ indiana';
```
## Task
Generate a SQL query to answer the following question:
`Which Leading Scorer has a Record of 3-3?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Leading Scorer has a Record of 3-3?`:
```sql
                SELECT "leading_scorer" FROM "season_schedule" WHERE "record"='3-3';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has an Opponent of @ phoenix, and a Leading Scorer of sophia young (18)?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance has an Opponent of @ phoenix, and a Leading Scorer of sophia young (18)?`:
```sql
                SELECT MAX("attendance") FROM "season_schedule" WHERE "opponent"='@ phoenix' AND "leading_scorer"='sophia young (18)';
```
## Task
Generate a SQL query to answer the following question:
`What is the date when tie number is 6?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date when tie number is 6?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "tie_no"='6';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team with tie number 9?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team with tie number 9?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='9';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team when Sheffield United is the away team?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team when Sheffield United is the away team?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "away_team"='sheffield united';
```
## Task
Generate a SQL query to answer the following question:
`What is the date when Aston Villa is the away team?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date when Aston Villa is the away team?`:
```sql
                SELECT "date" FROM "fourth_round_proper" WHERE "away_team"='aston villa';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team on 31 January 1951 when away team was Sheffield United?`

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

CREATE TABLE "fourth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team on 31 January 1951 when away team was Sheffield United?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "date"='31 january 1951' AND "away_team"='sheffield united';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance during the match that took place after week 11 against the washington redskins?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance during the match that took place after week 11 against the washington redskins?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "week">11 AND "opponent"='washington redskins';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3?`:
```sql
                SELECT "to_par" FROM "first_round" WHERE "place"='t3' AND "player"='geoff ogilvy';
```
## Task
Generate a SQL query to answer the following question:
`What year has the ride flight deck and a rating of less than 5?`

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

CREATE TABLE "roller_coasters" (
  "ride" text,
  "year_opened" real,
  "ride_manufacturer_and_type" text,
  "minimum_height" text,
  "rating" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year has the ride flight deck and a rating of less than 5?`:
```sql
                SELECT COUNT("year_opened") FROM "roller_coasters" WHERE "ride"='flight deck' AND "rating"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rating after 1993 with a minumum height of 36"?`

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

CREATE TABLE "roller_coasters" (
  "ride" text,
  "year_opened" real,
  "ride_manufacturer_and_type" text,
  "minimum_height" text,
  "rating" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rating after 1993 with a minumum height of 36"?`:
```sql
                SELECT MAX("rating") FROM "roller_coasters" WHERE "year_opened">1993 AND "minimum_height"='36\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the ride manufacturer and type with a minimum height of 54", after the year 1991?`

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

CREATE TABLE "roller_coasters" (
  "ride" text,
  "year_opened" real,
  "ride_manufacturer_and_type" text,
  "minimum_height" text,
  "rating" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ride manufacturer and type with a minimum height of 54", after the year 1991?`:
```sql
                SELECT "ride_manufacturer_and_type" FROM "roller_coasters" WHERE "minimum_height"='54\"' AND "year_opened">1991;
```
## Task
Generate a SQL query to answer the following question:
`when was birth when death place is n.a., other names is n.a. and name is wahid-un-nisa begum sahiba?`

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

CREATE TABLE "children" (
  "name" text,
  "other_names" text,
  "birth" text,
  "death" text,
  "death_place" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `when was birth when death place is n.a., other names is n.a. and name is wahid-un-nisa begum sahiba?`:
```sql
                SELECT "birth" FROM "children" WHERE "death_place"='n.a.' AND "other_names"='n.a.' AND "name"='wahid-un-nisa begum sahiba';
```
## Task
Generate a SQL query to answer the following question:
`what is other names when death is may 23, 1821?`

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

CREATE TABLE "children" (
  "name" text,
  "other_names" text,
  "birth" text,
  "death" text,
  "death_place" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is other names when death is may 23, 1821?`:
```sql
                SELECT "other_names" FROM "children" WHERE "death"='may 23, 1821';
```
## Task
Generate a SQL query to answer the following question:
`when is death when death place is murshidabad and name is mir mehndi?`

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

CREATE TABLE "children" (
  "name" text,
  "other_names" text,
  "birth" text,
  "death" text,
  "death_place" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `when is death when death place is murshidabad and name is mir mehndi?`:
```sql
                SELECT "death" FROM "children" WHERE "death_place"='murshidabad' AND "name"='mir mehndi';
```
## Task
Generate a SQL query to answer the following question:
`what is the name when death is november 10, 1842?`

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

CREATE TABLE "children" (
  "name" text,
  "other_names" text,
  "birth" text,
  "death" text,
  "death_place" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name when death is november 10, 1842?`:
```sql
                SELECT "name" FROM "children" WHERE "death"='november 10, 1842';
```
## Task
Generate a SQL query to answer the following question:
`What is Internet Plan, when Price is "22 EUR"?`

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

CREATE TABLE "serbia" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Internet Plan, when Price is "22 EUR"?`:
```sql
                SELECT "internet_plan" FROM "serbia" WHERE "price"='22 eur';
```
## Task
Generate a SQL query to answer the following question:
`What is Downstream, when Upstream is "384 kbit"?`

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

CREATE TABLE "serbia" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Downstream, when Upstream is "384 kbit"?`:
```sql
                SELECT "downstream" FROM "serbia" WHERE "upstream"='384 kbit';
```
## Task
Generate a SQL query to answer the following question:
`What is Bandwidth Included, when Price is "50 EUR"?`

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

CREATE TABLE "serbia" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Bandwidth Included, when Price is "50 EUR"?`:
```sql
                SELECT "bandwidth_included" FROM "serbia" WHERE "price"='50 eur';
```
## Task
Generate a SQL query to answer the following question:
`What is Upstream, when Price is "14 EUR"?`

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

CREATE TABLE "serbia" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Upstream, when Price is "14 EUR"?`:
```sql
                SELECT "upstream" FROM "serbia" WHERE "price"='14 eur';
```
## Task
Generate a SQL query to answer the following question:
`What is Bandwidth Included, when Internet Plan is "8mb"?`

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

CREATE TABLE "serbia" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Bandwidth Included, when Internet Plan is "8mb"?`:
```sql
                SELECT "bandwidth_included" FROM "serbia" WHERE "internet_plan"='8mb';
```
## Task
Generate a SQL query to answer the following question:
`What is the Price, when Upstream is "256 kbit"?`

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

CREATE TABLE "serbia" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Price, when Upstream is "256 kbit"?`:
```sql
                SELECT "price" FROM "serbia" WHERE "upstream"='256 kbit';
```
## Task
Generate a SQL query to answer the following question:
`Which Semifinalists has a Finalist of andre agassi?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Semifinalists has a Finalist of andre agassi?`:
```sql
                SELECT "semifinalists" FROM "singles" WHERE "finalist"='andre agassi';
```
## Task
Generate a SQL query to answer the following question:
`WHich Tournament has a Finalist of gustavo kuerten (4)?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Tournament has a Finalist of gustavo kuerten (4)?`:
```sql
                SELECT "tournament" FROM "singles" WHERE "finalist"='gustavo kuerten (4)';
```
## Task
Generate a SQL query to answer the following question:
`Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)?`:
```sql
                SELECT "finalist" FROM "singles" WHERE "semifinalists"='andre agassi (1) lleyton hewitt (14)';
```
## Task
Generate a SQL query to answer the following question:
`Which Finalist has a Tournament of monte carlo?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Finalist has a Tournament of monte carlo?`:
```sql
                SELECT "finalist" FROM "singles" WHERE "tournament"='monte carlo';
```
## Task
Generate a SQL query to answer the following question:
`WHo is the Winner of andre agassi Finalist?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHo is the Winner of andre agassi Finalist?`:
```sql
                SELECT "winner" FROM "singles" WHERE "finalist"='andre agassi';
```
## Task
Generate a SQL query to answer the following question:
`WHich Tournament has a Finalist of marat safin (12)?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winner" text,
  "finalist" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Tournament has a Finalist of marat safin (12)?`:
```sql
                SELECT "tournament" FROM "singles" WHERE "finalist"='marat safin (12)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date for the Sepang International circuit, round 3?`

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

CREATE TABLE "race_calendar" (
  "round" text,
  "location" text,
  "circuit" text,
  "date" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date for the Sepang International circuit, round 3?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "circuit"='sepang international circuit' AND "round"='3';
```
## Task
Generate a SQL query to answer the following question:
`Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?`

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

CREATE TABLE "race_calendar" (
  "round" text,
  "location" text,
  "circuit" text,
  "date" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?`:
```sql
                SELECT "round" FROM "race_calendar" WHERE "winning_driver"='uwe alzen' AND "circuit"='sepang international circuit';
```
## Task
Generate a SQL query to answer the following question:
`What was the round number for March 22?`

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

CREATE TABLE "race_calendar" (
  "round" text,
  "location" text,
  "circuit" text,
  "date" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the round number for March 22?`:
```sql
                SELECT "round" FROM "race_calendar" WHERE "date"='march 22';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high points in the game @ Charlotte?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high points in the game @ Charlotte?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "team"='@ charlotte';
```
## Task
Generate a SQL query to answer the following question:
`What's the record of Game 70?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record of Game 70?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game"=70;
```
## Task
Generate a SQL query to answer the following question:
`Who had the high points when they played in Philips Arena 14,413?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high points when they played in Philips Arena 14,413?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "location_attendance"='philips arena 14,413';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game that took place at the Resch Center?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game that took place at the Resch Center?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "game_site"='resch center';
```
## Task
Generate a SQL query to answer the following question:
`Which network returns april 3, and a Show of shop 'til you drop?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which network returns april 3, and a Show of shop 'til you drop?`:
```sql
                SELECT "new_returning_same_network" FROM "programs_returning_during_2000" WHERE "returning"='april 3' AND "show"='shop ''til you drop';
```
## Task
Generate a SQL query to answer the following question:
`Which retitled network has a Show of supermarket sweep?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which retitled network has a Show of supermarket sweep?`:
```sql
                SELECT "retitled_as_same" FROM "programs_returning_during_2000" WHERE "show"='supermarket sweep';
```
## Task
Generate a SQL query to answer the following question:
`Which show returns april 3 with a Previous Network of lifetime?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which show returns april 3 with a Previous Network of lifetime?`:
```sql
                SELECT "retitled_as_same" FROM "programs_returning_during_2000" WHERE "returning"='april 3' AND "previous_network"='lifetime';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest grid number for Yamaha?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest grid number for Yamaha?`:
```sql
                SELECT MIN("grid") FROM "250cc_classification" WHERE "manufacturer"='yamaha';
```
## Task
Generate a SQL query to answer the following question:
`How many laps had a grid over 16 and a Time of +1:35.890?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps had a grid over 16 and a Time of +1:35.890?`:
```sql
                SELECT "laps" FROM "250cc_classification" WHERE "grid">16 AND "time"='+1:35.890';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest lab for Gilera with a grid less than 12?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest lab for Gilera with a grid less than 12?`:
```sql
                SELECT MIN("laps") FROM "250cc_classification" WHERE "manufacturer"='gilera' AND "grid"<12;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Grid with a time of +1:19.905, and less than 20 laps?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Grid with a time of +1:19.905, and less than 20 laps?`:
```sql
                SELECT MAX("grid") FROM "250cc_classification" WHERE "time"='+1:19.905' AND "laps"<20;
```
## Task
Generate a SQL query to answer the following question:
`What Rider has a Grid of 21?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Rider has a Grid of 21?`:
```sql
                SELECT "rider" FROM "250cc_classification" WHERE "grid"=21;
```
## Task
Generate a SQL query to answer the following question:
`Who is the away captain when the game resulted in [[|]] by 7 wickets?`

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

CREATE TABLE "zimbabwe_in_kenya" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away captain when the game resulted in [[|]] by 7 wickets?`:
```sql
                SELECT "away_captain" FROM "zimbabwe_in_kenya" WHERE "result"='[[|]] by 7 wickets';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home captain of the match that resulted [[|]] by 151 runs?`

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

CREATE TABLE "zimbabwe_in_kenya" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home captain of the match that resulted [[|]] by 151 runs?`:
```sql
                SELECT "home_captain" FROM "zimbabwe_in_kenya" WHERE "result"='[[|]] by 151 runs';
```
## Task
Generate a SQL query to answer the following question:
`How many totals have a To par of –1?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many totals have a To par of –1?`:
```sql
                SELECT SUM("total") FROM "made_the_cut" WHERE "to_par"='–1';
```
## Task
Generate a SQL query to answer the following question:
`Which Year(s) won has a Total smaller than 285, and a Player of tom watson?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year(s) won has a Total smaller than 285, and a Player of tom watson?`:
```sql
                SELECT "year_s_won" FROM "made_the_cut" WHERE "total"<285 AND "player"='tom watson';
```
## Task
Generate a SQL query to answer the following question:
`Which Finish has a Total of 288?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Finish has a Total of 288?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "total"=288;
```
## Task
Generate a SQL query to answer the following question:
`Who won in 1991?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won in 1991?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "year_s_won"='1991';
```
## Task
Generate a SQL query to answer the following question:
`Who was picked before 149 in round 9?`

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

CREATE TABLE "nhl_amateur_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was picked before 149 in round 9?`:
```sql
                SELECT "player" FROM "nhl_amateur_draft" WHERE "pick"<149 AND "round"=9;
```
## Task
Generate a SQL query to answer the following question:
`Who was pick 16 and before round 10?`

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

CREATE TABLE "nhl_amateur_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was pick 16 and before round 10?`:
```sql
                SELECT "player" FROM "nhl_amateur_draft" WHERE "round"<10 AND "pick"=16;
```