cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`In the Datsun Twin 200 race, what was the fastest lap?`

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

CREATE TABLE "race_results" (
  "rd" real,
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the Datsun Twin 200 race, what was the fastest lap?`:
```sql
                SELECT "fastest_lap" FROM "race_results" WHERE "name"='Datsun Twin 200';
```
## Task
Generate a SQL query to answer the following question:
`What's the report for the True Value 500?`

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

CREATE TABLE "race_results" (
  "rd" real,
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the report for the True Value 500?`:
```sql
                SELECT "report" FROM "race_results" WHERE "name"='True Value 500';
```
## Task
Generate a SQL query to answer the following question:
`What was Johnny Rutherford's fastest lap while Al Unser was the pole position?`

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

CREATE TABLE "race_results" (
  "rd" real,
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Johnny Rutherford's fastest lap while Al Unser was the pole position?`:
```sql
                SELECT "fastest_lap" FROM "race_results" WHERE "winning_driver"='Johnny Rutherford' AND "pole_position"='Al Unser';
```
## Task
Generate a SQL query to answer the following question:
`What's the report on Penske Racing winning while the pole position was Al Unser?`

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

CREATE TABLE "race_results" (
  "rd" real,
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the report on Penske Racing winning while the pole position was Al Unser?`:
```sql
                SELECT COUNT("report") FROM "race_results" WHERE "pole_position"='Al Unser' AND "winning_team"='Penske Racing';
```
## Task
Generate a SQL query to answer the following question:
`Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?`

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

CREATE TABLE "table_of_world_organization_of_the_scout" (
  "country" text,
  "membership_from_2010" real,
  "name_of_member_organization" text,
  "year_current_scouting_organization_joined_wosm" text,
  "year_member_organization_was_founded" text,
  "admits_boys_girls" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?`:
```sql
                SELECT "country" FROM "table_of_world_organization_of_the_scout" WHERE "year_current_scouting_organization_joined_wosm"='1930' AND "year_member_organization_was_founded"='1926';
```
## Task
Generate a SQL query to answer the following question:
`Does Venezuela admit only boys, only girls, or both?`

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

CREATE TABLE "table_of_world_organization_of_the_scout" (
  "country" text,
  "membership_from_2010" real,
  "name_of_member_organization" text,
  "year_current_scouting_organization_joined_wosm" text,
  "year_member_organization_was_founded" text,
  "admits_boys_girls" text
);
### SQL
Given the database schema, here is the SQL query that answers `Does Venezuela admit only boys, only girls, or both?`:
```sql
                SELECT "admits_boys_girls" FROM "table_of_world_organization_of_the_scout" WHERE "country"='Venezuela';
```
## Task
Generate a SQL query to answer the following question:
`Which organizations were founded in 1972, but became WOSM members until 1977?`

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

CREATE TABLE "table_of_world_organization_of_the_scout" (
  "country" text,
  "membership_from_2010" real,
  "name_of_member_organization" text,
  "year_current_scouting_organization_joined_wosm" text,
  "year_member_organization_was_founded" text,
  "admits_boys_girls" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which organizations were founded in 1972, but became WOSM members until 1977?`:
```sql
                SELECT "name_of_member_organization" FROM "table_of_world_organization_of_the_scout" WHERE "year_member_organization_was_founded"='1972' AND "year_current_scouting_organization_joined_wosm"='1977';
```
## Task
Generate a SQL query to answer the following question:
`Does the Scout Association of Hong Kong admit boys, girls, or both?`

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

CREATE TABLE "table_of_world_organization_of_the_scout" (
  "country" text,
  "membership_from_2010" real,
  "name_of_member_organization" text,
  "year_current_scouting_organization_joined_wosm" text,
  "year_member_organization_was_founded" text,
  "admits_boys_girls" text
);
### SQL
Given the database schema, here is the SQL query that answers `Does the Scout Association of Hong Kong admit boys, girls, or both?`:
```sql
                SELECT "admits_boys_girls" FROM "table_of_world_organization_of_the_scout" WHERE "name_of_member_organization"='The Scout Association of Hong Kong';
```
## Task
Generate a SQL query to answer the following question:
`Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?`

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

CREATE TABLE "table_of_world_organization_of_the_scout" (
  "country" text,
  "membership_from_2010" real,
  "name_of_member_organization" text,
  "year_current_scouting_organization_joined_wosm" text,
  "year_member_organization_was_founded" text,
  "admits_boys_girls" text
);
### SQL
Given the database schema, here is the SQL query that answers `Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?`:
```sql
                SELECT "admits_boys_girls" FROM "table_of_world_organization_of_the_scout" WHERE "year_member_organization_was_founded"='1912' AND "name_of_member_organization"='The Ghana Scout Association';
```
## Task
Generate a SQL query to answer the following question:
`What is the model number introduced May 1999?`

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

CREATE TABLE "comparison_table_of_hp_laser_jet_4000_mo" (
  "model" real,
  "introduction" text,
  "discontinued" text,
  "cpu_speed" text,
  "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" text,
  "print_speed_ppm" text,
  "standard_memory" text,
  "maximum_memory" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the model number introduced May 1999?`:
```sql
                SELECT MAX("model") FROM "comparison_table_of_hp_laser_jet_4000_mo" WHERE "introduction"='May 1999';
```
## Task
Generate a SQL query to answer the following question:
`What is the print resolution (FPI) for December 2002?`

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

CREATE TABLE "comparison_table_of_hp_laser_jet_4000_mo" (
  "model" real,
  "introduction" text,
  "discontinued" text,
  "cpu_speed" text,
  "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" text,
  "print_speed_ppm" text,
  "standard_memory" text,
  "maximum_memory" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the print resolution (FPI) for December 2002?`:
```sql
                SELECT "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" FROM "comparison_table_of_hp_laser_jet_4000_mo" WHERE "introduction"='December 2002';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum memory for the model discontinued in November 2001?`

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

CREATE TABLE "comparison_table_of_hp_laser_jet_4000_mo" (
  "model" real,
  "introduction" text,
  "discontinued" text,
  "cpu_speed" text,
  "print_resolution_dpi_resolution_is_given_in_dots_per_inch_dpi" text,
  "print_speed_ppm" text,
  "standard_memory" text,
  "maximum_memory" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum memory for the model discontinued in November 2001?`:
```sql
                SELECT "maximum_memory" FROM "comparison_table_of_hp_laser_jet_4000_mo" WHERE "discontinued"='November 2001';
```
## Task
Generate a SQL query to answer the following question:
`What is main presenters of La Granja?`

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

CREATE TABLE "table1_1053802_1" (
  "region_country" text,
  "local_title" text,
  "network" text,
  "winners" text,
  "main_presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is main presenters of La Granja?`:
```sql
                SELECT "main_presenters" FROM "table1_1053802_1" WHERE "local_title"='La Granja';
```
## Task
Generate a SQL query to answer the following question:
`What is the main presenter of bulgaria?`

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

CREATE TABLE "table1_1053802_1" (
  "region_country" text,
  "local_title" text,
  "network" text,
  "winners" text,
  "main_presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the main presenter of bulgaria?`:
```sql
                SELECT "main_presenters" FROM "table1_1053802_1" WHERE "region_country"='Bulgaria';
```
## Task
Generate a SQL query to answer the following question:
`How many winners are there of farma?`

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

CREATE TABLE "table1_1053802_1" (
  "region_country" text,
  "local_title" text,
  "network" text,
  "winners" text,
  "main_presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many winners are there of farma?`:
```sql
                SELECT COUNT("winners") FROM "table1_1053802_1" WHERE "local_title"='Farma';
```
## Task
Generate a SQL query to answer the following question:
`What is the most cup goals for seasson 1911-12?`

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

CREATE TABLE "swindon_town_career_details" (
  "season" text,
  "team" text,
  "league_apps" real,
  "league_goals" real,
  "cup_apps" real,
  "cup_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most cup goals for seasson 1911-12?`:
```sql
                SELECT MAX("cup_goals") FROM "swindon_town_career_details" WHERE "season"='1911-12';
```
## Task
Generate a SQL query to answer the following question:
`What is the league apps for season 1923-24?`

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

CREATE TABLE "swindon_town_career_details" (
  "season" text,
  "team" text,
  "league_apps" real,
  "league_goals" real,
  "cup_apps" real,
  "cup_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the league apps for season 1923-24?`:
```sql
                SELECT "league_apps" FROM "swindon_town_career_details" WHERE "season"='1923-24';
```
## Task
Generate a SQL query to answer the following question:
`What is the team for season 1911-12?`

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

CREATE TABLE "swindon_town_career_details" (
  "season" text,
  "team" text,
  "league_apps" real,
  "league_goals" real,
  "cup_apps" real,
  "cup_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team for season 1911-12?`:
```sql
                SELECT "team" FROM "swindon_town_career_details" WHERE "season"='1911-12';
```
## Task
Generate a SQL query to answer the following question:
`what's the minimum attendance with score  10.16 (76) – 9.22 (76)`

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

CREATE TABLE "trivia_and_statistics" (
  "season" real,
  "premier" text,
  "runner_up" text,
  "score" text,
  "margin" real,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the minimum attendance with score  10.16 (76) – 9.22 (76)`:
```sql
                SELECT MIN("attendance") FROM "trivia_and_statistics" WHERE "score"='10.16 (76) – 9.22 (76)';
```
## Task
Generate a SQL query to answer the following question:
`who's the premier with in 1970`

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

CREATE TABLE "trivia_and_statistics" (
  "season" real,
  "premier" text,
  "runner_up" text,
  "score" text,
  "margin" real,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `who's the premier with in 1970`:
```sql
                SELECT "premier" FROM "trivia_and_statistics" WHERE "season"=1970;
```
## Task
Generate a SQL query to answer the following question:
`who are all the runner-up for premier in richmond`

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

CREATE TABLE "trivia_and_statistics" (
  "season" real,
  "premier" text,
  "runner_up" text,
  "score" text,
  "margin" real,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `who are all the runner-up for premier in richmond`:
```sql
                SELECT "runner_up" FROM "trivia_and_statistics" WHERE "premier"='Richmond';
```
## Task
Generate a SQL query to answer the following question:
`what is the minimum attendance with score 8.16 (64) – 8.12 (60)`

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

CREATE TABLE "trivia_and_statistics" (
  "season" real,
  "premier" text,
  "runner_up" text,
  "score" text,
  "margin" real,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the minimum attendance with score 8.16 (64) – 8.12 (60)`:
```sql
                SELECT MIN("attendance") FROM "trivia_and_statistics" WHERE "score"='8.16 (64) – 8.12 (60)';
```
## Task
Generate a SQL query to answer the following question:
`How many mileposts are there on Anne Street?`

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

CREATE TABLE "table1_10568553_1" (
  "county" text,
  "location" text,
  "street_names" text,
  "milepost" text,
  "roads_intersected" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many mileposts are there on Anne Street?`:
```sql
                SELECT COUNT("milepost") FROM "table1_10568553_1" WHERE "street_names"='Anne Street';
```
## Task
Generate a SQL query to answer the following question:
`Which street is 12.2 miles long?`

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

CREATE TABLE "table1_10568553_1" (
  "county" text,
  "location" text,
  "street_names" text,
  "milepost" text,
  "roads_intersected" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which street is 12.2 miles long?`:
```sql
                SELECT "street_names" FROM "table1_10568553_1" WHERE "milepost"='12.2';
```
## Task
Generate a SQL query to answer the following question:
`Where does Route 24 intersect?`

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

CREATE TABLE "table1_10568553_1" (
  "county" text,
  "location" text,
  "street_names" text,
  "milepost" text,
  "roads_intersected" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where does Route 24 intersect?`:
```sql
                SELECT "location" FROM "table1_10568553_1" WHERE "roads_intersected"='Route 24';
```
## Task
Generate a SQL query to answer the following question:
`Where is milepost 12.8?`

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

CREATE TABLE "table1_10568553_1" (
  "county" text,
  "location" text,
  "street_names" text,
  "milepost" text,
  "roads_intersected" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is milepost 12.8?`:
```sql
                SELECT "location" FROM "table1_10568553_1" WHERE "milepost"='12.8';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum amount for wool for 2001-02?`

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

CREATE TABLE "major_agricultural_products" (
  "commodity" text,
  "2001_02" real,
  "2002_03" real,
  "2003_04" real,
  "2004_05" real,
  "2005_06" real,
  "2006_07" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum amount for wool for 2001-02?`:
```sql
                SELECT MIN("2001_02") FROM "major_agricultural_products" WHERE "commodity"='Wool';
```
## Task
Generate a SQL query to answer the following question:
`Who were the operational owners during the construction date of April 1892?`

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

CREATE TABLE "table1_1057316_1" (
  "serial_number" text,
  "wheel_arrangement_whyte_notation" text,
  "build_date" text,
  "operational_owner_s" text,
  "disposition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the operational owners during the construction date of April 1892?`:
```sql
                SELECT "operational_owner_s" FROM "table1_1057316_1" WHERE "build_date"='April 1892';
```
## Task
Generate a SQL query to answer the following question:
`Where can you find Colorado and Southern Railway #9?`

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

CREATE TABLE "table1_1057316_1" (
  "serial_number" text,
  "wheel_arrangement_whyte_notation" text,
  "build_date" text,
  "operational_owner_s" text,
  "disposition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where can you find Colorado and Southern Railway #9?`:
```sql
                SELECT "disposition" FROM "table1_1057316_1" WHERE "operational_owner_s"='Colorado and Southern Railway #9';
```
## Task
Generate a SQL query to answer the following question:
`What is the wheel arrangement for the train in Riverdale, Georgia?`

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

CREATE TABLE "table1_1057316_1" (
  "serial_number" text,
  "wheel_arrangement_whyte_notation" text,
  "build_date" text,
  "operational_owner_s" text,
  "disposition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the wheel arrangement for the train in Riverdale, Georgia?`:
```sql
                SELECT "wheel_arrangement_whyte_notation" FROM "table1_1057316_1" WHERE "disposition"='Riverdale, Georgia';
```
## Task
Generate a SQL query to answer the following question:
`When was the train 2053 built?`

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

CREATE TABLE "table1_1057316_1" (
  "serial_number" text,
  "wheel_arrangement_whyte_notation" text,
  "build_date" text,
  "operational_owner_s" text,
  "disposition" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the train 2053 built?`:
```sql
                SELECT "build_date" FROM "table1_1057316_1" WHERE "serial_number"='2053';
```
## Task
Generate a SQL query to answer the following question:
`How many wheels does the train owned by Texas and New Orleans Railroad #319 have?`

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

CREATE TABLE "table1_1057316_1" (
  "serial_number" text,
  "wheel_arrangement_whyte_notation" text,
  "build_date" text,
  "operational_owner_s" text,
  "disposition" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wheels does the train owned by Texas and New Orleans Railroad #319 have?`:
```sql
                SELECT COUNT("wheel_arrangement_whyte_notation") FROM "table1_1057316_1" WHERE "operational_owner_s"='Texas and New Orleans Railroad #319';
```
## Task
Generate a SQL query to answer the following question:
`Which college has the men's nickname of the blazers?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "men_s_nickname" text,
  "women_s_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college has the men's nickname of the blazers?`:
```sql
                SELECT "institution" FROM "former_members" WHERE "men_s_nickname"='Blazers';
```
## Task
Generate a SQL query to answer the following question:
`Name the joined for the wolfpack women's nickname`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "men_s_nickname" text,
  "women_s_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the joined for the wolfpack women's nickname`:
```sql
                SELECT "joined" FROM "former_members" WHERE "women_s_nickname"='Wolfpack';
```
## Task
Generate a SQL query to answer the following question:
`Name the left of the Lady Pilots.`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "men_s_nickname" text,
  "women_s_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the left of the Lady Pilots.`:
```sql
                SELECT "left" FROM "former_members" WHERE "women_s_nickname"='Lady Pilots';
```
## Task
Generate a SQL query to answer the following question:
`Name the women's nickname when the enrollment is 1500 in mobile, Alabama.`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "men_s_nickname" text,
  "women_s_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the women's nickname when the enrollment is 1500 in mobile, Alabama.`:
```sql
                SELECT "women_s_nickname" FROM "former_members" WHERE "enrollment"=1500 AND "location"='Mobile, Alabama';
```
## Task
Generate a SQL query to answer the following question:
`Which conference is in Jackson, Mississippi?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "men_s_nickname" text,
  "women_s_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which conference is in Jackson, Mississippi?`:
```sql
                SELECT "current_conference" FROM "former_members" WHERE "location"='Jackson, Mississippi';
```
## Task
Generate a SQL query to answer the following question:
`What is the men's nickname at the school that has the lady wildcats women's nickname?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "men_s_nickname" text,
  "women_s_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "current_conference" text,
  "classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the men's nickname at the school that has the lady wildcats women's nickname?`:
```sql
                SELECT "men_s_nickname" FROM "former_members" WHERE "women_s_nickname"='Lady Wildcats';
```
## Task
Generate a SQL query to answer the following question:
`What is the Mens Nickname for the member location of Jacksonville, florida?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "mens_nickname" text,
  "womens_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Mens Nickname for the member location of Jacksonville, florida?`:
```sql
                SELECT "mens_nickname" FROM "current_members" WHERE "location"='Jacksonville, Florida';
```
## Task
Generate a SQL query to answer the following question:
`What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "mens_nickname" text,
  "womens_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the enrollment for the institution that was founded in 1866 and is a private/(african methodist) type?`:
```sql
                SELECT MAX("enrollment") FROM "current_members" WHERE "founded"=1866 AND "type"='Private/(African Methodist)';
```
## Task
Generate a SQL query to answer the following question:
`That is the year founded for the institution location of Nashville, Tennessee?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "mens_nickname" text,
  "womens_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `That is the year founded for the institution location of Nashville, Tennessee?`:
```sql
                SELECT MIN("founded") FROM "current_members" WHERE "location"='Nashville, Tennessee';
```
## Task
Generate a SQL query to answer the following question:
`What is the year the institution Tougaloo College joined?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "mens_nickname" text,
  "womens_nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year the institution Tougaloo College joined?`:
```sql
                SELECT "joined" FROM "current_members" WHERE "institution"='Tougaloo College';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?`:
```sql
                SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "date_of_appointment"='28 November 2007' AND "replaced_by"='Alex McLeish';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of appointment when the date of vacancy is 21 december 2007?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of appointment when the date of vacancy is 21 december 2007?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "date_of_vacancy"='21 December 2007';
```
## Task
Generate a SQL query to answer the following question:
`Who replaced when team is wigan athletic?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who replaced when team is wigan athletic?`:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "team"='Wigan Athletic';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of vacancy when the team is manchester city and replaced by is mark hughes?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of vacancy when the team is manchester city and replaced by is mark hughes?`:
```sql
                SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "team"='Manchester City' AND "replaced_by"='Mark Hughes';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of appointment when replaced by is roy hodgson?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of appointment when replaced by is roy hodgson?`:
```sql
                SELECT "date_of_appointment" FROM "managerial_changes" WHERE "replaced_by"='Roy Hodgson';
```
## Task
Generate a SQL query to answer the following question:
`Who replaced when position in table is pre-season?`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who replaced when position in table is pre-season?`:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "position_in_table"='Pre-season';
```
## Task
Generate a SQL query to answer the following question:
`How many games had a score value of 813.5 in post-season play?`

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

CREATE TABLE "table1_1059743_1" (
  "rank" real,
  "member_association" text,
  "points" text,
  "group_stage" real,
  "play_off" real,
  "afc_cup" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games had a score value of 813.5 in post-season play?`:
```sql
                SELECT COUNT("play_off") FROM "table1_1059743_1" WHERE "points"='813.5';
```
## Task
Generate a SQL query to answer the following question:
`Did any team score games that totaled up to 860.5?`

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

CREATE TABLE "table1_1059743_1" (
  "rank" real,
  "member_association" text,
  "points" text,
  "group_stage" real,
  "play_off" real,
  "afc_cup" real
);
### SQL
Given the database schema, here is the SQL query that answers `Did any team score games that totaled up to 860.5?`:
```sql
                SELECT "play_off" FROM "table1_1059743_1" WHERE "points"='860.5';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game when the team reached a record of 6-9?`

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

CREATE TABLE "2009_season_schedule" (
  "date" text,
  "opponent" text,
  "home_away" 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 score of the game when the team reached a record of 6-9?`:
```sql
                SELECT "score" FROM "2009_season_schedule" WHERE "record"='6-9';
```
## Task
Generate a SQL query to answer the following question:
`What type institution is point park university`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real
);
### SQL
Given the database schema, here is the SQL query that answers `What type institution is point park university`:
```sql
                SELECT "type" FROM "current_members" WHERE "institution"='Point Park University';
```
## Task
Generate a SQL query to answer the following question:
`How many institutions are located in wilmore, kentucky and private`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many institutions are located in wilmore, kentucky and private`:
```sql
                SELECT MAX("founded") FROM "current_members" WHERE "type"='Private' AND "location"='Wilmore, Kentucky';
```
## Task
Generate a SQL query to answer the following question:
`point park university is what type of institution`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real
);
### SQL
Given the database schema, here is the SQL query that answers `point park university is what type of institution`:
```sql
                SELECT "type" FROM "current_members" WHERE "institution"='Point Park University';
```
## Task
Generate a SQL query to answer the following question:
`how many founded dates are listed for carlow university 1`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many founded dates are listed for carlow university 1`:
```sql
                SELECT COUNT("founded") FROM "current_members" WHERE "institution"='Carlow University 1';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode titled "black"?`

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

CREATE TABLE "table1_10610087_6" (
  "no_in_series" real,
  "no_in_season" 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 `Who wrote the episode titled "black"?`:
```sql
                SELECT "written_by" FROM "table1_10610087_6" WHERE "title"='\"Black\"';
```
## Task
Generate a SQL query to answer the following question:
`Who are the writers for the episode "solo"?`

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

CREATE TABLE "table1_10610087_6" (
  "no_in_series" real,
  "no_in_season" 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 `Who are the writers for the episode "solo"?`:
```sql
                SELECT "written_by" FROM "table1_10610087_6" WHERE "title"='\"Solo\"';
```
## Task
Generate a SQL query to answer the following question:
`what is the original air date of the episode no in season 9?`

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

CREATE TABLE "table1_10610087_3" (
  "no_in_series" real,
  "no_in_season" 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 original air date of the episode no in season 9?`:
```sql
                SELECT "original_air_date" FROM "table1_10610087_3" WHERE "no_in_season"=9;
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode written by denis leary, peter tolan and evan reilly?`

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

CREATE TABLE "table1_10610087_3" (
  "no_in_series" real,
  "no_in_season" 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 episode written by denis leary, peter tolan and evan reilly?`:
```sql
                SELECT "title" FROM "table1_10610087_3" WHERE "written_by"='Denis Leary, Peter Tolan and Evan Reilly';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were titles "voicemail"?`

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

CREATE TABLE "table1_10610087_3" (
  "no_in_series" real,
  "no_in_season" 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 `How many episodes were titles "voicemail"?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_10610087_3" WHERE "title"='\"Voicemail\"';
```
## Task
Generate a SQL query to answer the following question:
`When was Kamba active?`

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

CREATE TABLE "season_effects" (
  "name" text,
  "dates_active" text,
  "peak_classification" text,
  "windspeeds" text,
  "pressure" text,
  "areas_affected" text,
  "damage_usd" text,
  "deaths" text,
  "refs" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Kamba active?`:
```sql
                SELECT "dates_active" FROM "season_effects" WHERE "name"='Kamba';
```
## Task
Generate a SQL query to answer the following question:
`What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)?`

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

CREATE TABLE "season_effects" (
  "name" text,
  "dates_active" text,
  "peak_classification" text,
  "windspeeds" text,
  "pressure" text,
  "areas_affected" text,
  "damage_usd" text,
  "deaths" text,
  "refs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)?`:
```sql
                SELECT "pressure" FROM "season_effects" WHERE "deaths"='95km/h (60mph)';
```
## Task
Generate a SQL query to answer the following question:
`What were the active dates for the storm that had 185km/h (115mph) deaths?`

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

CREATE TABLE "season_effects" (
  "name" text,
  "dates_active" text,
  "peak_classification" text,
  "windspeeds" text,
  "pressure" text,
  "areas_affected" text,
  "damage_usd" text,
  "deaths" text,
  "refs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the active dates for the storm that had 185km/h (115mph) deaths?`:
```sql
                SELECT "dates_active" FROM "season_effects" WHERE "deaths"='185km/h (115mph)';
```
## Task
Generate a SQL query to answer the following question:
`What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?`

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

CREATE TABLE "season_effects" (
  "name" text,
  "dates_active" text,
  "peak_classification" text,
  "windspeeds" text,
  "pressure" text,
  "areas_affected" text,
  "damage_usd" text,
  "deaths" text,
  "refs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?`:
```sql
                SELECT "damage_usd" FROM "season_effects" WHERE "pressure"='1003hPa (29.62inHg)';
```
## Task
Generate a SQL query to answer the following question:
` what's the average where high score is 120`

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

CREATE TABLE "batting_averages" (
  "player" text,
  "matches" real,
  "inns" real,
  "n_o" real,
  "runs" real,
  "high_score" real,
  "average" text,
  "100" real,
  "50" real,
  "catches" real,
  "stump" real
);
### SQL
Given the database schema, here is the SQL query that answers ` what's the average where high score is 120`:
```sql
                SELECT "average" FROM "batting_averages" WHERE "high_score"=120;
```
## Task
Generate a SQL query to answer the following question:
` what's the player where 50 is 2 and n/o is 0`

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

CREATE TABLE "batting_averages" (
  "player" text,
  "matches" real,
  "inns" real,
  "n_o" real,
  "runs" real,
  "high_score" real,
  "average" text,
  "100" real,
  "50" real,
  "catches" real,
  "stump" real
);
### SQL
Given the database schema, here is the SQL query that answers ` what's the player where 50 is 2 and n/o is 0`:
```sql
                SELECT "player" FROM "batting_averages" WHERE "50"=2 AND "n_o"=0;
```
## Task
Generate a SQL query to answer the following question:
` what's the player where inns is 21`

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

CREATE TABLE "batting_averages" (
  "player" text,
  "matches" real,
  "inns" real,
  "n_o" real,
  "runs" real,
  "high_score" real,
  "average" text,
  "100" real,
  "50" real,
  "catches" real,
  "stump" real
);
### SQL
Given the database schema, here is the SQL query that answers ` what's the player where inns is 21`:
```sql
                SELECT "player" FROM "batting_averages" WHERE "inns"=21;
```
## Task
Generate a SQL query to answer the following question:
`Which general election had a pq majority and a 44.75% of the popular vote?`

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

CREATE TABLE "general_election_results" (
  "general_election" real,
  "num_of_candidates" real,
  "num_of_seats_won" real,
  "pct_of_popular_vote" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which general election had a pq majority and a 44.75% of the popular vote?`:
```sql
                SELECT "general_election" FROM "general_election_results" WHERE "result"='PQ majority' AND "pct_of_popular_vote"='44.75%';
```
## Task
Generate a SQL query to answer the following question:
`What is the least number of candidates running were there when 80 seats were won?`

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

CREATE TABLE "general_election_results" (
  "general_election" real,
  "num_of_candidates" real,
  "num_of_seats_won" real,
  "pct_of_popular_vote" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least number of candidates running were there when 80 seats were won?`:
```sql
                SELECT MIN("num_of_candidates") FROM "general_election_results" WHERE "num_of_seats_won"=80;
```
## Task
Generate a SQL query to answer the following question:
`How many seats were won in the election with 125 candidates?`

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

CREATE TABLE "general_election_results" (
  "general_election" real,
  "num_of_candidates" real,
  "num_of_seats_won" real,
  "pct_of_popular_vote" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seats were won in the election with 125 candidates?`:
```sql
                SELECT COUNT("num_of_seats_won") FROM "general_election_results" WHERE "num_of_candidates"=125;
```
## Task
Generate a SQL query to answer the following question:
`How many weeks are there?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks are there?`:
```sql
                SELECT MAX("week") FROM "regular_season";
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game against the indianapolis colts?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the game against the indianapolis colts?`:
```sql
                SELECT COUNT("attendance") FROM "regular_season" WHERE "opponent"='Indianapolis Colts';
```