cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many rounds did germán sánchez drive in where the chassis was dallara f308?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did germán sánchez drive in where the chassis was dallara f308?`:
```sql
                SELECT "rounds" FROM "teams_and_drivers" WHERE "chassis"='dallara f308' AND "driver"='germán sánchez';
```
## Task
Generate a SQL query to answer the following question:
`What is the chassis for Augusto Scalbi on Team RP Motorsport?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the chassis for Augusto Scalbi on Team RP Motorsport?`:
```sql
                SELECT "chassis" FROM "teams_and_drivers" WHERE "team"='rp motorsport' AND "driver"='augusto scalbi';
```
## Task
Generate a SQL query to answer the following question:
`In what Week was the Result W 24-17?`

### 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,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what Week was the Result W 24-17?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "result"='w 24-17';
```
## Task
Generate a SQL query to answer the following question:
`What was the Week number on November 20, 1977?`

### 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,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Week number on November 20, 1977?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "date"='november 20, 1977';
```
## Task
Generate a SQL query to answer the following question:
`Who played hte home team when the score was 2:1?`

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

CREATE TABLE "round_16" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who played hte home team when the score was 2:1?`:
```sql
                SELECT "home" FROM "round_16" WHERE "score"='2:1';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when real juventud was the away team when there were more than 1189 in attendance?`

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

CREATE TABLE "round_16" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when real juventud was the away team when there were more than 1189 in attendance?`:
```sql
                SELECT "home" FROM "round_16" WHERE "attendance">1189 AND "away"='real juventud';
```
## Task
Generate a SQL query to answer the following question:
`What was the average attendance when marathon was the away team?`

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

CREATE TABLE "round_16" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average attendance when marathon was the away team?`:
```sql
                SELECT AVG("attendance") FROM "round_16" WHERE "away"='marathon';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the score was 0:1?`

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

CREATE TABLE "round_16" (
  "date" text,
  "home" text,
  "score" text,
  "away" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when the score was 0:1?`:
```sql
                SELECT "home" FROM "round_16" WHERE "score"='0:1';
```
## Task
Generate a SQL query to answer the following question:
`How much are General Electric's profits who have assets (billion $) under 2,355.83 and a market value (billion $) larger than 169.65?`

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

CREATE TABLE "2010_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much are General Electric's profits who have assets (billion $) under 2,355.83 and a market value (billion $) larger than 169.65?`:
```sql
                SELECT AVG("profits_billion") FROM "2010_list" WHERE "assets_billion"<'2,355.83' AND "company"='general electric' AND "market_value_billion">169.65;
```
## Task
Generate a SQL query to answer the following question:
`Which company in the oil and gas industry has assets (billion $) under 235.45, sales (billion $) larger than 159.29 and brings in profits (billion $) of 19.28?`

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

CREATE TABLE "2010_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which company in the oil and gas industry has assets (billion $) under 235.45, sales (billion $) larger than 159.29 and brings in profits (billion $) of 19.28?`:
```sql
                SELECT "company" FROM "2010_list" WHERE "assets_billion"<235.45 AND "sales_billion">159.29 AND "industry"='oil and gas' AND "profits_billion"=19.28;
```
## Task
Generate a SQL query to answer the following question:
`How many profits is the company that is headquartered in the USA, in the banking industry, and has sales (billion $) less than 98.64 bringing in?`

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

CREATE TABLE "2010_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" real,
  "profits_billion" real,
  "assets_billion" real,
  "market_value_billion" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many profits is the company that is headquartered in the USA, in the banking industry, and has sales (billion $) less than 98.64 bringing in?`:
```sql
                SELECT SUM("profits_billion") FROM "2010_list" WHERE "headquarters"='usa' AND "industry"='banking' AND "sales_billion"<98.64;
```
## Task
Generate a SQL query to answer the following question:
`What test had 49,608 students?`

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

CREATE TABLE "current_tests" (
  "test" text,
  "subject" text,
  "mean_score" text,
  "standard_deviation" text,
  "number_of_students" text
);
### SQL
Given the database schema, here is the SQL query that answers `What test had 49,608 students?`:
```sql
                SELECT "test" FROM "current_tests" WHERE "number_of_students"='49,608';
```
## Task
Generate a SQL query to answer the following question:
`What was the Tie no when the Home team was Ramsgate?`

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

CREATE TABLE "quarterfinals" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Tie no when the Home team was Ramsgate?`:
```sql
                SELECT "tie_no" FROM "quarterfinals" WHERE "home_team"='ramsgate';
```
## Task
Generate a SQL query to answer the following question:
`What was the Tie no when the Home team was carshalton athletic?`

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

CREATE TABLE "quarterfinals" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Tie no when the Home team was carshalton athletic?`:
```sql
                SELECT "tie_no" FROM "quarterfinals" WHERE "home_team"='carshalton athletic';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when the home team was Ramsgate?`

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

CREATE TABLE "quarterfinals" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team when the home team was Ramsgate?`:
```sql
                SELECT "away_team" FROM "quarterfinals" WHERE "home_team"='ramsgate';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team when the Tie no was 60?`

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

CREATE TABLE "quarterfinals" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team when the Tie no was 60?`:
```sql
                SELECT "home_team" FROM "quarterfinals" WHERE "tie_no"='60';
```
## Task
Generate a SQL query to answer the following question:
`What was the Tie no when the Home team was wealdstone?`

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

CREATE TABLE "quarterfinals" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Tie no when the Home team was wealdstone?`:
```sql
                SELECT "tie_no" FROM "quarterfinals" WHERE "home_team"='wealdstone';
```
## Task
Generate a SQL query to answer the following question:
`Which format has january 21, 2002 as the date?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which format has january 21, 2002 as the date?`:
```sql
                SELECT "format" FROM "release_history" WHERE "date"='january 21, 2002';
```
## Task
Generate a SQL query to answer the following question:
`What format has France as the region, with Universal Licensing Music (ulm) as the label?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What format has France as the region, with Universal Licensing Music (ulm) as the label?`:
```sql
                SELECT "format" FROM "release_history" WHERE "region"='france' AND "label"='universal licensing music (ulm)';
```
## Task
Generate a SQL query to answer the following question:
`What label has the netherlands as the region, and magik muzik 802-1 as the catalog?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label has the netherlands as the region, and magik muzik 802-1 as the catalog?`:
```sql
                SELECT "label" FROM "release_history" WHERE "region"='netherlands' AND "catalog"='magik muzik 802-1';
```
## Task
Generate a SQL query to answer the following question:
`What name has a 2008 club of Venelle?`

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

CREATE TABLE "women_s_indoor_tournament" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name has a 2008 club of Venelle?`:
```sql
                SELECT "name" FROM "women_s_indoor_tournament" WHERE "2008_club"='venelle';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the person with a 2008 club of Nc Bejaia?`

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

CREATE TABLE "women_s_indoor_tournament" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the person with a 2008 club of Nc Bejaia?`:
```sql
                SELECT "name" FROM "women_s_indoor_tournament" WHERE "2008_club"='nc bejaia';
```
## Task
Generate a SQL query to answer the following question:
`What is the record at 3:00?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record at 3:00?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:00';
```
## Task
Generate a SQL query to answer the following question:
`What opponent used the Ko method, and a 6-0 record?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent used the Ko method, and a 6-0 record?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "method"='ko' AND "record"='6-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team with an 8.7 (55) away team score?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team with an 8.7 (55) away team score?`:
```sql
                SELECT "home_team" FROM "round_of_16" WHERE "away_team_score"='8.7 (55)';
```
## Task
Generate a SQL query to answer the following question:
`What is the average crowd of the 13.9 (87) Home Team Score?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average crowd of the 13.9 (87) Home Team Score?`:
```sql
                SELECT AVG("crowd") FROM "round_of_16" WHERE "home_team_score"='13.9 (87)';
```
## Task
Generate a SQL query to answer the following question:
`What is the ground of the game where the home team was Adelaide?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ground of the game where the home team was Adelaide?`:
```sql
                SELECT "ground" FROM "round_of_16" WHERE "home_team"='adelaide';
```
## Task
Generate a SQL query to answer the following question:
`What is Home team of the game with an 9.8 (62) away team score?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home team of the game with an 9.8 (62) away team score?`:
```sql
                SELECT "home_team" FROM "round_of_16" WHERE "away_team_score"='9.8 (62)';
```
## Task
Generate a SQL query to answer the following question:
`What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884?`

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

CREATE TABLE "class_c_4_4_0" (
  "class" text,
  "wheel_arrangement" text,
  "manufacturer" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884?`:
```sql
                SELECT "manufacturer" FROM "class_c_4_4_0" WHERE "quantity_made"='2' AND "year_made"='1884';
```
## Task
Generate a SQL query to answer the following question:
`What is Quantity Made, when Manufacturer is "Baldwin"?`

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

CREATE TABLE "class_c_4_4_0" (
  "class" text,
  "wheel_arrangement" text,
  "manufacturer" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Quantity Made, when Manufacturer is "Baldwin"?`:
```sql
                SELECT "quantity_made" FROM "class_c_4_4_0" WHERE "manufacturer"='baldwin';
```
## Task
Generate a SQL query to answer the following question:
`What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?`

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

CREATE TABLE "class_c_4_4_0" (
  "class" text,
  "wheel_arrangement" text,
  "manufacturer" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?`:
```sql
                SELECT "wheel_arrangement" FROM "class_c_4_4_0" WHERE "manufacturer"='baldwin' AND "quantity_made"='12';
```
## Task
Generate a SQL query to answer the following question:
`What is Quantity Made, when Year Made is "4-4-0 — oooo — american"?`

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

CREATE TABLE "class_c_4_4_0" (
  "class" text,
  "wheel_arrangement" text,
  "manufacturer" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Quantity Made, when Year Made is "4-4-0 — oooo — american"?`:
```sql
                SELECT "quantity_made" FROM "class_c_4_4_0" WHERE "year_made"='4-4-0 — oooo — american';
```
## Task
Generate a SQL query to answer the following question:
`What is Wheel Arrangement, when Quantity Made is 44?`

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

CREATE TABLE "class_c_4_4_0" (
  "class" text,
  "wheel_arrangement" text,
  "manufacturer" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Wheel Arrangement, when Quantity Made is 44?`:
```sql
                SELECT "wheel_arrangement" FROM "class_c_4_4_0" WHERE "quantity_made"='44';
```
## Task
Generate a SQL query to answer the following question:
`What is Quantitiy Made, when Quantity Preserved is "4-4-0 — oooo — american"?`

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

CREATE TABLE "class_c_4_4_0" (
  "class" text,
  "wheel_arrangement" text,
  "manufacturer" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Quantitiy Made, when Quantity Preserved is "4-4-0 — oooo — american"?`:
```sql
                SELECT "quantity_made" FROM "class_c_4_4_0" WHERE "quantity_preserved"='4-4-0 — oooo — american';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest game found when the record is 2-1?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest game found when the record is 2-1?`:
```sql
                SELECT MAX("game") FROM "regular_season" WHERE "record"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`What was the game date when the opponent was Houston?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the game date when the opponent was Houston?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "opponent"='houston';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of melbourne victory?`

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

CREATE TABLE "results" (
  "season" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of melbourne victory?`:
```sql
                SELECT MAX("season") FROM "results" WHERE "home_team"='chonburi' AND "away_team"='melbourne victory';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Season that has the Score of 1-0?`

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

CREATE TABLE "results" (
  "season" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Season that has the Score of 1-0?`:
```sql
                SELECT "season" FROM "results" WHERE "score"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?`

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

CREATE TABLE "non_proof_coins" (
  "year" real,
  "10_1_10_oz" text,
  "25_1_4_oz" real,
  "50_1_2_oz" real,
  "100_1_oz" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?`:
```sql
                SELECT MIN("50_1_2_oz") FROM "non_proof_coins" WHERE "year"=1997 AND "25_1_4_oz">'27,100';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?`

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

CREATE TABLE "non_proof_coins" (
  "year" real,
  "10_1_10_oz" text,
  "25_1_4_oz" real,
  "50_1_2_oz" real,
  "100_1_oz" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?`:
```sql
                SELECT MIN("25_1_4_oz") FROM "non_proof_coins" WHERE "10_1_10_oz"='70,250';
```
## Task
Generate a SQL query to answer the following question:
`What is the model number for the GPU and 320 mhz?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the model number for the GPU and 320 mhz?`:
```sql
                SELECT "model_number" FROM "45_nm" WHERE "gpu_frequency"='320 mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the socket of the model atom e680t?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the socket of the model atom e680t?`:
```sql
                SELECT "socket" FROM "45_nm" WHERE "model_number"='atom e680t';
```
## Task
Generate a SQL query to answer the following question:
`What is the memory for ct80618005844ab?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "gpu_frequency" text,
  "l2_cache" text,
  "i_o_bus" text,
  "memory" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the memory for ct80618005844ab?`:
```sql
                SELECT "memory" FROM "45_nm" WHERE "part_number_s"='ct80618005844ab';
```
## Task
Generate a SQL query to answer the following question:
`Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38?`

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

CREATE TABLE "career_stats" (
  "season" text,
  "games" real,
  "yellow_cards" real,
  "red_cards" real,
  "average_cards_a_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38?`:
```sql
                SELECT MAX("average_cards_a_game") FROM "career_stats" WHERE "season"='1997/1998' AND "games">38;
```
## Task
Generate a SQL query to answer the following question:
`Which Red Cards has a Season of 1998/1999, and a Games larger than 41?`

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

CREATE TABLE "career_stats" (
  "season" text,
  "games" real,
  "yellow_cards" real,
  "red_cards" real,
  "average_cards_a_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Red Cards has a Season of 1998/1999, and a Games larger than 41?`:
```sql
                SELECT MIN("red_cards") FROM "career_stats" WHERE "season"='1998/1999' AND "games">41;
```
## Task
Generate a SQL query to answer the following question:
`Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?`

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

CREATE TABLE "career_stats" (
  "season" text,
  "games" real,
  "yellow_cards" real,
  "red_cards" real,
  "average_cards_a_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?`:
```sql
                SELECT AVG("games") FROM "career_stats" WHERE "season"='2003/2004' AND "red_cards"<5;
```
## Task
Generate a SQL query to answer the following question:
`Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?`

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

CREATE TABLE "career_stats" (
  "season" text,
  "games" real,
  "yellow_cards" real,
  "red_cards" real,
  "average_cards_a_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?`:
```sql
                SELECT MIN("average_cards_a_game") FROM "career_stats" WHERE "season"='2004/2005' AND "red_cards">3;
```
## Task
Generate a SQL query to answer the following question:
`Which Yellow Cards has a Season of 1999/2000?`

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

CREATE TABLE "career_stats" (
  "season" text,
  "games" real,
  "yellow_cards" real,
  "red_cards" real,
  "average_cards_a_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Yellow Cards has a Season of 1999/2000?`:
```sql
                SELECT AVG("yellow_cards") FROM "career_stats" WHERE "season"='1999/2000';
```
## Task
Generate a SQL query to answer the following question:
`Which Goals have Ends of 30 june 2010, and Since larger than 2007?`

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

CREATE TABLE "squad_information" (
  "nat" text,
  "name" text,
  "since" real,
  "goals" real,
  "ends" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Goals have Ends of 30 june 2010, and Since larger than 2007?`:
```sql
                SELECT "goals" FROM "squad_information" WHERE "ends"='30 june 2010' AND "since">2007;
```
## Task
Generate a SQL query to answer the following question:
`Which Name has Ends of 30 june 2010, and a Nation of eng, and Since larger than 2007?`

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

CREATE TABLE "squad_information" (
  "nat" text,
  "name" text,
  "since" real,
  "goals" real,
  "ends" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Name has Ends of 30 june 2010, and a Nation of eng, and Since larger than 2007?`:
```sql
                SELECT "name" FROM "squad_information" WHERE "ends"='30 june 2010' AND "nat"='eng' AND "since">2007;
```
## Task
Generate a SQL query to answer the following question:
`What was Bryan Clay's react time?`

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

CREATE TABLE "60_metres_hurdles" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Bryan Clay's react time?`:
```sql
                SELECT MIN("react") FROM "60_metres_hurdles" WHERE "name"='bryan clay';
```
## Task
Generate a SQL query to answer the following question:
`What country did Dmitriy Karpov represent?`

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

CREATE TABLE "60_metres_hurdles" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What country did Dmitriy Karpov represent?`:
```sql
                SELECT "country" FROM "60_metres_hurdles" WHERE "name"='dmitriy karpov';
```
## Task
Generate a SQL query to answer the following question:
`What is Plural, when Singular is tor (your)?`

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

CREATE TABLE "personal_pronouns_possessive_case" (
  "subject" real,
  "proximity" text,
  "honor" text,
  "singular" text,
  "plural" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Plural, when Singular is tor (your)?`:
```sql
                SELECT "plural" FROM "personal_pronouns_possessive_case" WHERE "singular"='tor (your)';
```
## Task
Generate a SQL query to answer the following question:
`What is Proximity, when Honor is P, and when Singular is ẽr (his/her/its)?`

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

CREATE TABLE "personal_pronouns_possessive_case" (
  "subject" real,
  "proximity" text,
  "honor" text,
  "singular" text,
  "plural" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Proximity, when Honor is P, and when Singular is ẽr (his/her/its)?`:
```sql
                SELECT "proximity" FROM "personal_pronouns_possessive_case" WHERE "honor"='p' AND "singular"='ẽr (his/her/its)';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Subject, when Plural is tãder (their)?`

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

CREATE TABLE "personal_pronouns_possessive_case" (
  "subject" real,
  "proximity" text,
  "honor" text,
  "singular" text,
  "plural" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Subject, when Plural is tãder (their)?`:
```sql
                SELECT MIN("subject") FROM "personal_pronouns_possessive_case" WHERE "plural"='tãder (their)';
```
## Task
Generate a SQL query to answer the following question:
`What is Proximity, when Plural is amader (our)?`

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

CREATE TABLE "personal_pronouns_possessive_case" (
  "subject" real,
  "proximity" text,
  "honor" text,
  "singular" text,
  "plural" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Proximity, when Plural is amader (our)?`:
```sql
                SELECT "proximity" FROM "personal_pronouns_possessive_case" WHERE "plural"='amader (our)';
```
## Task
Generate a SQL query to answer the following question:
`What is Honor, when Singular is ẽr (his/her/its)?`

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

CREATE TABLE "personal_pronouns_possessive_case" (
  "subject" real,
  "proximity" text,
  "honor" text,
  "singular" text,
  "plural" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Honor, when Singular is ẽr (his/her/its)?`:
```sql
                SELECT "honor" FROM "personal_pronouns_possessive_case" WHERE "singular"='ẽr (his/her/its)';
```
## Task
Generate a SQL query to answer the following question:
`what is the f/laps when the season is 2011 and races is 18?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "f_laps" text,
  "podiums" text,
  "points" text,
  "pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the f/laps when the season is 2011 and races is 18?`:
```sql
                SELECT "f_laps" FROM "career_summary" WHERE "season"='2011' AND "races"='18';
```
## Task
Generate a SQL query to answer the following question:
`what is the wins when the f/laps is test driver and team is lotus racing?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "f_laps" text,
  "podiums" text,
  "points" text,
  "pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the wins when the f/laps is test driver and team is lotus racing?`:
```sql
                SELECT "wins" FROM "career_summary" WHERE "f_laps"='test driver' AND "team"='lotus racing';
```
## Task
Generate a SQL query to answer the following question:
`what is the poles when the wins is 0 and points is 0?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "f_laps" text,
  "podiums" text,
  "points" text,
  "pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the poles when the wins is 0 and points is 0?`:
```sql
                SELECT "poles" FROM "career_summary" WHERE "wins"='0' AND "points"='0';
```
## Task
Generate a SQL query to answer the following question:
`What score won $36,090?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What score won $36,090?`:
```sql
                SELECT "score" FROM "final_round" WHERE "money"='36,090';
```
## Task
Generate a SQL query to answer the following question:
`What was Larry Nelson's final score?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Larry Nelson's final score?`:
```sql
                SELECT "score" FROM "final_round" WHERE "player"='larry nelson';
```
## Task
Generate a SQL query to answer the following question:
`What is the average attendance of the game with 38 opponent and less than 14 Falcons points?`

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

CREATE TABLE "schedule" (
  "game" text,
  "date" text,
  "opponent" text,
  "result" text,
  "falcons_points" real,
  "opponents" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average attendance of the game with 38 opponent and less than 14 Falcons points?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "opponents"=38 AND "falcons_points"<14;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School?`

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

CREATE TABLE "see_also" (
  "school" text,
  "conference" text,
  "games" real,
  "wins" real,
  "losses" real,
  "winning_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School?`:
```sql
                SELECT COUNT("losses") FROM "see_also" WHERE "games"<14 AND "wins"<3 AND "conference"='maac' AND "school"='fairfield';
```
## Task
Generate a SQL query to answer the following question:
`What is number 4's title?`

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

CREATE TABLE "daughters" (
  "number" real,
  "title" text,
  "born" text,
  "died" text,
  "date_married" text,
  "issue" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is number 4's title?`:
```sql
                SELECT "title" FROM "daughters" WHERE "number"=4;
```
## Task
Generate a SQL query to answer the following question:
`How many people were born in 1368?`

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

CREATE TABLE "daughters" (
  "number" real,
  "title" text,
  "born" text,
  "died" text,
  "date_married" text,
  "issue" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people were born in 1368?`:
```sql
                SELECT COUNT("number") FROM "daughters" WHERE "born"='1368';
```
## Task
Generate a SQL query to answer the following question:
`Who was number 12's mother?`

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

CREATE TABLE "daughters" (
  "number" real,
  "title" text,
  "born" text,
  "died" text,
  "date_married" text,
  "issue" text,
  "mother" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was number 12's mother?`:
```sql
                SELECT "mother" FROM "daughters" WHERE "number"=12;
```
## Task
Generate a SQL query to answer the following question:
`What was the week number when they played on Dec. 19?`

### 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,
  "result" text,
  "record" text,
  "streak" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week number when they played on Dec. 19?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "date"='dec. 19';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of students in East Lansing, MI?`

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

CREATE TABLE "current_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of students in East Lansing, MI?`:
```sql
                SELECT AVG("founded") FROM "current_teams" WHERE "location"='east lansing, mi';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of students at the community college?`

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

CREATE TABLE "current_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of students at the community college?`:
```sql
                SELECT MIN("founded") FROM "current_teams" WHERE "affiliation"='community college';
```
## Task
Generate a SQL query to answer the following question:
`What is Joanne Carner's average score in Canadian Women's Open games that she has won?`

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

CREATE TABLE "winners" (
  "year" real,
  "champion" text,
  "country" text,
  "score" real,
  "to_par" text,
  "tournament_location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Joanne Carner's average score in Canadian Women's Open games that she has won?`:
```sql
                SELECT AVG("score") FROM "winners" WHERE "champion"='joanne carner';
```
## Task
Generate a SQL query to answer the following question:
`What country does jocelyne bourassa play for?`

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

CREATE TABLE "winners" (
  "year" real,
  "champion" text,
  "country" text,
  "score" real,
  "to_par" text,
  "tournament_location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country does jocelyne bourassa play for?`:
```sql
                SELECT "country" FROM "winners" WHERE "champion"='jocelyne bourassa';
```
## Task
Generate a SQL query to answer the following question:
`Which  Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?`

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

CREATE TABLE "filter_classes" (
  "usage" text,
  "class" text,
  "performance" text,
  "performance_test" text,
  "particulate_size_approaching_100pct_retention" text,
  "test_standard" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which  Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?`:
```sql
                SELECT "performance" FROM "filter_classes" WHERE "test_standard"='bs en779' AND "particulate_size_approaching_100pct_retention"='>2µm' AND "class"='f6';
```
## Task
Generate a SQL query to answer the following question:
`Which Performance has a Usage of hepa and a Class of h14?`

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

CREATE TABLE "filter_classes" (
  "usage" text,
  "class" text,
  "performance" text,
  "performance_test" text,
  "particulate_size_approaching_100pct_retention" text,
  "test_standard" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Performance has a Usage of hepa and a Class of h14?`:
```sql
                SELECT "performance" FROM "filter_classes" WHERE "usage"='hepa' AND "class"='h14';
```
## Task
Generate a SQL query to answer the following question:
`Which Particulate size approaching 100% retention has a Usage of semi hepa and a Class of h12?`

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

CREATE TABLE "filter_classes" (
  "usage" text,
  "class" text,
  "performance" text,
  "performance_test" text,
  "particulate_size_approaching_100pct_retention" text,
  "test_standard" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Particulate size approaching 100% retention has a Usage of semi hepa and a Class of h12?`:
```sql
                SELECT "particulate_size_approaching_100pct_retention" FROM "filter_classes" WHERE "usage"='semi hepa' AND "class"='h12';
```
## Task
Generate a SQL query to answer the following question:
`Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4`

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

CREATE TABLE "filter_classes" (
  "usage" text,
  "class" text,
  "performance" text,
  "performance_test" text,
  "particulate_size_approaching_100pct_retention" text,
  "test_standard" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4`:
```sql
                SELECT "test_standard" FROM "filter_classes" WHERE "usage"='secondary filters' AND "class"='f5';
```
## Task
Generate a SQL query to answer the following question:
`Which Performance has a Performance test of average value, and a Class of f6?`

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

CREATE TABLE "filter_classes" (
  "usage" text,
  "class" text,
  "performance" text,
  "performance_test" text,
  "particulate_size_approaching_100pct_retention" text,
  "test_standard" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Performance has a Performance test of average value, and a Class of f6?`:
```sql
                SELECT "performance" FROM "filter_classes" WHERE "performance_test"='average value' AND "class"='f6';
```