cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many different isolation numbers does the Jack Mountain peak have?`

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

CREATE TABLE "the_18_washington_mountain_peaks_with_27" (
  "rank" real,
  "mountain_peak" text,
  "mountain_range" text,
  "elevation" text,
  "prominence" text,
  "isolation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different isolation numbers does the Jack Mountain peak have?`:
```sql
                SELECT COUNT("isolation") FROM "the_18_washington_mountain_peaks_with_27" WHERE "mountain_peak"='Jack Mountain';
```
## Task
Generate a SQL query to answer the following question:
`What's the isolation of the mountain peak with a prominence of 1340.549 = 4,397feet 1,340m?`

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

CREATE TABLE "the_18_washington_mountain_peaks_with_27" (
  "rank" real,
  "mountain_peak" text,
  "mountain_range" text,
  "elevation" text,
  "prominence" text,
  "isolation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the isolation of the mountain peak with a prominence of 1340.549 = 4,397feet 1,340m?`:
```sql
                SELECT "isolation" FROM "the_18_washington_mountain_peaks_with_27" WHERE "prominence"='1340.549 = 4,397feet 1,340m';
```
## Task
Generate a SQL query to answer the following question:
`How many different isolation numbers does the peak with an elevation of 2782.622 = 9,127feet 2782m have?`

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

CREATE TABLE "the_18_washington_mountain_peaks_with_27" (
  "rank" real,
  "mountain_peak" text,
  "mountain_range" text,
  "elevation" text,
  "prominence" text,
  "isolation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different isolation numbers does the peak with an elevation of 2782.622 = 9,127feet 2782m have?`:
```sql
                SELECT COUNT("isolation") FROM "the_18_washington_mountain_peaks_with_27" WHERE "elevation"='2782.622 = 9,127feet 2782m';
```
## Task
Generate a SQL query to answer the following question:
`What's the isolation of the mountain peak with an elevation of 2705.793 = 8,875feet 2705m?`

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

CREATE TABLE "the_18_washington_mountain_peaks_with_27" (
  "rank" real,
  "mountain_peak" text,
  "mountain_range" text,
  "elevation" text,
  "prominence" text,
  "isolation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the isolation of the mountain peak with an elevation of 2705.793 = 8,875feet 2705m?`:
```sql
                SELECT "isolation" FROM "the_18_washington_mountain_peaks_with_27" WHERE "elevation"='2705.793 = 8,875feet 2705m';
```
## Task
Generate a SQL query to answer the following question:
`What's the isolation of the mountain peak with prominence of 1340.549 = 4,397feet 1,340m?`

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

CREATE TABLE "the_18_washington_mountain_peaks_with_27" (
  "rank" real,
  "mountain_peak" text,
  "mountain_range" text,
  "elevation" text,
  "prominence" text,
  "isolation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the isolation of the mountain peak with prominence of 1340.549 = 4,397feet 1,340m?`:
```sql
                SELECT "isolation" FROM "the_18_washington_mountain_peaks_with_27" WHERE "prominence"='1340.549 = 4,397feet 1,340m';
```
## Task
Generate a SQL query to answer the following question:
`How many steals did Nicole Levandusky make?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many steals did Nicole Levandusky make?`:
```sql
                SELECT "steals" FROM "player_stats" WHERE "player"='Nicole Levandusky';
```
## Task
Generate a SQL query to answer the following question:
`How many rebounds did Rhonda Mapp make?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rebounds did Rhonda Mapp make?`:
```sql
                SELECT MAX("rebounds") FROM "player_stats" WHERE "player"='Rhonda Mapp';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest amount of assists that Nicole Levandusky made?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest amount of assists that Nicole Levandusky made?`:
```sql
                SELECT MAX("assists") FROM "player_stats" WHERE "player"='Nicole Levandusky';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of blocks where rebounds equal 35?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of blocks where rebounds equal 35?`:
```sql
                SELECT MAX("blocks") FROM "player_stats" WHERE "rebounds"=35;
```
## Task
Generate a SQL query to answer the following question:
`How many assists did Delisha Milton-Jones make?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many assists did Delisha Milton-Jones make?`:
```sql
                SELECT "assists" FROM "player_stats" WHERE "player"='DeLisha Milton-Jones';
```
## Task
Generate a SQL query to answer the following question:
`Name the total apps for eddie carr`

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

CREATE TABLE "fa_cup_appearances_and_goals" (
  "name" text,
  "nation" text,
  "position" text,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total apps for eddie carr`:
```sql
                SELECT MAX("total_apps") FROM "fa_cup_appearances_and_goals" WHERE "name"='Eddie Carr';
```
## Task
Generate a SQL query to answer the following question:
`Name the fa cup apps for arthur morton`

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

CREATE TABLE "fa_cup_appearances_and_goals" (
  "name" text,
  "nation" text,
  "position" text,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fa cup apps for arthur morton`:
```sql
                SELECT "fa_cup_apps" FROM "fa_cup_appearances_and_goals" WHERE "name"='Arthur Morton';
```
## Task
Generate a SQL query to answer the following question:
`Name the position for billy price`

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

CREATE TABLE "fa_cup_appearances_and_goals" (
  "name" text,
  "nation" text,
  "position" text,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for billy price`:
```sql
                SELECT "position" FROM "fa_cup_appearances_and_goals" WHERE "name"='Billy Price';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of position for don clegg`

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

CREATE TABLE "fa_cup_appearances_and_goals" (
  "name" text,
  "nation" text,
  "position" text,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of position for don clegg`:
```sql
                SELECT COUNT("position") FROM "fa_cup_appearances_and_goals" WHERE "name"='Don Clegg';
```
## Task
Generate a SQL query to answer the following question:
`Name the nation where jeff barker is from`

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

CREATE TABLE "fa_cup_appearances_and_goals" (
  "name" text,
  "nation" text,
  "position" text,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nation where jeff barker is from`:
```sql
                SELECT "nation" FROM "fa_cup_appearances_and_goals" WHERE "name"='Jeff Barker';
```
## Task
Generate a SQL query to answer the following question:
`Name the fa cup apps for george green`

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

CREATE TABLE "fa_cup_appearances_and_goals" (
  "name" text,
  "nation" text,
  "position" text,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fa cup apps for george green`:
```sql
                SELECT "fa_cup_apps" FROM "fa_cup_appearances_and_goals" WHERE "name"='George Green';
```
## Task
Generate a SQL query to answer the following question:
`Name the school that was founded in 1950`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the school that was founded in 1950`:
```sql
                SELECT "institution" FROM "current_members" WHERE "founded"=1950;
```
## Task
Generate a SQL query to answer the following question:
`Name the most founded for sea gulls`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most founded for sea gulls`:
```sql
                SELECT MAX("founded") FROM "current_members" WHERE "nickname"='Sea Gulls';
```
## Task
Generate a SQL query to answer the following question:
`Name the location for eagles`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location for eagles`:
```sql
                SELECT "location" FROM "current_members" WHERE "nickname"='Eagles';
```
## Task
Generate a SQL query to answer the following question:
`Name the enrollment for 2007-08`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the enrollment for 2007-08`:
```sql
                SELECT "enrollment" FROM "current_members" WHERE "joined"='2007-08';
```
## Task
Generate a SQL query to answer the following question:
`Name the least new points for steffi graf`

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

CREATE TABLE "1999_australian_open" (
  "sd" real,
  "rk" real,
  "player" text,
  "points" real,
  "points_defending" real,
  "points_won" real,
  "new_points" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least new points for steffi graf`:
```sql
                SELECT MIN("new_points") FROM "1999_australian_open" WHERE "player"='Steffi Graf';
```
## Task
Generate a SQL query to answer the following question:
`Name the most points for champion, won in the final against amélie mauresmo`

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

CREATE TABLE "1999_australian_open" (
  "sd" real,
  "rk" real,
  "player" text,
  "points" real,
  "points_defending" real,
  "points_won" real,
  "new_points" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most points for champion, won in the final against amélie mauresmo`:
```sql
                SELECT MAX("points") FROM "1999_australian_open" WHERE "status"='Champion, won in the final against Amélie Mauresmo';
```
## Task
Generate a SQL query to answer the following question:
`Name the further cities for slovakia and west direction`

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

CREATE TABLE "hills_of_g_d_ll" (
  "further_cities" text,
  "county_oblast_or_state" text,
  "country" text,
  "distance" text,
  "direction" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the further cities for slovakia and west direction`:
```sql
                SELECT "further_cities" FROM "hills_of_g_d_ll" WHERE "country"='Slovakia' AND "direction"='West';
```
## Task
Generate a SQL query to answer the following question:
`Name the distance from north`

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

CREATE TABLE "hills_of_g_d_ll" (
  "further_cities" text,
  "county_oblast_or_state" text,
  "country" text,
  "distance" text,
  "direction" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the distance from north`:
```sql
                SELECT "distance" FROM "hills_of_g_d_ll" WHERE "direction"='North';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of direction for  győr-moson-sopron`

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

CREATE TABLE "hills_of_g_d_ll" (
  "further_cities" text,
  "county_oblast_or_state" text,
  "country" text,
  "distance" text,
  "direction" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of direction for  győr-moson-sopron`:
```sql
                SELECT COUNT("direction") FROM "hills_of_g_d_ll" WHERE "county_oblast_or_state"='Győr-Moson-Sopron';
```
## Task
Generate a SQL query to answer the following question:
`Name the further cities for east romania`

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

CREATE TABLE "hills_of_g_d_ll" (
  "further_cities" text,
  "county_oblast_or_state" text,
  "country" text,
  "distance" text,
  "direction" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the further cities for east romania`:
```sql
                SELECT "further_cities" FROM "hills_of_g_d_ll" WHERE "direction"='East' AND "country"='Romania';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of direction for debrecen`

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

CREATE TABLE "hills_of_g_d_ll" (
  "further_cities" text,
  "county_oblast_or_state" text,
  "country" text,
  "distance" text,
  "direction" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of direction for debrecen`:
```sql
                SELECT COUNT("direction") FROM "hills_of_g_d_ll" WHERE "further_cities"='Debrecen';
```
## Task
Generate a SQL query to answer the following question:
`What's the nickname of the students of the school founded in 1933?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the nickname of the students of the school founded in 1933?`:
```sql
                SELECT "nickname" FROM "current_members" WHERE "founded"=1933;
```
## Task
Generate a SQL query to answer the following question:
`On how many locations is the Saint Joseph's College of Maine located?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `On how many locations is the Saint Joseph's College of Maine located?`:
```sql
                SELECT COUNT("location") FROM "current_members" WHERE "institution"='Saint Joseph''s College of Maine';
```
## Task
Generate a SQL query to answer the following question:
`On how many different dates did schools from Chestnut Hill, Massachusetts join the conference?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `On how many different dates did schools from Chestnut Hill, Massachusetts join the conference?`:
```sql
                SELECT COUNT("joined") FROM "current_members" WHERE "location"='Chestnut Hill, Massachusetts';
```
## Task
Generate a SQL query to answer the following question:
`What is the type of the school whose students' nickname is tigers?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type of the school whose students' nickname is tigers?`:
```sql
                SELECT "type" FROM "current_members" WHERE "nickname"='Tigers';
```
## Task
Generate a SQL query to answer the following question:
`What's the type of the school whose students' name is spirits?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the type of the school whose students' name is spirits?`:
```sql
                SELECT "type" FROM "current_members" WHERE "nickname"='Spirits';
```
## Task
Generate a SQL query to answer the following question:
`What school is located in Chestnut Hill, Massachusetts?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `What school is located in Chestnut Hill, Massachusetts?`:
```sql
                SELECT "institution" FROM "current_members" WHERE "location"='Chestnut Hill, Massachusetts';
```
## Task
Generate a SQL query to answer the following question:
`What type is the school located in Macon, Georgia?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `What type is the school located in Macon, Georgia?`:
```sql
                SELECT "type" FROM "current_members" WHERE "location"='Macon, Georgia';
```
## Task
Generate a SQL query to answer the following question:
`What's the nickname of the school in Maryville, Tennessee?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the nickname of the school in Maryville, Tennessee?`:
```sql
                SELECT "nickname" FROM "former_members" WHERE "location"='Maryville, Tennessee';
```
## Task
Generate a SQL query to answer the following question:
`Where is the school with nickname Tigers located?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the school with nickname Tigers located?`:
```sql
                SELECT "location" FROM "former_members" WHERE "nickname"='Tigers';
```
## Task
Generate a SQL query to answer the following question:
`What's the nickname of the students of the school that joined the Conference in 2010?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the nickname of the students of the school that joined the Conference in 2010?`:
```sql
                SELECT "nickname" FROM "former_members" WHERE "joined"=2010;
```
## Task
Generate a SQL query to answer the following question:
`When was Daniel Webster College founded?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Daniel Webster College founded?`:
```sql
                SELECT "founded" FROM "former_members" WHERE "institution"='Daniel Webster College';
```
## Task
Generate a SQL query to answer the following question:
`Where is Southern Vermont College located?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is Southern Vermont College located?`:
```sql
                SELECT "location" FROM "former_members" WHERE "institution"='Southern Vermont College';
```
## Task
Generate a SQL query to answer the following question:
`In what year did the school with enrollment of 650 leave?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year did the school with enrollment of 650 leave?`:
```sql
                SELECT "left" FROM "former_members" WHERE "enrollment"=650;
```
## Task
Generate a SQL query to answer the following question:
`What was the number of races in the season in which the team placed on the 14th position?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of races in the season in which the team placed on the 14th position?`:
```sql
                SELECT MIN("races") FROM "career_summary" WHERE "position"='14th';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of wins of a team?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of wins of a team?`:
```sql
                SELECT MIN("wins") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`What's the minimal number of wins of a team?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the minimal number of wins of a team?`:
```sql
                SELECT MIN("wins") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`Name the institution for statesmen`

### 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,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the institution for statesmen`:
```sql
                SELECT "institution" FROM "current_members" WHERE "nickname"='Statesmen';
```
## Task
Generate a SQL query to answer the following question:
`Name the institution for yellowjackets`

### 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,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the institution for yellowjackets`:
```sql
                SELECT "institution" FROM "current_members" WHERE "nickname"='Yellowjackets';
```
## Task
Generate a SQL query to answer the following question:
`Name the type for hobart college`

### 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,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the type for hobart college`:
```sql
                SELECT "type" FROM "current_members" WHERE "institution"='Hobart College';
```
## Task
Generate a SQL query to answer the following question:
`Name the location for 1829`

### 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,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location for 1829`:
```sql
                SELECT "location" FROM "current_members" WHERE "founded"=1829;
```
## Task
Generate a SQL query to answer the following question:
`Name the location of statesmen`

### 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,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location of statesmen`:
```sql
                SELECT "location" FROM "current_members" WHERE "nickname"='Statesmen';
```
## Task
Generate a SQL query to answer the following question:
`What location was the congressional service of which the term ended in January 3, 2011?`

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

CREATE TABLE "table1_197446_1" (
  "office" text,
  "branch" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location was the congressional service of which the term ended in January 3, 2011?`:
```sql
                SELECT "location" FROM "table1_197446_1" WHERE "term_ended"='January 3, 2011';
```
## Task
Generate a SQL query to answer the following question:
`What branch was involved when the term began in January 3, 1985?`

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

CREATE TABLE "table1_197446_1" (
  "office" text,
  "branch" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What branch was involved when the term began in January 3, 1985?`:
```sql
                SELECT "branch" FROM "table1_197446_1" WHERE "term_began"='January 3, 1985';
```
## Task
Generate a SQL query to answer the following question:
`What year was the congressional service elected for a term beginning on January 3, 1989?`

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

CREATE TABLE "table1_197446_1" (
  "office" text,
  "branch" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the congressional service elected for a term beginning on January 3, 1989?`:
```sql
                SELECT "elected" FROM "table1_197446_1" WHERE "term_began"='January 3, 1989';
```
## Task
Generate a SQL query to answer the following question:
`What group was in office when the term ended in January 3, 1993?`

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

CREATE TABLE "table1_197446_1" (
  "office" text,
  "branch" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `What group was in office when the term ended in January 3, 1993?`:
```sql
                SELECT "office" FROM "table1_197446_1" WHERE "term_ended"='January 3, 1993';
```
## Task
Generate a SQL query to answer the following question:
`How many terms began when the term ended in January 3, 1989?`

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

CREATE TABLE "table1_197446_1" (
  "office" text,
  "branch" text,
  "location" text,
  "elected" real,
  "term_began" text,
  "term_ended" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many terms began when the term ended in January 3, 1989?`:
```sql
                SELECT COUNT("term_began") FROM "table1_197446_1" WHERE "term_ended"='January 3, 1989';
```
## Task
Generate a SQL query to answer the following question:
`How many different total points does the couple ranked at number 5 have?`

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

CREATE TABLE "table1_19744915_22" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different total points does the couple ranked at number 5 have?`:
```sql
                SELECT COUNT("total") FROM "table1_19744915_22" WHERE "rank"=5;
```
## Task
Generate a SQL query to answer the following question:
`What couple had vote percentage of 21.843%?`

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

CREATE TABLE "table1_19744915_22" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What couple had vote percentage of 21.843%?`:
```sql
                SELECT "couple" FROM "table1_19744915_22" WHERE "vote_percentage"='21.843%';
```
## Task
Generate a SQL query to answer the following question:
`How many judges points did the couple ranked at number 5 have?`

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

CREATE TABLE "table1_19744915_22" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many judges points did the couple ranked at number 5 have?`:
```sql
                SELECT MAX("judges") FROM "table1_19744915_22" WHERE "rank"=5;
```
## Task
Generate a SQL query to answer the following question:
`What couple had less than 2.0 points from the public?`

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

CREATE TABLE "table1_19744915_22" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What couple had less than 2.0 points from the public?`:
```sql
                SELECT "couple" FROM "table1_19744915_22" WHERE "public"<2.0;
```
## Task
Generate a SQL query to answer the following question:
`What was the total result for couple Ellery and Frankie?`

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

CREATE TABLE "table1_19744915_17" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total result for couple Ellery and Frankie?`:
```sql
                SELECT COUNT("result") FROM "table1_19744915_17" WHERE "couple"='Ellery and Frankie';
```
## Task
Generate a SQL query to answer the following question:
`If the vote percentage is 2.111%, what was the minimum rank?`

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

CREATE TABLE "table1_19744915_17" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the vote percentage is 2.111%, what was the minimum rank?`:
```sql
                SELECT MIN("rank") FROM "table1_19744915_17" WHERE "vote_percentage"='2.111%';
```
## Task
Generate a SQL query to answer the following question:
`If the total is 17, what was the maximum rank amount?`

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

CREATE TABLE "table1_19744915_17" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the total is 17, what was the maximum rank amount?`:
```sql
                SELECT MAX("rank") FROM "table1_19744915_17" WHERE "total"=17;
```
## Task
Generate a SQL query to answer the following question:
`For couple Todd and Susie, what was the vote percentage?`

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

CREATE TABLE "table1_19744915_17" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `For couple Todd and Susie, what was the vote percentage?`:
```sql
                SELECT "vote_percentage" FROM "table1_19744915_17" WHERE "couple"='Todd and Susie';
```
## Task
Generate a SQL query to answer the following question:
`When 9 is the rank who are the couple?`

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

CREATE TABLE "table1_19744915_18" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 9 is the rank who are the couple?`:
```sql
                SELECT "couple" FROM "table1_19744915_18" WHERE "rank"=9;
```
## Task
Generate a SQL query to answer the following question:
`When roxanne and daniel are the couple what is the highest rank?`

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

CREATE TABLE "table1_19744915_18" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When roxanne and daniel are the couple what is the highest rank?`:
```sql
                SELECT MAX("rank") FROM "table1_19744915_18" WHERE "couple"='Roxanne and Daniel';
```
## Task
Generate a SQL query to answer the following question:
`When ellery and frankie are the couple what is the highest total?`

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

CREATE TABLE "table1_19744915_18" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When ellery and frankie are the couple what is the highest total?`:
```sql
                SELECT MAX("total") FROM "table1_19744915_18" WHERE "couple"='Ellery and Frankie';
```
## Task
Generate a SQL query to answer the following question:
`When 8 is the public what are the results?`

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

CREATE TABLE "table1_19744915_18" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 8 is the public what are the results?`:
```sql
                SELECT "result" FROM "table1_19744915_18" WHERE "public"=8;
```
## Task
Generate a SQL query to answer the following question:
`When 8 is the public and the result is safe what is the highest rank?`

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

CREATE TABLE "table1_19744915_18" (
  "rank" real,
  "couple" text,
  "judges" real,
  "public" real,
  "total" real,
  "vote_percentage" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 8 is the public and the result is safe what is the highest rank?`:
```sql
                SELECT MAX("rank") FROM "table1_19744915_18" WHERE "result"='Safe' AND "public"=8;
```
## Task
Generate a SQL query to answer the following question:
`Name the karen when nicky is 2.5`

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

CREATE TABLE "table1_19744915_4" (
  "order" real,
  "couple" text,
  "karen" text,
  "nicky" text,
  "jason" text,
  "ruthie" text,
  "robin" text,
  "total" text,
  "skating_song" text,
  "scoreboard" text,
  "public_vote" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the karen when nicky is 2.5`:
```sql
                SELECT "karen" FROM "table1_19744915_4" WHERE "nicky"='2.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the capacity for the school that has the Owl Athletic Complex baseball stadium?`

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

CREATE TABLE "conference_facilities" (
  "school" text,
  "baseball_stadium" text,
  "softball_stadium" text,
  "basketball_arena" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the capacity for the school that has the Owl Athletic Complex baseball stadium?`:
```sql
                SELECT "capacity" FROM "conference_facilities" WHERE "baseball_stadium"='Owl Athletic Complex';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the softball stadium for the school that has Eastern Baseball Stadium?`

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

CREATE TABLE "conference_facilities" (
  "school" text,
  "baseball_stadium" text,
  "softball_stadium" text,
  "basketball_arena" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the softball stadium for the school that has Eastern Baseball Stadium?`:
```sql
                SELECT "softball_stadium" FROM "conference_facilities" WHERE "baseball_stadium"='Eastern Baseball Stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of UMass Boston's softball stadium?`

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

CREATE TABLE "conference_facilities" (
  "school" text,
  "baseball_stadium" text,
  "softball_stadium" text,
  "basketball_arena" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of UMass Boston's softball stadium?`:
```sql
                SELECT "softball_stadium" FROM "conference_facilities" WHERE "school"='UMass Boston';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of Rhode Island College's softball stadium?`

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

CREATE TABLE "conference_facilities" (
  "school" text,
  "baseball_stadium" text,
  "softball_stadium" text,
  "basketball_arena" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of Rhode Island College's softball stadium?`:
```sql
                SELECT "softball_stadium" FROM "conference_facilities" WHERE "school"='Rhode Island College';
```
## Task
Generate a SQL query to answer the following question:
`How many basketball arenas are there that belong to a school with a capacity of 3,000?`

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

CREATE TABLE "conference_facilities" (
  "school" text,
  "baseball_stadium" text,
  "softball_stadium" text,
  "basketball_arena" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many basketball arenas are there that belong to a school with a capacity of 3,000?`:
```sql
                SELECT COUNT("basketball_arena") FROM "conference_facilities" WHERE "capacity"='3,000';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the baseball stadium for the school with the Murray Center basketball arena?`

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

CREATE TABLE "conference_facilities" (
  "school" text,
  "baseball_stadium" text,
  "softball_stadium" text,
  "basketball_arena" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the baseball stadium for the school with the Murray Center basketball arena?`:
```sql
                SELECT "baseball_stadium" FROM "conference_facilities" WHERE "basketball_arena"='The Murray Center';
```
## Task
Generate a SQL query to answer the following question:
`Where is the Westfield State University located?`

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

CREATE TABLE "associate_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "primary_conference" text,
  "lec_sport" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the Westfield State University located?`:
```sql
                SELECT "location" FROM "associate_members" WHERE "institution"='Westfield State University';
```
## Task
Generate a SQL query to answer the following question:
`When was the school in Salem, Massachusetts located?`

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

CREATE TABLE "associate_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "primary_conference" text,
  "lec_sport" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the school in Salem, Massachusetts located?`:
```sql
                SELECT "founded" FROM "associate_members" WHERE "location"='Salem, Massachusetts';
```
## Task
Generate a SQL query to answer the following question:
`What's the nickname of Westfield State University's students?`

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

CREATE TABLE "associate_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "primary_conference" text,
  "lec_sport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the nickname of Westfield State University's students?`:
```sql
                SELECT "nickname" FROM "associate_members" WHERE "institution"='Westfield State University';
```
## Task
Generate a SQL query to answer the following question:
`What's Fitchburg State University's LEC sport?`

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

CREATE TABLE "associate_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "primary_conference" text,
  "lec_sport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's Fitchburg State University's LEC sport?`:
```sql
                SELECT "lec_sport" FROM "associate_members" WHERE "institution"='Fitchburg State University';
```