cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`When the Score was 6-2, which Opponent was played?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the Score was 6-2, which Opponent was played?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "score"='6-2';
```
## Task
Generate a SQL query to answer the following question:
`On what Date was the Attendance 16,212?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date was the Attendance 16,212?`:
```sql
                SELECT "date" FROM "game_log" WHERE "attendance"='16,212';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance on May 12, when the New York Yankees were the Opponent?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance on May 12, when the New York Yankees were the Opponent?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "opponent"='new york yankees' AND "date"='may 12';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has a Home team score of 22.13 (145)?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has a Home team score of 22.13 (145)?`:
```sql
                SELECT "venue" FROM "round_12" WHERE "home_team_score"='22.13 (145)';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Venue of junction oval?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Venue of junction oval?`:
```sql
                SELECT "date" FROM "round_12" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`Which total number of Crowd has a Home team of melbourne?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which total number of Crowd has a Home team of melbourne?`:
```sql
                SELECT COUNT("crowd") FROM "round_12" WHERE "home_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "purse" real,
  "winner" text,
  "score" text,
  "1st_prize" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?`:
```sql
                SELECT MIN("1st_prize") FROM "tournament_results" WHERE "location"='florida' AND "score"='200 (-16)';
```
## Task
Generate a SQL query to answer the following question:
`Which grid has a time/retired of +27.347?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which grid has a time/retired of +27.347?`:
```sql
                SELECT COUNT("grid") FROM "moto_gp_classification" WHERE "time_retired"='+27.347';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Singles Champions in Trieste, Italy?`

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

CREATE TABLE "events" (
  "tournament" text,
  "date" text,
  "city" text,
  "country" text,
  "surface" text,
  "singles_champions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Singles Champions in Trieste, Italy?`:
```sql
                SELECT "singles_champions" FROM "events" WHERE "country"='italy' AND "city"='trieste';
```
## Task
Generate a SQL query to answer the following question:
`On what Surface will the Venezuela F5 Futures in Caracas be played?`

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

CREATE TABLE "events" (
  "tournament" text,
  "date" text,
  "city" text,
  "country" text,
  "surface" text,
  "singles_champions" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Surface will the Venezuela F5 Futures in Caracas be played?`:
```sql
                SELECT "surface" FROM "events" WHERE "city"='caracas' AND "tournament"='venezuela f5 futures';
```
## Task
Generate a SQL query to answer the following question:
`What is the type of Surface for the New Zealand F1 Futures Tournament?`

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

CREATE TABLE "events" (
  "tournament" text,
  "date" text,
  "city" text,
  "country" text,
  "surface" text,
  "singles_champions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type of Surface for the New Zealand F1 Futures Tournament?`:
```sql
                SELECT "surface" FROM "events" WHERE "tournament"='new zealand f1 futures';
```
## Task
Generate a SQL query to answer the following question:
`In what Country will Dennis Blömke play the Germany F13 Futures Tournament?`

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

CREATE TABLE "events" (
  "tournament" text,
  "date" text,
  "city" text,
  "country" text,
  "surface" text,
  "singles_champions" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Country will Dennis Blömke play the Germany F13 Futures Tournament?`:
```sql
                SELECT "country" FROM "events" WHERE "singles_champions"='dennis blömke' AND "tournament"='germany f13 futures';
```
## Task
Generate a SQL query to answer the following question:
`On what Date will the Argentina F17 Futures Tournament be played in Argentina?`

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

CREATE TABLE "events" (
  "tournament" text,
  "date" text,
  "city" text,
  "country" text,
  "surface" text,
  "singles_champions" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date will the Argentina F17 Futures Tournament be played in Argentina?`:
```sql
                SELECT "date" FROM "events" WHERE "country"='argentina' AND "tournament"='argentina f17 futures';
```
## Task
Generate a SQL query to answer the following question:
`What are the average laps for jackie stewart?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the average laps for jackie stewart?`:
```sql
                SELECT AVG("laps") FROM "classification" WHERE "driver"='jackie stewart';
```
## Task
Generate a SQL query to answer the following question:
`When did the away team have a score of 11.14 (80)?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the away team have a score of 11.14 (80)?`:
```sql
                SELECT "date" FROM "round_2" WHERE "away_team_score"='11.14 (80)';
```
## Task
Generate a SQL query to answer the following question:
`Which was the home team that had an opponent have a score of 11.6 (72)?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which was the home team that had an opponent have a score of 11.6 (72)?`:
```sql
                SELECT "home_team_score" FROM "round_2" WHERE "away_team_score"='11.6 (72)';
```
## Task
Generate a SQL query to answer the following question:
`What is the result in fort lauderdale, florida?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "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 result in fort lauderdale, florida?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "venue"='fort lauderdale, florida';
```
## Task
Generate a SQL query to answer the following question:
`What venue had less than 2 goals?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue had less than 2 goals?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "goal"<2;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when Fitzroy played as the away team?`

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

CREATE TABLE "round_9" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance when Fitzroy played as the away team?`:
```sql
                SELECT AVG("crowd") FROM "round_9" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`Who was the trainer with Robert Courtney was owner?`

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

CREATE TABLE "winners_of_the_colonial_turf_cup" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "distance_miles" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the trainer with Robert Courtney was owner?`:
```sql
                SELECT "trainer" FROM "winners_of_the_colonial_turf_cup" WHERE "owner"='robert courtney';
```
## Task
Generate a SQL query to answer the following question:
`What year was Jeff Mullins?`

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

CREATE TABLE "winners_of_the_colonial_turf_cup" (
  "year" real,
  "winner" text,
  "jockey" text,
  "trainer" text,
  "owner" text,
  "distance_miles" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Jeff Mullins?`:
```sql
                SELECT MIN("year") FROM "winners_of_the_colonial_turf_cup" WHERE "trainer"='jeff mullins';
```
## Task
Generate a SQL query to answer the following question:
`In what grid did Richard Robarts make 36 laps?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what grid did Richard Robarts make 36 laps?`:
```sql
                SELECT SUM("grid") FROM "classification" WHERE "driver"='richard robarts' AND "laps"<36;
```
## Task
Generate a SQL query to answer the following question:
`How many laps were completed in grid 18?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps were completed in grid 18?`:
```sql
                SELECT SUM("laps") FROM "classification" WHERE "grid"=18;
```
## Task
Generate a SQL query to answer the following question:
`What was the venue where the result was 12th?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue where the result was 12th?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "result"='12th';
```
## Task
Generate a SQL query to answer the following question:
`What species has more than 2,030 genes?`

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

CREATE TABLE "group" (
  "species" text,
  "strain" text,
  "type" text,
  "base_pairs" real,
  "genes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What species has more than 2,030 genes?`:
```sql
                SELECT "species" FROM "group" WHERE "genes">'2,030';
```
## Task
Generate a SQL query to answer the following question:
`How many genes in the species Rubrobacter Xylanophilus?`

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

CREATE TABLE "group" (
  "species" text,
  "strain" text,
  "type" text,
  "base_pairs" real,
  "genes" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many genes in the species Rubrobacter Xylanophilus?`:
```sql
                SELECT "genes" FROM "group" WHERE "species"='rubrobacter xylanophilus';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of genes in Rubrobacter Xylanophilus?`

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

CREATE TABLE "group" (
  "species" text,
  "strain" text,
  "type" text,
  "base_pairs" real,
  "genes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of genes in Rubrobacter Xylanophilus?`:
```sql
                SELECT MIN("genes") FROM "group" WHERE "species"='rubrobacter xylanophilus';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of base pairs with 784 genes?`

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

CREATE TABLE "group" (
  "species" text,
  "strain" text,
  "type" text,
  "base_pairs" real,
  "genes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of base pairs with 784 genes?`:
```sql
                SELECT AVG("base_pairs") FROM "group" WHERE "genes"=784;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of genes with less than 927,303 base pairs in Acidobacteria Bacterium?`

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

CREATE TABLE "group" (
  "species" text,
  "strain" text,
  "type" text,
  "base_pairs" real,
  "genes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of genes with less than 927,303 base pairs in Acidobacteria Bacterium?`:
```sql
                SELECT MIN("genes") FROM "group" WHERE "base_pairs"<'927,303' AND "species"='acidobacteria bacterium';
```
## Task
Generate a SQL query to answer the following question:
`How many points are obtained when a standing broad jump is 207-215 cm?`

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

CREATE TABLE "ippt_standards" (
  "grade" text,
  "points" real,
  "sit_up_reps" text,
  "standing_broad_jump_cm" text,
  "chin_up_reps" text,
  "shuttle_run_sec" text,
  "2_4km_run_min_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points are obtained when a standing broad jump is 207-215 cm?`:
```sql
                SELECT COUNT("points") FROM "ippt_standards" WHERE "standing_broad_jump_cm"='207-215';
```
## Task
Generate a SQL query to answer the following question:
`How many points are there, when the grade is A?`

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

CREATE TABLE "ippt_standards" (
  "grade" text,
  "points" real,
  "sit_up_reps" text,
  "standing_broad_jump_cm" text,
  "chin_up_reps" text,
  "shuttle_run_sec" text,
  "2_4km_run_min_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points are there, when the grade is A?`:
```sql
                SELECT MAX("points") FROM "ippt_standards" WHERE "grade"='a';
```
## Task
Generate a SQL query to answer the following question:
`If a person does 3 chin-up reps, what grade do they obtain?`

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

CREATE TABLE "ippt_standards" (
  "grade" text,
  "points" real,
  "sit_up_reps" text,
  "standing_broad_jump_cm" text,
  "chin_up_reps" text,
  "shuttle_run_sec" text,
  "2_4km_run_min_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `If a person does 3 chin-up reps, what grade do they obtain?`:
```sql
                SELECT "grade" FROM "ippt_standards" WHERE "chin_up_reps"='3';
```
## Task
Generate a SQL query to answer the following question:
`How many seconds is a shuttle run that give 2 points?`

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

CREATE TABLE "ippt_standards" (
  "grade" text,
  "points" real,
  "sit_up_reps" text,
  "standing_broad_jump_cm" text,
  "chin_up_reps" text,
  "shuttle_run_sec" text,
  "2_4km_run_min_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seconds is a shuttle run that give 2 points?`:
```sql
                SELECT "shuttle_run_sec" FROM "ippt_standards" WHERE "points"=2;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza`

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

CREATE TABLE "away" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "position_in_the_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza`:
```sql
                SELECT "outgoing_manager" FROM "away" WHERE "manner_of_departure"='resigned' AND "team"='real zaragoza' AND "replaced_by"='manolo villanova';
```
## Task
Generate a SQL query to answer the following question:
`Name the replaced by for racing santander`

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

CREATE TABLE "away" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "position_in_the_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the replaced by for racing santander`:
```sql
                SELECT "replaced_by" FROM "away" WHERE "team"='racing santander';
```
## Task
Generate a SQL query to answer the following question:
`What Grid had 14 laps completed?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Grid had 14 laps completed?`:
```sql
                SELECT AVG("grid") FROM "moto_gp_classification" WHERE "laps"=14;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?`:
```sql
                SELECT MIN("grid") FROM "moto_gp_classification" WHERE "laps"=25 AND "manufacturer"='honda' AND "time_retired"='+54.103';
```
## Task
Generate a SQL query to answer the following question:
`How many laps were timed at +1:02.315?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps were timed at +1:02.315?`:
```sql
                SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+1:02.315';
```
## Task
Generate a SQL query to answer the following question:
`What is the points ranking of Chicago Fire?`

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

CREATE TABLE "all_time_playoffs_records" (
  "pts_rank" text,
  "club" text,
  "appearances_vs_seasons" text,
  "appearances_percetages" text,
  "ppg_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the points ranking of Chicago Fire?`:
```sql
                SELECT "pts_rank" FROM "all_time_playoffs_records" WHERE "club"='chicago fire';
```
## Task
Generate a SQL query to answer the following question:
`Who is the opponent with a time of 1:16?`

### 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,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the opponent with a time of 1:16?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:16';
```
## Task
Generate a SQL query to answer the following question:
`What round has a method of submission?`

### 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,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round has a method of submission?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "method"='submission';
```
## Task
Generate a SQL query to answer the following question:
`Which competition did he win on August 15, 2012?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which competition did he win on August 15, 2012?`:
```sql
                SELECT "competition" FROM "international_career" WHERE "result"='win' AND "date"='august 15, 2012';
```
## Task
Generate a SQL query to answer the following question:
`Where was the competition on August 15, 2012?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the competition on August 15, 2012?`:
```sql
                SELECT "venue" FROM "international_career" WHERE "date"='august 15, 2012';
```
## Task
Generate a SQL query to answer the following question:
`When was the competition that had a score of 3-0?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the competition that had a score of 3-0?`:
```sql
                SELECT "date" FROM "international_career" WHERE "score"='3-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the UEFA Euro 2008 Qualifying competition?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the UEFA Euro 2008 Qualifying competition?`:
```sql
                SELECT "result" FROM "international_career" WHERE "competition"='uefa euro 2008 qualifying';
```
## Task
Generate a SQL query to answer the following question:
`What nationality is Steven Anthony?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "player" text,
  "nationality" text,
  "position" text,
  "league_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality is Steven Anthony?`:
```sql
                SELECT "nationality" FROM "round_seven" WHERE "player"='steven anthony';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest pick number from Slovakia?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "player" text,
  "nationality" text,
  "position" text,
  "league_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest pick number from Slovakia?`:
```sql
                SELECT MAX("pick_num") FROM "round_seven" WHERE "nationality"='slovakia';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest pick number for the Russian Major League?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "player" text,
  "nationality" text,
  "position" text,
  "league_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest pick number for the Russian Major League?`:
```sql
                SELECT MIN("pick_num") FROM "round_seven" WHERE "league_from"='russian major league';
```
## Task
Generate a SQL query to answer the following question:
`What team is from the Russian Major League?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "player" text,
  "nationality" text,
  "position" text,
  "league_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team is from the Russian Major League?`:
```sql
                SELECT "position" FROM "round_seven" WHERE "league_from"='russian major league';
```
## Task
Generate a SQL query to answer the following question:
`Which league has a pick number larger than 204 from Canada and LW as the position?`

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

CREATE TABLE "round_seven" (
  "pick_num" real,
  "player" text,
  "nationality" text,
  "position" text,
  "league_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which league has a pick number larger than 204 from Canada and LW as the position?`:
```sql
                SELECT "league_from" FROM "round_seven" WHERE "pick_num">204 AND "nationality"='canada' AND "position"='lw';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player from Aurillac?`

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

CREATE TABLE "2007_rugby_world_cup_squads" (
  "player" text,
  "position" text,
  "date_of_birth_age" text,
  "caps" real,
  "club_province" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player from Aurillac?`:
```sql
                SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "club_province"='aurillac';
```
## Task
Generate a SQL query to answer the following question:
`Where did the away team score 13.14 (92)?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the away team score 13.14 (92)?`:
```sql
                SELECT "venue" FROM "round_11" WHERE "away_team_score"='13.14 (92)';
```
## Task
Generate a SQL query to answer the following question:
`what is the points when the rank is more than 1 and the places is 33?`

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

CREATE TABLE "pairs" (
  "rank" real,
  "name" text,
  "nation" text,
  "points" real,
  "places" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the points when the rank is more than 1 and the places is 33?`:
```sql
                SELECT "points" FROM "pairs" WHERE "rank">1 AND "places"=33;
```
## Task
Generate a SQL query to answer the following question:
`what is the highest rank for east germany with points of 128.98 and places less than 70?`

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

CREATE TABLE "pairs" (
  "rank" real,
  "name" text,
  "nation" text,
  "points" real,
  "places" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the highest rank for east germany with points of 128.98 and places less than 70?`:
```sql
                SELECT MAX("rank") FROM "pairs" WHERE "nation"='east germany' AND "points"=128.98 AND "places"<70;
```
## Task
Generate a SQL query to answer the following question:
`what is the points for rank 12?`

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

CREATE TABLE "pairs" (
  "rank" real,
  "name" text,
  "nation" text,
  "points" real,
  "places" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the points for rank 12?`:
```sql
                SELECT SUM("points") FROM "pairs" WHERE "rank"=12;
```
## Task
Generate a SQL query to answer the following question:
`Which team has an away score of 15.9 (99)?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has an away score of 15.9 (99)?`:
```sql
                SELECT "away_team" FROM "round_12" WHERE "away_team_score"='15.9 (99)';
```
## Task
Generate a SQL query to answer the following question:
`Which team has a home team score of 17.12 (114)?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has a home team score of 17.12 (114)?`:
```sql
                SELECT "away_team_score" FROM "round_12" WHERE "home_team_score"='17.12 (114)';
```
## Task
Generate a SQL query to answer the following question:
`Which home team score has an Away team score of 15.9 (99)?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which home team score has an Away team score of 15.9 (99)?`:
```sql
                SELECT "home_team_score" FROM "round_14" WHERE "away_team_score"='15.9 (99)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team with Away team score of 15.9 (99)?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home team with Away team score of 15.9 (99)?`:
```sql
                SELECT "home_team_score" FROM "round_14" WHERE "away_team_score"='15.9 (99)';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the home team that played an away team who scored 13.11 (89)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the home team that played an away team who scored 13.11 (89)?`:
```sql
                SELECT "home_team" FROM "round_3" WHERE "away_team_score"='13.11 (89)';
```
## Task
Generate a SQL query to answer the following question:
`How much did the away team Carlton score when the crowd was larger than 19,000?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much did the away team Carlton score when the crowd was larger than 19,000?`:
```sql
                SELECT "away_team_score" FROM "round_3" WHERE "crowd">'19,000' AND "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?`

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

CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
  "rd_num" real,
  "pick_num" real,
  "player" text,
  "team_league" text,
  "reg_gp" real,
  "pl_gp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?`:
```sql
                SELECT AVG("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"=97 AND "pick_num"<70;
```
## Task
Generate a SQL query to answer the following question:
`Name the gloss for [χdəm]`

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

CREATE TABLE "tamazight_schwa_epenthesis" (
  "environment" text,
  "realization" text,
  "example" text,
  "pronunciation" text,
  "gloss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the gloss for [χdəm]`:
```sql
                SELECT "gloss" FROM "tamazight_schwa_epenthesis" WHERE "pronunciation"='[χdəm]';
```
## Task
Generate a SQL query to answer the following question:
`Name the realization for 'to be, to do'`

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

CREATE TABLE "tamazight_schwa_epenthesis" (
  "environment" text,
  "realization" text,
  "example" text,
  "pronunciation" text,
  "gloss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the realization for 'to be, to do'`:
```sql
                SELECT "realization" FROM "tamazight_schwa_epenthesis" WHERE "gloss"='''to be, to do''';
```
## Task
Generate a SQL query to answer the following question:
`What is the Crowd number for the Away team whose score is 14.18 (102)?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Crowd number for the Away team whose score is 14.18 (102)?`:
```sql
                SELECT SUM("crowd") FROM "round_11" WHERE "away_team_score"='14.18 (102)';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?`

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

CREATE TABLE "pairs" (
  "rank" real,
  "name" text,
  "nation" text,
  "points" real,
  "places" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?`:
```sql
                SELECT MIN("places") FROM "pairs" WHERE "name"='sherri baier / robin cowan' AND "rank"<1;
```
## Task
Generate a SQL query to answer the following question:
`What platform is nds4droid on for the nintendo ds?`

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

CREATE TABLE "nintendo_ds" (
  "name" text,
  "current_version" text,
  "system" text,
  "platform" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What platform is nds4droid on for the nintendo ds?`:
```sql
                SELECT "platform" FROM "nintendo_ds" WHERE "system"='nintendo ds' AND "name"='nds4droid';
```
## Task
Generate a SQL query to answer the following question:
`Who has a license of proprietary (available on inquiry)?`

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

CREATE TABLE "nintendo_ds" (
  "name" text,
  "current_version" text,
  "system" text,
  "platform" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a license of proprietary (available on inquiry)?`:
```sql
                SELECT "name" FROM "nintendo_ds" WHERE "license"='proprietary (available on inquiry)';
```
## Task
Generate a SQL query to answer the following question:
`What platform is nds4droid on for the nintendo ds with a license of gpl v2?`

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

CREATE TABLE "nintendo_ds" (
  "name" text,
  "current_version" text,
  "system" text,
  "platform" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What platform is nds4droid on for the nintendo ds with a license of gpl v2?`:
```sql
                SELECT "platform" FROM "nintendo_ds" WHERE "system"='nintendo ds' AND "license"='gpl v2' AND "name"='nds4droid';
```
## Task
Generate a SQL query to answer the following question:
`What system has a current version of 1.4e?`

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

CREATE TABLE "nintendo_ds" (
  "name" text,
  "current_version" text,
  "system" text,
  "platform" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What system has a current version of 1.4e?`:
```sql
                SELECT "system" FROM "nintendo_ds" WHERE "current_version"='1.4e';
```
## Task
Generate a SQL query to answer the following question:
`Who has a licence of gpl v2 and a current version of 0.9.9?`

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

CREATE TABLE "nintendo_ds" (
  "name" text,
  "current_version" text,
  "system" text,
  "platform" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a licence of gpl v2 and a current version of 0.9.9?`:
```sql
                SELECT "name" FROM "nintendo_ds" WHERE "license"='gpl v2' AND "current_version"='0.9.9';
```
## Task
Generate a SQL query to answer the following question:
`What was the performance length of the 1999 season in bydgoszcz, poland?`

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

CREATE TABLE "performance_progression" (
  "discipline" text,
  "season" real,
  "performance" text,
  "place" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the performance length of the 1999 season in bydgoszcz, poland?`:
```sql
                SELECT "performance" FROM "performance_progression" WHERE "season"=1999 AND "place"='bydgoszcz, poland';
```
## Task
Generate a SQL query to answer the following question:
`What were the performance lengths in the 3000 m events in and after 2003?`

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

CREATE TABLE "performance_progression" (
  "discipline" text,
  "season" real,
  "performance" text,
  "place" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the performance lengths in the 3000 m events in and after 2003?`:
```sql
                SELECT "performance" FROM "performance_progression" WHERE "season">2003 AND "discipline"='3000 m';
```
## Task
Generate a SQL query to answer the following question:
`How many seasons took place in santiago de chile, chile?`

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

CREATE TABLE "performance_progression" (
  "discipline" text,
  "season" real,
  "performance" text,
  "place" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons took place in santiago de chile, chile?`:
```sql
                SELECT COUNT("season") FROM "performance_progression" WHERE "place"='santiago de chile, chile';
```
## Task
Generate a SQL query to answer the following question:
`During which Season did the may 11, 2002 event take place?`

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

CREATE TABLE "performance_progression" (
  "discipline" text,
  "season" real,
  "performance" text,
  "place" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which Season did the may 11, 2002 event take place?`:
```sql
                SELECT "season" FROM "performance_progression" WHERE "date"='may 11, 2002';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round for players from california?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round for players from california?`:
```sql
                SELECT AVG("round") FROM "nfl_draft" WHERE "college"='california';
```
## Task
Generate a SQL query to answer the following question:
`What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "nhl_team"='vancouver canucks' AND "college_junior_club_team_league"='swift current broncos (whl)' AND "round"=8;
```
## Task
Generate a SQL query to answer the following question:
`If the Away team score was 14.10 (94), which Date was that?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the Away team score was 14.10 (94), which Date was that?`:
```sql
                SELECT "date" FROM "round_11" WHERE "away_team_score"='14.10 (94)';
```
## Task
Generate a SQL query to answer the following question:
`When the Home team score was 20.16 (136), which Away team were they playing?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the Home team score was 20.16 (136), which Away team were they playing?`:
```sql
                SELECT "away_team" FROM "round_11" WHERE "home_team_score"='20.16 (136)';
```
## Task
Generate a SQL query to answer the following question:
`If the Home team score was 12.10 (82) on the Date of 8 june 1981, which Home team was playing?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the Home team score was 12.10 (82) on the Date of 8 june 1981, which Home team was playing?`:
```sql
                SELECT "home_team" FROM "round_11" WHERE "date"='8 june 1981' AND "home_team_score"='12.10 (82)';
```