cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the team's record when they played at Rheinenergiestadion?`

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

CREATE TABLE "table1_24989925_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team's record when they played at Rheinenergiestadion?`:
```sql
                SELECT "team_record" FROM "table1_24989925_2" WHERE "game_site"='RheinEnergieStadion';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest overall number of  09-10 oi 2nd?`

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

CREATE TABLE "pairs" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest overall number of  09-10 oi 2nd?`:
```sql
                SELECT MIN("09_10_oi_2nd") FROM "pairs";
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest overall number for 09-10 oi 2nd?`

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

CREATE TABLE "pairs" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest overall number for 09-10 oi 2nd?`:
```sql
                SELECT MIN("09_10_oi_2nd") FROM "pairs";
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum 09-10 i/o best?`

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

CREATE TABLE "men" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum 09-10 i/o best?`:
```sql
                SELECT MAX("09_10_i_o_best") FROM "men";
```
## Task
Generate a SQL query to answer the following question:
`If 09-10 i/o best is 972, what is the 09-10 gp/jgp 2nd maximum?`

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

CREATE TABLE "ice_dancing" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `If 09-10 i/o best is 972, what is the 09-10 gp/jgp 2nd maximum?`:
```sql
                SELECT MAX("09_10_gp_jgp_2nd") FROM "ice_dancing" WHERE "09_10_i_o_best"=972;
```
## Task
Generate a SQL query to answer the following question:
`If the rank is 17, what are the names?`

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

CREATE TABLE "ice_dancing" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the rank is 17, what are the names?`:
```sql
                SELECT "name" FROM "ice_dancing" WHERE "rank"=17;
```
## Task
Generate a SQL query to answer the following question:
`If the WS points is 947, what is the 08-09 gp/jgp 2nd ?`

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

CREATE TABLE "ice_dancing" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the WS points is 947, what is the 08-09 gp/jgp 2nd ?`:
```sql
                SELECT "08_09_gp_jgp_2nd" FROM "ice_dancing" WHERE "ws_points"=947;
```
## Task
Generate a SQL query to answer the following question:
`If the 08-09 gp/jgp 2nd is bigger than 227.0 and the 08-09 gp/jgp best is 252, what is the 08-09 oi best?`

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

CREATE TABLE "ice_dancing" (
  "rank" real,
  "ws_points" real,
  "name" text,
  "country" text,
  "09_10_i_o_best" real,
  "09_10_gp_jgp_best" real,
  "09_10_gp_jgp_2nd" real,
  "09_10_oi_best" real,
  "09_10_oi_2nd" real,
  "08_09_i_o_best" real,
  "08_09_gp_jgp_best" real,
  "08_09_gp_jgp_2nd" real,
  "08_09_oi_best" real,
  "08_09_oi_2nd" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the 08-09 gp/jgp 2nd is bigger than 227.0 and the 08-09 gp/jgp best is 252, what is the 08-09 oi best?`:
```sql
                SELECT "08_09_oi_best" FROM "ice_dancing" WHERE "08_09_gp_jgp_best"=252 AND "08_09_gp_jgp_2nd">227.0;
```
## Task
Generate a SQL query to answer the following question:
`How many points did he have when he has in the 34th position? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_l" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did he have when he has in the 34th position? `:
```sql
                SELECT "points" FROM "career_summary" WHERE "position"='34th';
```
## Task
Generate a SQL query to answer the following question:
`How many wins were listed when he had 112 points? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_l" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins were listed when he had 112 points? `:
```sql
                SELECT "wins" FROM "career_summary" WHERE "points"='112';
```
## Task
Generate a SQL query to answer the following question:
`In what series did he have the 7th position? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_l" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what series did he have the 7th position? `:
```sql
                SELECT "series" FROM "career_summary" WHERE "position"='7th';
```
## Task
Generate a SQL query to answer the following question:
`what were his points when he was in 8th position? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_l" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `what were his points when he was in 8th position? `:
```sql
                SELECT "points" FROM "career_summary" WHERE "position"='8th';
```
## Task
Generate a SQL query to answer the following question:
`What was the vote when the air date is 4 october 1997?`

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

CREATE TABLE "table1_25016824_2" (
  "air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the vote when the air date is 4 october 1997?`:
```sql
                SELECT "vote" FROM "table1_25016824_2" WHERE "air_date"='4 October 1997';
```
## Task
Generate a SQL query to answer the following question:
`Who was eliminated when immunity went to kent (jürgen)?`

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

CREATE TABLE "table1_25016824_2" (
  "air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was eliminated when immunity went to kent (jürgen)?`:
```sql
                SELECT "eliminated" FROM "table1_25016824_2" WHERE "immunity"='Kent (Jürgen)';
```
## Task
Generate a SQL query to answer the following question:
`Who was eliminated when the vote was 8-1?`

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

CREATE TABLE "table1_25016824_2" (
  "air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was eliminated when the vote was 8-1?`:
```sql
                SELECT "eliminated" FROM "table1_25016824_2" WHERE "vote"='8-1';
```
## Task
Generate a SQL query to answer the following question:
`How many entries are there for vote when the air date was 15 november 1997?`

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

CREATE TABLE "table1_25016824_2" (
  "air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are there for vote when the air date was 15 november 1997?`:
```sql
                SELECT COUNT("vote") FROM "table1_25016824_2" WHERE "air_date"='15 November 1997';
```
## Task
Generate a SQL query to answer the following question:
`What was the  reward  when immunity went to martin and finish is 13th voted out 8th jury member day 46?`

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

CREATE TABLE "table1_25016824_2" (
  "air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the  reward  when immunity went to martin and finish is 13th voted out 8th jury member day 46?`:
```sql
                SELECT "reward" FROM "table1_25016824_2" WHERE "immunity"='Martin' AND "finish"='13th Voted Out 8th Jury Member Day 46';
```
## Task
Generate a SQL query to answer the following question:
`Name the position for christopher smith`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for christopher smith`:
```sql
                SELECT "position" FROM "round_four" WHERE "player"='Christopher Smith';
```
## Task
Generate a SQL query to answer the following question:
`Name the college for nate binder`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the college for nate binder`:
```sql
                SELECT "college" FROM "round_four" WHERE "player"='Nate Binder';
```
## Task
Generate a SQL query to answer the following question:
`Name the least pick number for steven turner`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least pick number for steven turner`:
```sql
                SELECT MIN("pick_num") FROM "round_four" WHERE "player"='Steven Turner';
```
## Task
Generate a SQL query to answer the following question:
`Name the cfl team for steven turner`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the cfl team for steven turner`:
```sql
                SELECT "cfl_team" FROM "round_four" WHERE "player"='Steven Turner';
```
## Task
Generate a SQL query to answer the following question:
`Name the cfl team for lb position`

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

CREATE TABLE "table1_25017530_6" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the cfl team for lb position`:
```sql
                SELECT "cfl_team" FROM "table1_25017530_6" WHERE "position"='LB';
```
## Task
Generate a SQL query to answer the following question:
`Name the cfl team for saskatchewan`

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

CREATE TABLE "table1_25017530_6" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the cfl team for saskatchewan`:
```sql
                SELECT "cfl_team" FROM "table1_25017530_6" WHERE "college"='Saskatchewan';
```
## Task
Generate a SQL query to answer the following question:
`Name the position for michael warner`

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

CREATE TABLE "table1_25017530_6" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for michael warner`:
```sql
                SELECT "position" FROM "table1_25017530_6" WHERE "player"='Michael Warner';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were numbered 5?`

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

CREATE TABLE "series_2_2000_2001" (
  "episode_num" real,
  "production_count" real,
  "original_airdate" text,
  "prod_code" text,
  "title" text,
  "viewing_figures_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were numbered 5?`:
```sql
                SELECT COUNT("production_count") FROM "series_2_2000_2001" WHERE "episode_num"=5;
```
## Task
Generate a SQL query to answer the following question:
`What are the original air date(s) for episodes with production code ipea343l?`

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

CREATE TABLE "series_2_2000_2001" (
  "episode_num" real,
  "production_count" real,
  "original_airdate" text,
  "prod_code" text,
  "title" text,
  "viewing_figures_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the original air date(s) for episodes with production code ipea343l?`:
```sql
                SELECT "original_airdate" FROM "series_2_2000_2001" WHERE "prod_code"='IPEA343L';
```
## Task
Generate a SQL query to answer the following question:
`What are the original air date(s) for episodes with production code ipea345a?`

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

CREATE TABLE "series_2_2000_2001" (
  "episode_num" real,
  "production_count" real,
  "original_airdate" text,
  "prod_code" text,
  "title" text,
  "viewing_figures_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the original air date(s) for episodes with production code ipea345a?`:
```sql
                SELECT "original_airdate" FROM "series_2_2000_2001" WHERE "prod_code"='IPEA345A';
```
## Task
Generate a SQL query to answer the following question:
`What are the original air date(s) for episodes with 8.63 million viewers?`

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

CREATE TABLE "series_2_2000_2001" (
  "episode_num" real,
  "production_count" real,
  "original_airdate" text,
  "prod_code" text,
  "title" text,
  "viewing_figures_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the original air date(s) for episodes with 8.63 million viewers?`:
```sql
                SELECT "original_airdate" FROM "series_2_2000_2001" WHERE "viewing_figures_millions"='8.63';
```
## Task
Generate a SQL query to answer the following question:
`What is the power of the Type R?`

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

CREATE TABLE "third_generation_fd" (
  "model" text,
  "power" text,
  "torque" text,
  "gearbox" text,
  "weight" text,
  "seating" text,
  "brakes" text,
  "wheels" text,
  "tyres" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the power of the Type R?`:
```sql
                SELECT "power" FROM "third_generation_fd" WHERE "model"='Type R';
```
## Task
Generate a SQL query to answer the following question:
`What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres?`

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

CREATE TABLE "third_generation_fd" (
  "model" text,
  "power" text,
  "torque" text,
  "gearbox" text,
  "weight" text,
  "seating" text,
  "brakes" text,
  "wheels" text,
  "tyres" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres?`:
```sql
                SELECT "brakes" FROM "third_generation_fd" WHERE "wheels"='16x8.0JJ (front) 16x8.0JJ (rear)' AND "tyres"='225/50R16 92V(front) 225/50R16 92V(rear)' AND "model"='Type RB 4AT';
```
## Task
Generate a SQL query to answer the following question:
`What brakes for the 4-speed automatic gearbox?`

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

CREATE TABLE "third_generation_fd" (
  "model" text,
  "power" text,
  "torque" text,
  "gearbox" text,
  "weight" text,
  "seating" text,
  "brakes" text,
  "wheels" text,
  "tyres" text
);
### SQL
Given the database schema, here is the SQL query that answers `What brakes for the 4-speed automatic gearbox?`:
```sql
                SELECT "brakes" FROM "third_generation_fd" WHERE "gearbox"='4-speed automatic';
```
## Task
Generate a SQL query to answer the following question:
`What is the power for the Spirit R (Type B)?`

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

CREATE TABLE "third_generation_fd" (
  "model" text,
  "power" text,
  "torque" text,
  "gearbox" text,
  "weight" text,
  "seating" text,
  "brakes" text,
  "wheels" text,
  "tyres" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the power for the Spirit R (Type B)?`:
```sql
                SELECT "power" FROM "third_generation_fd" WHERE "model"='Spirit R (Type B)';
```
## Task
Generate a SQL query to answer the following question:
`What is the gearbox when the torque is torque?`

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

CREATE TABLE "third_generation_fd" (
  "model" text,
  "power" text,
  "torque" text,
  "gearbox" text,
  "weight" text,
  "seating" text,
  "brakes" text,
  "wheels" text,
  "tyres" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gearbox when the torque is torque?`:
```sql
                SELECT "gearbox" FROM "third_generation_fd" WHERE "torque"='Torque';
```
## Task
Generate a SQL query to answer the following question:
`Name the first elected for alabama 3`

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

CREATE TABLE "alabama" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the first elected for alabama 3`:
```sql
                SELECT COUNT("first_elected") FROM "alabama" WHERE "district"='Alabama 3';
```
## Task
Generate a SQL query to answer the following question:
`Name the party for spencer bachus`

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

CREATE TABLE "alabama" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the party for spencer bachus`:
```sql
                SELECT "party" FROM "alabama" WHERE "incumbent"='Spencer Bachus';
```
## Task
Generate a SQL query to answer the following question:
`Name the district for mike rogers`

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

CREATE TABLE "alabama" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the district for mike rogers`:
```sql
                SELECT "district" FROM "alabama" WHERE "incumbent"='Mike Rogers';
```
## Task
Generate a SQL query to answer the following question:
`Name the district for spencer bachus`

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

CREATE TABLE "alabama" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the district for spencer bachus`:
```sql
                SELECT "district" FROM "alabama" WHERE "incumbent"='Spencer Bachus';
```
## Task
Generate a SQL query to answer the following question:
`In what district was keith ellison the incumbent?`

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

CREATE TABLE "minnesota" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what district was keith ellison the incumbent?`:
```sql
                SELECT "district" FROM "minnesota" WHERE "incumbent"='Keith Ellison';
```
## Task
Generate a SQL query to answer the following question:
`List the kilo watt hoours per day for moline.`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "start" real,
  "day_power_w" real,
  "night_power" real,
  "nickname" text,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the kilo watt hoours per day for moline.`:
```sql
                SELECT "day_power_w" FROM "am" WHERE "city"='Moline';
```
## Task
Generate a SQL query to answer the following question:
`In which year did the voice of muscatine show start?`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "start" real,
  "day_power_w" real,
  "night_power" real,
  "nickname" text,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which year did the voice of muscatine show start?`:
```sql
                SELECT "start" FROM "am" WHERE "nickname"='Voice of Muscatine';
```
## Task
Generate a SQL query to answer the following question:
`In what year was cumulus founded?`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "start" real,
  "day_power_w" real,
  "night_power" real,
  "nickname" text,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was cumulus founded?`:
```sql
                SELECT MIN("start") FROM "am" WHERE "owner"='Cumulus';
```
## Task
Generate a SQL query to answer the following question:
`Does the city of moline have stereo?`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "start" real,
  "day_power_w" real,
  "night_power" real,
  "nickname" text,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `Does the city of moline have stereo?`:
```sql
                SELECT "stereo" FROM "am" WHERE "city"='Moline';
```
## Task
Generate a SQL query to answer the following question:
`what is the company with the parent company wrightbus?`

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

CREATE TABLE "assembly_plants" (
  "company" text,
  "parent_company" text,
  "parent_headquarters" text,
  "plant" text,
  "models_produced" text,
  "production_latest_figures" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the company with the parent company wrightbus?`:
```sql
                SELECT "company" FROM "assembly_plants" WHERE "parent_company"='Wrightbus';
```
## Task
Generate a SQL query to answer the following question:
`what is the name ofhte company where the plant is in burnaston?`

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

CREATE TABLE "assembly_plants" (
  "company" text,
  "parent_company" text,
  "parent_headquarters" text,
  "plant" text,
  "models_produced" text,
  "production_latest_figures" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name ofhte company where the plant is in burnaston?`:
```sql
                SELECT "company" FROM "assembly_plants" WHERE "plant"='Burnaston';
```
## Task
Generate a SQL query to answer the following question:
`what models are produced where the plant is scarborough?`

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

CREATE TABLE "assembly_plants" (
  "company" text,
  "parent_company" text,
  "parent_headquarters" text,
  "plant" text,
  "models_produced" text,
  "production_latest_figures" text
);
### SQL
Given the database schema, here is the SQL query that answers `what models are produced where the plant is scarborough?`:
```sql
                SELECT "models_produced" FROM "assembly_plants" WHERE "plant"='Scarborough';
```
## Task
Generate a SQL query to answer the following question:
`how many models produced where the plant is castle bromwich?`

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

CREATE TABLE "assembly_plants" (
  "company" text,
  "parent_company" text,
  "parent_headquarters" text,
  "plant" text,
  "models_produced" text,
  "production_latest_figures" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many models produced where the plant is castle bromwich?`:
```sql
                SELECT COUNT("models_produced") FROM "assembly_plants" WHERE "plant"='Castle Bromwich';
```
## Task
Generate a SQL query to answer the following question:
`what is the production where the parent company is ariel?`

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

CREATE TABLE "assembly_plants" (
  "company" text,
  "parent_company" text,
  "parent_headquarters" text,
  "plant" text,
  "models_produced" text,
  "production_latest_figures" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the production where the parent company is ariel?`:
```sql
                SELECT "production_latest_figures" FROM "assembly_plants" WHERE "parent_company"='Ariel';
```
## Task
Generate a SQL query to answer the following question:
`What kind of chassis on the angie's list sponsored car?`

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

CREATE TABLE "active_part_time_indy_car_series_teams" (
  "team" text,
  "num" real,
  "primary_sponsor" text,
  "driver_s" text,
  "listed_owner_s" text,
  "engine" text,
  "chassis" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of chassis on the angie's list sponsored car?`:
```sql
                SELECT "chassis" FROM "active_part_time_indy_car_series_teams" WHERE "primary_sponsor"='Angie''s List';
```
## Task
Generate a SQL query to answer the following question:
`What team owns the car owned by chip ganassi?`

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

CREATE TABLE "active_part_time_indy_car_series_teams" (
  "team" text,
  "num" real,
  "primary_sponsor" text,
  "driver_s" text,
  "listed_owner_s" text,
  "engine" text,
  "chassis" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team owns the car owned by chip ganassi?`:
```sql
                SELECT "team" FROM "active_part_time_indy_car_series_teams" WHERE "listed_owner_s"='Chip Ganassi';
```
## Task
Generate a SQL query to answer the following question:
`What chassis is on the car repped by team rahal letterman lanigan racing?`

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

CREATE TABLE "active_part_time_indy_car_series_teams" (
  "team" text,
  "num" real,
  "primary_sponsor" text,
  "driver_s" text,
  "listed_owner_s" text,
  "engine" text,
  "chassis" text
);
### SQL
Given the database schema, here is the SQL query that answers `What chassis is on the car repped by team rahal letterman lanigan racing?`:
```sql
                SELECT "chassis" FROM "active_part_time_indy_car_series_teams" WHERE "team"='Rahal Letterman Lanigan Racing';
```
## Task
Generate a SQL query to answer the following question:
`Who drives the abc supply sponsored cor?`

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

CREATE TABLE "active_part_time_indy_car_series_teams" (
  "team" text,
  "num" real,
  "primary_sponsor" text,
  "driver_s" text,
  "listed_owner_s" text,
  "engine" text,
  "chassis" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who drives the abc supply sponsored cor?`:
```sql
                SELECT "driver_s" FROM "active_part_time_indy_car_series_teams" WHERE "primary_sponsor"='ABC Supply';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of district for tom marino`

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

CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of district for tom marino`:
```sql
                SELECT COUNT("district") FROM "pennsylvania" WHERE "incumbent"='Tom Marino';
```
## Task
Generate a SQL query to answer the following question:
`Name the district for 1994`

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

CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the district for 1994`:
```sql
                SELECT "district" FROM "pennsylvania" WHERE "first_elected"=1994;
```
## Task
Generate a SQL query to answer the following question:
`Name the party for pennsylvania 10`

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

CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the party for pennsylvania 10`:
```sql
                SELECT "party" FROM "pennsylvania" WHERE "district"='Pennsylvania 10';
```
## Task
Generate a SQL query to answer the following question:
`Name the result for glenn thompson`

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

CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the result for glenn thompson`:
```sql
                SELECT "result" FROM "pennsylvania" WHERE "incumbent"='Glenn Thompson';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of district for bill shuster`

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

CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of district for bill shuster`:
```sql
                SELECT COUNT("district") FROM "pennsylvania" WHERE "incumbent"='Bill Shuster';
```
## Task
Generate a SQL query to answer the following question:
`List the total play time for 11 starts.`

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

CREATE TABLE "all_time_statistics" (
  "name" text,
  "nationality" text,
  "position" text,
  "boston_breakers_career" text,
  "appearances" real,
  "starts" real,
  "minutes" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `List the total play time for 11 starts.`:
```sql
                SELECT MAX("minutes") FROM "all_time_statistics" WHERE "starts"=11;
```
## Task
Generate a SQL query to answer the following question:
`In what region is the enrollment ratio in primary 94.40?`

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

CREATE TABLE "by_net_enrollment_ratio_in_education" (
  "region" text,
  "preschool_0_5_years" text,
  "primary_6_13_years" text,
  "secondary_14_17_years" text,
  "tertiary_18_24_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what region is the enrollment ratio in primary 94.40?`:
```sql
                SELECT "region" FROM "by_net_enrollment_ratio_in_education" WHERE "primary_6_13_years"='94.40';
```
## Task
Generate a SQL query to answer the following question:
`What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?`

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

CREATE TABLE "by_net_enrollment_ratio_in_education" (
  "region" text,
  "preschool_0_5_years" text,
  "primary_6_13_years" text,
  "secondary_14_17_years" text,
  "tertiary_18_24_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?`:
```sql
                SELECT "preschool_0_5_years" FROM "by_net_enrollment_ratio_in_education" WHERE "tertiary_18_24_years"='29.55';
```
## Task
Generate a SQL query to answer the following question:
`What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?`

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

CREATE TABLE "by_net_enrollment_ratio_in_education" (
  "region" text,
  "preschool_0_5_years" text,
  "primary_6_13_years" text,
  "secondary_14_17_years" text,
  "tertiary_18_24_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?`:
```sql
                SELECT "primary_6_13_years" FROM "by_net_enrollment_ratio_in_education" WHERE "preschool_0_5_years"='38.14';
```
## Task
Generate a SQL query to answer the following question:
`What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?`

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

CREATE TABLE "by_net_enrollment_ratio_in_education" (
  "region" text,
  "preschool_0_5_years" text,
  "primary_6_13_years" text,
  "secondary_14_17_years" text,
  "tertiary_18_24_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?`:
```sql
                SELECT "tertiary_18_24_years" FROM "by_net_enrollment_ratio_in_education" WHERE "secondary_14_17_years"='71.43';
```
## Task
Generate a SQL query to answer the following question:
`What is the  enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?`

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

CREATE TABLE "by_net_enrollment_ratio_in_education" (
  "region" text,
  "preschool_0_5_years" text,
  "primary_6_13_years" text,
  "secondary_14_17_years" text,
  "tertiary_18_24_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the  enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?`:
```sql
                SELECT "preschool_0_5_years" FROM "by_net_enrollment_ratio_in_education" WHERE "primary_6_13_years"='93.10';
```
## Task
Generate a SQL query to answer the following question:
`What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23? `

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

CREATE TABLE "by_net_enrollment_ratio_in_education" (
  "region" text,
  "preschool_0_5_years" text,
  "primary_6_13_years" text,
  "secondary_14_17_years" text,
  "tertiary_18_24_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23? `:
```sql
                SELECT "primary_6_13_years" FROM "by_net_enrollment_ratio_in_education" WHERE "preschool_0_5_years"='50.23';
```
## Task
Generate a SQL query to answer the following question:
`what is the number of registered female voters where the percentage is 108.6%`

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

CREATE TABLE "by_electorate" (
  "region" text,
  "enrolled_men" real,
  "enrolled_women" real,
  "enrolled_total" real,
  "men_of_voting_age" real,
  "women_of_voting_age" real,
  "voting_age_population" real,
  "e_vap_ratio_men" text,
  "e_vap_ratio_women" text,
  "e_vap_ratio_total" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of registered female voters where the percentage is 108.6%`:
```sql
                SELECT "enrolled_women" FROM "by_electorate" WHERE "e_vap_ratio_women"='108.6%';
```
## Task
Generate a SQL query to answer the following question:
`what is the percentage of male voters where the level of maturity is 123726`

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

CREATE TABLE "by_electorate" (
  "region" text,
  "enrolled_men" real,
  "enrolled_women" real,
  "enrolled_total" real,
  "men_of_voting_age" real,
  "women_of_voting_age" real,
  "voting_age_population" real,
  "e_vap_ratio_men" text,
  "e_vap_ratio_women" text,
  "e_vap_ratio_total" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the percentage of male voters where the level of maturity is 123726`:
```sql
                SELECT "e_vap_ratio_total" FROM "by_electorate" WHERE "men_of_voting_age"=123726;
```
## Task
Generate a SQL query to answer the following question:
`How many regions had 153 women prison inmates?`

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

CREATE TABLE "by_prison_inmates_and_incarceration_rate" (
  "region" text,
  "prison_inmates_men" real,
  "prison_inmates_women" real,
  "prison_inmates_total" real,
  "incarceration_rate_male" real,
  "incarceration_rate_female" real,
  "incarceration_rate_total" real,
  "country_comparison" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many regions had 153 women prison inmates?`:
```sql
                SELECT COUNT("incarceration_rate_total") FROM "by_prison_inmates_and_incarceration_rate" WHERE "prison_inmates_women"=153;
```
## Task
Generate a SQL query to answer the following question:
`How many regions had an incarceration rate for females of 63?`

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

CREATE TABLE "by_prison_inmates_and_incarceration_rate" (
  "region" text,
  "prison_inmates_men" real,
  "prison_inmates_women" real,
  "prison_inmates_total" real,
  "incarceration_rate_male" real,
  "incarceration_rate_female" real,
  "incarceration_rate_total" real,
  "country_comparison" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many regions had an incarceration rate for females of 63?`:
```sql
                SELECT COUNT("incarceration_rate_total") FROM "by_prison_inmates_and_incarceration_rate" WHERE "incarceration_rate_female"=63;
```
## Task
Generate a SQL query to answer the following question:
`What is the male incarceration rate of maule?`

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

CREATE TABLE "by_prison_inmates_and_incarceration_rate" (
  "region" text,
  "prison_inmates_men" real,
  "prison_inmates_women" real,
  "prison_inmates_total" real,
  "incarceration_rate_male" real,
  "incarceration_rate_female" real,
  "incarceration_rate_total" real,
  "country_comparison" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the male incarceration rate of maule?`:
```sql
                SELECT MAX("incarceration_rate_male") FROM "by_prison_inmates_and_incarceration_rate" WHERE "region"='Maule';
```
## Task
Generate a SQL query to answer the following question:
`Name the region for automatic washing machine being 60.9%`

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

CREATE TABLE "by_ownership_of_goods_and_services" (
  "region" text,
  "vehicle" text,
  "automatic_washing_machine" text,
  "refrigerator" text,
  "water_heater" text,
  "fixed_telephone_line" text,
  "mobile_phone" text,
  "cable_sat_tv_connection" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the region for automatic washing machine being 60.9%`:
```sql
                SELECT "region" FROM "by_ownership_of_goods_and_services" WHERE "automatic_washing_machine"='60.9%';
```
## Task
Generate a SQL query to answer the following question:
`Name the fixed telephone line for 25.6% vehicle`

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

CREATE TABLE "by_ownership_of_goods_and_services" (
  "region" text,
  "vehicle" text,
  "automatic_washing_machine" text,
  "refrigerator" text,
  "water_heater" text,
  "fixed_telephone_line" text,
  "mobile_phone" text,
  "cable_sat_tv_connection" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fixed telephone line for 25.6% vehicle`:
```sql
                SELECT "fixed_telephone_line" FROM "by_ownership_of_goods_and_services" WHERE "vehicle"='25.6%';
```
## Task
Generate a SQL query to answer the following question:
`Name the region for 39.2% vehicle`

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

CREATE TABLE "by_ownership_of_goods_and_services" (
  "region" text,
  "vehicle" text,
  "automatic_washing_machine" text,
  "refrigerator" text,
  "water_heater" text,
  "fixed_telephone_line" text,
  "mobile_phone" text,
  "cable_sat_tv_connection" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the region for 39.2% vehicle`:
```sql
                SELECT "region" FROM "by_ownership_of_goods_and_services" WHERE "vehicle"='39.2%';
```
## Task
Generate a SQL query to answer the following question:
`What region has 0.3% solar panel?`

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

CREATE TABLE "by_access_to_electricity" (
  "region" text,
  "public_network" text,
  "own_community_generator" text,
  "solar_panel" text,
  "other_source" text,
  "none" text
);
### SQL
Given the database schema, here is the SQL query that answers `What region has 0.3% solar panel?`:
```sql
                SELECT "region" FROM "by_access_to_electricity" WHERE "solar_panel"='0.3%';
```
## Task
Generate a SQL query to answer the following question:
`What is atacama's percentage of solar panels?`

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

CREATE TABLE "by_access_to_electricity" (
  "region" text,
  "public_network" text,
  "own_community_generator" text,
  "solar_panel" text,
  "other_source" text,
  "none" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is atacama's percentage of solar panels?`:
```sql
                SELECT "solar_panel" FROM "by_access_to_electricity" WHERE "region"='Atacama';
```
## Task
Generate a SQL query to answer the following question:
`Which region has 0.6% none?`

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

CREATE TABLE "by_access_to_electricity" (
  "region" text,
  "public_network" text,
  "own_community_generator" text,
  "solar_panel" text,
  "other_source" text,
  "none" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which region has 0.6% none?`:
```sql
                SELECT "region" FROM "by_access_to_electricity" WHERE "none"='0.6%';
```