cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w?`

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

CREATE TABLE "tillamook_0_25_m" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "s_spec_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w?`:
```sql
                SELECT "part_number_s" FROM "tillamook_0_25_m" WHERE "tdp"='2.9 (Max.4.1~5.4) W';
```
## Task
Generate a SQL query to answer the following question:
`What's the l1 cache of the model with sspec number sl2z3, sl28q (mya0)?`

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

CREATE TABLE "tillamook_0_25_m" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "s_spec_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the l1 cache of the model with sspec number sl2z3, sl28q (mya0)?`:
```sql
                SELECT "l1_cache" FROM "tillamook_0_25_m" WHERE "s_spec_number"='SL2Z3, SL28Q (myA0)';
```
## Task
Generate a SQL query to answer the following question:
`How many region 4 dates are associated with a region 2 date of July 9, 2007?`

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

CREATE TABLE "table1_240936_2" (
  "dvd_name" text,
  "ep_num" text,
  "region_1_us" text,
  "region_1_can" text,
  "region_2_uk" text,
  "region_2_germany" text,
  "region_4_australia" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many region 4 dates are associated with a region 2 date of July 9, 2007?`:
```sql
                SELECT COUNT("region_4_australia") FROM "table1_240936_2" WHERE "region_2_uk"='July 9, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?`

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

CREATE TABLE "table1_240936_2" (
  "dvd_name" text,
  "ep_num" text,
  "region_1_us" text,
  "region_1_can" text,
  "region_2_uk" text,
  "region_2_germany" text,
  "region_4_australia" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?`:
```sql
                SELECT "region_1_can" FROM "table1_240936_2" WHERE "region_1_us"='January 16, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the region 4 (Aus) date associated with a region 1 (US) date of January 16, 2007?`

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

CREATE TABLE "table1_240936_2" (
  "dvd_name" text,
  "ep_num" text,
  "region_1_us" text,
  "region_1_can" text,
  "region_2_uk" text,
  "region_2_germany" text,
  "region_4_australia" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the region 4 (Aus) date associated with a region 1 (US) date of January 16, 2007?`:
```sql
                SELECT "region_4_australia" FROM "table1_240936_2" WHERE "region_1_us"='January 16, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?`

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

CREATE TABLE "table1_240936_2" (
  "dvd_name" text,
  "ep_num" text,
  "region_1_us" text,
  "region_1_can" text,
  "region_2_uk" text,
  "region_2_germany" text,
  "region_4_australia" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?`:
```sql
                SELECT "region_2_uk" FROM "table1_240936_2" WHERE "region_4_australia"='July 31, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?`

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

CREATE TABLE "table1_240936_2" (
  "dvd_name" text,
  "ep_num" text,
  "region_1_us" text,
  "region_1_can" text,
  "region_2_uk" text,
  "region_2_germany" text,
  "region_4_australia" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?`:
```sql
                SELECT "region_1_can" FROM "table1_240936_2" WHERE "region_2_uk"='May 18, 2009';
```
## Task
Generate a SQL query to answer the following question:
`How many seasons included an episode titled "all the wrong moves"?`

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

CREATE TABLE "table1_2409041_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons included an episode titled "all the wrong moves"?`:
```sql
                SELECT COUNT("no_in_season") FROM "table1_2409041_6" WHERE "title"='\"All the Wrong Moves\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director for the episode airing on September 24, 1993?`

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

CREATE TABLE "table1_2409041_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director for the episode airing on September 24, 1993?`:
```sql
                SELECT "directed_by" FROM "table1_2409041_6" WHERE "original_air_date"='September 24, 1993';
```
## Task
Generate a SQL query to answer the following question:
`In which series was season 18?`

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

CREATE TABLE "table1_2409041_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `In which series was season 18?`:
```sql
                SELECT COUNT("no_in_series") FROM "table1_2409041_6" WHERE "no_in_season"=18;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode "car wars"?`

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

CREATE TABLE "table1_2409041_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode "car wars"?`:
```sql
                SELECT "written_by" FROM "table1_2409041_6" WHERE "title"='\"Car Wars\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of season 2? `

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

CREATE TABLE "table1_2409041_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of season 2? `:
```sql
                SELECT "title" FROM "table1_2409041_6" WHERE "no_in_season"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the brand name associated with a model name e4xxx?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the brand name associated with a model name e4xxx?`:
```sql
                SELECT "brand_name" FROM "variants" WHERE "model_list"='E4xxx';
```
## Task
Generate a SQL query to answer the following question:
`What is the brand name associated with the model named e4xxx?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the brand name associated with the model named e4xxx?`:
```sql
                SELECT "brand_name" FROM "variants" WHERE "model_list"='E4xxx';
```
## Task
Generate a SQL query to answer the following question:
`What is the brand name associated with the model 4x0?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the brand name associated with the model 4x0?`:
```sql
                SELECT "brand_name" FROM "variants" WHERE "model_list"='4x0';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of cores associated with model name e2xxx?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of cores associated with model name e2xxx?`:
```sql
                SELECT "cores" FROM "variants" WHERE "model_list"='E2xxx';
```
## Task
Generate a SQL query to answer the following question:
`What is the wattage/TDP associated with model name 4x0?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the wattage/TDP associated with model name 4x0?`:
```sql
                SELECT "tdp" FROM "variants" WHERE "model_list"='4x0';
```
## Task
Generate a SQL query to answer the following question:
`When the socket is bga956 and processor is penryn-3m, what is the tdp?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the socket is bga956 and processor is penryn-3m, what is the tdp?`:
```sql
                SELECT "tdp" FROM "variants" WHERE "socket"='BGA956' AND "processor"='Penryn-3M';
```
## Task
Generate a SQL query to answer the following question:
`Whats the processor for p9xxx?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `Whats the processor for p9xxx?`:
```sql
                SELECT "processor" FROM "variants" WHERE "model_list"='P9xxx';
```
## Task
Generate a SQL query to answer the following question:
`What's the l2 cache of the model with TDP of 5.5-10 w?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the l2 cache of the model with TDP of 5.5-10 w?`:
```sql
                SELECT "l2_cache" FROM "variants" WHERE "tdp"='5.5-10 W';
```
## Task
Generate a SQL query to answer the following question:
`What's the model of the processor with BGA479 socket and a 5.5 w TDP?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the model of the processor with BGA479 socket and a 5.5 w TDP?`:
```sql
                SELECT "model_list" FROM "variants" WHERE "socket"='BGA479' AND "tdp"='5.5 W';
```
## Task
Generate a SQL query to answer the following question:
`What's the model of the processor with a 5.5 w TDP?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the model of the processor with a 5.5 w TDP?`:
```sql
                SELECT "model_list" FROM "variants" WHERE "tdp"='5.5 W';
```
## Task
Generate a SQL query to answer the following question:
`What's the smallest number for cores of any of the processor models?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the smallest number for cores of any of the processor models?`:
```sql
                SELECT MIN("cores") FROM "variants";
```
## Task
Generate a SQL query to answer the following question:
`what is the model where the processor is yorkfield and the brand name is xeon?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the model where the processor is yorkfield and the brand name is xeon?`:
```sql
                SELECT "model_list" FROM "variants" WHERE "processor"='Yorkfield' AND "brand_name"='Xeon';
```
## Task
Generate a SQL query to answer the following question:
`what is the socket that has a brand name of core 2 extreme?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the socket that has a brand name of core 2 extreme?`:
```sql
                SELECT "socket" FROM "variants" WHERE "brand_name"='Core 2 Extreme';
```
## Task
Generate a SQL query to answer the following question:
`what is the name of the processor for model x33x0?`

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

CREATE TABLE "variants" (
  "processor" text,
  "brand_name" text,
  "model_list" text,
  "cores" real,
  "l2_cache" text,
  "socket" text,
  "tdp" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name of the processor for model x33x0?`:
```sql
                SELECT "processor" FROM "variants" WHERE "model_list"='X33x0';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest number in before?`

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

CREATE TABLE "table1_24108789_4" (
  "num" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "winnings" real,
  "after" real,
  "before" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest number in before?`:
```sql
                SELECT MIN("before") FROM "table1_24108789_4";
```
## Task
Generate a SQL query to answer the following question:
`What is the latest after when the player is Steve Stricker?`

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

CREATE TABLE "table1_24108789_4" (
  "num" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "winnings" real,
  "after" real,
  "before" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest after when the player is Steve Stricker?`:
```sql
                SELECT MAX("after") FROM "table1_24108789_4" WHERE "player"='Steve Stricker';
```
## Task
Generate a SQL query to answer the following question:
`List all before numbers when Geoff Ogilvy was playing.`

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

CREATE TABLE "table1_24108789_4" (
  "num" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "winnings" real,
  "after" real,
  "before" real
);
### SQL
Given the database schema, here is the SQL query that answers `List all before numbers when Geoff Ogilvy was playing.`:
```sql
                SELECT "before" FROM "table1_24108789_4" WHERE "player"='Geoff Ogilvy';
```
## Task
Generate a SQL query to answer the following question:
`Name the least events for number 7`

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

CREATE TABLE "reset_points" (
  "num" real,
  "player" text,
  "country" text,
  "points" real,
  "reset_points" real,
  "events" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least events for number 7`:
```sql
                SELECT MIN("events") FROM "reset_points" WHERE "num"=7;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of events for 3031`

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

CREATE TABLE "reset_points" (
  "num" real,
  "player" text,
  "country" text,
  "points" real,
  "reset_points" real,
  "events" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of events for 3031`:
```sql
                SELECT COUNT("events") FROM "reset_points" WHERE "points"=3031;
```
## Task
Generate a SQL query to answer the following question:
`Name the player for 22 events`

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

CREATE TABLE "reset_points" (
  "num" real,
  "player" text,
  "country" text,
  "points" real,
  "reset_points" real,
  "events" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the player for 22 events`:
```sql
                SELECT "player" FROM "reset_points" WHERE "events"=22;
```
## Task
Generate a SQL query to answer the following question:
`Name the least points for number 6`

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

CREATE TABLE "reset_points" (
  "num" real,
  "player" text,
  "country" text,
  "points" real,
  "reset_points" real,
  "events" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least points for number 6`:
```sql
                SELECT MIN("points") FROM "reset_points" WHERE "num"=6;
```
## Task
Generate a SQL query to answer the following question:
`Name the most number for steve stricker`

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

CREATE TABLE "reset_points" (
  "num" real,
  "player" text,
  "country" text,
  "points" real,
  "reset_points" real,
  "events" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for steve stricker`:
```sql
                SELECT MAX("num") FROM "reset_points" WHERE "player"='Steve Stricker';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of points for 800 reset`

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

CREATE TABLE "reset_points" (
  "num" real,
  "player" text,
  "country" text,
  "points" real,
  "reset_points" real,
  "events" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of points for 800 reset`:
```sql
                SELECT COUNT("points") FROM "reset_points" WHERE "reset_points"=800;
```
## Task
Generate a SQL query to answer the following question:
`What percentage did kennedy win while coakly won 37.9%`

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

CREATE TABLE "by_county" (
  "county" text,
  "coakley_pct" text,
  "coakley_votes" real,
  "brown_pct" text,
  "brown_votes" real,
  "kennedy_pct" text,
  "kennedy_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage did kennedy win while coakly won 37.9%`:
```sql
                SELECT "kennedy_pct" FROM "by_county" WHERE "coakley_pct"='37.9%';
```
## Task
Generate a SQL query to answer the following question:
`How many votes did kennedy win when coakley won 66.2%`

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

CREATE TABLE "by_county" (
  "county" text,
  "coakley_pct" text,
  "coakley_votes" real,
  "brown_pct" text,
  "brown_votes" real,
  "kennedy_pct" text,
  "kennedy_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes did kennedy win when coakley won 66.2%`:
```sql
                SELECT MIN("kennedy_votes") FROM "by_county" WHERE "coakley_pct"='66.2%';
```
## Task
Generate a SQL query to answer the following question:
`What was the percentage of votes for coakley when kennedy won 1.6%`

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

CREATE TABLE "by_county" (
  "county" text,
  "coakley_pct" text,
  "coakley_votes" real,
  "brown_pct" text,
  "brown_votes" real,
  "kennedy_pct" text,
  "kennedy_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the percentage of votes for coakley when kennedy won 1.6%`:
```sql
                SELECT "coakley_pct" FROM "by_county" WHERE "kennedy_pct"='1.6%';
```
## Task
Generate a SQL query to answer the following question:
`How many votes did kennedy win when coaklely won 2139 votes?`

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

CREATE TABLE "by_county" (
  "county" text,
  "coakley_pct" text,
  "coakley_votes" real,
  "brown_pct" text,
  "brown_votes" real,
  "kennedy_pct" text,
  "kennedy_votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes did kennedy win when coaklely won 2139 votes?`:
```sql
                SELECT COUNT("kennedy_votes") FROM "by_county" WHERE "coakley_votes"=2139;
```
## Task
Generate a SQL query to answer the following question:
`How many locations did the team play at on week 7?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations did the team play at on week 7?`:
```sql
                SELECT COUNT("location") FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the games VS the Lions?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the games VS the Lions?`:
```sql
                SELECT "final_score" FROM "schedule" WHERE "opponent"='Lions';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of dates for alouettes`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of dates for alouettes`:
```sql
                SELECT COUNT("date") FROM "schedule" WHERE "opponent"='Alouettes';
```
## Task
Generate a SQL query to answer the following question:
`Name the least attendance for l 36–1`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least attendance for l 36–1`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "final_score"='L 36–1';
```
## Task
Generate a SQL query to answer the following question:
`Name the final score for exhibition stadium for september 10`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the final score for exhibition stadium for september 10`:
```sql
                SELECT "final_score" FROM "schedule" WHERE "location"='Exhibition Stadium' AND "date"='September 10';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of record for week 11`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of record for week 11`:
```sql
                SELECT COUNT("record") FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for week 12`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for week 12`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of opponent for october 3`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of opponent for october 3`:
```sql
                SELECT COUNT("opponent") FROM "schedule" WHERE "date"='October 3';
```
## Task
Generate a SQL query to answer the following question:
`Name the final score for week 5`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the final score for week 5`:
```sql
                SELECT "final_score" FROM "schedule" WHERE "week"=5;
```
## Task
Generate a SQL query to answer the following question:
`Who directed episode 28 in the series?`

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

CREATE TABLE "table1_24132054_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed episode 28 in the series?`:
```sql
                SELECT "directed_by" FROM "table1_24132054_1" WHERE "no_in_series"=28;
```
## Task
Generate a SQL query to answer the following question:
`Who directed "go your own way"?`

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

CREATE TABLE "table1_24132054_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed "go your own way"?`:
```sql
                SELECT "directed_by" FROM "table1_24132054_1" WHERE "title"='\"Go Your Own Way\"';
```
## Task
Generate a SQL query to answer the following question:
`What episode in the season was "easy as pie"?`

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

CREATE TABLE "table1_24132054_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode in the season was "easy as pie"?`:
```sql
                SELECT MIN("no_in_season") FROM "table1_24132054_1" WHERE "title"='\"Easy as Pie\"';
```
## Task
Generate a SQL query to answer the following question:
`What in the series number of the episode written by Lauren Gussis?`

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

CREATE TABLE "table1_24132083_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What in the series number of the episode written by Lauren Gussis?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_24132083_1" WHERE "written_by"='Lauren Gussis';
```
## Task
Generate a SQL query to answer the following question:
`On how many different dates did the episode directed by Marcos Siega and written by Scott Buck air for the first time?`

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

CREATE TABLE "table1_24132083_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `On how many different dates did the episode directed by Marcos Siega and written by Scott Buck air for the first time?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_24132083_1" WHERE "directed_by"='Marcos Siega' AND "written_by"='Scott Buck';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director of the episode called "If I had a hammer"?`

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

CREATE TABLE "table1_24132083_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director of the episode called "If I had a hammer"?`:
```sql
                SELECT "directed_by" FROM "table1_24132083_1" WHERE "title"='\"If I Had a Hammer\"';
```
## Task
Generate a SQL query to answer the following question:
`What's the series number of the episode written by Tim Schlattmann?`

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

CREATE TABLE "table1_24132083_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the series number of the episode written by Tim Schlattmann?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_24132083_1" WHERE "written_by"='Tim Schlattmann';
```
## Task
Generate a SQL query to answer the following question:
`Who played in the semi finals matches at the Buick WCT finals?`

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

CREATE TABLE "wct_1985" (
  "date_final" text,
  "tournament" text,
  "commercial_name" text,
  "category" text,
  "prize_money_surface" text,
  "final_match" text,
  "semifinal_matches" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played in the semi finals matches at the Buick WCT finals?`:
```sql
                SELECT "semifinal_matches" FROM "wct_1985" WHERE "commercial_name"='Buick WCT Finals';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for  l 28–15 `

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for  l 28–15 `:
```sql
                SELECT "date" FROM "schedule" WHERE "final_score"='L 28–15';
```
## Task
Generate a SQL query to answer the following question:
`When tiger-cats is the opponent what is the location?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When tiger-cats is the opponent what is the location?`:
```sql
                SELECT "location" FROM "schedule" WHERE "opponent"='Tiger-Cats';
```
## Task
Generate a SQL query to answer the following question:
`When 4 is the week what is the location?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 4 is the week what is the location?`:
```sql
                SELECT "location" FROM "schedule" WHERE "week"=4;
```
## Task
Generate a SQL query to answer the following question:
`What was the record for the Argonauts on September 7?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for the Argonauts on September 7?`:
```sql
                SELECT "record" FROM "schedule" WHERE "date"='September 7';
```
## Task
Generate a SQL query to answer the following question:
`What is he smallest numbered week?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is he smallest numbered week?`:
```sql
                SELECT MIN("week") FROM "schedule";
```
## Task
Generate a SQL query to answer the following question:
`How many violines are suggested in the "Arranged by Nelson Riddle" reference with section size of 12 players?`

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

CREATE TABLE "suggested_string_section_sizes" (
  "reference" text,
  "author" text,
  "section_size" text,
  "violins" real,
  "violas" real,
  "celli" real,
  "basses" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many violines are suggested in the "Arranged by Nelson Riddle" reference with section size of 12 players?`:
```sql
                SELECT "violins" FROM "suggested_string_section_sizes" WHERE "reference"='\"Arranged By Nelson Riddle\"' AND "section_size"='12 players';
```
## Task
Generate a SQL query to answer the following question:
`How many cellos are suggested in the reference with section size for 20 players?`

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

CREATE TABLE "suggested_string_section_sizes" (
  "reference" text,
  "author" text,
  "section_size" text,
  "violins" real,
  "violas" real,
  "celli" real,
  "basses" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many cellos are suggested in the reference with section size for 20 players?`:
```sql
                SELECT "celli" FROM "suggested_string_section_sizes" WHERE "section_size"='20 players';
```
## Task
Generate a SQL query to answer the following question:
`What reference, written by Nelson Riddle, suggests 2 violas?`

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

CREATE TABLE "suggested_string_section_sizes" (
  "reference" text,
  "author" text,
  "section_size" text,
  "violins" real,
  "violas" real,
  "celli" real,
  "basses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What reference, written by Nelson Riddle, suggests 2 violas?`:
```sql
                SELECT "reference" FROM "suggested_string_section_sizes" WHERE "violas"=2 AND "author"='Nelson Riddle';
```
## Task
Generate a SQL query to answer the following question:
`What is the biggest number of basses suggested in either one of the references?`

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

CREATE TABLE "suggested_string_section_sizes" (
  "reference" text,
  "author" text,
  "section_size" text,
  "violins" real,
  "violas" real,
  "celli" real,
  "basses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the biggest number of basses suggested in either one of the references?`:
```sql
                SELECT MAX("basses") FROM "suggested_string_section_sizes";
```
## Task
Generate a SQL query to answer the following question:
`What is Stella Farentino's current relationship status?`

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

CREATE TABLE "television" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Stella Farentino's current relationship status?`:
```sql
                SELECT "current_marital_status" FROM "television" WHERE "name"='Stella Farentino';
```
## Task
Generate a SQL query to answer the following question:
`How many children did Dennis Hawley have at his time of death?`

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

CREATE TABLE "television" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many children did Dennis Hawley have at his time of death?`:
```sql
                SELECT "children_together" FROM "television" WHERE "deceased_spouse"='Dennis Hawley';
```
## Task
Generate a SQL query to answer the following question:
`How did Stella Farentino die?`

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

CREATE TABLE "television" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How did Stella Farentino die?`:
```sql
                SELECT "cause_of_death" FROM "television" WHERE "name"='Stella Farentino';
```
## Task
Generate a SQL query to answer the following question:
`What was the cause of death in the marriage that lasted 28 years? `

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

CREATE TABLE "literature" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the cause of death in the marriage that lasted 28 years? `:
```sql
                SELECT "cause_of_death" FROM "literature" WHERE "length_of_marriage"='28 years';
```
## Task
Generate a SQL query to answer the following question:
`How long were Ray Bradbury and his wife married?`

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

CREATE TABLE "literature" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long were Ray Bradbury and his wife married?`:
```sql
                SELECT "length_of_marriage" FROM "literature" WHERE "name"='Ray Bradbury';
```
## Task
Generate a SQL query to answer the following question:
`Name the name for deceased spouse being louis malle`

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

CREATE TABLE "film" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the name for deceased spouse being louis malle`:
```sql
                SELECT "name" FROM "film" WHERE "deceased_spouse"='Louis Malle';
```
## Task
Generate a SQL query to answer the following question:
`Name the deceased spouse for length of marriage being 24 years`

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

CREATE TABLE "film" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the deceased spouse for length of marriage being 24 years`:
```sql
                SELECT "deceased_spouse" FROM "film" WHERE "length_of_marriage"='24 years';
```
## Task
Generate a SQL query to answer the following question:
`Name the decease spouse for carol deluise`

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

CREATE TABLE "film" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the decease spouse for carol deluise`:
```sql
                SELECT "deceased_spouse" FROM "film" WHERE "name"='Carol DeLuise';
```
## Task
Generate a SQL query to answer the following question:
`Name the children together for 9 years of marriage`

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

CREATE TABLE "film" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the children together for 9 years of marriage`:
```sql
                SELECT "children_together" FROM "film" WHERE "length_of_marriage"='9 years';
```
## Task
Generate a SQL query to answer the following question:
`Who was the deceased spouse who was married for 4 years?`

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

CREATE TABLE "u_s_presidents" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the deceased spouse who was married for 4 years?`:
```sql
                SELECT "deceased_spouse" FROM "u_s_presidents" WHERE "length_of_marriage"='4 years';
```
## Task
Generate a SQL query to answer the following question:
`Who were the children of Benjamin Harrison?`

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

CREATE TABLE "u_s_presidents" (
  "name" text,
  "deceased_spouse" text,
  "cause_of_death" text,
  "date_of_spouses_death" text,
  "length_of_marriage" text,
  "children_together" text,
  "current_marital_status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the children of Benjamin Harrison?`:
```sql
                SELECT "children_together" FROM "u_s_presidents" WHERE "name"='Benjamin Harrison';
```
## Task
Generate a SQL query to answer the following question:
`Name the segment 1 for episode # 2/225`

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

CREATE TABLE "table1_24172078_2" (
  "episode_num" text,
  "segment_1" text,
  "segment_2" text,
  "original_airdate" text,
  "lessons_taught" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the segment 1 for episode # 2/225`:
```sql
                SELECT "segment_1" FROM "table1_24172078_2" WHERE "episode_num"='2/225';
```
## Task
Generate a SQL query to answer the following question:
`Name the lessons taught for episode # 2/205`

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

CREATE TABLE "table1_24172078_2" (
  "episode_num" text,
  "segment_1" text,
  "segment_2" text,
  "original_airdate" text,
  "lessons_taught" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the lessons taught for episode # 2/205`:
```sql
                SELECT "lessons_taught" FROM "table1_24172078_2" WHERE "episode_num"='2/205';
```