cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`On what date was the opponent the White Sox and the record 18-13?`

### 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" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the opponent the White Sox and the record 18-13?`:
```sql
                SELECT "date" FROM "game_log" WHERE "opponent"='white sox' AND "record"='18-13';
```
## Task
Generate a SQL query to answer the following question:
`What was the average attendance when the record was 19-13?`

### 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" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average attendance when the record was 19-13?`:
```sql
                SELECT AVG("attendance") FROM "game_log" WHERE "record"='19-13';
```
## Task
Generate a SQL query to answer the following question:
`What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211?`

### 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" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "opponent"='rangers' AND "attendance">'43,211';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?`

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

CREATE TABLE "single_performance_statistics" (
  "tournament" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?`:
```sql
                SELECT "2012" FROM "single_performance_statistics" WHERE "2007"='2r' AND "2009"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R?`

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

CREATE TABLE "single_performance_statistics" (
  "tournament" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R?`:
```sql
                SELECT "2009" FROM "single_performance_statistics" WHERE "2012"='1r' AND "2007"='2r';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2008 result associated with a 2009 of A and a 2011 of 2R?`

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

CREATE TABLE "single_performance_statistics" (
  "tournament" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2008 result associated with a 2009 of A and a 2011 of 2R?`:
```sql
                SELECT "2008" FROM "single_performance_statistics" WHERE "2009"='a' AND "2011"='2r';
```
## Task
Generate a SQL query to answer the following question:
`In which tournament did Pauline Parmentier finish LQ in 2007?`

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

CREATE TABLE "single_performance_statistics" (
  "tournament" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which tournament did Pauline Parmentier finish LQ in 2007?`:
```sql
                SELECT "tournament" FROM "single_performance_statistics" WHERE "2007"='lq';
```
## Task
Generate a SQL query to answer the following question:
`Name the player name with matches of 51`

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

CREATE TABLE "foreign_players" (
  "country" text,
  "player_name" text,
  "period" text,
  "position" text,
  "matches" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the player name with matches of 51`:
```sql
                SELECT "player_name" FROM "foreign_players" WHERE "matches"='51';
```
## Task
Generate a SQL query to answer the following question:
`Name the position for brazil 2008 with goals of 0 1`

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

CREATE TABLE "foreign_players" (
  "country" text,
  "player_name" text,
  "period" text,
  "position" text,
  "matches" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for brazil 2008 with goals of 0 1`:
```sql
                SELECT "position" FROM "foreign_players" WHERE "country"='brazil' AND "period"='2008' AND "goals"='0 1';
```
## Task
Generate a SQL query to answer the following question:
`Name the goals with matches of 21`

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

CREATE TABLE "foreign_players" (
  "country" text,
  "player_name" text,
  "period" text,
  "position" text,
  "matches" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the goals with matches of 21`:
```sql
                SELECT "goals" FROM "foreign_players" WHERE "matches"='21';
```
## Task
Generate a SQL query to answer the following question:
`Name the period with matches of 0 0 of portugal`

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

CREATE TABLE "foreign_players" (
  "country" text,
  "player_name" text,
  "period" text,
  "position" text,
  "matches" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period with matches of 0 0 of portugal`:
```sql
                SELECT "period" FROM "foreign_players" WHERE "matches"='0 0' AND "country"='portugal';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponents for round of round 5`

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

CREATE TABLE "fa_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponents for round of round 5`:
```sql
                SELECT "opponents" FROM "fa_cup" WHERE "round"='round 5';
```
## Task
Generate a SQL query to answer the following question:
`Name the attendance for 4 january 2004`

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

CREATE TABLE "fa_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the attendance for 4 january 2004`:
```sql
                SELECT "attendance" FROM "fa_cup" WHERE "date"='4 january 2004';
```
## Task
Generate a SQL query to answer the following question:
`Name the most attendance for 25 january 2004`

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

CREATE TABLE "fa_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most attendance for 25 january 2004`:
```sql
                SELECT MAX("attendance") FROM "fa_cup" WHERE "date"='25 january 2004';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Attendance for the final round?`

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

CREATE TABLE "knockout_phase" (
  "date" text,
  "round" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Attendance for the final round?`:
```sql
                SELECT AVG("attendance") FROM "knockout_phase" WHERE "round"='final';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma?`

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

CREATE TABLE "knockout_phase" (
  "date" text,
  "round" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma?`:
```sql
                SELECT MIN("attendance") FROM "knockout_phase" WHERE "h_a"='h' AND "opponents"='roma';
```
## Task
Generate a SQL query to answer the following question:
`Which game does the quentyn martell have?`

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

CREATE TABLE "number_of_chapters_per_point_of_view_cha" (
  "pov_character" text,
  "game" text,
  "clash" text,
  "storm" text,
  "feast" text,
  "dance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game does the quentyn martell have?`:
```sql
                SELECT "game" FROM "number_of_chapters_per_point_of_view_cha" WHERE "pov_character"='quentyn martell';
```
## Task
Generate a SQL query to answer the following question:
`Which storm has a clash of 3 and a dance of 4?`

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

CREATE TABLE "number_of_chapters_per_point_of_view_cha" (
  "pov_character" text,
  "game" text,
  "clash" text,
  "storm" text,
  "feast" text,
  "dance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which storm has a clash of 3 and a dance of 4?`:
```sql
                SELECT "storm" FROM "number_of_chapters_per_point_of_view_cha" WHERE "dance"='4' AND "clash"='3';
```
## Task
Generate a SQL query to answer the following question:
`Name the melbourne with perth, adelaide and auckland of no with sydney of yes`

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

CREATE TABLE "2007" (
  "sydney" text,
  "melbourne" text,
  "perth" text,
  "adelaide" text,
  "gold_coast" text,
  "auckland" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the melbourne with perth, adelaide and auckland of no with sydney of yes`:
```sql
                SELECT "melbourne" FROM "2007" WHERE "perth"='no' AND "adelaide"='no' AND "auckland"='no' AND "sydney"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Name the gold coast which has an auckland of no and melbourne of yes`

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

CREATE TABLE "2007" (
  "sydney" text,
  "melbourne" text,
  "perth" text,
  "adelaide" text,
  "gold_coast" text,
  "auckland" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the gold coast which has an auckland of no and melbourne of yes`:
```sql
                SELECT "gold_coast" FROM "2007" WHERE "auckland"='no' AND "melbourne"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes`

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

CREATE TABLE "2007" (
  "sydney" text,
  "melbourne" text,
  "perth" text,
  "adelaide" text,
  "gold_coast" text,
  "auckland" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes`:
```sql
                SELECT "sydney" FROM "2007" WHERE "perth"='no' AND "adelaide"='no' AND "melbourne"='yes' AND "gold_coast"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Name the Adelaide for Sydney of yes and Perth of yes`

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

CREATE TABLE "2007" (
  "sydney" text,
  "melbourne" text,
  "perth" text,
  "adelaide" text,
  "gold_coast" text,
  "auckland" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Adelaide for Sydney of yes and Perth of yes`:
```sql
                SELECT "adelaide" FROM "2007" WHERE "sydney"='yes' AND "perth"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Name the melbourne for adelaide of no with auckland of yes and gold coast of yes`

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

CREATE TABLE "2007" (
  "sydney" text,
  "melbourne" text,
  "perth" text,
  "adelaide" text,
  "gold_coast" text,
  "auckland" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the melbourne for adelaide of no with auckland of yes and gold coast of yes`:
```sql
                SELECT "melbourne" FROM "2007" WHERE "adelaide"='no' AND "auckland"='yes' AND "gold_coast"='no';
```
## Task
Generate a SQL query to answer the following question:
`What is the total population of Rosenthal that's less than 24,300 for the population and has a population for Glengallan less than 3,410?`

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

CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_stanthorpe" real,
  "population_warwick" real,
  "population_allora" real,
  "population_glengallan" real,
  "population_rosenthal" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total population of Rosenthal that's less than 24,300 for the population and has a population for Glengallan less than 3,410?`:
```sql
                SELECT SUM("population_rosenthal") FROM "population" WHERE "population_region_total"<'24,300' AND "population_glengallan"<'3,410';
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest Rosenthal poulation for a region that has 30,554 people and a Glegallan population less than 4,088?`

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

CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_stanthorpe" real,
  "population_warwick" real,
  "population_allora" real,
  "population_glengallan" real,
  "population_rosenthal" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest Rosenthal poulation for a region that has 30,554 people and a Glegallan population less than 4,088?`:
```sql
                SELECT MAX("population_rosenthal") FROM "population" WHERE "population_region_total"='30,554' AND "population_glengallan"<'4,088';
```
## Task
Generate a SQL query to answer the following question:
`How many people are there for Glengallan having a Rosenthal population less than 1,582 for years before 1976 with a total population of 25,917?`

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

CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_stanthorpe" real,
  "population_warwick" real,
  "population_allora" real,
  "population_glengallan" real,
  "population_rosenthal" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people are there for Glengallan having a Rosenthal population less than 1,582 for years before 1976 with a total population of 25,917?`:
```sql
                SELECT COUNT("population_glengallan") FROM "population" WHERE "population_rosenthal"<'1,582' AND "year"<1976 AND "population_region_total"='25,917';
```
## Task
Generate a SQL query to answer the following question:
`How many people live in an area that has a population in Rosenthal smaller than 2,460 while having a population of 4,639 for Glegallan as well as having an Allora population greater than 2,106?`

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

CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_stanthorpe" real,
  "population_warwick" real,
  "population_allora" real,
  "population_glengallan" real,
  "population_rosenthal" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people live in an area that has a population in Rosenthal smaller than 2,460 while having a population of 4,639 for Glegallan as well as having an Allora population greater than 2,106?`:
```sql
                SELECT COUNT("population_region_total") FROM "population" WHERE "population_rosenthal"<'2,460' AND "population_glengallan"='4,639' AND "population_allora">'2,106';
```
## Task
Generate a SQL query to answer the following question:
`When were the years on which warwick had a population greater than 10,956 and allora had a population bigger than 2,439?`

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

CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_stanthorpe" real,
  "population_warwick" real,
  "population_allora" real,
  "population_glengallan" real,
  "population_rosenthal" real
);
### SQL
Given the database schema, here is the SQL query that answers `When were the years on which warwick had a population greater than 10,956 and allora had a population bigger than 2,439?`:
```sql
                SELECT SUM("year") FROM "population" WHERE "population_warwick"='10,956' AND "population_allora">'2,439';
```
## Task
Generate a SQL query to answer the following question:
`How many people in Stanthorpe had a population matching Rosenthan of 1,553 and a population greater than 25,917?`

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

CREATE TABLE "population" (
  "year" real,
  "population_region_total" real,
  "population_stanthorpe" real,
  "population_warwick" real,
  "population_allora" real,
  "population_glengallan" real,
  "population_rosenthal" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people in Stanthorpe had a population matching Rosenthan of 1,553 and a population greater than 25,917?`:
```sql
                SELECT COUNT("population_stanthorpe") FROM "population" WHERE "population_rosenthal"='1,553' AND "population_region_total">'25,917';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Prime Minister of Antoine Wehenkel?`

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

CREATE TABLE "list_of_ministers_for_energy" (
  "minister" text,
  "party" text,
  "start_date" text,
  "end_date" text,
  "prime_minister" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Prime Minister of Antoine Wehenkel?`:
```sql
                SELECT "prime_minister" FROM "list_of_ministers_for_energy" WHERE "minister"='antoine wehenkel';
```
## Task
Generate a SQL query to answer the following question:
`What is the least amount of wins earlier than 1964 with more than 7 points?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of wins earlier than 1964 with more than 7 points?`:
```sql
                SELECT MIN("wins") FROM "motorcycle_grand_prix_results" WHERE "year"<1964 AND "points">7;
```
## Task
Generate a SQL query to answer the following question:
`What is the least points for class 125cc with 1 win earlier than 1961?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least points for class 125cc with 1 win earlier than 1961?`:
```sql
                SELECT MIN("points") FROM "motorcycle_grand_prix_results" WHERE "class"='125cc' AND "wins"=1 AND "year"<1961;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of wins when there are 7 points?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of wins when there are 7 points?`:
```sql
                SELECT "wins" FROM "motorcycle_grand_prix_results" WHERE "points"=7;
```
## Task
Generate a SQL query to answer the following question:
`What is the least amount of points when there is 1 win?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of points when there is 1 win?`:
```sql
                SELECT MIN("points") FROM "motorcycle_grand_prix_results" WHERE "wins"=1;
```
## Task
Generate a SQL query to answer the following question:
`What club has more than 35 goals, more than 7 draws, and 20 losses?`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What club has more than 35 goals, more than 7 draws, and 20 losses?`:
```sql
                SELECT "club" FROM "final_table" WHERE "goals_for">35 AND "draws">7 AND "losses"=20;
```
## Task
Generate a SQL query to answer the following question:
`How many goals have more than 38 played and more than 9 draws?`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals have more than 38 played and more than 9 draws?`:
```sql
                SELECT SUM("goals_for") FROM "final_table" WHERE "draws">9 AND "played">38;
```
## Task
Generate a SQL query to answer the following question:
`How many losses has more than 59 goals against and more than 17 position?`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses has more than 59 goals against and more than 17 position?`:
```sql
                SELECT MIN("losses") FROM "final_table" WHERE "goals_against">59 AND "position">17;
```
## Task
Generate a SQL query to answer the following question:
`On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?`

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

CREATE TABLE "women" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?`:
```sql
                SELECT "date" FROM "women" WHERE "meet"='2007 pan american games' AND "time"='1:07.78';
```
## Task
Generate a SQL query to answer the following question:
`What Nationality's time is 2:07.64?`

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

CREATE TABLE "women" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nationality's time is 2:07.64?`:
```sql
                SELECT "nationality" FROM "women" WHERE "time"='2:07.64';
```
## Task
Generate a SQL query to answer the following question:
`What Event's Time is 4:01.00?`

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

CREATE TABLE "women" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Event's Time is 4:01.00?`:
```sql
                SELECT "event" FROM "women" WHERE "time"='4:01.00';
```
## Task
Generate a SQL query to answer the following question:
`In what Location in the United States the Time 2:25.62?`

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

CREATE TABLE "women" (
  "event" text,
  "time" text,
  "nationality" text,
  "date" text,
  "meet" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Location in the United States the Time 2:25.62?`:
```sql
                SELECT "location" FROM "women" WHERE "nationality"='united states' AND "time"='2:25.62';
```
## Task
Generate a SQL query to answer the following question:
`Year larger than 1975, and a Record of 13–11 is what playoffs?`

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

CREATE TABLE "outdoor" (
  "year" real,
  "record" text,
  "regular_season_finish" text,
  "playoffs" text,
  "avg_attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Year larger than 1975, and a Record of 13–11 is what playoffs?`:
```sql
                SELECT "playoffs" FROM "outdoor" WHERE "year">1975 AND "record"='13–11';
```
## Task
Generate a SQL query to answer the following question:
`Which 9:30 has a 10:30 of le journal weekend?`

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

CREATE TABLE "sunday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 9:30 has a 10:30 of le journal weekend?`:
```sql
                SELECT "9_30" FROM "sunday" WHERE "10_30"='le journal weekend';
```
## Task
Generate a SQL query to answer the following question:
`Which 9:00 has an 8:00 behind the movies?`

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

CREATE TABLE "sunday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 9:00 has an 8:00 behind the movies?`:
```sql
                SELECT "9_00" FROM "sunday" WHERE "8_00"='behind the movies';
```
## Task
Generate a SQL query to answer the following question:
`What 10:00 has a 7:30 of da kink in my hair?`

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

CREATE TABLE "sunday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 10:00 has a 7:30 of da kink in my hair?`:
```sql
                SELECT "10_00" FROM "sunday" WHERE "7_30"='da kink in my hair';
```
## Task
Generate a SQL query to answer the following question:
`What 7:00 has a 9:30 of tout le monde en parle?`

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

CREATE TABLE "sunday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 7:00 has a 9:30 of tout le monde en parle?`:
```sql
                SELECT "7_00" FROM "sunday" WHERE "9_30"='tout le monde en parle';
```
## Task
Generate a SQL query to answer the following question:
`What 7:00 has a 10:00 of dirty sexy money?`

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

CREATE TABLE "sunday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 7:00 has a 10:00 of dirty sexy money?`:
```sql
                SELECT "7_00" FROM "sunday" WHERE "10_00"='dirty sexy money';
```
## Task
Generate a SQL query to answer the following question:
`What 10:00 has a 8:00 of movies?`

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

CREATE TABLE "sunday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 10:00 has a 8:00 of movies?`:
```sql
                SELECT "10_00" FROM "sunday" WHERE "8_00"='movies';
```
## Task
Generate a SQL query to answer the following question:
`What are the venues prior to 2005 in the World Class category that resulted in a bronze?`

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

CREATE TABLE "major_titles" (
  "competition" text,
  "venue" text,
  "year" real,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the venues prior to 2005 in the World Class category that resulted in a bronze?`:
```sql
                SELECT "venue" FROM "major_titles" WHERE "year"<2005 AND "category"='world class' AND "result"='bronze';
```
## Task
Generate a SQL query to answer the following question:
`What are the competitions that occurred before 2006 in SVK Nitra?`

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

CREATE TABLE "major_titles" (
  "competition" text,
  "venue" text,
  "year" real,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the competitions that occurred before 2006 in SVK Nitra?`:
```sql
                SELECT "competition" FROM "major_titles" WHERE "year"<2006 AND "venue"='svk nitra';
```
## Task
Generate a SQL query to answer the following question:
`What are the categories of events that occurred after 2007 that were World Championships?`

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

CREATE TABLE "major_titles" (
  "competition" text,
  "venue" text,
  "year" real,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the categories of events that occurred after 2007 that were World Championships?`:
```sql
                SELECT "category" FROM "major_titles" WHERE "year">2007 AND "competition"='world championships';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of events held at Nor Elverum, prior to 2010?`

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

CREATE TABLE "major_titles" (
  "competition" text,
  "venue" text,
  "year" real,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of events held at Nor Elverum, prior to 2010?`:
```sql
                SELECT "result" FROM "major_titles" WHERE "year"<2010 AND "venue"='nor elverum';
```
## Task
Generate a SQL query to answer the following question:
`What was the competition held in 2003?`

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

CREATE TABLE "major_titles" (
  "competition" text,
  "venue" text,
  "year" real,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the competition held in 2003?`:
```sql
                SELECT "competition" FROM "major_titles" WHERE "year"=2003;
```
## Task
Generate a SQL query to answer the following question:
`What chassis type does a scuderia ferrari with more than 1 point have?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What chassis type does a scuderia ferrari with more than 1 point have?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "entrant"='scuderia ferrari' AND "points">1;
```
## Task
Generate a SQL query to answer the following question:
`A ferrari flat-12 engine with more than 1 point has what kind of chassis?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `A ferrari flat-12 engine with more than 1 point has what kind of chassis?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "engine"='ferrari flat-12' AND "points">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the average year for a merzario a2 chassis?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average year for a merzario a2 chassis?`:
```sql
                SELECT AVG("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='merzario a2';
```
## Task
Generate a SQL query to answer the following question:
`What was the team's record when they played visitor team Chicago Black Hawks on November 24?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team's record when they played visitor team Chicago Black Hawks on November 24?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "visitor"='chicago black hawks' AND "date"='november 24';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the visitor team who played home team Chicago Black Hawks on March 20?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the visitor team who played home team Chicago Black Hawks on March 20?`:
```sql
                SELECT "visitor" FROM "regular_season" WHERE "home"='chicago black hawks' AND "date"='march 20';
```
## Task
Generate a SQL query to answer the following question:
`What was the team's record on November 12?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team's record on November 12?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "date"='november 12';
```
## Task
Generate a SQL query to answer the following question:
`What champion has 1981 as the year?`

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

CREATE TABLE "past_winners_and_runners_up" (
  "year" text,
  "date_final" text,
  "venue" text,
  "prize_money" text,
  "champion" text,
  "runner_up" text,
  "score_in_final" text,
  "commercial_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What champion has 1981 as the year?`:
```sql
                SELECT "champion" FROM "past_winners_and_runners_up" WHERE "year"='1981';
```
## Task
Generate a SQL query to answer the following question:
`What date final has 1982 as the year?`

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

CREATE TABLE "past_winners_and_runners_up" (
  "year" text,
  "date_final" text,
  "venue" text,
  "prize_money" text,
  "champion" text,
  "runner_up" text,
  "score_in_final" text,
  "commercial_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date final has 1982 as the year?`:
```sql
                SELECT "date_final" FROM "past_winners_and_runners_up" WHERE "year"='1982';
```
## Task
Generate a SQL query to answer the following question:
`What prize money has michelob light challenge of champions as the commercial name?`

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

CREATE TABLE "past_winners_and_runners_up" (
  "year" text,
  "date_final" text,
  "venue" text,
  "prize_money" text,
  "champion" text,
  "runner_up" text,
  "score_in_final" text,
  "commercial_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What prize money has michelob light challenge of champions as the commercial name?`:
```sql
                SELECT "prize_money" FROM "past_winners_and_runners_up" WHERE "commercial_name"='michelob light challenge of champions';
```
## Task
Generate a SQL query to answer the following question:
`What date final has 1989 as the year?`

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

CREATE TABLE "past_winners_and_runners_up" (
  "year" text,
  "date_final" text,
  "venue" text,
  "prize_money" text,
  "champion" text,
  "runner_up" text,
  "score_in_final" text,
  "commercial_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date final has 1989 as the year?`:
```sql
                SELECT "date_final" FROM "past_winners_and_runners_up" WHERE "year"='1989';
```
## Task
Generate a SQL query to answer the following question:
`What score in final has boris becker as the champion?`

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

CREATE TABLE "past_winners_and_runners_up" (
  "year" text,
  "date_final" text,
  "venue" text,
  "prize_money" text,
  "champion" text,
  "runner_up" text,
  "score_in_final" text,
  "commercial_name" text
);
### SQL
Given the database schema, here is the SQL query that answers `What score in final has boris becker as the champion?`:
```sql
                SELECT "score_in_final" FROM "past_winners_and_runners_up" WHERE "champion"='boris becker';
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957`:
```sql
                SELECT MAX("points") FROM "complete_world_championship_formula_one_" WHERE "engine"='alta straight-4' AND "entrant"='connaught engineering' AND "year"<1957;
```
## Task
Generate a SQL query to answer the following question:
`What 1957 engine has a Chassis of connaught type b?`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What 1957 engine has a Chassis of connaught type b?`:
```sql
                SELECT "engine" FROM "complete_world_championship_formula_one_" WHERE "chassis"='connaught type b' AND "year">1957;
```
## Task
Generate a SQL query to answer the following question:
`Name the least year for david eddy`

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

CREATE TABLE "winners" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least year for david eddy`:
```sql
                SELECT MIN("year") FROM "winners" WHERE "men_s_singles"='david eddy';
```
## Task
Generate a SQL query to answer the following question:
`Name the mixed doubles for year before 1991 and men's doubles of david jepson buck ryan`

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

CREATE TABLE "winners" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mixed doubles for year before 1991 and men's doubles of david jepson buck ryan`:
```sql
                SELECT "mixed_doubles" FROM "winners" WHERE "year"<1991 AND "men_s_doubles"='david jepson buck ryan';
```
## Task
Generate a SQL query to answer the following question:
`Name the women's doubles for year less than 1972`

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

CREATE TABLE "winners" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the women's doubles for year less than 1972`:
```sql
                SELECT "women_s_doubles" FROM "winners" WHERE "year"<1972;
```
## Task
Generate a SQL query to answer the following question:
`When was the winning score −9 (72-68-64-67=271)?`

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

CREATE TABLE "champions_tour_wins_9" (
  "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 `When was the winning score −9 (72-68-64-67=271)?`:
```sql
                SELECT "date" FROM "champions_tour_wins_9" WHERE "winning_score"='−9 (72-68-64-67=271)';
```
## Task
Generate a SQL query to answer the following question:
`What was the margin of victory for the Mississippi Gulf Resort Classic?`

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

CREATE TABLE "champions_tour_wins_9" (
  "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 was the margin of victory for the Mississippi Gulf Resort Classic?`:
```sql
                SELECT "margin_of_victory" FROM "champions_tour_wins_9" WHERE "tournament"='mississippi gulf resort classic';
```
## Task
Generate a SQL query to answer the following question:
`What was the margin of victory when Mark Calcavecchia was the runner-up?`

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

CREATE TABLE "champions_tour_wins_9" (
  "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 was the margin of victory when Mark Calcavecchia was the runner-up?`:
```sql
                SELECT "margin_of_victory" FROM "champions_tour_wins_9" WHERE "runner_s_up"='mark calcavecchia';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the Ace Group Classic tournament with a 1 stroke margin of victory?`

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

CREATE TABLE "champions_tour_wins_9" (
  "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 was the date of the Ace Group Classic tournament with a 1 stroke margin of victory?`:
```sql
                SELECT "date" FROM "champions_tour_wins_9" WHERE "margin_of_victory"='1 stroke' AND "tournament"='the ace group classic';
```
## Task
Generate a SQL query to answer the following question:
`What was the margin of victory when the winning score was −9 (72-68-64-67=271)?`

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

CREATE TABLE "champions_tour_wins_9" (
  "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 was the margin of victory when the winning score was −9 (72-68-64-67=271)?`:
```sql
                SELECT "margin_of_victory" FROM "champions_tour_wins_9" WHERE "winning_score"='−9 (72-68-64-67=271)';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round for te position?`

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

CREATE TABLE "1981_raiders_draft_selections" (
  "round" real,
  "overall" 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 te position?`:
```sql
                SELECT AVG("round") FROM "1981_raiders_draft_selections" WHERE "position"='te';
```
## Task
Generate a SQL query to answer the following question:
`Name the average overall for james davis`

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

CREATE TABLE "1981_raiders_draft_selections" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average overall for james davis`:
```sql
                SELECT AVG("overall") FROM "1981_raiders_draft_selections" WHERE "player"='james davis';
```