cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Best of the racer with a Qual 2 of 1:00.588?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Best of the racer with a Qual 2 of 1:00.588?`:
```sql
                SELECT "best" FROM "qualifying_results" WHERE "qual_2"='1:00.588';
```
## Task
Generate a SQL query to answer the following question:
`Where is the lowest area with a population of 7,616?`

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

CREATE TABLE "subdivisions" (
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" real,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the lowest area with a population of 7,616?`:
```sql
                SELECT MIN("area_km") FROM "subdivisions" WHERE "population_2010"='7,616';
```
## Task
Generate a SQL query to answer the following question:
`Where in Tongyong is Hanyu Sanmin?`

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

CREATE TABLE "subdivisions" (
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" real,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where in Tongyong is Hanyu Sanmin?`:
```sql
                SELECT "tongyong" FROM "subdivisions" WHERE "hanyu"='sanmin';
```
## Task
Generate a SQL query to answer the following question:
`Which Hanya has an area of 19.3888?`

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

CREATE TABLE "subdivisions" (
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" real,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Hanya has an area of 19.3888?`:
```sql
                SELECT "hanyu" FROM "subdivisions" WHERE "area_km"=19.3888;
```
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when Round is less than 2, and when Pick is "24"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "position" text,
  "nationality" text,
  "college_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Nationality, when Round is less than 2, and when Pick is "24"?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "round"<2 AND "pick"=24;
```
## Task
Generate a SQL query to answer the following question:
`What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "position" text,
  "nationality" text,
  "college_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "round"<2 AND "college_team"='cb l''hospitalet';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "position" text,
  "nationality" text,
  "college_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?`:
```sql
                SELECT MIN("round") FROM "draft_picks" WHERE "college_team"='kansas' AND "pick"<56;
```
## Task
Generate a SQL query to answer the following question:
`What is College/Team, when Round is less than 2, and when Nationality is "United States"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "position" text,
  "nationality" text,
  "college_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is College/Team, when Round is less than 2, and when Nationality is "United States"?`:
```sql
                SELECT "college_team" FROM "draft_picks" WHERE "round"<2 AND "nationality"='united states';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?`

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

CREATE TABLE "qualifying" (
  "driver" text,
  "constructor" text,
  "q1_order" real,
  "q1_time" text,
  "q1_pos" real,
  "q1_q2_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?`:
```sql
                SELECT MAX("q1_pos") FROM "qualifying" WHERE "q1_time"='1:31.826' AND "q1_order">7;
```
## Task
Generate a SQL query to answer the following question:
`What is the score on December 2?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score on December 2?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='december 2';
```
## Task
Generate a SQL query to answer the following question:
`How many silver medals were won in 1938?`

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

CREATE TABLE "overall_medal_tally" (
  "year" text,
  "gold" text,
  "silver" text,
  "bronze" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many silver medals were won in 1938?`:
```sql
                SELECT "silver" FROM "overall_medal_tally" WHERE "year"='1938';
```
## Task
Generate a SQL query to answer the following question:
`How many gold medals were won in 1970?`

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

CREATE TABLE "overall_medal_tally" (
  "year" text,
  "gold" text,
  "silver" text,
  "bronze" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many gold medals were won in 1970?`:
```sql
                SELECT "gold" FROM "overall_medal_tally" WHERE "year"='1970';
```
## Task
Generate a SQL query to answer the following question:
`How many silver medals were won the year 7 gold medals were won?`

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

CREATE TABLE "overall_medal_tally" (
  "year" text,
  "gold" text,
  "silver" text,
  "bronze" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many silver medals were won the year 7 gold medals were won?`:
```sql
                SELECT "silver" FROM "overall_medal_tally" WHERE "gold"='7';
```
## Task
Generate a SQL query to answer the following question:
`How many bronze medals were won in 1998?`

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

CREATE TABLE "overall_medal_tally" (
  "year" text,
  "gold" text,
  "silver" text,
  "bronze" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many bronze medals were won in 1998?`:
```sql
                SELECT "bronze" FROM "overall_medal_tally" WHERE "year"='1998';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the TV Time that has the Date of november 22, 1998?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "tv_time" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the TV Time that has the Date of november 22, 1998?`:
```sql
                SELECT "tv_time" FROM "schedule" WHERE "date"='november 22, 1998';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Result that has the Date of september 13, 1998?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "tv_time" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Result that has the Date of september 13, 1998?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='september 13, 1998';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "tv_time" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"<11 AND "tv_time"='fox 10:00 am mt' AND "result"='w 20-17';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Result that has the Week of 5?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "tv_time" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Result that has the Week of 5?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the average year that the club located in enfield was founded with an unknown coach?`

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

CREATE TABLE "south_australia" (
  "team" text,
  "coach" text,
  "home_ground" text,
  "location" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average year that the club located in enfield was founded with an unknown coach?`:
```sql
                SELECT AVG("founded") FROM "south_australia" WHERE "coach"='unknown' AND "location"='enfield';
```
## Task
Generate a SQL query to answer the following question:
`What was the location of the club where the home ground is wilfred taylor reserve?`

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

CREATE TABLE "south_australia" (
  "team" text,
  "coach" text,
  "home_ground" text,
  "location" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the location of the club where the home ground is wilfred taylor reserve?`:
```sql
                SELECT "location" FROM "south_australia" WHERE "home_ground"='wilfred taylor reserve';
```
## Task
Generate a SQL query to answer the following question:
`Where is the club that was founded in 1946 located that has an unknown coach?`

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

CREATE TABLE "south_australia" (
  "team" text,
  "coach" text,
  "home_ground" text,
  "location" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the club that was founded in 1946 located that has an unknown coach?`:
```sql
                SELECT "location" FROM "south_australia" WHERE "coach"='unknown' AND "founded"=1946;
```
## Task
Generate a SQL query to answer the following question:
`Where is the home ground for the club coached by nick pantsaras and founded before 1946?`

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

CREATE TABLE "south_australia" (
  "team" text,
  "coach" text,
  "home_ground" text,
  "location" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the home ground for the club coached by nick pantsaras and founded before 1946?`:
```sql
                SELECT "home_ground" FROM "south_australia" WHERE "founded"<1946 AND "coach"='nick pantsaras';
```
## Task
Generate a SQL query to answer the following question:
`Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "team" text,
  "score" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?`:
```sql
                SELECT "team" FROM "playoffs" WHERE "location_attendance"='madison square garden' AND "score"='87-83';
```
## Task
Generate a SQL query to answer the following question:
`Which game was played at the Forum and led to a series result of 0-1?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "team" text,
  "score" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game was played at the Forum and led to a series result of 0-1?`:
```sql
                SELECT "game" FROM "playoffs" WHERE "location_attendance"='the forum' AND "series"='0-1';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for game 2?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "team" text,
  "score" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for game 2?`:
```sql
                SELECT "score" FROM "playoffs" WHERE "game"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?`

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

CREATE TABLE "season_2_1997_98" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?`:
```sql
                SELECT "title" FROM "season_2_1997_98" WHERE "season_num"<10 AND "directed_by"='milan cheylov' AND "original_air_date"='september 29, 1997';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance of the November 19, 1990 game?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance of the November 19, 1990 game?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "date"='november 19, 1990';
```
## Task
Generate a SQL query to answer the following question:
`How many Years have an Iron Man Award of kyal horsley?`

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

CREATE TABLE "honour_board" (
  "year" real,
  "coach" text,
  "captain" text,
  "club_champion" text,
  "leading_goalkicker" text,
  "player_s_player" text,
  "iron_man_award" text,
  "community_award" text,
  "most_professional" text,
  "most_improved" text,
  "neafl_player_of_the_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Years have an Iron Man Award of kyal horsley?`:
```sql
                SELECT COUNT("year") FROM "honour_board" WHERE "iron_man_award"='kyal horsley';
```
## Task
Generate a SQL query to answer the following question:
`Which Coach has a Most Improved of rory thompson?`

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

CREATE TABLE "honour_board" (
  "year" real,
  "coach" text,
  "captain" text,
  "club_champion" text,
  "leading_goalkicker" text,
  "player_s_player" text,
  "iron_man_award" text,
  "community_award" text,
  "most_professional" text,
  "most_improved" text,
  "neafl_player_of_the_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Coach has a Most Improved of rory thompson?`:
```sql
                SELECT "coach" FROM "honour_board" WHERE "most_improved"='rory thompson';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Community Award of jarrod harbrow?`

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

CREATE TABLE "honour_board" (
  "year" real,
  "coach" text,
  "captain" text,
  "club_champion" text,
  "leading_goalkicker" text,
  "player_s_player" text,
  "iron_man_award" text,
  "community_award" text,
  "most_professional" text,
  "most_improved" text,
  "neafl_player_of_the_year" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Community Award of jarrod harbrow?`:
```sql
                SELECT SUM("year") FROM "honour_board" WHERE "community_award"='jarrod harbrow';
```
## Task
Generate a SQL query to answer the following question:
`what is the capacity for the team šibenik?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the capacity for the team šibenik?`:
```sql
                SELECT MIN("capacity") FROM "summaries" WHERE "team"='šibenik';
```
## Task
Generate a SQL query to answer the following question:
`what is the stadium for čakovec?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the stadium for čakovec?`:
```sql
                SELECT "stadium" FROM "summaries" WHERE "team"='čakovec';
```
## Task
Generate a SQL query to answer the following question:
`what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?`:
```sql
                SELECT AVG("capacity") FROM "summaries" WHERE "home_city"='zagreb' AND "manager"='zlatko kranjčar';
```
## Task
Generate a SQL query to answer the following question:
`what is the home city for the stadion src mladost?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the home city for the stadion src mladost?`:
```sql
                SELECT "home_city" FROM "summaries" WHERE "stadium"='stadion src mladost';
```
## Task
Generate a SQL query to answer the following question:
`What is the grid for the driver with an electrical time/retired and 51 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the grid for the driver with an electrical time/retired and 51 laps?`:
```sql
                SELECT "grid" FROM "race" WHERE "time_retired"='electrical' AND "laps"=51;
```
## Task
Generate a SQL query to answer the following question:
`Who is the driver with 1 grid?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the driver with 1 grid?`:
```sql
                SELECT "driver" FROM "race" WHERE "grid"=1;
```
## Task
Generate a SQL query to answer the following question:
`What place was Mark Carnevale in?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place was Mark Carnevale in?`:
```sql
                SELECT "place" FROM "first_round" WHERE "player"='mark carnevale';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest attendance against Real Juventud?`

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

CREATE TABLE "round_4" (
  "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 highest attendance against Real Juventud?`:
```sql
                SELECT MAX("attendance") FROM "round_4" WHERE "away"='real juventud';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away captain for the matches dated 7,8,10,11 feb 1908?`

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

CREATE TABLE "test_matches" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away captain for the matches dated 7,8,10,11 feb 1908?`:
```sql
                SELECT "away_captain" FROM "test_matches" WHERE "date"='7,8,10,11 feb 1908';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home captain at the Adelaide Oval?`

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

CREATE TABLE "test_matches" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home captain at the Adelaide Oval?`:
```sql
                SELECT "home_captain" FROM "test_matches" WHERE "venue"='adelaide oval';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home captain that won AUS by 245 runs?`

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

CREATE TABLE "test_matches" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home captain that won AUS by 245 runs?`:
```sql
                SELECT "home_captain" FROM "test_matches" WHERE "result"='aus by 245 runs';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue for the dates 1,2,3,4,6,7 jan 1908?`

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

CREATE TABLE "test_matches" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue for the dates 1,2,3,4,6,7 jan 1908?`:
```sql
                SELECT "venue" FROM "test_matches" WHERE "date"='1,2,3,4,6,7 jan 1908';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue for the dates 7,8,10,11 Feb 1908?`

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

CREATE TABLE "test_matches" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue for the dates 7,8,10,11 Feb 1908?`:
```sql
                SELECT "venue" FROM "test_matches" WHERE "date"='7,8,10,11 feb 1908';
```
## Task
Generate a SQL query to answer the following question:
`What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?`

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

CREATE TABLE "technology_comparison_for_grid_level_app" (
  "technology" text,
  "moving_parts" text,
  "room_temperature" text,
  "flammable" text,
  "toxic_materials" text,
  "in_production" text,
  "rare_metals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?`:
```sql
                SELECT "in_production" FROM "technology_comparison_for_grid_level_app" WHERE "toxic_materials"='yes' AND "technology"='sodium-sulfur batteries';
```
## Task
Generate a SQL query to answer the following question:
`What are the moving parts of lead-acid?`

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

CREATE TABLE "technology_comparison_for_grid_level_app" (
  "technology" text,
  "moving_parts" text,
  "room_temperature" text,
  "flammable" text,
  "toxic_materials" text,
  "in_production" text,
  "rare_metals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the moving parts of lead-acid?`:
```sql
                SELECT "moving_parts" FROM "technology_comparison_for_grid_level_app" WHERE "technology"='lead-acid';
```
## Task
Generate a SQL query to answer the following question:
`What's the room temperature with no toxic materials and no ln production?`

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

CREATE TABLE "technology_comparison_for_grid_level_app" (
  "technology" text,
  "moving_parts" text,
  "room_temperature" text,
  "flammable" text,
  "toxic_materials" text,
  "in_production" text,
  "rare_metals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the room temperature with no toxic materials and no ln production?`:
```sql
                SELECT "room_temperature" FROM "technology_comparison_for_grid_level_app" WHERE "in_production"='no' AND "toxic_materials"='no';
```
## Task
Generate a SQL query to answer the following question:
`What's the technology when there are no moving parts but yes to toxic materials?`

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

CREATE TABLE "technology_comparison_for_grid_level_app" (
  "technology" text,
  "moving_parts" text,
  "room_temperature" text,
  "flammable" text,
  "toxic_materials" text,
  "in_production" text,
  "rare_metals" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the technology when there are no moving parts but yes to toxic materials?`:
```sql
                SELECT "technology" FROM "technology_comparison_for_grid_level_app" WHERE "toxic_materials"='yes' AND "moving_parts"='no';
```
## Task
Generate a SQL query to answer the following question:
`What was the Score for T9 United States Player Kirk Triplett?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Score for T9 United States Player Kirk Triplett?`:
```sql
                SELECT "score" FROM "second_round" WHERE "place"='t9' AND "country"='united states' AND "player"='kirk triplett';
```
## Task
Generate a SQL query to answer the following question:
`What country is Tiger Woods from?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is Tiger Woods from?`:
```sql
                SELECT "country" FROM "second_round" WHERE "player"='tiger woods';
```
## Task
Generate a SQL query to answer the following question:
`what is the assists when the club is chicago fire and goals is more than 2?`

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

CREATE TABLE "statistics" (
  "season" text,
  "club" text,
  "country" text,
  "apps" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the assists when the club is chicago fire and goals is more than 2?`:
```sql
                SELECT SUM("assists") FROM "statistics" WHERE "club"='chicago fire' AND "goals">2;
```
## Task
Generate a SQL query to answer the following question:
`what is the most assists when the goals is less than 0?`

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

CREATE TABLE "statistics" (
  "season" text,
  "club" text,
  "country" text,
  "apps" real,
  "goals" real,
  "assists" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the most assists when the goals is less than 0?`:
```sql
                SELECT MAX("assists") FROM "statistics" WHERE "goals"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is Score in The Final, when Date is "1981"?`

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

CREATE TABLE "singles_finals_5_0_5" (
  "outcome" text,
  "date" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score in The Final, when Date is "1981"?`:
```sql
                SELECT "score_in_the_final" FROM "singles_finals_5_0_5" WHERE "date"=1981;
```
## Task
Generate a SQL query to answer the following question:
`What is Opponent in The Final, when Date is "1976"?`

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

CREATE TABLE "singles_finals_5_0_5" (
  "outcome" text,
  "date" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Opponent in The Final, when Date is "1976"?`:
```sql
                SELECT "opponent_in_the_final" FROM "singles_finals_5_0_5" WHERE "date"=1976;
```
## Task
Generate a SQL query to answer the following question:
`What is Location Attendance, when Date is "December 30"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" 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 is Location Attendance, when Date is "December 30"?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "date"='december 30';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when High Rebounds is "Amar'e Stoudemire (13)"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" 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 is Date, when High Rebounds is "Amar'e Stoudemire (13)"?`:
```sql
                SELECT "date" FROM "game_log" WHERE "high_rebounds"='amar''e stoudemire (13)';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Location Attendance is "US Airways Center 18,422", and when Game is less than 22?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" 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 is Score, when Location Attendance is "US Airways Center 18,422", and when Game is less than 22?`:
```sql
                SELECT "score" FROM "game_log" WHERE "location_attendance"='us airways center 18,422' AND "game"<22;
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Game is "19"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" 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 is Score, when Game is "19"?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=19;
```
## Task
Generate a SQL query to answer the following question:
`What is Location Attendance, when Team is "Orlando"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" 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 is Location Attendance, when Team is "Orlando"?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='orlando';
```
## Task
Generate a SQL query to answer the following question:
`What is Record, when Date is "December 30"?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" 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 is Record, when Date is "December 30"?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='december 30';
```
## Task
Generate a SQL query to answer the following question:
`Name the Theaters that has a Rank larger than 7?`

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

CREATE TABLE "box_office_charts" (
  "date" text,
  "rank" real,
  "weekend_gross" text,
  "theaters" real,
  "gross_to_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Theaters that has a Rank larger than 7?`:
```sql
                SELECT MAX("theaters") FROM "box_office_charts" WHERE "rank">7;
```
## Task
Generate a SQL query to answer the following question:
`Name the Gross-to-date which has a Date of august 23–25?`

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

CREATE TABLE "box_office_charts" (
  "date" text,
  "rank" real,
  "weekend_gross" text,
  "theaters" real,
  "gross_to_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Gross-to-date which has a Date of august 23–25?`:
```sql
                SELECT "gross_to_date" FROM "box_office_charts" WHERE "date"='august 23–25';
```
## Task
Generate a SQL query to answer the following question:
`Name the Round which has a Position of defensive back and a Pick of 226?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Round which has a Position of defensive back and a Pick of 226?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "position"='defensive back' AND "pick"=226;
```
## Task
Generate a SQL query to answer the following question:
`Name the Round which has a Player of zack walz?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Round which has a Player of zack walz?`:
```sql
                SELECT "round" FROM "nfl_draft" WHERE "player"='zack walz';
```
## Task
Generate a SQL query to answer the following question:
`Name the Round which has a Position of defensive back and corey chavous?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Round which has a Position of defensive back and corey chavous?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "position"='defensive back' AND "player"='corey chavous';
```
## Task
Generate a SQL query to answer the following question:
`Name all Pick that has a Round of 7, and a School/Club Team of arizona st.?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name all Pick that has a Round of 7, and a School/Club Team of arizona st.?`:
```sql
                SELECT COUNT("pick") FROM "nfl_draft" WHERE "round"=7 AND "school_club_team"='arizona st.';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Regular Season of 7th?`

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

CREATE TABLE "year_by_year" (
  "the_year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Regular Season of 7th?`:
```sql
                SELECT MAX("the_year") FROM "year_by_year" WHERE "regular_season"='7th';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Division larger than 3?`

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

CREATE TABLE "year_by_year" (
  "the_year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Division larger than 3?`:
```sql
                SELECT MAX("the_year") FROM "year_by_year" WHERE "division">3;
```
## Task
Generate a SQL query to answer the following question:
`Which Year did not qualify for Playoffs, and had a Division smaller than 3?`

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

CREATE TABLE "year_by_year" (
  "the_year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year did not qualify for Playoffs, and had a Division smaller than 3?`:
```sql
                SELECT SUM("the_year") FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "division"<3;
```
## Task
Generate a SQL query to answer the following question:
`Which league did not qualify for the Playoffs, and had a Year larger than 2008?`

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

CREATE TABLE "year_by_year" (
  "the_year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which league did not qualify for the Playoffs, and had a Year larger than 2008?`:
```sql
                SELECT "league" FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "the_year">2008;
```
## Task
Generate a SQL query to answer the following question:
`What is Home Team, when Away Team Score is 10.8 (64)?`

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

CREATE TABLE "group_a" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Team, when Away Team Score is 10.8 (64)?`:
```sql
                SELECT "home_team" FROM "group_a" WHERE "away_team_score"='10.8 (64)';
```
## Task
Generate a SQL query to answer the following question:
`What is Lowest Crowd, when Home Team is Brisbane Lions?`

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

CREATE TABLE "group_a" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Lowest Crowd, when Home Team is Brisbane Lions?`:
```sql
                SELECT MIN("crowd") FROM "group_a" WHERE "home_team"='brisbane lions';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Away Team is Kangaroos?`

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

CREATE TABLE "group_a" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Away Team is Kangaroos?`:
```sql
                SELECT "date" FROM "group_a" WHERE "away_team"='kangaroos';
```
## Task
Generate a SQL query to answer the following question:
`What is Ground, when Home Team Score is 12.14 (86)?`

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

CREATE TABLE "group_a" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ground, when Home Team Score is 12.14 (86)?`:
```sql
                SELECT "ground" FROM "group_a" WHERE "home_team_score"='12.14 (86)';
```
## Task
Generate a SQL query to answer the following question:
`What is Away Team, when Home Team is Kangaroos, and when Away Team Score is 9.11 (65)?`

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

CREATE TABLE "group_a" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Away Team, when Home Team is Kangaroos, and when Away Team Score is 9.11 (65)?`:
```sql
                SELECT "away_team" FROM "group_a" WHERE "home_team"='kangaroos' AND "away_team_score"='9.11 (65)';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest round with a time of 1:12?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest round with a time of 1:12?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "time"='1:12';
```
## Task
Generate a SQL query to answer the following question:
`How long was the time for the Legacy Fighting Championship 12?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long was the time for the Legacy Fighting Championship 12?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "event"='legacy fighting championship 12';
```
## Task
Generate a SQL query to answer the following question:
`WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN?`:
```sql
                SELECT "country" FROM "third_round" WHERE "to_par"='+1' AND "player"='woody austin';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TO PAR FOR ERNIE ELS?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TO PAR FOR ERNIE ELS?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "player"='ernie els';
```
## Task
Generate a SQL query to answer the following question:
`WHAT PLACE DOES TOM LEHMAN HAVE?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT PLACE DOES TOM LEHMAN HAVE?`:
```sql
                SELECT "place" FROM "third_round" WHERE "player"='tom lehman';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE TO PAR FOR NUMBER 1?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE TO PAR FOR NUMBER 1?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "place"='1';
```