cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`If the Steals are 20, what are the blocks?`

### 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 `If the Steals are 20, what are the blocks?`:
```sql
                SELECT MAX("blocks") FROM "player_stats" WHERE "steals"=20;
```
## Task
Generate a SQL query to answer the following question:
`How many millions of viewers did the episode directed by Jeffrey Blitz have?`

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

CREATE TABLE "table1_25341765_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many millions of viewers did the episode directed by Jeffrey Blitz have?`:
```sql
                SELECT "u_s_viewers_million" FROM "table1_25341765_1" WHERE "directed_by"='Jeffrey Blitz';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode that had 5.92 million viewers?`

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

CREATE TABLE "table1_25341765_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode that had 5.92 million viewers?`:
```sql
                SELECT "directed_by" FROM "table1_25341765_1" WHERE "u_s_viewers_million"='5.92';
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the episode Alan Yang wrote?`

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

CREATE TABLE "table1_25341765_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the episode Alan Yang wrote?`:
```sql
                SELECT "title" FROM "table1_25341765_1" WHERE "written_by"='Alan Yang';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were directed by Michael McCullers?`

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

CREATE TABLE "table1_25341765_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were directed by Michael McCullers?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_25341765_1" WHERE "directed_by"='Michael McCullers';
```
## Task
Generate a SQL query to answer the following question:
`When 3rd is the position what is the lowest amount of points?`

### 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 `When 3rd is the position what is the lowest amount of points?`:
```sql
                SELECT MIN("points") FROM "career_summary" WHERE "position"='3rd';
```
## Task
Generate a SQL query to answer the following question:
`When art grand prix is the team and 2010 is the season how many wins are there?`

### 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 `When art grand prix is the team and 2010 is the season how many wins are there?`:
```sql
                SELECT COUNT("wins") FROM "career_summary" WHERE "season"=2010 AND "team"='ART Grand Prix';
```
## Task
Generate a SQL query to answer the following question:
`When 7th is the position and  15 is the race who is the 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 `When 7th is the position and  15 is the race who is the team?`:
```sql
                SELECT "team" FROM "career_summary" WHERE "races"=15 AND "position"='7th';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest overall amount of poles?`

### 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 overall amount of poles?`:
```sql
                SELECT MIN("poles") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`When racing engineering is the team and 2012 is the team what is the 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 `When racing engineering is the team and 2012 is the team what is the position?`:
```sql
                SELECT "position" FROM "career_summary" WHERE "season"=2012 AND "team"='Racing Engineering';
```
## Task
Generate a SQL query to answer the following question:
`Is the facility opened in 1968 a major facility?`

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

CREATE TABLE "current_prisons" (
  "facility" text,
  "location" text,
  "year_opened" text,
  "major_facility" text,
  "population_gender" text,
  "capacity" real,
  "custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Is the facility opened in 1968 a major facility?`:
```sql
                SELECT "major_facility" FROM "current_prisons" WHERE "year_opened"='1968';
```
## Task
Generate a SQL query to answer the following question:
`What is the custody level of the facility in Shelton?`

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

CREATE TABLE "current_prisons" (
  "facility" text,
  "location" text,
  "year_opened" text,
  "major_facility" text,
  "population_gender" text,
  "capacity" real,
  "custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the custody level of the facility in Shelton?`:
```sql
                SELECT "custody_level_s" FROM "current_prisons" WHERE "location"='Shelton';
```
## Task
Generate a SQL query to answer the following question:
`Is the Washington Corrections Center for Women (WCCW) a major facility?`

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

CREATE TABLE "current_prisons" (
  "facility" text,
  "location" text,
  "year_opened" text,
  "major_facility" text,
  "population_gender" text,
  "capacity" real,
  "custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Is the Washington Corrections Center for Women (WCCW) a major facility?`:
```sql
                SELECT "major_facility" FROM "current_prisons" WHERE "facility"='Washington Corrections Center for Women (WCCW)';
```
## Task
Generate a SQL query to answer the following question:
`What is the capacity for a facility opened in 1956?`

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

CREATE TABLE "current_prisons" (
  "facility" text,
  "location" text,
  "year_opened" text,
  "major_facility" text,
  "population_gender" text,
  "capacity" real,
  "custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the capacity for a facility opened in 1956?`:
```sql
                SELECT COUNT("capacity") FROM "current_prisons" WHERE "year_opened"='1956';
```
## Task
Generate a SQL query to answer the following question:
`What facility opening in 1954?`

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

CREATE TABLE "current_prisons" (
  "facility" text,
  "location" text,
  "year_opened" text,
  "major_facility" text,
  "population_gender" text,
  "capacity" real,
  "custody_level_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What facility opening in 1954?`:
```sql
                SELECT "facility" FROM "current_prisons" WHERE "year_opened"='1954';
```
## Task
Generate a SQL query to answer the following question:
`Which player had 6 assists? `

### 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 `Which player had 6 assists? `:
```sql
                SELECT "player" FROM "player_stats" WHERE "assists"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the fewest steals any player had?`

### 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 fewest steals any player had?`:
```sql
                SELECT MIN("steals") FROM "player_stats";
```
## Task
Generate a SQL query to answer the following question:
`How many steals did Kelly Miller have?`

### 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 Kelly Miller have?`:
```sql
                SELECT MIN("steals") FROM "player_stats" WHERE "player"='Kelly Miller';
```
## Task
Generate a SQL query to answer the following question:
`Which player had 9 blocks?`

### 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 `Which player had 9 blocks?`:
```sql
                SELECT "player" FROM "player_stats" WHERE "blocks"=9;
```
## Task
Generate a SQL query to answer the following question:
`How many rebounds did Tammy Sutton-Brown have?`

### 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 Tammy Sutton-Brown have?`:
```sql
                SELECT "rebounds" FROM "player_stats" WHERE "player"='Tammy Sutton-Brown';
```
## Task
Generate a SQL query to answer the following question:
`What was the science score in the year there was a social studies score of 93.56?`

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

CREATE TABLE "table1_2534578_1" (
  "school_year" text,
  "language" text,
  "science" text,
  "reading" text,
  "mathematics" text,
  "social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the science score in the year there was a social studies score of 93.56?`:
```sql
                SELECT "science" FROM "table1_2534578_1" WHERE "social_studies"='93.56';
```
## Task
Generate a SQL query to answer the following question:
`How many years did the school have a mathetmatics score of 98.02?`

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

CREATE TABLE "table1_2534578_1" (
  "school_year" text,
  "language" text,
  "science" text,
  "reading" text,
  "mathematics" text,
  "social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years did the school have a mathetmatics score of 98.02?`:
```sql
                SELECT COUNT("science") FROM "table1_2534578_1" WHERE "mathematics"='98.02';
```
## Task
Generate a SQL query to answer the following question:
`What was the reading score in the year the science score was 96.13?`

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

CREATE TABLE "table1_2534578_1" (
  "school_year" text,
  "language" text,
  "science" text,
  "reading" text,
  "mathematics" text,
  "social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the reading score in the year the science score was 96.13?`:
```sql
                SELECT "reading" FROM "table1_2534578_1" WHERE "science"='96.13';
```
## Task
Generate a SQL query to answer the following question:
`What was the language score when the reading score was 94.47?`

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

CREATE TABLE "table1_2534578_1" (
  "school_year" text,
  "language" text,
  "science" text,
  "reading" text,
  "mathematics" text,
  "social_studies" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the language score when the reading score was 94.47?`:
```sql
                SELECT "language" FROM "table1_2534578_1" WHERE "reading"='94.47';
```
## Task
Generate a SQL query to answer the following question:
`How many values for points have Sophia Witherspoon as the player?`

### 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 values for points have Sophia Witherspoon as the player?`:
```sql
                SELECT COUNT("points") FROM "player_stats" WHERE "player"='Sophia Witherspoon';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest value for points?`

### 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 highest value for points?`:
```sql
                SELECT MAX("points") FROM "player_stats";
```
## Task
Generate a SQL query to answer the following question:
`What is every value for rebounds when steals is 19?`

### 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 every value for rebounds when steals is 19?`:
```sql
                SELECT "rebounds" FROM "player_stats" WHERE "steals"=19;
```
## Task
Generate a SQL query to answer the following question:
`What is every value for points if rebounds is 6 and blocks is 0?`

### 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 every value for points if rebounds is 6 and blocks is 0?`:
```sql
                SELECT "points" FROM "player_stats" WHERE "rebounds"=6 AND "blocks"=0;
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for assists if the player is Lynn Pride?`

### 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 every entry for assists if the player is Lynn Pride?`:
```sql
                SELECT "assists" FROM "player_stats" WHERE "player"='Lynn Pride';
```
## Task
Generate a SQL query to answer the following question:
`What is the air date of the episode written by Itamar Moses? `

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

CREATE TABLE "table1_25356350_3" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the air date of the episode written by Itamar Moses? `:
```sql
                SELECT "original_air_date" FROM "table1_25356350_3" WHERE "written_by"='Itamar Moses';
```
## Task
Generate a SQL query to answer the following question:
`What is the june 10-11 when august 21-22 is august 21, 2017?`

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

CREATE TABLE "table1_25355392_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the june 10-11 when august 21-22 is august 21, 2017?`:
```sql
                SELECT "june_10_11" FROM "table1_25355392_2" WHERE "august_21_22"='August 21, 2017';
```
## Task
Generate a SQL query to answer the following question:
`how many times is march 27-29 is 129?`

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

CREATE TABLE "table1_25355392_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is march 27-29 is 129?`:
```sql
                SELECT COUNT("november_3") FROM "table1_25355392_2" WHERE "march_27_29"='129';
```
## Task
Generate a SQL query to answer the following question:
`what is june 10-11 when march 27-29 is 149?`

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

CREATE TABLE "table1_25355392_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is june 10-11 when march 27-29 is 149?`:
```sql
                SELECT "june_10_11" FROM "table1_25355392_2" WHERE "march_27_29"='149';
```
## Task
Generate a SQL query to answer the following question:
`what is november 3 when june 10-11 is june 10, 1964?`

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

CREATE TABLE "table1_25355392_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is november 3 when june 10-11 is june 10, 1964?`:
```sql
                SELECT "november_3" FROM "table1_25355392_2" WHERE "june_10_11"='June 10, 1964';
```
## Task
Generate a SQL query to answer the following question:
`what is march 27-29 when november 3 is 133?`

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

CREATE TABLE "table1_25355392_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is march 27-29 when november 3 is 133?`:
```sql
                SELECT "march_27_29" FROM "table1_25355392_2" WHERE "november_3"='133';
```
## Task
Generate a SQL query to answer the following question:
`What is january 15-16 when november 3 is 153?`

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

CREATE TABLE "table1_25355392_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is january 15-16 when november 3 is 153?`:
```sql
                SELECT "january_15_16" FROM "table1_25355392_2" WHERE "november_3"='153';
```
## Task
Generate a SQL query to answer the following question:
` january 15-16 when august 21-22 is august 22, 1979?`

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

CREATE TABLE "table1_25355501_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` january 15-16 when august 21-22 is august 22, 1979?`:
```sql
                SELECT "january_15_16" FROM "table1_25355501_2" WHERE "august_21_22"='August 22, 1979';
```
## Task
Generate a SQL query to answer the following question:
`How many entries are shown for november 3 when january 15-16 is 141?`

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

CREATE TABLE "table1_25355501_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are shown for november 3 when january 15-16 is 141?`:
```sql
                SELECT COUNT("november_3") FROM "table1_25355501_2" WHERE "january_15_16"='141';
```
## Task
Generate a SQL query to answer the following question:
`  march 27-29 where june 10-11 is 127?`

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

CREATE TABLE "table1_25355501_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `  march 27-29 where june 10-11 is 127?`:
```sql
                SELECT "march_27_29" FROM "table1_25355501_2" WHERE "june_10_11"='127';
```
## Task
Generate a SQL query to answer the following question:
` june 10-11 when november 3 is 133?`

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

CREATE TABLE "table1_25355501_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` june 10-11 when november 3 is 133?`:
```sql
                SELECT "june_10_11" FROM "table1_25355501_2" WHERE "november_3"='133';
```
## Task
Generate a SQL query to answer the following question:
` june 10-11 when january 15-16 is january 15, 1991?`

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

CREATE TABLE "table1_25355501_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers ` june 10-11 when january 15-16 is january 15, 1991?`:
```sql
                SELECT "june_10_11" FROM "table1_25355501_2" WHERE "january_15_16"='January 15, 1991';
```
## Task
Generate a SQL query to answer the following question:
`What is shown for november 3 when august 21-22 is august 22, 1998?`

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

CREATE TABLE "table1_25355501_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is shown for november 3 when august 21-22 is august 22, 1998?`:
```sql
                SELECT "november_3" FROM "table1_25355501_2" WHERE "august_21_22"='August 22, 1998';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of teams for 11th position september 10`

### 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,
  "position_in_table" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of teams for 11th position september 10`:
```sql
                SELECT COUNT("team") FROM "managerial_changes" WHERE "position_in_table"='11th' AND "date_of_appointment"='September 10';
```
## Task
Generate a SQL query to answer the following question:
`Name the replaced by for august 9 `

### 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,
  "position_in_table" text,
  "replaced_by" text,
  "date_of_appointment" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the replaced by for august 9 `:
```sql
                SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='August 9' AND "date_of_appointment"='August 9';
```
## Task
Generate a SQL query to answer the following question:
`Name the most number for charvez davis`

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

CREATE TABLE "roster" (
  "num" real,
  "name" text,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "home_town" text,
  "last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for charvez davis`:
```sql
                SELECT MAX("num") FROM "roster" WHERE "name"='Charvez Davis';
```
## Task
Generate a SQL query to answer the following question:
`Name the most height`

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

CREATE TABLE "roster" (
  "num" real,
  "name" text,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "home_town" text,
  "last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most height`:
```sql
                SELECT MAX("weight") FROM "roster";
```
## Task
Generate a SQL query to answer the following question:
`Name the number of home town for number being 32`

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

CREATE TABLE "roster" (
  "num" real,
  "name" text,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "home_town" text,
  "last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of home town for number being 32`:
```sql
                SELECT COUNT("home_town") FROM "roster" WHERE "num"=32;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of height for number 32`

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

CREATE TABLE "roster" (
  "num" real,
  "name" text,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "home_town" text,
  "last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of height for number 32`:
```sql
                SELECT COUNT("height") FROM "roster" WHERE "num"=32;
```
## Task
Generate a SQL query to answer the following question:
`Name the number for florida air academy`

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

CREATE TABLE "roster" (
  "num" real,
  "name" text,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "home_town" text,
  "last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number for florida air academy`:
```sql
                SELECT "num" FROM "roster" WHERE "last_school"='Florida Air Academy';
```
## Task
Generate a SQL query to answer the following question:
`Name the height for demetrius jemison`

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

CREATE TABLE "roster" (
  "num" real,
  "name" text,
  "position" text,
  "height" text,
  "weight" real,
  "year" text,
  "home_town" text,
  "last_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the height for demetrius jemison`:
```sql
                SELECT "height" FROM "roster" WHERE "name"='Demetrius Jemison';
```
## Task
Generate a SQL query to answer the following question:
`How many wins did Canterbury Wizards have?`

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

CREATE TABLE "points_table" (
  "team" text,
  "played" real,
  "won" real,
  "lost" real,
  "no_result" real,
  "abandoned" real,
  "bonus_points" real,
  "total_points" real,
  "net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins did Canterbury Wizards have?`:
```sql
                SELECT MAX("won") FROM "points_table" WHERE "team"='Canterbury Wizards';
```
## Task
Generate a SQL query to answer the following question:
`What team had a net run rate of 0.134?`

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

CREATE TABLE "points_table" (
  "team" text,
  "played" real,
  "won" real,
  "lost" real,
  "no_result" real,
  "abandoned" real,
  "bonus_points" real,
  "total_points" real,
  "net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team had a net run rate of 0.134?`:
```sql
                SELECT "team" FROM "points_table" WHERE "net_run_rate"='0.134';
```
## Task
Generate a SQL query to answer the following question:
`What's the largest number of abandoned games by any of the teams?`

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

CREATE TABLE "points_table" (
  "team" text,
  "played" real,
  "won" real,
  "lost" real,
  "no_result" real,
  "abandoned" real,
  "bonus_points" real,
  "total_points" real,
  "net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the largest number of abandoned games by any of the teams?`:
```sql
                SELECT MAX("abandoned") FROM "points_table";
```
## Task
Generate a SQL query to answer the following question:
`How many different net run rates did the team with 19 total points have?`

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

CREATE TABLE "points_table" (
  "team" text,
  "played" real,
  "won" real,
  "lost" real,
  "no_result" real,
  "abandoned" real,
  "bonus_points" real,
  "total_points" real,
  "net_run_rate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different net run rates did the team with 19 total points have?`:
```sql
                SELECT COUNT("net_run_rate") FROM "points_table" WHERE "total_points"=19;
```
## Task
Generate a SQL query to answer the following question:
`What was the team that scored 56 points?Qh`

### 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" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team that scored 56 points?Qh`:
```sql
                SELECT "team" FROM "career_summary" WHERE "points"='56';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest season where a team got a 29th 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" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest season where a team got a 29th position?`:
```sql
                SELECT MIN("season") FROM "career_summary" WHERE "position"='29th';
```
## Task
Generate a SQL query to answer the following question:
`What was the recorded flaps of HBR Motorsport 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" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the recorded flaps of HBR Motorsport team?`:
```sql
                SELECT "f_laps" FROM "career_summary" WHERE "team"='HBR Motorsport';
```
## Task
Generate a SQL query to answer the following question:
`What was the series where a team scored 56 points?`

### 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" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the series where a team scored 56 points?`:
```sql
                SELECT "series" FROM "career_summary" WHERE "points"='56';
```
## Task
Generate a SQL query to answer the following question:
`How many team position scored 56 points?`

### 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" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many team position scored 56 points?`:
```sql
                SELECT COUNT("position") FROM "career_summary" WHERE "points"='56';
```
## Task
Generate a SQL query to answer the following question:
`On what dates was the final score of the game L 14–24?`

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

CREATE TABLE "table1_25380472_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what dates was the final score of the game L 14–24?`:
```sql
                SELECT "date" FROM "table1_25380472_2" WHERE "final_score"='L 14–24';
```
## Task
Generate a SQL query to answer the following question:
`How many game sites are there where the team record is 1–7?`

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

CREATE TABLE "table1_25380472_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many game sites are there where the team record is 1–7?`:
```sql
                SELECT COUNT("game_site") FROM "table1_25380472_2" WHERE "team_record"='1–7';
```
## Task
Generate a SQL query to answer the following question:
`On week 7, what were the opponents?`

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

CREATE TABLE "table1_25380472_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On week 7, what were the opponents?`:
```sql
                SELECT "opponent" FROM "table1_25380472_2" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`On what game sites are there where the team record is 0–5?`

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

CREATE TABLE "table1_25380472_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what game sites are there where the team record is 0–5?`:
```sql
                SELECT "game_site" FROM "table1_25380472_2" WHERE "team_record"='0–5';
```
## Task
Generate a SQL query to answer the following question:
`What game sites are where the team record is 1–6?`

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

CREATE TABLE "table1_25380472_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What game sites are where the team record is 1–6?`:
```sql
                SELECT "game_site" FROM "table1_25380472_2" WHERE "team_record"='1–6';
```
## Task
Generate a SQL query to answer the following question:
`In game site AOL Arena, who are all the opponents?`

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

CREATE TABLE "table1_25380472_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `In game site AOL Arena, who are all the opponents?`:
```sql
                SELECT "opponent" FROM "table1_25380472_2" WHERE "game_site"='AOL Arena';
```
## Task
Generate a SQL query to answer the following question:
`What organization had the founding date of 1998-11-08? `

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

CREATE TABLE "south_asian" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What organization had the founding date of 1998-11-08? `:
```sql
                SELECT "organization" FROM "south_asian" WHERE "founding_date"='1998-11-08';
```
## Task
Generate a SQL query to answer the following question:
`How many letters were given to the organization with a founding date of 1997-12-12? `

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

CREATE TABLE "south_asian" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many letters were given to the organization with a founding date of 1997-12-12? `:
```sql
                SELECT COUNT("letters") FROM "south_asian" WHERE "founding_date"='1997-12-12';
```
## Task
Generate a SQL query to answer the following question:
`What is the song choice where the original artist is Gino Paoli?`

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

CREATE TABLE "table1_25374338_1" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the song choice where the original artist is Gino Paoli?`:
```sql
                SELECT COUNT("song_choice") FROM "table1_25374338_1" WHERE "original_artist"='Gino Paoli';
```
## Task
Generate a SQL query to answer the following question:
`What is the theme where the original artist is Noemi feat. Fiorella Mannoia?`

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

CREATE TABLE "table1_25374338_1" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme where the original artist is Noemi feat. Fiorella Mannoia?`:
```sql
                SELECT "theme" FROM "table1_25374338_1" WHERE "original_artist"='Noemi feat. Fiorella Mannoia';
```
## Task
Generate a SQL query to answer the following question:
`What is the order number where the song choice is "l'appuntamento"?`

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

CREATE TABLE "table1_25374338_1" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the order number where the song choice is "l'appuntamento"?`:
```sql
                SELECT "order_num" FROM "table1_25374338_1" WHERE "song_choice"='\"L''appuntamento\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the song choice where the episode is Live Show 1?`

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

CREATE TABLE "table1_25374338_1" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the song choice where the episode is Live Show 1?`:
```sql
                SELECT "song_choice" FROM "table1_25374338_1" WHERE "episode"='Live Show 1';
```
## Task
Generate a SQL query to answer the following question:
`What is the result where the original artist is Prince and the Revolution?`

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

CREATE TABLE "table1_25374338_1" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result where the original artist is Prince and the Revolution?`:
```sql
                SELECT "result" FROM "table1_25374338_1" WHERE "original_artist"='Prince and The Revolution';
```
## Task
Generate a SQL query to answer the following question:
`What is the theme where the original artist is AC/DC?`

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

CREATE TABLE "table1_25374338_1" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme where the original artist is AC/DC?`:
```sql
                SELECT "theme" FROM "table1_25374338_1" WHERE "original_artist"='AC/DC';
```
## Task
Generate a SQL query to answer the following question:
`what type of organization is sigma phi omega?`

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

CREATE TABLE "asian_american" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `what type of organization is sigma phi omega?`:
```sql
                SELECT "type" FROM "asian_american" WHERE "organization"='Sigma Phi Omega';
```
## Task
Generate a SQL query to answer the following question:
`how many types of organization were founded in san diego state university? `

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

CREATE TABLE "asian_american" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many types of organization were founded in san diego state university? `:
```sql
                SELECT COUNT("type") FROM "asian_american" WHERE "founding_university"='San Diego State University';
```
## Task
Generate a SQL query to answer the following question:
`name the sorority a.k.a. "sigmas" that was founded in the university of southern california.`

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

CREATE TABLE "asian_american" (
  "letters" text,
  "organization" text,
  "nickname" text,
  "founding_date" text,
  "founding_university" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `name the sorority a.k.a. "sigmas" that was founded in the university of southern california.`:
```sql
                SELECT "organization" FROM "asian_american" WHERE "founding_university"='University of Southern California' AND "type"='Sorority' AND "nickname"='\"Sigmas\"';
```
## Task
Generate a SQL query to answer the following question:
`Name the season for position 4th`

### 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 `Name the season for position 4th`:
```sql
                SELECT COUNT("season") FROM "career_summary" WHERE "position"='4th';
```
## Task
Generate a SQL query to answer the following question:
`Name the least f/laps`

### 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 `Name the least f/laps`:
```sql
                SELECT MIN("f_laps") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`Name the least podiums for 9th 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 `Name the least podiums for 9th position`:
```sql
                SELECT MIN("podiums") FROM "career_summary" WHERE "position"='9th';
```