cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the regular season for final playoffs`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the regular season for final playoffs`:
```sql
                SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='Final';
```
## Task
Generate a SQL query to answer the following question:
`Name the least division`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least division`:
```sql
                SELECT MIN("division") FROM "year_by_year";
```
## Task
Generate a SQL query to answer the following question:
`Name the regular season for usisl d-3 pro league did not qualify`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the regular season for usisl d-3 pro league did not qualify`:
```sql
                SELECT "regular_season" FROM "year_by_year" WHERE "league"='USISL D-3 Pro League' AND "playoffs"='Did not qualify';
```
## Task
Generate a SQL query to answer the following question:
`What was the position of the player from Saskatchewan Roughriders?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the position of the player from Saskatchewan Roughriders?`:
```sql
                SELECT "position" FROM "round_three" WHERE "cfl_team"='Saskatchewan Roughriders';
```
## Task
Generate a SQL query to answer the following question:
`What CFL team was the player playing on SB position drafted for?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What CFL team was the player playing on SB position drafted for?`:
```sql
                SELECT "cfl_team" FROM "round_three" WHERE "position"='SB';
```
## Task
Generate a SQL query to answer the following question:
`What was Michael Shaver's position?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Michael Shaver's position?`:
```sql
                SELECT "position" FROM "round_three" WHERE "player"='Michael Shaver';
```
## Task
Generate a SQL query to answer the following question:
`How many different players got drafted for the Ottawa Renegades?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different players got drafted for the Ottawa Renegades?`:
```sql
                SELECT COUNT("player") FROM "round_three" WHERE "cfl_team"='Ottawa Renegades';
```
## Task
Generate a SQL query to answer the following question:
`What's Doug Borden's position?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's Doug Borden's position?`:
```sql
                SELECT "position" FROM "round_three" WHERE "player"='Doug Borden';
```
## Task
Generate a SQL query to answer the following question:
`What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?`

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

CREATE TABLE "by_country" (
  "country" text,
  "pct_of_all_immigrants_2008" text,
  "pct_of_all_immigrants_2007" text,
  "pct_of_all_immigrants_2006" text,
  "pct_of_all_immigrants_2005" text,
  "pct_of_all_immigrants_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?`:
```sql
                SELECT "pct_of_all_immigrants_2007" FROM "by_country" WHERE "pct_of_all_immigrants_2008"='1.7%';
```
## Task
Generate a SQL query to answer the following question:
`How many different percentages of immigrants in 2006 can there be for Morocco?`

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

CREATE TABLE "by_country" (
  "country" text,
  "pct_of_all_immigrants_2008" text,
  "pct_of_all_immigrants_2007" text,
  "pct_of_all_immigrants_2006" text,
  "pct_of_all_immigrants_2005" text,
  "pct_of_all_immigrants_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different percentages of immigrants in 2006 can there be for Morocco?`:
```sql
                SELECT COUNT("pct_of_all_immigrants_2006") FROM "by_country" WHERE "country"='Morocco';
```
## Task
Generate a SQL query to answer the following question:
`What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?`

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

CREATE TABLE "by_country" (
  "country" text,
  "pct_of_all_immigrants_2008" text,
  "pct_of_all_immigrants_2007" text,
  "pct_of_all_immigrants_2006" text,
  "pct_of_all_immigrants_2005" text,
  "pct_of_all_immigrants_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?`:
```sql
                SELECT "pct_of_all_immigrants_2004" FROM "by_country" WHERE "pct_of_all_immigrants_2006"='2.1%';
```
## Task
Generate a SQL query to answer the following question:
`What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?`

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

CREATE TABLE "by_country" (
  "country" text,
  "pct_of_all_immigrants_2008" text,
  "pct_of_all_immigrants_2007" text,
  "pct_of_all_immigrants_2006" text,
  "pct_of_all_immigrants_2005" text,
  "pct_of_all_immigrants_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?`:
```sql
                SELECT "pct_of_all_immigrants_2007" FROM "by_country" WHERE "pct_of_all_immigrants_2006"='14.1%';
```
## Task
Generate a SQL query to answer the following question:
`How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005?`

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

CREATE TABLE "by_country" (
  "country" text,
  "pct_of_all_immigrants_2008" text,
  "pct_of_all_immigrants_2007" text,
  "pct_of_all_immigrants_2006" text,
  "pct_of_all_immigrants_2005" text,
  "pct_of_all_immigrants_2004" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005?`:
```sql
                SELECT COUNT("pct_of_all_immigrants_2007") FROM "by_country" WHERE "pct_of_all_immigrants_2005"='1.2%';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)?`

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

CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)?`:
```sql
                SELECT "outcome" FROM "men_s_doubles_6_4_titles_2_runner_ups" WHERE "score_in_the_final"='6–7(1), 2–6, 6–4, 7–5, 6–7(2)';
```
## Task
Generate a SQL query to answer the following question:
`Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)?`

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

CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)?`:
```sql
                SELECT "opponents_in_the_final" FROM "men_s_doubles_6_4_titles_2_runner_ups" WHERE "score_in_the_final"='6–4, 2–6, 6–4, 7–6(3)';
```
## Task
Generate a SQL query to answer the following question:
`Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?`

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

CREATE TABLE "men_s_doubles_6_4_titles_2_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?`:
```sql
                SELECT "championship" FROM "men_s_doubles_6_4_titles_2_runner_ups" WHERE "score_in_the_final"='6–4, 2–6, 6–4, 7–6(3)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the final in 1988?`

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

CREATE TABLE "wins_4" (
  "outcome" text,
  "year" real,
  "championship" text,
  "partnering" text,
  "opponents_in_final" text,
  "score_in_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the final in 1988?`:
```sql
                SELECT "score_in_final" FROM "wins_4" WHERE "year"=1988;
```
## Task
Generate a SQL query to answer the following question:
`Name the london, great britain for 2:20:57`

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

CREATE TABLE "records" (
  "world_record" text,
  "paula_radcliffe_gbr" text,
  "2_15_25" text,
  "london_great_britain" text,
  "13_april_2003" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the london, great britain for 2:20:57`:
```sql
                SELECT "london_great_britain" FROM "records" WHERE "2_15_25"='2:20:57';
```
## Task
Generate a SQL query to answer the following question:
`Name the world record for 26 april 2009`

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

CREATE TABLE "records" (
  "world_record" text,
  "paula_radcliffe_gbr" text,
  "2_15_25" text,
  "london_great_britain" text,
  "13_april_2003" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the world record for 26 april 2009`:
```sql
                SELECT "world_record" FROM "records" WHERE "13_april_2003"='26 April 2009';
```
## Task
Generate a SQL query to answer the following question:
`Name the london great britain for championship record`

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

CREATE TABLE "records" (
  "world_record" text,
  "paula_radcliffe_gbr" text,
  "2_15_25" text,
  "london_great_britain" text,
  "13_april_2003" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the london great britain for championship record`:
```sql
                SELECT "london_great_britain" FROM "records" WHERE "world_record"='Championship record';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of african record`

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

CREATE TABLE "records" (
  "world_record" text,
  "paula_radcliffe_gbr" text,
  "2_15_25" text,
  "london_great_britain" text,
  "13_april_2003" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of african record`:
```sql
                SELECT COUNT("paula_radcliffe_gbr") FROM "records" WHERE "world_record"='African record';
```
## Task
Generate a SQL query to answer the following question:
`Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2?`

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

CREATE TABLE "table1_23649244_1" (
  "song_1_title" text,
  "artist_1" text,
  "song_2_title" text,
  "artist_2" text,
  "mix_artist" text,
  "guitar_part" text,
  "level" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2?`:
```sql
                SELECT "mix_artist" FROM "table1_23649244_1" WHERE "artist_1"='Tears for Fears' AND "artist_2"='Eric Prydz';
```
## Task
Generate a SQL query to answer the following question:
`Which level has marvin gaye as artist 1 and david bowie as artist 2?`

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

CREATE TABLE "table1_23649244_1" (
  "song_1_title" text,
  "artist_1" text,
  "song_2_title" text,
  "artist_2" text,
  "mix_artist" text,
  "guitar_part" text,
  "level" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which level has marvin gaye as artist 1 and david bowie as artist 2?`:
```sql
                SELECT "level" FROM "table1_23649244_1" WHERE "artist_1"='Marvin Gaye' AND "artist_2"='David Bowie';
```
## Task
Generate a SQL query to answer the following question:
`Which level has grandmaster flash as artist 1?`

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

CREATE TABLE "table1_23649244_1" (
  "song_1_title" text,
  "artist_1" text,
  "song_2_title" text,
  "artist_2" text,
  "mix_artist" text,
  "guitar_part" text,
  "level" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which level has grandmaster flash as artist 1?`:
```sql
                SELECT "level" FROM "table1_23649244_1" WHERE "artist_1"='Grandmaster Flash';
```
## Task
Generate a SQL query to answer the following question:
`Which level has wale as artist 1?`

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

CREATE TABLE "table1_23649244_1" (
  "song_1_title" text,
  "artist_1" text,
  "song_2_title" text,
  "artist_2" text,
  "mix_artist" text,
  "guitar_part" text,
  "level" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which level has wale as artist 1?`:
```sql
                SELECT "level" FROM "table1_23649244_1" WHERE "artist_1"='Wale';
```
## Task
Generate a SQL query to answer the following question:
`Which mix artists have shlomo as artist 1?`

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

CREATE TABLE "table1_23649244_1" (
  "song_1_title" text,
  "artist_1" text,
  "song_2_title" text,
  "artist_2" text,
  "mix_artist" text,
  "guitar_part" text,
  "level" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which mix artists have shlomo as artist 1?`:
```sql
                SELECT "mix_artist" FROM "table1_23649244_1" WHERE "artist_1"='Shlomo';
```
## Task
Generate a SQL query to answer the following question:
`How many season had Melgar as a champion?`

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

CREATE TABLE "professional_league_1951_present" (
  "season" real,
  "champion" text,
  "count" real,
  "runners_up" text,
  "third_place" text,
  "top_scorer" text,
  "top_scorers_club" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many season had Melgar as a champion?`:
```sql
                SELECT COUNT("season") FROM "professional_league_1951_present" WHERE "champion"='Melgar';
```
## Task
Generate a SQL query to answer the following question:
`What year was the season with the top scoring club being Sporting Cristal and the champion was Universitario?`

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

CREATE TABLE "professional_league_1951_present" (
  "season" real,
  "champion" text,
  "count" real,
  "runners_up" text,
  "third_place" text,
  "top_scorer" text,
  "top_scorers_club" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the season with the top scoring club being Sporting Cristal and the champion was Universitario?`:
```sql
                SELECT "season" FROM "professional_league_1951_present" WHERE "top_scorers_club"='Sporting Cristal' AND "champion"='Universitario';
```
## Task
Generate a SQL query to answer the following question:
`Who was in third place in the 1980 season?`

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

CREATE TABLE "professional_league_1951_present" (
  "season" real,
  "champion" text,
  "count" real,
  "runners_up" text,
  "third_place" text,
  "top_scorer" text,
  "top_scorers_club" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was in third place in the 1980 season?`:
```sql
                SELECT "third_place" FROM "professional_league_1951_present" WHERE "season"=1980;
```
## Task
Generate a SQL query to answer the following question:
`Name the open cup for usl pdl for did not qualify`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the open cup for usl pdl for did not qualify`:
```sql
                SELECT "open_cup" FROM "year_by_year" WHERE "league"='USL PDL' AND "playoffs"='Did not qualify';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of open cup for 1996`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of open cup for 1996`:
```sql
                SELECT COUNT("open_cup") FROM "year_by_year" WHERE "year"=1996;
```
## Task
Generate a SQL query to answer the following question:
`Name the open cup for division finals`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the open cup for division finals`:
```sql
                SELECT "open_cup" FROM "year_by_year" WHERE "playoffs"='Division Finals';
```
## Task
Generate a SQL query to answer the following question:
`Name the position for 2.16`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for 2.16`:
```sql
                SELECT "position" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.16';
```
## Task
Generate a SQL query to answer the following question:
`Name the number for 1.96 height`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number for 1.96 height`:
```sql
                SELECT "no" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='1.96';
```
## Task
Generate a SQL query to answer the following question:
`Name the height for number 7`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the height for number 7`:
```sql
                SELECT "height_m" FROM "fiba_euro_basket_2009_squads" WHERE "no"=7;
```
## Task
Generate a SQL query to answer the following question:
`name the player for number 5`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `name the player for number 5`:
```sql
                SELECT "player" FROM "fiba_euro_basket_2009_squads" WHERE "no"=5;
```
## Task
Generate a SQL query to answer the following question:
`Identify every player's height in meters if the player is exactly 6' 07" tall in feet`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Identify every player's height in meters if the player is exactly 6' 07" tall in feet`:
```sql
                SELECT "height_m" FROM "fiba_euro_basket_2009_squads" WHERE "height_f"='6'' 07\"';
```
## Task
Generate a SQL query to answer the following question:
`For all players playing at the center,  list the height in feet.`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `For all players playing at the center,  list the height in feet.`:
```sql
                SELECT "height_f" FROM "fiba_euro_basket_2009_squads" WHERE "position"='Center';
```
## Task
Generate a SQL query to answer the following question:
`Display the serial numbers for the players who play at the center.`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Display the serial numbers for the players who play at the center.`:
```sql
                SELECT "no" FROM "fiba_euro_basket_2009_squads" WHERE "position"='Center';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of birth for basket baller called ido kozikaro`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of birth for basket baller called ido kozikaro`:
```sql
                SELECT MAX("year_born") FROM "fiba_euro_basket_2009_squads" WHERE "player"='Ido Kozikaro';
```
## Task
Generate a SQL query to answer the following question:
`How many positions are available for players who are  6' 07"?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many positions are available for players who are  6' 07"?`:
```sql
                SELECT COUNT("position") FROM "fiba_euro_basket_2009_squads" WHERE "height_f"='6'' 07\"';
```
## Task
Generate a SQL query to answer the following question:
`How tall is the basket ball player lior eliyahu in meters?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `How tall is the basket ball player lior eliyahu in meters?`:
```sql
                SELECT "height_m" FROM "fiba_euro_basket_2009_squads" WHERE "player"='Lior Eliyahu';
```
## Task
Generate a SQL query to answer the following question:
`What was the average score for the couple that had 4 dances?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points_earned" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average score for the couple that had 4 dances?`:
```sql
                SELECT "average" FROM "averages" WHERE "number_of_dances"=4;
```
## Task
Generate a SQL query to answer the following question:
`How many averages were listed for the couple who had 12 dances?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points_earned" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many averages were listed for the couple who had 12 dances?`:
```sql
                SELECT COUNT("average") FROM "averages" WHERE "number_of_dances"=12;
```
## Task
Generate a SQL query to answer the following question:
`How many total points were earned from the couple that averaged 29.0 points?`

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

CREATE TABLE "averages" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points_earned" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total points were earned from the couple that averaged 29.0 points?`:
```sql
                SELECT MAX("total_points_earned") FROM "averages" WHERE "average"='29.0';
```
## Task
Generate a SQL query to answer the following question:
`What album was the song It's going so badly on?`

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

CREATE TABLE "table1_23667534_1" (
  "episode_title" text,
  "song_s_title" text,
  "writer" text,
  "singer_s" text,
  "album_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What album was the song It's going so badly on?`:
```sql
                SELECT "album_s" FROM "table1_23667534_1" WHERE "song_s_title"='It''s Going So Badly';
```
## Task
Generate a SQL query to answer the following question:
`What album was the song My Chariot on?`

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

CREATE TABLE "table1_23667534_1" (
  "episode_title" text,
  "song_s_title" text,
  "writer" text,
  "singer_s" text,
  "album_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What album was the song My Chariot on?`:
```sql
                SELECT "album_s" FROM "table1_23667534_1" WHERE "song_s_title"='My Chariot';
```
## Task
Generate a SQL query to answer the following question:
`Who sand He's Bigfoot?`

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

CREATE TABLE "table1_23667534_1" (
  "episode_title" text,
  "song_s_title" text,
  "writer" text,
  "singer_s" text,
  "album_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who sand He's Bigfoot?`:
```sql
                SELECT "singer_s" FROM "table1_23667534_1" WHERE "song_s_title"='He''s Bigfoot';
```
## Task
Generate a SQL query to answer the following question:
`What album was the song Shimmy Jimmy from the episode titled Toy to the world on?`

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

CREATE TABLE "table1_23667534_1" (
  "episode_title" text,
  "song_s_title" text,
  "writer" text,
  "singer_s" text,
  "album_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What album was the song Shimmy Jimmy from the episode titled Toy to the world on?`:
```sql
                SELECT "album_s" FROM "table1_23667534_1" WHERE "episode_title"='Toy to the World' AND "song_s_title"='Shimmy Jimmy';
```
## Task
Generate a SQL query to answer the following question:
`which players have a height of 2.07m? `

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `which players have a height of 2.07m? `:
```sql
                SELECT "player" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.07';
```
## Task
Generate a SQL query to answer the following question:
`Which clubs have players with height 2.14m?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which clubs have players with height 2.14m?`:
```sql
                SELECT "current_club" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.14';
```
## Task
Generate a SQL query to answer the following question:
`Which players were born in 1983 and play as forward position?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which players were born in 1983 and play as forward position?`:
```sql
                SELECT "player" FROM "fiba_euro_basket_2009_squads" WHERE "year_born"=1983 AND "position"='Forward';
```
## Task
Generate a SQL query to answer the following question:
`What is every current club for the player Artūrs Štālbergs?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every current club for the player Artūrs Štālbergs?`:
```sql
                SELECT "current_club" FROM "fiba_euro_basket_2009_squads" WHERE "player"='Artūrs Štālbergs';
```
## Task
Generate a SQL query to answer the following question:
`How many players have a height of 2.07?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players have a height of 2.07?`:
```sql
                SELECT COUNT("player") FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='2.07';
```
## Task
Generate a SQL query to answer the following question:
`What is the latest year born when the current club is Barons LMT?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest year born when the current club is Barons LMT?`:
```sql
                SELECT MAX("year_born") FROM "fiba_euro_basket_2009_squads" WHERE "current_club"='Barons LMT';
```
## Task
Generate a SQL query to answer the following question:
`How many current clubs have the player Aigars Vitols?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many current clubs have the player Aigars Vitols?`:
```sql
                SELECT COUNT("current_club") FROM "fiba_euro_basket_2009_squads" WHERE "player"='Aigars Vitols';
```
## Task
Generate a SQL query to answer the following question:
`What is every year born for height of 1.88?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every year born for height of 1.88?`:
```sql
                SELECT "year_born" FROM "fiba_euro_basket_2009_squads" WHERE "height_m"='1.88';
```
## Task
Generate a SQL query to answer the following question:
`What is every number when the player is Aigars Vitols?`

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

CREATE TABLE "fiba_euro_basket_2009_squads" (
  "no" real,
  "player" text,
  "height_m" text,
  "height_f" text,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every number when the player is Aigars Vitols?`:
```sql
                SELECT "no" FROM "fiba_euro_basket_2009_squads" WHERE "player"='Aigars Vitols';
```
## Task
Generate a SQL query to answer the following question:
`Name the most high schools for 31851`

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

CREATE TABLE "enrollment" (
  "year" text,
  "district_wide" real,
  "high_schools" real,
  "middle_schools" real,
  "elementary_schools" real,
  "other_programs_adjustments" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most high schools for 31851`:
```sql
                SELECT MAX("high_schools") FROM "enrollment" WHERE "district_wide"=31851;
```
## Task
Generate a SQL query to answer the following question:
`Name the most district wide for 1639 other programs`

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

CREATE TABLE "enrollment" (
  "year" text,
  "district_wide" real,
  "high_schools" real,
  "middle_schools" real,
  "elementary_schools" real,
  "other_programs_adjustments" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most district wide for 1639 other programs`:
```sql
                SELECT MAX("district_wide") FROM "enrollment" WHERE "other_programs_adjustments"=1639;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of elementary schools for 31851`

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

CREATE TABLE "enrollment" (
  "year" text,
  "district_wide" real,
  "high_schools" real,
  "middle_schools" real,
  "elementary_schools" real,
  "other_programs_adjustments" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of elementary schools for 31851`:
```sql
                SELECT COUNT("elementary_schools") FROM "enrollment" WHERE "district_wide"=31851;
```
## Task
Generate a SQL query to answer the following question:
`Name the most middle schools for 2005-2006`

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

CREATE TABLE "enrollment" (
  "year" text,
  "district_wide" real,
  "high_schools" real,
  "middle_schools" real,
  "elementary_schools" real,
  "other_programs_adjustments" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most middle schools for 2005-2006`:
```sql
                SELECT MAX("middle_schools") FROM "enrollment" WHERE "year"='2005-2006';
```
## Task
Generate a SQL query to answer the following question:
`If the polling average in July 2009 was 7.2%, what was it in May 2009?`

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

CREATE TABLE "average_polling" (
  "party" text,
  "result_parliam_election_2005" text,
  "result_county_elections_2007" text,
  "aug_2008" text,
  "sep_2008" text,
  "oct_2008" text,
  "nov_2008" text,
  "dec_2008" text,
  "jan_2009" text,
  "feb_2009" text,
  "mar_2009" text,
  "apr_2009" text,
  "may_2009" text,
  "jun_2009" text,
  "jul_2009" text,
  "aug_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the polling average in July 2009 was 7.2%, what was it in May 2009?`:
```sql
                SELECT "may_2009" FROM "average_polling" WHERE "jul_2009"='7.2%';
```
## Task
Generate a SQL query to answer the following question:
`What was the polling average in Aug 2009 when is was 5.0% in Sep 2009?`

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

CREATE TABLE "average_polling" (
  "party" text,
  "result_parliam_election_2005" text,
  "result_county_elections_2007" text,
  "aug_2008" text,
  "sep_2008" text,
  "oct_2008" text,
  "nov_2008" text,
  "dec_2008" text,
  "jan_2009" text,
  "feb_2009" text,
  "mar_2009" text,
  "apr_2009" text,
  "may_2009" text,
  "jun_2009" text,
  "jul_2009" text,
  "aug_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the polling average in Aug 2009 when is was 5.0% in Sep 2009?`:
```sql
                SELECT "aug_2008" FROM "average_polling" WHERE "sep_2008"='5.0%';
```
## Task
Generate a SQL query to answer the following question:
`How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?`

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

CREATE TABLE "average_polling" (
  "party" text,
  "result_parliam_election_2005" text,
  "result_county_elections_2007" text,
  "aug_2008" text,
  "sep_2008" text,
  "oct_2008" text,
  "nov_2008" text,
  "dec_2008" text,
  "jan_2009" text,
  "feb_2009" text,
  "mar_2009" text,
  "apr_2009" text,
  "may_2009" text,
  "jun_2009" text,
  "jul_2009" text,
  "aug_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?`:
```sql
                SELECT COUNT("oct_2008") FROM "average_polling" WHERE "aug_2008"='30.8%';
```
## Task
Generate a SQL query to answer the following question:
`Name the party/s when the polling percentage was 6.3% in Dec 2008.`

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

CREATE TABLE "average_polling" (
  "party" text,
  "result_parliam_election_2005" text,
  "result_county_elections_2007" text,
  "aug_2008" text,
  "sep_2008" text,
  "oct_2008" text,
  "nov_2008" text,
  "dec_2008" text,
  "jan_2009" text,
  "feb_2009" text,
  "mar_2009" text,
  "apr_2009" text,
  "may_2009" text,
  "jun_2009" text,
  "jul_2009" text,
  "aug_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the party/s when the polling percentage was 6.3% in Dec 2008.`:
```sql
                SELECT "party" FROM "average_polling" WHERE "dec_2008"='6.3%';
```
## Task
Generate a SQL query to answer the following question:
`What was the polling percentage in Jul 2009 when the Parliament  Election result of 2005 was 6.5%?`

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

CREATE TABLE "average_polling" (
  "party" text,
  "result_parliam_election_2005" text,
  "result_county_elections_2007" text,
  "aug_2008" text,
  "sep_2008" text,
  "oct_2008" text,
  "nov_2008" text,
  "dec_2008" text,
  "jan_2009" text,
  "feb_2009" text,
  "mar_2009" text,
  "apr_2009" text,
  "may_2009" text,
  "jun_2009" text,
  "jul_2009" text,
  "aug_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the polling percentage in Jul 2009 when the Parliament  Election result of 2005 was 6.5%?`:
```sql
                SELECT "jul_2009" FROM "average_polling" WHERE "result_parliam_election_2005"='6.5%';
```
## Task
Generate a SQL query to answer the following question:
`What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?`

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

CREATE TABLE "average_polling" (
  "party" text,
  "result_parliam_election_2005" text,
  "result_county_elections_2007" text,
  "aug_2008" text,
  "sep_2008" text,
  "oct_2008" text,
  "nov_2008" text,
  "dec_2008" text,
  "jan_2009" text,
  "feb_2009" text,
  "mar_2009" text,
  "apr_2009" text,
  "may_2009" text,
  "jun_2009" text,
  "jul_2009" text,
  "aug_2009" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?`:
```sql
                SELECT "nov_2008" FROM "average_polling" WHERE "aug_2008"='1.7%';
```
## Task
Generate a SQL query to answer the following question:
`What is the week 32 result when week 33 is 31.9%?`

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

CREATE TABLE "average_polling" (
  "party" text,
  "week_32" text,
  "week_33" text,
  "week_34" text,
  "week_35" text,
  "week_36" text,
  "week_37" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the week 32 result when week 33 is 31.9%?`:
```sql
                SELECT "week_32" FROM "average_polling" WHERE "week_33"='31.9%';
```
## Task
Generate a SQL query to answer the following question:
`List all week 37 results when week 33 is 14.3%.`

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

CREATE TABLE "average_polling" (
  "party" text,
  "week_32" text,
  "week_33" text,
  "week_34" text,
  "week_35" text,
  "week_36" text,
  "week_37" text
);
### SQL
Given the database schema, here is the SQL query that answers `List all week 37 results when week 33 is 14.3%.`:
```sql
                SELECT "week_37" FROM "average_polling" WHERE "week_33"='14.3%';
```
## Task
Generate a SQL query to answer the following question:
`List the full amount of week 36 results when week 32 is 13.2%.`

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

CREATE TABLE "average_polling" (
  "party" text,
  "week_32" text,
  "week_33" text,
  "week_34" text,
  "week_35" text,
  "week_36" text,
  "week_37" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the full amount of week 36 results when week 32 is 13.2%.`:
```sql
                SELECT COUNT("week_36") FROM "average_polling" WHERE "week_32"='13.2%';
```
## Task
Generate a SQL query to answer the following question:
`On what year was the local government area with a surface of 4563 square kilometers established?`

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

CREATE TABLE "table1_23685890_2" (
  "local_government_area" text,
  "type" text,
  "major_town" text,
  "land_area_km" text,
  "pop_2006" real,
  "density_km_2" real,
  "towns" real,
  "est" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what year was the local government area with a surface of 4563 square kilometers established?`:
```sql
                SELECT "est" FROM "table1_23685890_2" WHERE "land_area_km"='4563';
```
## Task
Generate a SQL query to answer the following question:
`Which major town is located within the Outback Areas Community Development Trust?`

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

CREATE TABLE "table1_23685890_2" (
  "local_government_area" text,
  "type" text,
  "major_town" text,
  "land_area_km" text,
  "pop_2006" real,
  "density_km_2" real,
  "towns" real,
  "est" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which major town is located within the Outback Areas Community Development Trust?`:
```sql
                SELECT "major_town" FROM "table1_23685890_2" WHERE "local_government_area"='Outback Areas Community Development Trust';
```
## Task
Generate a SQL query to answer the following question:
`How many towns exist on the government area with a surface of 110 square kilometers?`

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

CREATE TABLE "table1_23685890_2" (
  "local_government_area" text,
  "type" text,
  "major_town" text,
  "land_area_km" text,
  "pop_2006" real,
  "density_km_2" real,
  "towns" real,
  "est" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many towns exist on the government area with a surface of 110 square kilometers?`:
```sql
                SELECT MIN("towns") FROM "table1_23685890_2" WHERE "land_area_km"='110';
```