cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Where is the college where Keith Hartwig plays?`

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

CREATE TABLE "table1_10361625_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the college where Keith Hartwig plays?`:
```sql
                SELECT "college" FROM "table1_10361625_1" WHERE "player_name"='Keith Hartwig';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the linebacker at Illinois college?`

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

CREATE TABLE "table1_10361625_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the linebacker at Illinois college?`:
```sql
                SELECT "player_name" FROM "table1_10361625_1" WHERE "position"='Linebacker' AND "college"='Illinois';
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest round of overall 83?`

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

CREATE TABLE "table1_10361625_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest round of overall 83?`:
```sql
                SELECT MAX("round") FROM "table1_10361625_1" WHERE "overall"=83;
```
## Task
Generate a SQL query to answer the following question:
`Which round did Tommy Kramer play in>`

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

CREATE TABLE "table1_10361625_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round did Tommy Kramer play in>`:
```sql
                SELECT "round" FROM "table1_10361625_1" WHERE "player_name"='Tommy Kramer';
```
## Task
Generate a SQL query to answer the following question:
`What is Rice's collage score?`

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

CREATE TABLE "table1_10361625_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Rice's collage score?`:
```sql
                SELECT "overall" FROM "table1_10361625_1" WHERE "college"='Rice';
```
## Task
Generate a SQL query to answer the following question:
`Where does the defensive back position appear first?`

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

CREATE TABLE "table1_10361230_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where does the defensive back position appear first?`:
```sql
                SELECT MIN("round") FROM "table1_10361230_1" WHERE "position"='Defensive Back';
```
## Task
Generate a SQL query to answer the following question:
`What is Bruce Cerone overall?`

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

CREATE TABLE "table1_10361230_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Bruce Cerone overall?`:
```sql
                SELECT MIN("overall") FROM "table1_10361230_1" WHERE "player_name"='Bruce Cerone';
```
## Task
Generate a SQL query to answer the following question:
`Which player went to Emporia State?`

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

CREATE TABLE "table1_10361230_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player went to Emporia State?`:
```sql
                SELECT "player_name" FROM "table1_10361230_1" WHERE "college"='Emporia State';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest choice?`

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

CREATE TABLE "table1_10361230_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest choice?`:
```sql
                SELECT MAX("choice") FROM "table1_10361230_1";
```
## Task
Generate a SQL query to answer the following question:
`What college did Bill Cappleman go to?`

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

CREATE TABLE "table1_10361230_1" (
  "round" real,
  "choice" real,
  "overall" real,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Bill Cappleman go to?`:
```sql
                SELECT "college" FROM "table1_10361230_1" WHERE "player_name"='Bill Cappleman';
```
## Task
Generate a SQL query to answer the following question:
`For the headstamp id of h2, what was the color of the bullet tip?`

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

CREATE TABLE "headstamps_and_colour_coding" (
  "headstamp_id" text,
  "primer_annulus_color" text,
  "bullet_tip_color" text,
  "other_features" text,
  "functional_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the headstamp id of h2, what was the color of the bullet tip?`:
```sql
                SELECT "bullet_tip_color" FROM "headstamps_and_colour_coding" WHERE "headstamp_id"='H2';
```
## Task
Generate a SQL query to answer the following question:
`For the functional type of light ball, what were the other features?`

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

CREATE TABLE "headstamps_and_colour_coding" (
  "headstamp_id" text,
  "primer_annulus_color" text,
  "bullet_tip_color" text,
  "other_features" text,
  "functional_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the functional type of light ball, what were the other features?`:
```sql
                SELECT "other_features" FROM "headstamps_and_colour_coding" WHERE "functional_type"='Light Ball';
```
## Task
Generate a SQL query to answer the following question:
`How many primers annulus colors were there when the color of the bullet tip was white?`

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

CREATE TABLE "headstamps_and_colour_coding" (
  "headstamp_id" text,
  "primer_annulus_color" text,
  "bullet_tip_color" text,
  "other_features" text,
  "functional_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many primers annulus colors were there when the color of the bullet tip was white?`:
```sql
                SELECT COUNT("primer_annulus_color") FROM "headstamps_and_colour_coding" WHERE "bullet_tip_color"='White';
```
## Task
Generate a SQL query to answer the following question:
`How many bullet tips colors had other features of a blue band on case base?`

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

CREATE TABLE "headstamps_and_colour_coding" (
  "headstamp_id" text,
  "primer_annulus_color" text,
  "bullet_tip_color" text,
  "other_features" text,
  "functional_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many bullet tips colors had other features of a blue band on case base?`:
```sql
                SELECT COUNT("bullet_tip_color") FROM "headstamps_and_colour_coding" WHERE "other_features"='Blue band on case base';
```
## Task
Generate a SQL query to answer the following question:
`How many touchdowns were scored in the year with a completion percentage of 56.0?`

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

CREATE TABLE "career_statistics" (
  "year" real,
  "games" real,
  "games_started" real,
  "completions" real,
  "attempts" real,
  "completion_pct" text,
  "yards" real,
  "yards_attempt" text,
  "touchdowns" real,
  "interceptions" real,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many touchdowns were scored in the year with a completion percentage of 56.0?`:
```sql
                SELECT MIN("touchdowns") FROM "career_statistics" WHERE "completion_pct"='56.0';
```
## Task
Generate a SQL query to answer the following question:
`What number of completions are recorded for the year with 12 games started?`

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

CREATE TABLE "career_statistics" (
  "year" real,
  "games" real,
  "games_started" real,
  "completions" real,
  "attempts" real,
  "completion_pct" text,
  "yards" real,
  "yards_attempt" text,
  "touchdowns" real,
  "interceptions" real,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number of completions are recorded for the year with 12 games started?`:
```sql
                SELECT "completions" FROM "career_statistics" WHERE "games_started"=12;
```
## Task
Generate a SQL query to answer the following question:
`How many years were there with 348 attempts?`

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

CREATE TABLE "career_statistics" (
  "year" real,
  "games" real,
  "games_started" real,
  "completions" real,
  "attempts" real,
  "completion_pct" text,
  "yards" real,
  "yards_attempt" text,
  "touchdowns" real,
  "interceptions" real,
  "rating" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years were there with 348 attempts?`:
```sql
                SELECT COUNT("yards") FROM "career_statistics" WHERE "attempts"=348;
```
## Task
Generate a SQL query to answer the following question:
`How many characters is by Babs Rubenstein?`

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

CREATE TABLE "table1_10402018_1" (
  "character" text,
  "australia_new_zealand_sydney_first_run_melbourne_auckland" text,
  "london" text,
  "toronto_broadway" text,
  "brazil" text,
  "uk_tour" text,
  "us_tour" text,
  "italy_milan_rome_trieste" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many characters is by Babs Rubenstein?`:
```sql
                SELECT COUNT("london") FROM "table1_10402018_1" WHERE "us_tour"='Babs Rubenstein';
```
## Task
Generate a SQL query to answer the following question:
`Which person is in the tronto/broadway and has a uk tour of n/a`

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

CREATE TABLE "table1_10402018_1" (
  "character" text,
  "australia_new_zealand_sydney_first_run_melbourne_auckland" text,
  "london" text,
  "toronto_broadway" text,
  "brazil" text,
  "uk_tour" text,
  "us_tour" text,
  "italy_milan_rome_trieste" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which person is in the tronto/broadway and has a uk tour of n/a`:
```sql
                SELECT "toronto_broadway" FROM "table1_10402018_1" WHERE "uk_tour"='n/a';
```
## Task
Generate a SQL query to answer the following question:
`How many people play Frank in London?`

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

CREATE TABLE "table1_10402018_1" (
  "character" text,
  "australia_new_zealand_sydney_first_run_melbourne_auckland" text,
  "london" text,
  "toronto_broadway" text,
  "brazil" text,
  "uk_tour" text,
  "us_tour" text,
  "italy_milan_rome_trieste" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people play Frank in London?`:
```sql
                SELECT COUNT("london") FROM "table1_10402018_1" WHERE "character"='Frank';
```
## Task
Generate a SQL query to answer the following question:
`Who was Class AAA during the school year of 2000-01?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Class AAA during the school year of 2000-01?`:
```sql
                SELECT "class_aaa" FROM "team" WHERE "school_year"='2000-01';
```
## Task
Generate a SQL query to answer the following question:
`Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?`:
```sql
                SELECT "class_aaa" FROM "team" WHERE "class_a"='(tie) Apple Springs/Texline';
```
## Task
Generate a SQL query to answer the following question:
`Who was Class AAAAA during the school year of 1995-96?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Class AAAAA during the school year of 1995-96?`:
```sql
                SELECT "class_aaaaa" FROM "team" WHERE "school_year"='1995-96';
```
## Task
Generate a SQL query to answer the following question:
`Who was Class AAA during the same year that Class AAAAA was Brownsville Pace?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Class AAA during the same year that Class AAAAA was Brownsville Pace?`:
```sql
                SELECT "class_aaa" FROM "team" WHERE "class_aaaaa"='Brownsville Pace';
```
## Task
Generate a SQL query to answer the following question:
`What was the total number of Class AAA during the same year that Class AAA was White Oak?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total number of Class AAA during the same year that Class AAA was White Oak?`:
```sql
                SELECT COUNT("class_aa") FROM "team" WHERE "class_aaa"='White Oak';
```
## Task
Generate a SQL query to answer the following question:
`How many records are listed on Friday, May 25?`

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

CREATE TABLE "table1_10392906_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 records are listed on Friday, May 25?`:
```sql
                SELECT COUNT("team_record") FROM "table1_10392906_2" WHERE "date"='Friday, May 25';
```
## Task
Generate a SQL query to answer the following question:
`How many opponents were played on Saturday, June 9?`

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

CREATE TABLE "table1_10392906_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 opponents were played on Saturday, June 9?`:
```sql
                SELECT COUNT("opponent") FROM "table1_10392906_2" WHERE "date"='Saturday, June 9';
```
## Task
Generate a SQL query to answer the following question:
`In what week was the first game played at the Commerzbank-Arena?`

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

CREATE TABLE "table1_10392906_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 what week was the first game played at the Commerzbank-Arena?`:
```sql
                SELECT MIN("week") FROM "table1_10392906_2" WHERE "game_site"='Commerzbank-Arena';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date of an episode set in 1544?`

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

CREATE TABLE "table1_10413597_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "setting" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date of an episode set in 1544?`:
```sql
                SELECT "original_air_date" FROM "table1_10413597_5" WHERE "setting"='1544';
```
## Task
Generate a SQL query to answer the following question:
`How many settings where there for episode 29 of the season?`

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

CREATE TABLE "table1_10413597_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "setting" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many settings where there for episode 29 of the season?`:
```sql
                SELECT COUNT("setting") FROM "table1_10413597_5" WHERE "no_in_series"=29;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode that was set in winter 1541/february 13, 1542?`

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

CREATE TABLE "table1_10413597_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "setting" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode that was set in winter 1541/february 13, 1542?`:
```sql
                SELECT "written_by" FROM "table1_10413597_5" WHERE "setting"='Winter 1541/February 13, 1542';
```
## Task
Generate a SQL query to answer the following question:
`What episode number of the season was "The Northern Uprising"?`

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

CREATE TABLE "table1_10413597_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "setting" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number of the season was "The Northern Uprising"?`:
```sql
                SELECT "no_in_season" FROM "table1_10413597_4" WHERE "title"='\"The Northern Uprising\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the track that lasts 5:30?`

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

CREATE TABLE "song_list" (
  "date" text,
  "album_name" text,
  "track" text,
  "track_title" text,
  "lyricist" text,
  "music_genre_style" text,
  "major_instrument_s" text,
  "lyrics_theme_style" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the track that lasts 5:30?`:
```sql
                SELECT "track_title" FROM "song_list" WHERE "duration"='5:30';
```
## Task
Generate a SQL query to answer the following question:
`What is the album namethat has the track title Sweetness 甜甜的 (tián tián de)?`

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

CREATE TABLE "song_list" (
  "date" text,
  "album_name" text,
  "track" text,
  "track_title" text,
  "lyricist" text,
  "music_genre_style" text,
  "major_instrument_s" text,
  "lyrics_theme_style" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the album namethat has the track title Sweetness 甜甜的 (tián tián de)?`:
```sql
                SELECT "album_name" FROM "song_list" WHERE "track_title"='Sweetness 甜甜的 (Tián tián de)';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?`

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

CREATE TABLE "song_list" (
  "date" text,
  "album_name" text,
  "track" text,
  "track_title" text,
  "lyricist" text,
  "music_genre_style" text,
  "major_instrument_s" text,
  "lyrics_theme_style" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?`:
```sql
                SELECT "duration" FROM "song_list" WHERE "major_instrument_s"='Piano' AND "date"='2004-02-03';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of lyricist where the lyrics theme is romance and the song lasts 3:50?`

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

CREATE TABLE "song_list" (
  "date" text,
  "album_name" text,
  "track" text,
  "track_title" text,
  "lyricist" text,
  "music_genre_style" text,
  "major_instrument_s" text,
  "lyrics_theme_style" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of lyricist where the lyrics theme is romance and the song lasts 3:50?`:
```sql
                SELECT COUNT("lyricist") FROM "song_list" WHERE "lyrics_theme_style"='Romance' AND "duration"='3:50';
```
## Task
Generate a SQL query to answer the following question:
`What is the major instrument of the song that lasts 4:32? `

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

CREATE TABLE "song_list" (
  "date" text,
  "album_name" text,
  "track" text,
  "track_title" text,
  "lyricist" text,
  "music_genre_style" text,
  "major_instrument_s" text,
  "lyrics_theme_style" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the major instrument of the song that lasts 4:32? `:
```sql
                SELECT "major_instrument_s" FROM "song_list" WHERE "duration"='4:32';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of music genre/style in which the lyrics are a detective story?`

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

CREATE TABLE "song_list" (
  "date" text,
  "album_name" text,
  "track" text,
  "track_title" text,
  "lyricist" text,
  "music_genre_style" text,
  "major_instrument_s" text,
  "lyrics_theme_style" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of music genre/style in which the lyrics are a detective story?`:
```sql
                SELECT COUNT("music_genre_style") FROM "song_list" WHERE "lyrics_theme_style"='Detective story';
```
## Task
Generate a SQL query to answer the following question:
`What is the playoffs for the usl pro select league?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the playoffs for the usl pro select league?`:
```sql
                SELECT "playoffs" FROM "year_by_year" WHERE "league"='USL Pro Select League';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of the division for the 1st round?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of the division for the 1st round?`:
```sql
                SELECT COUNT("division") FROM "year_by_year" WHERE "open_cup"='1st Round';
```
## Task
Generate a SQL query to answer the following question:
`What was the team where series is formula renault 2.0 nec?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team where series is formula renault 2.0 nec?`:
```sql
                SELECT "team" FROM "career_summary" WHERE "series"='Formula Renault 2.0 NEC';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of poles for arden international?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "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 total number of poles for arden international?`:
```sql
                SELECT COUNT("poles") FROM "career_summary" WHERE "team"='Arden International';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of wins for gp2 series for racing engineering?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "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 number of wins for gp2 series for racing engineering?`:
```sql
                SELECT COUNT("wins") FROM "career_summary" WHERE "series"='GP2 Series' AND "team"='Racing Engineering';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of podiums for season 2010 for campionato italiano superstars.`

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

CREATE TABLE "career_summary" (
  "season" text,
  "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 number of podiums for season 2010 for campionato italiano superstars.`:
```sql
                SELECT COUNT("podiums") FROM "career_summary" WHERE "season"='2010' AND "series"='Campionato Italiano Superstars';
```
## Task
Generate a SQL query to answer the following question:
`What is the podium for 144 points?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "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 podium for 144 points?`:
```sql
                SELECT "podiums" FROM "career_summary" WHERE "points"=144;
```
## Task
Generate a SQL query to answer the following question:
`How many writers had an US air date of september 25, 1993?`

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

CREATE TABLE "table1_10470082_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many writers had an US air date of september 25, 1993?`:
```sql
                SELECT COUNT("writer") FROM "table1_10470082_3" WHERE "us_air_date"='September 25, 1993';
```
## Task
Generate a SQL query to answer the following question:
`How many villians were in No. 25?`

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

CREATE TABLE "table1_10470082_3" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many villians were in No. 25?`:
```sql
                SELECT COUNT("villains") FROM "table1_10470082_3" WHERE "no"=25;
```
## Task
Generate a SQL query to answer the following question:
`what being the maximum year where regular season is 4th, northwest`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `what being the maximum year where regular season is 4th, northwest`:
```sql
                SELECT MAX("year") FROM "year_by_year" WHERE "regular_season"='4th, Northwest';
```
## Task
Generate a SQL query to answer the following question:
`what is the total number of playoffs where regular season is 6th, southwest`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total number of playoffs where regular season is 6th, southwest`:
```sql
                SELECT COUNT("playoffs") FROM "year_by_year" WHERE "regular_season"='6th, Southwest';
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum division`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum division`:
```sql
                SELECT MAX("division") FROM "year_by_year";
```
## Task
Generate a SQL query to answer the following question:
` what's the league where regular season is 2nd, northwest`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers ` what's the league where regular season is 2nd, northwest`:
```sql
                SELECT "league" FROM "year_by_year" WHERE "regular_season"='2nd, Northwest';
```
## Task
Generate a SQL query to answer the following question:
`what are all the regular season where year is 2011`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `what are all the regular season where year is 2011`:
```sql
                SELECT "regular_season" FROM "year_by_year" WHERE "year"=2011;
```
## Task
Generate a SQL query to answer the following question:
`How many titles have the number 11`

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

CREATE TABLE "table1_10470082_5" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many titles have the number 11`:
```sql
                SELECT COUNT("title") FROM "table1_10470082_5" WHERE "num"=11;
```
## Task
Generate a SQL query to answer the following question:
`How many have Mrs. briar as a villain`

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

CREATE TABLE "table1_10470082_5" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many have Mrs. briar as a villain`:
```sql
                SELECT COUNT("no") FROM "table1_10470082_5" WHERE "villains"='Mrs. Briar';
```
## Task
Generate a SQL query to answer the following question:
`how many have the number 8`

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

CREATE TABLE "table1_10470082_5" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many have the number 8`:
```sql
                SELECT COUNT("no") FROM "table1_10470082_5" WHERE "num"=8;
```
## Task
Generate a SQL query to answer the following question:
`How many have the title "the tale of the room for rent"`

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

CREATE TABLE "table1_10470082_5" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many have the title "the tale of the room for rent"`:
```sql
                SELECT COUNT("num") FROM "table1_10470082_5" WHERE "title"='\"The Tale of the Room for Rent\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the episode told by Kiki and directed by Will Dixon?`

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

CREATE TABLE "table1_10470082_6" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the episode told by Kiki and directed by Will Dixon?`:
```sql
                SELECT "title" FROM "table1_10470082_6" WHERE "storyteller"='Kiki' AND "director"='Will Dixon';
```
## Task
Generate a SQL query to answer the following question:
`Who is the storyteller in the episode called "The Tale of the Jagged Sign"?`

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

CREATE TABLE "table1_10470082_6" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the storyteller in the episode called "The Tale of the Jagged Sign"?`:
```sql
                SELECT "storyteller" FROM "table1_10470082_6" WHERE "title"='\"The Tale of the Jagged Sign\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote Episode #3?`

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

CREATE TABLE "table1_10470082_6" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote Episode #3?`:
```sql
                SELECT "writer" FROM "table1_10470082_6" WHERE "num"=3;
```
## Task
Generate a SQL query to answer the following question:
`Who are the villains in the episode titled "The Tale of the Forever Game"?`

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

CREATE TABLE "table1_10470082_7" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the villains in the episode titled "The Tale of the Forever Game"?`:
```sql
                SELECT "villains" FROM "table1_10470082_7" WHERE "title"='\"The Tale of The Forever Game\"';
```
## Task
Generate a SQL query to answer the following question:
`How many villains appeared in the episode titled "The Tale of the Virtual Pets"?`

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

CREATE TABLE "table1_10470082_7" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many villains appeared in the episode titled "The Tale of the Virtual Pets"?`:
```sql
                SELECT COUNT("villains") FROM "table1_10470082_7" WHERE "title"='\"The Tale of The Virtual Pets\"';
```
## Task
Generate a SQL query to answer the following question:
`Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director?`

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

CREATE TABLE "table1_10470082_7" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director?`:
```sql
                SELECT "villains" FROM "table1_10470082_7" WHERE "storyteller"='Megan' AND "director"='Lorette LeBlanc';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest # for an episode that was written by Allison Lea Bingeman?`

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

CREATE TABLE "table1_10470082_7" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest # for an episode that was written by Allison Lea Bingeman?`:
```sql
                SELECT MAX("num") FROM "table1_10470082_7" WHERE "writer"='Allison Lea Bingeman';
```
## Task
Generate a SQL query to answer the following question:
`Name the species when petal width is 2.0 and petal length is 4.9`

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

CREATE TABLE "fisher_s_iris_data" (
  "sepal_length" text,
  "sepal_width" text,
  "petal_length" text,
  "petal_width" text,
  "species" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the species when petal width is 2.0 and petal length is 4.9`:
```sql
                SELECT "species" FROM "fisher_s_iris_data" WHERE "petal_width"='2.0' AND "petal_length"='4.9';
```
## Task
Generate a SQL query to answer the following question:
`Name the sepal width for i.virginica with petal length of 5.1`

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

CREATE TABLE "fisher_s_iris_data" (
  "sepal_length" text,
  "sepal_width" text,
  "petal_length" text,
  "petal_width" text,
  "species" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sepal width for i.virginica with petal length of 5.1`:
```sql
                SELECT "sepal_width" FROM "fisher_s_iris_data" WHERE "species"='I.virginica' AND "petal_length"='5.1';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of species with sepal width of 3.4 and sepal length of 5.4`

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

CREATE TABLE "fisher_s_iris_data" (
  "sepal_length" text,
  "sepal_width" text,
  "petal_length" text,
  "petal_width" text,
  "species" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of species with sepal width of 3.4 and sepal length of 5.4`:
```sql
                SELECT COUNT("species") FROM "fisher_s_iris_data" WHERE "sepal_width"='3.4' AND "sepal_length"='5.4';
```
## Task
Generate a SQL query to answer the following question:
`Name the sepal length for sepal width of 2.8 and petal length of 5.1`

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

CREATE TABLE "fisher_s_iris_data" (
  "sepal_length" text,
  "sepal_width" text,
  "petal_length" text,
  "petal_width" text,
  "species" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sepal length for sepal width of 2.8 and petal length of 5.1`:
```sql
                SELECT "sepal_length" FROM "fisher_s_iris_data" WHERE "sepal_width"='2.8' AND "petal_length"='5.1';
```
## Task
Generate a SQL query to answer the following question:
`Name the sepal width when sepal length is 6.5 and petal width is 2.2`

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

CREATE TABLE "fisher_s_iris_data" (
  "sepal_length" text,
  "sepal_width" text,
  "petal_length" text,
  "petal_width" text,
  "species" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sepal width when sepal length is 6.5 and petal width is 2.2`:
```sql
                SELECT "sepal_width" FROM "fisher_s_iris_data" WHERE "sepal_length"='6.5' AND "petal_width"='2.2';
```
## Task
Generate a SQL query to answer the following question:
`Name the sepal lengh when sepal width is 2.9 and petal width 1.3`

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

CREATE TABLE "fisher_s_iris_data" (
  "sepal_length" text,
  "sepal_width" text,
  "petal_length" text,
  "petal_width" text,
  "species" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sepal lengh when sepal width is 2.9 and petal width 1.3`:
```sql
                SELECT "sepal_length" FROM "fisher_s_iris_data" WHERE "sepal_width"='2.9' AND "petal_width"='1.3';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director and what number is the episode for episode #1 of Are You Afraid of the Dark season 3?`

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

CREATE TABLE "table1_10470082_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director and what number is the episode for episode #1 of Are You Afraid of the Dark season 3?`:
```sql
                SELECT COUNT("director") FROM "table1_10470082_4" WHERE "num"=1;
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the episode whom Scott Peters is the writer?`

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

CREATE TABLE "table1_10470082_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the episode whom Scott Peters is the writer?`:
```sql
                SELECT "director" FROM "table1_10470082_4" WHERE "writer"='Scott Peters';
```
## Task
Generate a SQL query to answer the following question:
`Who is the villain in episode #7?`

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

CREATE TABLE "table1_10470082_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the villain in episode #7?`:
```sql
                SELECT "villains" FROM "table1_10470082_4" WHERE "num"=7;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode #1 in season 7?`

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

CREATE TABLE "table1_10470082_8" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode #1 in season 7?`:
```sql
                SELECT COUNT("writer") FROM "table1_10470082_8" WHERE "num"=1;
```
## Task
Generate a SQL query to answer the following question:
`When did the episode written by Jim Morris air?`

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

CREATE TABLE "table1_10470082_8" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer" text,
  "us_air_date" text,
  "storyteller" text,
  "villains" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the episode written by Jim Morris air?`:
```sql
                SELECT "us_air_date" FROM "table1_10470082_8" WHERE "writer"='Jim Morris';
```
## Task
Generate a SQL query to answer the following question:
`What was Datsun Twin 200's fastest lap?`

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

CREATE TABLE "race_results" (
  "rd" real,
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Datsun Twin 200's fastest lap?`:
```sql
                SELECT "fastest_lap" FROM "race_results" WHERE "name"='Datsun Twin 200';
```