cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the time when the set 1 is 21–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time when the set 1 is 21–25?`:
```sql
                SELECT "time" FROM "pool_b" WHERE "set_1"='21–25';
```
## Task
Generate a SQL query to answer the following question:
`What is the score when the set 3 is 26–28?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when the set 3 is 26–28?`:
```sql
                SELECT "score" FROM "pool_b" WHERE "set_3"='26–28';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score when the set 3 is 26–28?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score when the set 3 is 26–28?`:
```sql
                SELECT "score" FROM "pool_b" WHERE "set_3"='26–28';
```
## Task
Generate a SQL query to answer the following question:
`What is the set 3 when the total is 78–92?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the set 3 when the total is 78–92?`:
```sql
                SELECT "set_3" FROM "pool_b" WHERE "total"='78–92';
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the set 1 is 21–25?`

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

CREATE TABLE "pool_b" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when the set 1 is 21–25?`:
```sql
                SELECT "total" FROM "pool_b" WHERE "set_1"='21–25';
```
## Task
Generate a SQL query to answer the following question:
`How many total losses were with less than 51 draws but more than 6 wins?`

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

CREATE TABLE "s_s_lazio" (
  "matches" real,
  "wins" real,
  "draw" real,
  "losses" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total losses were with less than 51 draws but more than 6 wins?`:
```sql
                SELECT COUNT("losses") FROM "s_s_lazio" WHERE "draw"<51 AND "wins">6;
```
## Task
Generate a SQL query to answer the following question:
`How many matches has 51 draws and more than 6 against?`

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

CREATE TABLE "s_s_lazio" (
  "matches" real,
  "wins" real,
  "draw" real,
  "losses" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many matches has 51 draws and more than 6 against?`:
```sql
                SELECT SUM("matches") FROM "s_s_lazio" WHERE "against">6 AND "draw"=51;
```
## Task
Generate a SQL query to answer the following question:
`How many wins has more than 165 against?`

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

CREATE TABLE "s_s_lazio" (
  "matches" real,
  "wins" real,
  "draw" real,
  "losses" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins has more than 165 against?`:
```sql
                SELECT MAX("wins") FROM "s_s_lazio" WHERE "against">165;
```
## Task
Generate a SQL query to answer the following question:
`How many draws have less than 35 losses with 136 matches and less than 146 against?`

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

CREATE TABLE "s_s_lazio" (
  "matches" real,
  "wins" real,
  "draw" real,
  "losses" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many draws have less than 35 losses with 136 matches and less than 146 against?`:
```sql
                SELECT AVG("draw") FROM "s_s_lazio" WHERE "losses"<35 AND "matches"=136 AND "against"<146;
```
## Task
Generate a SQL query to answer the following question:
`How many Againsts have more than 15 wins?`

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

CREATE TABLE "2012_ladder" (
  "mininera_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Againsts have more than 15 wins?`:
```sql
                SELECT COUNT("against") FROM "2012_ladder" WHERE "wins">15;
```
## Task
Generate a SQL query to answer the following question:
`Which Byes have Losses larger than 0, and an Against larger than 3049?`

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

CREATE TABLE "2012_ladder" (
  "mininera_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Byes have Losses larger than 0, and an Against larger than 3049?`:
```sql
                SELECT AVG("byes") FROM "2012_ladder" WHERE "losses">0 AND "against">3049;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Points 1, when Position is "7", and when Drawn is greater than 6?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Points 1, when Position is "7", and when Drawn is greater than 6?`:
```sql
                SELECT COUNT("points_1") FROM "second_division_final_table" WHERE "position"=7 AND "drawn">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Goals For, when Team is "Cheadle Town", and when Drawn is greater than 7?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Goals For, when Team is "Cheadle Town", and when Drawn is greater than 7?`:
```sql
                SELECT MAX("goals_for") FROM "second_division_final_table" WHERE "team"='cheadle town' AND "drawn">7;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Position, when Points 1 is greater than 23, and when Goals For is "77"?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Position, when Points 1 is greater than 23, and when Goals For is "77"?`:
```sql
                SELECT SUM("position") FROM "second_division_final_table" WHERE "points_1">23 AND "goals_for"=77;
```
## Task
Generate a SQL query to answer the following question:
`What is Played, when Goal Difference is "+51"?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Played, when Goal Difference is "+51"?`:
```sql
                SELECT "played" FROM "second_division_final_table" WHERE "goal_difference"='+51';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Surface is "Carpet"?`

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

CREATE TABLE "runners_up_12" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Surface is "Carpet"?`:
```sql
                SELECT "date" FROM "runners_up_12" WHERE "surface"='carpet';
```
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when Date is "6 October 2008"?`

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

CREATE TABLE "runners_up_12" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tournament, when Date is "6 October 2008"?`:
```sql
                SELECT "tournament" FROM "runners_up_12" WHERE "date"='6 october 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Surface, when Tournament is "Sunderland , United Kingdom"?`

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

CREATE TABLE "runners_up_12" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Surface, when Tournament is "Sunderland , United Kingdom"?`:
```sql
                SELECT "surface" FROM "runners_up_12" WHERE "tournament"='sunderland , united kingdom';
```
## Task
Generate a SQL query to answer the following question:
`Who replaced István Sándor?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "position_in_table" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who replaced István Sándor?`:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "outgoing_manager"='istván sándor';
```
## Task
Generate a SQL query to answer the following question:
`What is the position that has the outgoing manager lászló Dajka?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "position_in_table" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position that has the outgoing manager lászló Dajka?`:
```sql
                SELECT "position_in_table" FROM "managerial_changes" WHERE "outgoing_manager"='lászló dajka';
```
## Task
Generate a SQL query to answer the following question:
`When was outgoing manager Zoltán Varga appointed?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "position_in_table" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was outgoing manager Zoltán Varga appointed?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='zoltán varga';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Date of 05 dec?`

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

CREATE TABLE "pool_a" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Date of 05 dec?`:
```sql
                SELECT "score" FROM "pool_a" WHERE "date"='05 dec';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of points of the team with more than 17 pg won?`

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

CREATE TABLE "anaprof_2008_relegation_table" (
  "place_posici_n" real,
  "team_equipo" text,
  "played_pj" real,
  "won_pg" real,
  "draw_pe" real,
  "lost_pp" real,
  "goals_scored_gf" real,
  "goals_conceded_gc" real,
  "dif" real,
  "points_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of points of the team with more than 17 pg won?`:
```sql
                SELECT AVG("points_pts") FROM "anaprof_2008_relegation_table" WHERE "won_pg">17;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of pg won of the team with 64 goals conceded and more than 33 goals scored?`

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

CREATE TABLE "anaprof_2008_relegation_table" (
  "place_posici_n" real,
  "team_equipo" text,
  "played_pj" real,
  "won_pg" real,
  "draw_pe" real,
  "lost_pp" real,
  "goals_scored_gf" real,
  "goals_conceded_gc" real,
  "dif" real,
  "points_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of pg won of the team with 64 goals conceded and more than 33 goals scored?`:
```sql
                SELECT COUNT("won_pg") FROM "anaprof_2008_relegation_table" WHERE "goals_conceded_gc"=64 AND "goals_scored_gf">33;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the pe draw of team plaza amador, who has less than 6 pg won?`

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

CREATE TABLE "anaprof_2008_relegation_table" (
  "place_posici_n" real,
  "team_equipo" text,
  "played_pj" real,
  "won_pg" real,
  "draw_pe" real,
  "lost_pp" real,
  "goals_scored_gf" real,
  "goals_conceded_gc" real,
  "dif" real,
  "points_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the pe draw of team plaza amador, who has less than 6 pg won?`:
```sql
                SELECT SUM("draw_pe") FROM "anaprof_2008_relegation_table" WHERE "team_equipo"='plaza amador' AND "won_pg"<6;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the places of the team with more than 49 points and less than 54 goals scored?`

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

CREATE TABLE "anaprof_2008_relegation_table" (
  "place_posici_n" real,
  "team_equipo" text,
  "played_pj" real,
  "won_pg" real,
  "draw_pe" real,
  "lost_pp" real,
  "goals_scored_gf" real,
  "goals_conceded_gc" real,
  "dif" real,
  "points_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the places of the team with more than 49 points and less than 54 goals scored?`:
```sql
                SELECT SUM("place_posici_n") FROM "anaprof_2008_relegation_table" WHERE "points_pts">49 AND "goals_scored_gf"<54;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AWAY WITH HOME AT 2-2?`

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

CREATE TABLE "1_fc_nuremberg_versus_sp_vgg_greuther_f_" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AWAY WITH HOME AT 2-2?`:
```sql
                SELECT "away" FROM "1_fc_nuremberg_versus_sp_vgg_greuther_f_" WHERE "home"='2-2';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LEAGUE WITH HOME 1-1?`

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

CREATE TABLE "1_fc_nuremberg_versus_sp_vgg_greuther_f_" (
  "season" text,
  "league" text,
  "teams" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE LEAGUE WITH HOME 1-1?`:
```sql
                SELECT "league" FROM "1_fc_nuremberg_versus_sp_vgg_greuther_f_" WHERE "home"='1-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ?`

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

CREATE TABLE "russia" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ?`:
```sql
                SELECT "weight" FROM "russia" WHERE "club"='uralochka zlatoust' AND "date_of_birth"='1981-02-24';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of households with a population larger than 25,692 and a median household income of $51,914?`

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

CREATE TABLE "michigan_counties_by_per_capita_income" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of households with a population larger than 25,692 and a median household income of $51,914?`:
```sql
                SELECT COUNT("number_of_households") FROM "michigan_counties_by_per_capita_income" WHERE "population">'25,692' AND "median_household_income"='$51,914';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of households that makes a median household income of $44,718?`

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

CREATE TABLE "michigan_counties_by_per_capita_income" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of households that makes a median household income of $44,718?`:
```sql
                SELECT SUM("number_of_households") FROM "michigan_counties_by_per_capita_income" WHERE "median_household_income"='$44,718';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest population for Baraga County with less than 3,444 households?`

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

CREATE TABLE "michigan_counties_by_per_capita_income" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest population for Baraga County with less than 3,444 households?`:
```sql
                SELECT MAX("population") FROM "michigan_counties_by_per_capita_income" WHERE "county"='baraga' AND "number_of_households"<'3,444';
```
## Task
Generate a SQL query to answer the following question:
`Which golfer had a score of 68-70-68-66=272?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money_s" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which golfer had a score of 68-70-68-66=272?`:
```sql
                SELECT "player" FROM "final_round" WHERE "score"='68-70-68-66=272';
```
## Task
Generate a SQL query to answer the following question:
`What place was the golfer with a score of 67-67-66-68=268 ranked in?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money_s" real
);
### SQL
Given the database schema, here is the SQL query that answers `What place was the golfer with a score of 67-67-66-68=268 ranked in?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='67-67-66-68=268';
```
## Task
Generate a SQL query to answer the following question:
`Which category was Maite Perroni nominated for earlier than 2009?`

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

CREATE TABLE "awards_and_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which category was Maite Perroni nominated for earlier than 2009?`:
```sql
                SELECT "category" FROM "awards_and_nominations" WHERE "nominated"='maite perroni' AND "year"<2009;
```
## Task
Generate a SQL query to answer the following question:
`In what year was there an award for TV Adicto Golden Awards and the category Female Revelation?`

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

CREATE TABLE "awards_and_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was there an award for TV Adicto Golden Awards and the category Female Revelation?`:
```sql
                SELECT "year" FROM "awards_and_nominations" WHERE "award"='tv adicto golden awards' AND "category"='female revelation';
```
## Task
Generate a SQL query to answer the following question:
`What winner has silence-lotto as the team classification?`

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

CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What winner has silence-lotto as the team classification?`:
```sql
                SELECT "winner" FROM "jersey_progress" WHERE "team_classification"='silence-lotto';
```
## Task
Generate a SQL query to answer the following question:
`What general classification has david de la fuente as mountains classification, and thor hushovd as points classification?`

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

CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What general classification has david de la fuente as mountains classification, and thor hushovd as points classification?`:
```sql
                SELECT "general_classification" FROM "jersey_progress" WHERE "mountains_classification"='david de la fuente' AND "points_classification"='thor hushovd';
```
## Task
Generate a SQL query to answer the following question:
`What general classification has levi leipheimer as points classification?`

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

CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What general classification has levi leipheimer as points classification?`:
```sql
                SELECT "general_classification" FROM "jersey_progress" WHERE "points_classification"='levi leipheimer';
```
## Task
Generate a SQL query to answer the following question:
`What team classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?`

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

CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?`:
```sql
                SELECT "team_classification" FROM "jersey_progress" WHERE "points_classification"='alejandro valverde' AND "winner"='alejandro valverde' AND "stage"='3';
```
## Task
Generate a SQL query to answer the following question:
`What winner has pierre rolland as mountains classification, with 7 as the stage?`

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

CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What winner has pierre rolland as mountains classification, with 7 as the stage?`:
```sql
                SELECT "winner" FROM "jersey_progress" WHERE "mountains_classification"='pierre rolland' AND "stage"='7';
```
## Task
Generate a SQL query to answer the following question:
`What general classification has 4 as the stage?`

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

CREATE TABLE "jersey_progress" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What general classification has 4 as the stage?`:
```sql
                SELECT "general_classification" FROM "jersey_progress" WHERE "stage"='4';
```
## Task
Generate a SQL query to answer the following question:
`What are the lowest lost has 111 as the goals against?`

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

CREATE TABLE "first_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lowest lost has 111 as the goals against?`:
```sql
                SELECT MIN("lost") FROM "first_division_final_table" WHERE "goals_against"=111;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest goals against that has 15 as position?`

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

CREATE TABLE "first_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest goals against that has 15 as position?`:
```sql
                SELECT MAX("goals_against") FROM "first_division_final_table" WHERE "position"=15;
```
## Task
Generate a SQL query to answer the following question:
`Hiw many losses have 30 for the goals with points greater than 24?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "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 `Hiw many losses have 30 for the goals with points greater than 24?`:
```sql
                SELECT COUNT("losses") FROM "group_i" WHERE "goals_for"=30 AND "points">24;
```
## Task
Generate a SQL query to answer the following question:
`How many draws have goals for less than 56, 10 as the postion, with goals against less than 45?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "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 draws have goals for less than 56, 10 as the postion, with goals against less than 45?`:
```sql
                SELECT COUNT("draws") FROM "group_i" WHERE "goals_for"<56 AND "position"=10 AND "goals_against"<45;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?`

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

CREATE TABLE "group_i" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "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 is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?`:
```sql
                SELECT MAX("draws") FROM "group_i" WHERE "points"=31 AND "wins">12 AND "goal_difference"<11;
```
## Task
Generate a SQL query to answer the following question:
`Name Road Team of Game of game 4?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name Road Team of Game of game 4?`:
```sql
                SELECT "road_team" FROM "nba_finals" WHERE "game"='game 4';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Road Team of chicago, and a Result of 88-85 (ot)?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Road Team of chicago, and a Result of 88-85 (ot)?`:
```sql
                SELECT "date" FROM "nba_finals" WHERE "road_team"='chicago' AND "result"='88-85 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`Which Home Team is on june 12?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home Team is on june 12?`:
```sql
                SELECT "home_team" FROM "nba_finals" WHERE "date"='june 12';
```
## Task
Generate a SQL query to answer the following question:
`Which Result that is on june 5?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Result that is on june 5?`:
```sql
                SELECT "result" FROM "nba_finals" WHERE "date"='june 5';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has Result of 86-87?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has Result of 86-87?`:
```sql
                SELECT "date" FROM "nba_finals" WHERE "result"='86-87';
```
## Task
Generate a SQL query to answer the following question:
`Which Result has a Game of game 1?`

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

CREATE TABLE "nba_finals" (
  "game" text,
  "date" text,
  "home_team" text,
  "result" text,
  "road_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Result has a Game of game 1?`:
```sql
                SELECT "result" FROM "nba_finals" WHERE "game"='game 1';
```
## Task
Generate a SQL query to answer the following question:
`What Miss Maja Pilipinas has a Binibining Pilipinas-Tourism of not awarded, and a Binibining Pilipinas-Universe of anjanette abayari?`

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

CREATE TABLE "title_holders_from_1973_until_1991" (
  "year" real,
  "binibining_pilipinas_universe" text,
  "binibining_pilipinas_international" text,
  "miss_maja_pilipinas" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Miss Maja Pilipinas has a Binibining Pilipinas-Tourism of not awarded, and a Binibining Pilipinas-Universe of anjanette abayari?`:
```sql
                SELECT "miss_maja_pilipinas" FROM "title_holders_from_1973_until_1991" WHERE "binibining_pilipinas_tourism"='not awarded' AND "binibining_pilipinas_universe"='anjanette abayari';
```
## Task
Generate a SQL query to answer the following question:
`What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez?`

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

CREATE TABLE "title_holders_from_1973_until_1991" (
  "year" real,
  "binibining_pilipinas_universe" text,
  "binibining_pilipinas_international" text,
  "miss_maja_pilipinas" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez?`:
```sql
                SELECT "binibining_pilipinas_international" FROM "title_holders_from_1973_until_1991" WHERE "year">1990 AND "binibining_pilipinas_universe"='maria lourdes gonzalez';
```
## Task
Generate a SQL query to answer the following question:
`What First runner-up has a Miss Maja Pilipinas of nanette prodigalidad?`

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

CREATE TABLE "title_holders_from_1973_until_1991" (
  "year" real,
  "binibining_pilipinas_universe" text,
  "binibining_pilipinas_international" text,
  "miss_maja_pilipinas" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What First runner-up has a Miss Maja Pilipinas of nanette prodigalidad?`:
```sql
                SELECT "first_runner_up" FROM "title_holders_from_1973_until_1991" WHERE "miss_maja_pilipinas"='nanette prodigalidad';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?`

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

CREATE TABLE "title_holders_from_1973_until_1991" (
  "year" real,
  "binibining_pilipinas_universe" text,
  "binibining_pilipinas_international" text,
  "miss_maja_pilipinas" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?`:
```sql
                SELECT MIN("year") FROM "title_holders_from_1973_until_1991" WHERE "binibining_pilipinas_international"='jessie alice salones dixson';
```
## Task
Generate a SQL query to answer the following question:
`What Binibining Pilipinas-International has a Year of 1975?`

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

CREATE TABLE "title_holders_from_1973_until_1991" (
  "year" real,
  "binibining_pilipinas_universe" text,
  "binibining_pilipinas_international" text,
  "miss_maja_pilipinas" text,
  "binibining_pilipinas_tourism" text,
  "first_runner_up" text,
  "second_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Binibining Pilipinas-International has a Year of 1975?`:
```sql
                SELECT "binibining_pilipinas_international" FROM "title_holders_from_1973_until_1991" WHERE "year"=1975;
```
## Task
Generate a SQL query to answer the following question:
`What is To par, when Player is "Jesper Parnevik"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is To par, when Player is "Jesper Parnevik"?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "player"='jesper parnevik';
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Place is "1"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Place is "1"?`:
```sql
                SELECT "player" FROM "second_round" WHERE "place"='1';
```
## Task
Generate a SQL query to answer the following question:
`What is To par, when Country is "United States", and when Player is "Mark Brooks"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is To par, when Country is "United States", and when Player is "Mark Brooks"?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "player"='mark brooks';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Player is "Phil Mickelson"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Place, when Player is "Phil Mickelson"?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='phil mickelson';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Player is "Brad Faxon"?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Player is "Brad Faxon"?`:
```sql
                SELECT "score" FROM "second_round" WHERE "player"='brad faxon';
```
## Task
Generate a SQL query to answer the following question:
`What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?`

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

CREATE TABLE "vuko_karov_tournament" (
  "edition" real,
  "year" real,
  "winner" text,
  "runner_up" text,
  "third" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?`:
```sql
                SELECT MIN("edition") FROM "vuko_karov_tournament" WHERE "year">2003 AND "third"='tikveš' AND "runner_up"='sileks';
```
## Task
Generate a SQL query to answer the following question:
`What was the latest year with an edition of 14?`

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

CREATE TABLE "vuko_karov_tournament" (
  "edition" real,
  "year" real,
  "winner" text,
  "runner_up" text,
  "third" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the latest year with an edition of 14?`:
```sql
                SELECT MAX("year") FROM "vuko_karov_tournament" WHERE "edition"=14;
```
## Task
Generate a SQL query to answer the following question:
`What was the venue for the game on 18/03/2006?`

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

CREATE TABLE "2006" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue for the game on 18/03/2006?`:
```sql
                SELECT "venue" FROM "2006" WHERE "date"='18/03/2006';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the place was t8?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the place was t8?`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "place"='t8';
```
## Task
Generate a SQL query to answer the following question:
`What country scored 71-66-66-71=274?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country scored 71-66-66-71=274?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "score"='71-66-66-71=274';
```
## Task
Generate a SQL query to answer the following question:
`What country scored 66-65-66-72=269?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country scored 66-65-66-72=269?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "score"='66-65-66-72=269';
```
## Task
Generate a SQL query to answer the following question:
`What was the money for place t3 and United States?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the money for place t3 and United States?`:
```sql
                SELECT "money" FROM "final_leaderboard" WHERE "place"='t3' AND "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`What country does Jeff Sluman play for?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country does Jeff Sluman play for?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "player"='jeff sluman';
```
## Task
Generate a SQL query to answer the following question:
`What was the to par for place t8 and a score of 71-66-66-71=274?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the to par for place t8 and a score of 71-66-66-71=274?`:
```sql
                SELECT "to_par" FROM "final_leaderboard" WHERE "place"='t8' AND "score"='71-66-66-71=274';
```
## Task
Generate a SQL query to answer the following question:
`What home team played against Fleetwood Town?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What home team played against Fleetwood Town?`:
```sql
                SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='fleetwood town';
```
## Task
Generate a SQL query to answer the following question:
`What callsign has 1300 as the frequency?`

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

CREATE TABLE "am" (
  "frequency" real,
  "power_d_n" text,
  "callsign" text,
  "brand" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What callsign has 1300 as the frequency?`:
```sql
                SELECT "callsign" FROM "am" WHERE "frequency"=1300;
```
## Task
Generate a SQL query to answer the following question:
`What's the name of the stadium when the club was F.C. Igea Virtus Barcellona?`

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

CREATE TABLE "girone_c" (
  "club" text,
  "city" text,
  "stadium" text,
  "capacity" real,
  "2007_08_season" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the name of the stadium when the club was F.C. Igea Virtus Barcellona?`:
```sql
                SELECT "stadium" FROM "girone_c" WHERE "club"='f.c. igea virtus barcellona';
```