cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of wickets for farveez maharoof?`

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

CREATE TABLE "sri_lanka" (
  "name" text,
  "overs_bowled" text,
  "maidens" real,
  "runs_conceded" real,
  "wickets" real,
  "extras" real,
  "e_r" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of wickets for farveez maharoof?`:
```sql
                SELECT MIN("wickets") FROM "sri_lanka" WHERE "name"='Farveez Maharoof';
```
## Task
Generate a SQL query to answer the following question:
`What is the airdate when the story is listed as hugh leonard?`

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

CREATE TABLE "series_2" (
  "episode" real,
  "title" text,
  "story" text,
  "adapted_by" text,
  "director" text,
  "airdate" text,
  "exists" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the airdate when the story is listed as hugh leonard?`:
```sql
                SELECT "airdate" FROM "series_2" WHERE "story"='Hugh Leonard';
```
## Task
Generate a SQL query to answer the following question:
`who won the kansas state game on 11/26/1988`

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

CREATE TABLE "record_vs_other_most_played_di_opponents" (
  "kansas_state_vs" text,
  "games_played" real,
  "overall_record" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "last_meeting" text
);
### SQL
Given the database schema, here is the SQL query that answers `who won the kansas state game on 11/26/1988`:
```sql
                SELECT "kansas_state_vs" FROM "record_vs_other_most_played_di_opponents" WHERE "last_meeting"='11/26/1988';
```
## Task
Generate a SQL query to answer the following question:
`how many games has kansas state and depaul played against each other`

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

CREATE TABLE "record_vs_other_most_played_di_opponents" (
  "kansas_state_vs" text,
  "games_played" real,
  "overall_record" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "last_meeting" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many games has kansas state and depaul played against each other`:
```sql
                SELECT COUNT("games_played") FROM "record_vs_other_most_played_di_opponents" WHERE "kansas_state_vs"='DePaul';
```
## Task
Generate a SQL query to answer the following question:
`if they played last on 12/5/1987 what is their record`

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

CREATE TABLE "record_vs_other_most_played_di_opponents" (
  "kansas_state_vs" text,
  "games_played" real,
  "overall_record" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "last_meeting" text
);
### SQL
Given the database schema, here is the SQL query that answers `if they played last on 12/5/1987 what is their record`:
```sql
                SELECT "current_streak" FROM "record_vs_other_most_played_di_opponents" WHERE "last_meeting"='12/5/1987';
```
## Task
Generate a SQL query to answer the following question:
`What number in the season was "reflections"?`

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

CREATE TABLE "table1_15777546_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number in the season was "reflections"?`:
```sql
                SELECT "no_in_season" FROM "table1_15777546_1" WHERE "title"='\"Reflections\"';
```
## Task
Generate a SQL query to answer the following question:
`Name the high points for march 7`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high points for march 7`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='March 7';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for sacramento`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for sacramento`:
```sql
                SELECT "date" FROM "game_log" WHERE "team"='Sacramento';
```
## Task
Generate a SQL query to answer the following question:
`Name the high rebounds for march 17`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high rebounds for march 17`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "date"='March 17';
```
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for philadelphia`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location attendance for philadelphia`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='Philadelphia';
```
## Task
Generate a SQL query to answer the following question:
`Who scored the most assists in game 59?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who scored the most assists in game 59?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "game"=59;
```
## Task
Generate a SQL query to answer the following question:
`What was the record against Boston?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record against Boston?`:
```sql
                SELECT "record" FROM "game_log" WHERE "team"='Boston';
```
## Task
Generate a SQL query to answer the following question:
`Name the poll winner for greg giraldo for porn`

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

CREATE TABLE "season_1_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the poll winner for greg giraldo for porn`:
```sql
                SELECT "poll_winner" FROM "season_1_2008" WHERE "advocate_num_2"='Greg Giraldo for Porn';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of advocate #1 that aired on april 2, 2008`

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

CREATE TABLE "season_1_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of advocate #1 that aired on april 2, 2008`:
```sql
                SELECT COUNT("advocate_num_1") FROM "season_1_2008" WHERE "original_air_date"='April 2, 2008';
```
## Task
Generate a SQL query to answer the following question:
`Name the poll winner for march 19, 2008`

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

CREATE TABLE "season_1_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the poll winner for march 19, 2008`:
```sql
                SELECT COUNT("poll_winner") FROM "season_1_2008" WHERE "original_air_date"='March 19, 2008';
```
## Task
Generate a SQL query to answer the following question:
`Name the air date for andy kindler for donald trump`

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

CREATE TABLE "season_1_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the air date for andy kindler for donald trump`:
```sql
                SELECT "original_air_date" FROM "season_1_2008" WHERE "advocate_num_1"='Andy Kindler for Donald Trump';
```
## Task
Generate a SQL query to answer the following question:
`Name the # for youtube`

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

CREATE TABLE "season_1_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the # for youtube`:
```sql
                SELECT "num" FROM "season_1_2008" WHERE "poll_winner"='YouTube';
```
## Task
Generate a SQL query to answer the following question:
`Name the advocate #1 for american idol`

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

CREATE TABLE "season_1_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the advocate #1 for american idol`:
```sql
                SELECT "advocate_num_1" FROM "season_1_2008" WHERE "root_of_all_evil"='American Idol';
```
## Task
Generate a SQL query to answer the following question:
`When steroids won the poll, who was advocate #1?`

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

CREATE TABLE "season_2_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When steroids won the poll, who was advocate #1?`:
```sql
                SELECT "advocate_num_1" FROM "season_2_2008" WHERE "poll_winner"='Steroids';
```
## Task
Generate a SQL query to answer the following question:
`What are the original air dates when scientology isthe poll winner?`

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

CREATE TABLE "season_2_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the original air dates when scientology isthe poll winner?`:
```sql
                SELECT "original_air_date" FROM "season_2_2008" WHERE "poll_winner"='Scientology';
```
## Task
Generate a SQL query to answer the following question:
`When bloggers was the poll winner, who was the root of all evil?`

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

CREATE TABLE "season_2_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When bloggers was the poll winner, who was the root of all evil?`:
```sql
                SELECT "root_of_all_evil" FROM "season_2_2008" WHERE "poll_winner"='Bloggers';
```
## Task
Generate a SQL query to answer the following question:
`How many times did drinking games win the poll?`

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

CREATE TABLE "season_2_2008" (
  "num" real,
  "advocate_num_1" text,
  "advocate_num_2" text,
  "root_of_all_evil" text,
  "poll_winner" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did drinking games win the poll?`:
```sql
                SELECT COUNT("num") FROM "season_2_2008" WHERE "poll_winner"='Drinking Games';
```
## Task
Generate a SQL query to answer the following question:
`What date was an episode with a run time of 24:30 broadcasted?`

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

CREATE TABLE "table1_1579922_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was an episode with a run time of 24:30 broadcasted?`:
```sql
                SELECT "broadcast_date" FROM "table1_1579922_1" WHERE "run_time"='24:30';
```
## Task
Generate a SQL query to answer the following question:
`What episode had a run time of 24:25?`

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

CREATE TABLE "table1_1579922_1" (
  "episode" text,
  "broadcast_date" text,
  "run_time" text,
  "viewers_in_millions" text,
  "archive" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode had a run time of 24:25?`:
```sql
                SELECT "episode" FROM "table1_1579922_1" WHERE "run_time"='24:25';
```
## Task
Generate a SQL query to answer the following question:
`Who was the original artist for week number Top 16 (8 women)?`

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

CREATE TABLE "performances" (
  "week_num" 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 `Who was the original artist for week number Top 16 (8 women)?`:
```sql
                SELECT "original_artist" FROM "performances" WHERE "week_num"='Top 16 (8 Women)';
```
## Task
Generate a SQL query to answer the following question:
`What was the order number where the original artist is The Doors?`

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

CREATE TABLE "performances" (
  "week_num" 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 was the order number where the original artist is The Doors?`:
```sql
                SELECT "order_num" FROM "performances" WHERE "original_artist"='The Doors';
```
## Task
Generate a SQL query to answer the following question:
`What was the theme when the original artist was The Beatles?`

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

CREATE TABLE "performances" (
  "week_num" 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 was the theme when the original artist was The Beatles?`:
```sql
                SELECT "theme" FROM "performances" WHERE "original_artist"='The Beatles';
```
## Task
Generate a SQL query to answer the following question:
`Who was the original artist when the theme was 1980s?`

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

CREATE TABLE "performances" (
  "week_num" 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 `Who was the original artist when the theme was 1980s?`:
```sql
                SELECT "original_artist" FROM "performances" WHERE "theme"='1980s';
```
## Task
Generate a SQL query to answer the following question:
`Who was the original artist when the order number is 9?`

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

CREATE TABLE "performances" (
  "week_num" 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 `Who was the original artist when the order number is 9?`:
```sql
                SELECT "original_artist" FROM "performances" WHERE "order_num"='9';
```
## Task
Generate a SQL query to answer the following question:
`Which episode was N/A in region 1`

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

CREATE TABLE "table1_15823956_1" (
  "series" text,
  "episodes" real,
  "series_premiere" text,
  "series_finale" text,
  "region_1" text,
  "region_2" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode was N/A in region 1`:
```sql
                SELECT "episodes" FROM "table1_15823956_1" WHERE "region_1"='N/A';
```
## Task
Generate a SQL query to answer the following question:
`When was series premiere on the pilot episode`

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

CREATE TABLE "table1_15823956_1" (
  "series" text,
  "episodes" real,
  "series_premiere" text,
  "series_finale" text,
  "region_1" text,
  "region_2" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was series premiere on the pilot episode`:
```sql
                SELECT "series_premiere" FROM "table1_15823956_1" WHERE "series"='Pilot';
```
## Task
Generate a SQL query to answer the following question:
`What is the region 1 date for series 4`

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

CREATE TABLE "table1_15823956_1" (
  "series" text,
  "episodes" real,
  "series_premiere" text,
  "series_finale" text,
  "region_1" text,
  "region_2" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the region 1 date for series 4`:
```sql
                SELECT "region_1" FROM "table1_15823956_1" WHERE "series"='4';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes in the series that premieres 5 february 2012`

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

CREATE TABLE "table1_15823956_1" (
  "series" text,
  "episodes" real,
  "series_premiere" text,
  "series_finale" text,
  "region_1" text,
  "region_2" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes in the series that premieres 5 february 2012`:
```sql
                SELECT "episodes" FROM "table1_15823956_1" WHERE "series_premiere"='5 February 2012';
```
## Task
Generate a SQL query to answer the following question:
`What season began on december 5, 1953?`

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

CREATE TABLE "table1_15824796_3" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season began on december 5, 1953?`:
```sql
                SELECT MAX("season_num") FROM "table1_15824796_3" WHERE "original_air_date"='December 5, 1953';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the first episode of the season that begin on february 27, 1954?`

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

CREATE TABLE "table1_15824796_3" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the first episode of the season that begin on february 27, 1954?`:
```sql
                SELECT "title" FROM "table1_15824796_3" WHERE "original_air_date"='February 27, 1954';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode that aired on december 12, 1953?`

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

CREATE TABLE "table1_15824796_3" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode that aired on december 12, 1953?`:
```sql
                SELECT "title" FROM "table1_15824796_3" WHERE "original_air_date"='December 12, 1953';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes aired on february 13, 1954?`

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

CREATE TABLE "table1_15824796_3" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes aired on february 13, 1954?`:
```sql
                SELECT COUNT("title") FROM "table1_15824796_3" WHERE "original_air_date"='February 13, 1954';
```
## Task
Generate a SQL query to answer the following question:
`Which titles were directed by George Blair and written by Jackson Gillis?`

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

CREATE TABLE "table1_15824796_3" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which titles were directed by George Blair and written by Jackson Gillis?`:
```sql
                SELECT "title" FROM "table1_15824796_3" WHERE "directed_by"='George Blair' AND "written_by"='Jackson Gillis';
```
## Task
Generate a SQL query to answer the following question:
`What are all the CFL teams where the pick number is 36?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the CFL teams where the pick number is 36?`:
```sql
                SELECT "cfl_team" FROM "round_five" WHERE "pick_num"=36;
```
## Task
Generate a SQL query to answer the following question:
`What are the positions in the college of Alberta?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the positions in the college of Alberta?`:
```sql
                SELECT "position" FROM "round_five" WHERE "college"='Alberta';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of CFL teams in the college Wilfrid Laurier`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of CFL teams in the college Wilfrid Laurier`:
```sql
                SELECT COUNT("cfl_team") FROM "round_five" WHERE "college"='Wilfrid Laurier';
```
## Task
Generate a SQL query to answer the following question:
`What is the college that Jeffrey Simmer plays for?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the college that Jeffrey Simmer plays for?`:
```sql
                SELECT "college" FROM "round_five" WHERE "player"='Jeffrey Simmer';
```
## Task
Generate a SQL query to answer the following question:
`Name the least matches for year 2008`

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

CREATE TABLE "performance_summary_in_indian_premier_le" (
  "year" real,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "tied" real,
  "success_rate" text,
  "position" text,
  "summary" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least matches for year 2008`:
```sql
                SELECT MIN("matches") FROM "performance_summary_in_indian_premier_le" WHERE "year"=2008;
```
## Task
Generate a SQL query to answer the following question:
`Name the maximum wins for 68.75%`

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

CREATE TABLE "performance_summary_in_indian_premier_le" (
  "year" real,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "tied" real,
  "success_rate" text,
  "position" text,
  "summary" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the maximum wins for 68.75%`:
```sql
                SELECT MAX("wins") FROM "performance_summary_in_indian_premier_le" WHERE "success_rate"='68.75%';
```
## Task
Generate a SQL query to answer the following question:
`Name the summary for the success rate for 68.75%`

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

CREATE TABLE "performance_summary_in_indian_premier_le" (
  "year" real,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "tied" real,
  "success_rate" text,
  "position" text,
  "summary" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the summary for the success rate for 68.75%`:
```sql
                SELECT "summary" FROM "performance_summary_in_indian_premier_le" WHERE "success_rate"='68.75%';
```
## Task
Generate a SQL query to answer the following question:
`Name the least tied`

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

CREATE TABLE "performance_summary_in_indian_premier_le" (
  "year" real,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "tied" real,
  "success_rate" text,
  "position" text,
  "summary" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least tied`:
```sql
                SELECT MIN("tied") FROM "performance_summary_in_indian_premier_le";
```
## Task
Generate a SQL query to answer the following question:
`Name the least wins of 56.25%`

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

CREATE TABLE "performance_summary_in_indian_premier_le" (
  "year" real,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "tied" real,
  "success_rate" text,
  "position" text,
  "summary" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least wins of 56.25%`:
```sql
                SELECT MIN("wins") FROM "performance_summary_in_indian_premier_le" WHERE "success_rate"='56.25%';
```
## Task
Generate a SQL query to answer the following question:
`How many locomotives have a name of City of Birmingham`

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

CREATE TABLE "locomotives" (
  "no" real,
  "name" text,
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locomotives have a name of City of Birmingham`:
```sql
                SELECT COUNT("no") FROM "locomotives" WHERE "name"='City of Birmingham';
```
## Task
Generate a SQL query to answer the following question:
`How many locomotives have a livery that is highland railway green`

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

CREATE TABLE "locomotives" (
  "no" real,
  "name" text,
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locomotives have a livery that is highland railway green`:
```sql
                SELECT COUNT("name") FROM "locomotives" WHERE "livery"='Highland Railway green';
```
## Task
Generate a SQL query to answer the following question:
`Which locomotive type has a status in static display`

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

CREATE TABLE "locomotives" (
  "no" real,
  "name" text,
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which locomotive type has a status in static display`:
```sql
                SELECT "locomotive_type" FROM "locomotives" WHERE "status"='Static display';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of points against when the attendance was 47678?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of points against when the attendance was 47678?`:
```sql
                SELECT MAX("points_against") FROM "schedule" WHERE "attendance"=47678;
```
## Task
Generate a SQL query to answer the following question:
`What was the total number of first down on October 23?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total number of first down on October 23?`:
```sql
                SELECT COUNT("first_downs") FROM "schedule" WHERE "date"='October 23';
```
## Task
Generate a SQL query to answer the following question:
`Name the most series number for giula sandler`

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

CREATE TABLE "table1_15838081_3" (
  "season_num" real,
  "series_num" real,
  "title" text,
  "director_s" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most series number for giula sandler`:
```sql
                SELECT MAX("series_num") FROM "table1_15838081_3" WHERE "writer_s"='Giula Sandler';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of season number for jeff truman`

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

CREATE TABLE "table1_15838081_3" (
  "season_num" real,
  "series_num" real,
  "title" text,
  "director_s" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of season number for jeff truman`:
```sql
                SELECT COUNT("season_num") FROM "table1_15838081_3" WHERE "writer_s"='Jeff Truman';
```
## Task
Generate a SQL query to answer the following question:
`Name the minimum enrollment for montana tech of the university of montana`

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

CREATE TABLE "institutions" (
  "school" text,
  "location" text,
  "control" text,
  "type" text,
  "enrollment" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the minimum enrollment for montana tech of the university of montana`:
```sql
                SELECT MIN("enrollment") FROM "institutions" WHERE "school"='Montana Tech of the University of Montana';
```
## Task
Generate a SQL query to answer the following question:
`Name the location when control is private and founded is 1870`

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

CREATE TABLE "institutions" (
  "school" text,
  "location" text,
  "control" text,
  "type" text,
  "enrollment" real,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location when control is private and founded is 1870`:
```sql
                SELECT "location" FROM "institutions" WHERE "control"='Private' AND "founded"=1870;
```
## Task
Generate a SQL query to answer the following question:
`Who directed the TV broadcast s03e19?`

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

CREATE TABLE "table1_15861776_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the TV broadcast s03e19?`:
```sql
                SELECT "directed_by" FROM "table1_15861776_1" WHERE "tv_broadcast"='S03E19';
```
## Task
Generate a SQL query to answer the following question:
`What episode in the series is TV broadcast s03e20?`

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

CREATE TABLE "table1_15861776_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode in the series is TV broadcast s03e20?`:
```sql
                SELECT "no_in_series" FROM "table1_15861776_1" WHERE "tv_broadcast"='S03E20';
```
## Task
Generate a SQL query to answer the following question:
`WHAT WAS THE SCORE FOR GAME 31?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT WAS THE SCORE FOR GAME 31?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=31;
```
## Task
Generate a SQL query to answer the following question:
`WHO DID THE RAPTORS PLAY ON JANUARY 9?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHO DID THE RAPTORS PLAY ON JANUARY 9?`:
```sql
                SELECT "team" FROM "game_log" WHERE "date"='January 9';
```
## Task
Generate a SQL query to answer the following question:
`Name thenames for 2002-04-01`

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

CREATE TABLE "former_special_cities_now_core_or_design" (
  "name" text,
  "japanese" text,
  "date_of_designation" text,
  "date_of_reclassification" text,
  "region" text,
  "prefecture" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name thenames for 2002-04-01`:
```sql
                SELECT "name" FROM "former_special_cities_now_core_or_design" WHERE "date_of_designation"='2002-04-01';
```
## Task
Generate a SQL query to answer the following question:
`Name all the date of designations for kurume`

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

CREATE TABLE "former_special_cities_now_core_or_design" (
  "name" text,
  "japanese" text,
  "date_of_designation" text,
  "date_of_reclassification" text,
  "region" text,
  "prefecture" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name all the date of designations for kurume`:
```sql
                SELECT "date_of_designation" FROM "former_special_cities_now_core_or_design" WHERE "name"='Kurume';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of japanese for amagasaki`

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

CREATE TABLE "former_special_cities_now_core_or_design" (
  "name" text,
  "japanese" text,
  "date_of_designation" text,
  "date_of_reclassification" text,
  "region" text,
  "prefecture" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of japanese for amagasaki`:
```sql
                SELECT COUNT("japanese") FROM "former_special_cities_now_core_or_design" WHERE "name"='Amagasaki';
```
## Task
Generate a SQL query to answer the following question:
`Name the region for iwate`

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

CREATE TABLE "former_special_cities_now_core_or_design" (
  "name" text,
  "japanese" text,
  "date_of_designation" text,
  "date_of_reclassification" text,
  "region" text,
  "prefecture" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the region for iwate`:
```sql
                SELECT "region" FROM "former_special_cities_now_core_or_design" WHERE "prefecture"='Iwate';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the "Head of State" episode?`

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

CREATE TABLE "table1_15861819_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the "Head of State" episode?`:
```sql
                SELECT "written_by" FROM "table1_15861819_1" WHERE "title"='\"Head of State\"';
```
## Task
Generate a SQL query to answer the following question:
`The "Head of State" episode was authored by which person?`

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

CREATE TABLE "table1_15861819_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `The "Head of State" episode was authored by which person?`:
```sql
                SELECT "written_by" FROM "table1_15861819_1" WHERE "title"='\"Head of State\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director of the episode "graduation day: class of 2105"?`

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

CREATE TABLE "table1_15861819_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "originalairdate" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director of the episode "graduation day: class of 2105"?`:
```sql
                SELECT "directed_by" FROM "table1_15861819_1" WHERE "title"='\"Graduation Day: Class of 2105\"';
```
## Task
Generate a SQL query to answer the following question:
`Who scored the most rebounds in the game against Chicago?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who scored the most rebounds in the game against Chicago?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "team"='Chicago';
```
## Task
Generate a SQL query to answer the following question:
`What were the dates of the games where Jalen Rose (32) had the highest points?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the dates of the games where Jalen Rose (32) had the highest points?`:
```sql
                SELECT "date" FROM "game_log" WHERE "high_points"='Jalen Rose (32)';
```
## Task
Generate a SQL query to answer the following question:
`What is the location and total attendance for games played against New Orleans?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location and total attendance for games played against New Orleans?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='New Orleans';
```
## Task
Generate a SQL query to answer the following question:
`How many teams are listed for February 18?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams are listed for February 18?`:
```sql
                SELECT COUNT("team") FROM "game_log" WHERE "date"='February 18';
```
## Task
Generate a SQL query to answer the following question:
`What were the high rebounds on February 24?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the high rebounds on February 24?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "date"='February 24';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in game 51?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in game 51?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=51;
```
## Task
Generate a SQL query to answer the following question:
`What was the score when they played against San Antonio?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when they played against San Antonio?`:
```sql
                SELECT "score" FROM "game_log" WHERE "team"='San Antonio';
```
## Task
Generate a SQL query to answer the following question:
`Who was the high point scorer in game number 68?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the high point scorer in game number 68?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "game"=68;
```
## Task
Generate a SQL query to answer the following question:
`How many players had the most assists against New Jersey?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players had the most assists against New Jersey?`:
```sql
                SELECT COUNT("high_assists") FROM "game_log" WHERE "team"='New Jersey';
```
## Task
Generate a SQL query to answer the following question:
`How many games were played in the season?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played in the season?`:
```sql
                SELECT MAX("game") FROM "game_log";
```
## Task
Generate a SQL query to answer the following question:
`What team had high assists Rafer Alston (5)?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team had high assists Rafer Alston (5)?`:
```sql
                SELECT "team" FROM "game_log" WHERE "high_assists"='Rafer Alston (5)';
```