cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What's the part 3 of the verb whose class is 4?`

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

CREATE TABLE "english" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the part 3 of the verb whose class is 4?`:
```sql
                SELECT "part_3" FROM "english" WHERE "class"='4';
```
## Task
Generate a SQL query to answer the following question:
`What's the part 3 of the verb in class 5?`

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

CREATE TABLE "english" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the part 3 of the verb in class 5?`:
```sql
                SELECT "part_3" FROM "english" WHERE "class"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is the class of the word who's second participle is laug?`

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

CREATE TABLE "gothic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the class of the word who's second participle is laug?`:
```sql
                SELECT "class" FROM "gothic" WHERE "part_2"='laug';
```
## Task
Generate a SQL query to answer the following question:
`What is the meaning of the class 6 verbs?`

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

CREATE TABLE "gothic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the meaning of the class 6 verbs?`:
```sql
                SELECT "verb_meaning" FROM "gothic" WHERE "class"='6';
```
## Task
Generate a SQL query to answer the following question:
`What is the 3rd participle of the verb whose 2nd participle is band?`

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

CREATE TABLE "gothic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 3rd participle of the verb whose 2nd participle is band?`:
```sql
                SELECT "part_3" FROM "gothic" WHERE "part_2"='band';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st participle of the verb whose 4th participle is haitans?`

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

CREATE TABLE "gothic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st participle of the verb whose 4th participle is haitans?`:
```sql
                SELECT "part_1" FROM "gothic" WHERE "part_4"='haitans';
```
## Task
Generate a SQL query to answer the following question:
`For part 2 *lauk, what is listed for part 4?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text,
  "usual_pie_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `For part 2 *lauk, what is listed for part 4?`:
```sql
                SELECT "part_4" FROM "classes_1_to_6" WHERE "part_2"='*lauk';
```
## Task
Generate a SQL query to answer the following question:
`What is the verb meaning for *bundun?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text,
  "usual_pie_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the verb meaning for *bundun?`:
```sql
                SELECT "verb_meaning" FROM "classes_1_to_6" WHERE "part_3"='*bundun';
```
## Task
Generate a SQL query to answer the following question:
`For part 2 *raid, what is listed for part 3?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text,
  "usual_pie_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `For part 2 *raid, what is listed for part 3?`:
```sql
                SELECT "part_3" FROM "classes_1_to_6" WHERE "part_2"='*raid';
```
## Task
Generate a SQL query to answer the following question:
`What word is listed under part 2 for part 4 *ridanaz?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text,
  "usual_pie_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What word is listed under part 2 for part 4 *ridanaz?`:
```sql
                SELECT "part_2" FROM "classes_1_to_6" WHERE "part_4"='*ridanaz';
```
## Task
Generate a SQL query to answer the following question:
`What is listed under part 1 for class 3b?`

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

CREATE TABLE "classes_1_to_6" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text,
  "usual_pie_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed under part 1 for class 3b?`:
```sql
                SELECT "part_1" FROM "classes_1_to_6" WHERE "class"='3b';
```
## Task
Generate a SQL query to answer the following question:
`What class is the verb wich its part 4 is frosinn`

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

CREATE TABLE "north_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What class is the verb wich its part 4 is frosinn`:
```sql
                SELECT "class" FROM "north_germanic" WHERE "part_4"='frosinn';
```
## Task
Generate a SQL query to answer the following question:
`What class is the verb wich its part 3 is heldu`

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

CREATE TABLE "north_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What class is the verb wich its part 3 is heldu`:
```sql
                SELECT "class" FROM "north_germanic" WHERE "part_3"='heldu';
```
## Task
Generate a SQL query to answer the following question:
`What is part 1 of the verb in class 7b`

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

CREATE TABLE "north_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is part 1 of the verb in class 7b`:
```sql
                SELECT "part_1" FROM "north_germanic" WHERE "class"='7b';
```
## Task
Generate a SQL query to answer the following question:
`What is part 1 of the verb in class 4`

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

CREATE TABLE "north_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is part 1 of the verb in class 4`:
```sql
                SELECT "part_3" FROM "north_germanic" WHERE "class"='4';
```
## Task
Generate a SQL query to answer the following question:
`How many verbs mean to bear`

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

CREATE TABLE "north_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many verbs mean to bear`:
```sql
                SELECT COUNT("part_4") FROM "north_germanic" WHERE "verb_meaning"='to bear';
```
## Task
Generate a SQL query to answer the following question:
`How many verbs mean to grow, to produce`

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

CREATE TABLE "north_germanic" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many verbs mean to grow, to produce`:
```sql
                SELECT COUNT("part_1") FROM "north_germanic" WHERE "verb_meaning"='to grow, to produce';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?`

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

CREATE TABLE "table1_17467578_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?`:
```sql
                SELECT "written_by" FROM "table1_17467578_1" WHERE "u_s_viewers_million"='3.96';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date of episode 8?  Answer: Dec. 21, 2006`

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

CREATE TABLE "table1_17467578_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date of episode 8?  Answer: Dec. 21, 2006`:
```sql
                SELECT COUNT("original_airdate") FROM "table1_17467578_1" WHERE "episode_num"=8;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?`

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

CREATE TABLE "table1_17467578_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?`:
```sql
                SELECT "written_by" FROM "table1_17467578_1" WHERE "u_s_viewers_million"='3.73';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code of the episode "The Night Moves", which was directed by Patrick Norris?`

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

CREATE TABLE "table1_17467578_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code of the episode "The Night Moves", which was directed by Patrick Norris?`:
```sql
                SELECT "production_code" FROM "table1_17467578_1" WHERE "directed_by"='Patrick Norris' AND "title"='\"The Night Moves\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode 11?`

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

CREATE TABLE "table1_17467578_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode 11?`:
```sql
                SELECT "written_by" FROM "table1_17467578_1" WHERE "episode_num"=11;
```
## Task
Generate a SQL query to answer the following question:
`What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?`

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

CREATE TABLE "table1_17467578_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?`:
```sql
                SELECT "original_airdate" FROM "table1_17467578_1" WHERE "u_s_viewers_million"='3.73';
```
## Task
Generate a SQL query to answer the following question:
`Name the class for boten`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the class for boten`:
```sql
                SELECT "class" FROM "german" WHERE "part_3"='boten';
```
## Task
Generate a SQL query to answer the following question:
`Name the part 3 for treffen`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the part 3 for treffen`:
```sql
                SELECT "part_3" FROM "german" WHERE "part_1"='treffen';
```
## Task
Generate a SQL query to answer the following question:
`Name the part one for to give`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the part one for to give`:
```sql
                SELECT "part_1" FROM "german" WHERE "verb_meaning"='to give';
```
## Task
Generate a SQL query to answer the following question:
`Name the class for schliefen`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the class for schliefen`:
```sql
                SELECT "class" FROM "german" WHERE "part_3"='schliefen';
```
## Task
Generate a SQL query to answer the following question:
`Name the verb meaning for half drosch`

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

CREATE TABLE "german" (
  "class" text,
  "part_1" text,
  "part_2" text,
  "part_3" text,
  "part_4" text,
  "verb_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the verb meaning for half drosch`:
```sql
                SELECT "verb_meaning" FROM "german" WHERE "part_2"='half drosch';
```
## Task
Generate a SQL query to answer the following question:
`If the product code is 2t6267, who was the director?`

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

CREATE TABLE "table1_17467447_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the product code is 2t6267, who was the director?`:
```sql
                SELECT "directed_by" FROM "table1_17467447_1" WHERE "production_code"='2T6267';
```
## Task
Generate a SQL query to answer the following question:
`What is the air date when the U.S. viewers was 5.50 million?`

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

CREATE TABLE "table1_17467447_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the air date when the U.S. viewers was 5.50 million?`:
```sql
                SELECT "original_airdate" FROM "table1_17467447_1" WHERE "u_s_viewers_million"='5.50';
```
## Task
Generate a SQL query to answer the following question:
`Who were the writers for production code 2t6268?`

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

CREATE TABLE "table1_17467447_1" (
  "series_num" real,
  "episode_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_million" text,
  "original_airdate" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the writers for production code 2t6268?`:
```sql
                SELECT "written_by" FROM "table1_17467447_1" WHERE "production_code"='2T6268';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of builders for number 96`

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

CREATE TABLE "table1_1748444_1" (
  "number" text,
  "builder" text,
  "type" text,
  "date_built" text,
  "heritage" text,
  "disposition" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of builders for number 96`:
```sql
                SELECT COUNT("builder") FROM "table1_1748444_1" WHERE "number"='96';
```
## Task
Generate a SQL query to answer the following question:
`Name the builder for date built is january 1910`

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

CREATE TABLE "table1_1748444_1" (
  "number" text,
  "builder" text,
  "type" text,
  "date_built" text,
  "heritage" text,
  "disposition" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the builder for date built is january 1910`:
```sql
                SELECT "builder" FROM "table1_1748444_1" WHERE "date_built"='January 1910';
```
## Task
Generate a SQL query to answer the following question:
`Name the disposition for date built is march 1909`

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

CREATE TABLE "table1_1748444_1" (
  "number" text,
  "builder" text,
  "type" text,
  "date_built" text,
  "heritage" text,
  "disposition" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the disposition for date built is march 1909`:
```sql
                SELECT "disposition" FROM "table1_1748444_1" WHERE "date_built"='March 1909';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of episode number 96 in the series?`

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

CREATE TABLE "table1_17482534_1" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of episode number 96 in the series?`:
```sql
                SELECT "title" FROM "table1_17482534_1" WHERE "no_in_series"='96';
```
## Task
Generate a SQL query to answer the following question:
`What number in season is the episode directed by Gene Stupnitsky?`

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

CREATE TABLE "table1_17482534_1" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number in season is the episode directed by Gene Stupnitsky?`:
```sql
                SELECT "no_in_season" FROM "table1_17482534_1" WHERE "directed_by"='Gene Stupnitsky';
```
## Task
Generate a SQL query to answer the following question:
`How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have?`

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

CREATE TABLE "table1_17482534_1" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_17482534_1" WHERE "written_by"='Warren Lieberstein & Halsted Sullivan';
```
## Task
Generate a SQL query to answer the following question:
`How many writers are listed for the episode with a production code of 5008?`

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

CREATE TABLE "table1_17482534_1" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many writers are listed for the episode with a production code of 5008?`:
```sql
                SELECT COUNT("written_by") FROM "table1_17482534_1" WHERE "production_code"='5008';
```
## Task
Generate a SQL query to answer the following question:
`What number in the series are the episodes with production code 5016/5017?`

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

CREATE TABLE "table1_17482534_1" (
  "no_in_series" text,
  "no_in_season" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number in the series are the episodes with production code 5016/5017?`:
```sql
                SELECT "no_in_series" FROM "table1_17482534_1" WHERE "production_code"='5016/5017';
```
## Task
Generate a SQL query to answer the following question:
`How many locations have the call signs dxjp-fm? `

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

CREATE TABLE "sbn_mom_s_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations have the call signs dxjp-fm? `:
```sql
                SELECT COUNT("location") FROM "sbn_mom_s_radio_stations" WHERE "callsign"='DXJP-FM';
```
## Task
Generate a SQL query to answer the following question:
`What is the call sign of the station with the frequency of 90.3mhz`

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

CREATE TABLE "sbn_mom_s_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the call sign of the station with the frequency of 90.3mhz`:
```sql
                SELECT "callsign" FROM "sbn_mom_s_radio_stations" WHERE "frequency"='90.3MHz';
```
## Task
Generate a SQL query to answer the following question:
`What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?`

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

CREATE TABLE "sbn_mom_s_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?`:
```sql
                SELECT "callsign" FROM "sbn_mom_s_radio_stations" WHERE "branding"='Mom''s Radio 101.5 Tacloban';
```
## Task
Generate a SQL query to answer the following question:
`What is the branding for stations located in Cebu? `

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

CREATE TABLE "sbn_mom_s_radio_stations" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the branding for stations located in Cebu? `:
```sql
                SELECT "branding" FROM "sbn_mom_s_radio_stations" WHERE "location"='Cebu';
```
## Task
Generate a SQL query to answer the following question:
`Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?`

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

CREATE TABLE "table1_17480471_3" (
  "gatchaman" text,
  "battle_of_the_planets" text,
  "g_force" text,
  "eagle_riders" text,
  "ova_harmony_gold_dub" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?`:
```sql
                SELECT "eagle_riders" FROM "table1_17480471_3" WHERE "ova_harmony_gold_dub"='Dr. Kozaburo Nambu';
```
## Task
Generate a SQL query to answer the following question:
`Which battle of the planets where ova (harmony gold dub) is solaris?`

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

CREATE TABLE "table1_17480471_3" (
  "gatchaman" text,
  "battle_of_the_planets" text,
  "g_force" text,
  "eagle_riders" text,
  "ova_harmony_gold_dub" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which battle of the planets where ova (harmony gold dub) is solaris?`:
```sql
                SELECT "battle_of_the_planets" FROM "table1_17480471_3" WHERE "ova_harmony_gold_dub"='Solaris';
```
## Task
Generate a SQL query to answer the following question:
`Which eagle riders have battle of the planets as zoltar?`

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

CREATE TABLE "table1_17480471_3" (
  "gatchaman" text,
  "battle_of_the_planets" text,
  "g_force" text,
  "eagle_riders" text,
  "ova_harmony_gold_dub" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which eagle riders have battle of the planets as zoltar?`:
```sql
                SELECT "eagle_riders" FROM "table1_17480471_3" WHERE "battle_of_the_planets"='Zoltar';
```
## Task
Generate a SQL query to answer the following question:
` Which gatchaman has eagle riders as lukan?`

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

CREATE TABLE "table1_17480471_3" (
  "gatchaman" text,
  "battle_of_the_planets" text,
  "g_force" text,
  "eagle_riders" text,
  "ova_harmony_gold_dub" text
);
### SQL
Given the database schema, here is the SQL query that answers ` Which gatchaman has eagle riders as lukan?`:
```sql
                SELECT "gatchaman" FROM "table1_17480471_3" WHERE "eagle_riders"='Lukan';
```
## Task
Generate a SQL query to answer the following question:
`What eagle riders where ova (harmony gold dub) is lord zortek?`

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

CREATE TABLE "table1_17480471_3" (
  "gatchaman" text,
  "battle_of_the_planets" text,
  "g_force" text,
  "eagle_riders" text,
  "ova_harmony_gold_dub" text
);
### SQL
Given the database schema, here is the SQL query that answers `What eagle riders where ova (harmony gold dub) is lord zortek?`:
```sql
                SELECT "eagle_riders" FROM "table1_17480471_3" WHERE "ova_harmony_gold_dub"='Lord Zortek';
```
## Task
Generate a SQL query to answer the following question:
`What pregame host was on espn and had taylor twellman color commentating?`

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

CREATE TABLE "2010s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator" text,
  "sideline_reporters" text,
  "pregame_host" text,
  "pregame_analysts" text
);
### SQL
Given the database schema, here is the SQL query that answers `What pregame host was on espn and had taylor twellman color commentating?`:
```sql
                SELECT "pregame_host" FROM "2010s" WHERE "network"='ESPN' AND "color_commentator"='Taylor Twellman';
```
## Task
Generate a SQL query to answer the following question:
`What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2?`

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

CREATE TABLE "2010s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator" text,
  "sideline_reporters" text,
  "pregame_host" text,
  "pregame_analysts" text
);
### SQL
Given the database schema, here is the SQL query that answers `What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2?`:
```sql
                SELECT "pregame_analysts" FROM "2010s" WHERE "sideline_reporters"='Rob Stone and Monica Gonzalez' AND "network"='TSN2';
```
## Task
Generate a SQL query to answer the following question:
`What color commentator(s) were in 2010?`

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

CREATE TABLE "2010s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator" text,
  "sideline_reporters" text,
  "pregame_host" text,
  "pregame_analysts" text
);
### SQL
Given the database schema, here is the SQL query that answers `What color commentator(s) were in 2010?`:
```sql
                SELECT "color_commentator" FROM "2010s" WHERE "year"=2010;
```
## Task
Generate a SQL query to answer the following question:
`What is the last year that had sideline reporters rob stone and monica gonzalez?`

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

CREATE TABLE "2010s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator" text,
  "sideline_reporters" text,
  "pregame_host" text,
  "pregame_analysts" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the last year that had sideline reporters rob stone and monica gonzalez?`:
```sql
                SELECT MAX("year") FROM "2010s" WHERE "sideline_reporters"='Rob Stone and Monica Gonzalez';
```
## Task
Generate a SQL query to answer the following question:
`Who had the play-by-play on espn with sideline reporter monica gonzalez?`

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

CREATE TABLE "2010s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator" text,
  "sideline_reporters" text,
  "pregame_host" text,
  "pregame_analysts" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the play-by-play on espn with sideline reporter monica gonzalez?`:
```sql
                SELECT "play_by_play" FROM "2010s" WHERE "network"='ESPN' AND "sideline_reporters"='Monica Gonzalez';
```
## Task
Generate a SQL query to answer the following question:
`What was the name of race #28?`

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

CREATE TABLE "course" (
  "number" real,
  "name" text,
  "kilometer" real,
  "location" text,
  "length_in_m" real,
  "average_climb_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of race #28?`:
```sql
                SELECT "name" FROM "course" WHERE "number"=28;
```
## Task
Generate a SQL query to answer the following question:
`The Eyserweg race was which race #?`

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

CREATE TABLE "course" (
  "number" real,
  "name" text,
  "kilometer" real,
  "location" text,
  "length_in_m" real,
  "average_climb_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `The Eyserweg race was which race #?`:
```sql
                SELECT MAX("number") FROM "course" WHERE "name"='Eyserweg';
```
## Task
Generate a SQL query to answer the following question:
`Which race had an average climb of 40%?`

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

CREATE TABLE "course" (
  "number" real,
  "name" text,
  "kilometer" real,
  "location" text,
  "length_in_m" real,
  "average_climb_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which race had an average climb of 40%?`:
```sql
                SELECT "location" FROM "course" WHERE "average_climb_pct"=40;
```
## Task
Generate a SQL query to answer the following question:
`The Keutenberg race had what race length?`

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

CREATE TABLE "course" (
  "number" real,
  "name" text,
  "kilometer" real,
  "location" text,
  "length_in_m" real,
  "average_climb_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `The Keutenberg race had what race length?`:
```sql
                SELECT MAX("length_in_m") FROM "course" WHERE "name"='Keutenberg';
```
## Task
Generate a SQL query to answer the following question:
`In the Champions league, what is the Minimum`

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

CREATE TABLE "top_assister" (
  "p" real,
  "player" text,
  "position" text,
  "league" real,
  "copa_del_rey" real,
  "champions_league" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `In the Champions league, what is the Minimum`:
```sql
                SELECT MIN("champions_league") FROM "top_assister";
```
## Task
Generate a SQL query to answer the following question:
`In the Champions league is the forward position smaller than 6.0`

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

CREATE TABLE "top_assister" (
  "p" real,
  "player" text,
  "position" text,
  "league" real,
  "copa_del_rey" real,
  "champions_league" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `In the Champions league is the forward position smaller than 6.0`:
```sql
                SELECT COUNT("champions_league") FROM "top_assister" WHERE "position"='Forward' AND "league"<6.0;
```
## Task
Generate a SQL query to answer the following question:
`when the total is 8 and copa del rey is 0 what is the minimum league`

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

CREATE TABLE "top_assister" (
  "p" real,
  "player" text,
  "position" text,
  "league" real,
  "copa_del_rey" real,
  "champions_league" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `when the total is 8 and copa del rey is 0 what is the minimum league`:
```sql
                SELECT MIN("league") FROM "top_assister" WHERE "total"=8 AND "copa_del_rey"=0;
```
## Task
Generate a SQL query to answer the following question:
`when the position is forward and the league is 5 what number is the Champion league`

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

CREATE TABLE "top_assister" (
  "p" real,
  "player" text,
  "position" text,
  "league" real,
  "copa_del_rey" real,
  "champions_league" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `when the position is forward and the league is 5 what number is the Champion league`:
```sql
                SELECT COUNT("champions_league") FROM "top_assister" WHERE "league"=5 AND "position"='Forward';
```
## Task
Generate a SQL query to answer the following question:
`if p is bigger than 4.0 what is total number`

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

CREATE TABLE "top_assister" (
  "p" real,
  "player" text,
  "position" text,
  "league" real,
  "copa_del_rey" real,
  "champions_league" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `if p is bigger than 4.0 what is total number`:
```sql
                SELECT COUNT("total") FROM "top_assister" WHERE "p">4.0;
```
## Task
Generate a SQL query to answer the following question:
`What was the 2008 election status when glenn nye was the running democrat?`

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

CREATE TABLE "match_up_summary" (
  "district" real,
  "incumbent" text,
  "2008_status" text,
  "democratic" text,
  "republican" text,
  "independent_green" text,
  "libertarian" text,
  "other_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2008 election status when glenn nye was the running democrat?`:
```sql
                SELECT "2008_status" FROM "match_up_summary" WHERE "democratic"='Glenn Nye';
```
## Task
Generate a SQL query to answer the following question:
`Who was the republican candidate in the race with incumbent thelma drake?`

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

CREATE TABLE "match_up_summary" (
  "district" real,
  "incumbent" text,
  "2008_status" text,
  "democratic" text,
  "republican" text,
  "independent_green" text,
  "libertarian" text,
  "other_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the republican candidate in the race with incumbent thelma drake?`:
```sql
                SELECT "republican" FROM "match_up_summary" WHERE "incumbent"='Thelma Drake';
```
## Task
Generate a SQL query to answer the following question:
`How many districts had republican Bob Goodlatte as a candidate?`

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

CREATE TABLE "match_up_summary" (
  "district" real,
  "incumbent" text,
  "2008_status" text,
  "democratic" text,
  "republican" text,
  "independent_green" text,
  "libertarian" text,
  "other_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many districts had republican Bob Goodlatte as a candidate?`:
```sql
                SELECT COUNT("district") FROM "match_up_summary" WHERE "republican"='Bob Goodlatte';
```
## Task
Generate a SQL query to answer the following question:
`Who was the democratic candidate when the republican was  frank wolf?`

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

CREATE TABLE "match_up_summary" (
  "district" real,
  "incumbent" text,
  "2008_status" text,
  "democratic" text,
  "republican" text,
  "independent_green" text,
  "libertarian" text,
  "other_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the democratic candidate when the republican was  frank wolf?`:
```sql
                SELECT "democratic" FROM "match_up_summary" WHERE "republican"='Frank Wolf';
```
## Task
Generate a SQL query to answer the following question:
`How many won when points against is 410?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many won when points against is 410?`:
```sql
                SELECT COUNT("won") FROM "league_table" WHERE "points_against"='410';
```
## Task
Generate a SQL query to answer the following question:
`How many bonus points are there when points for is 385?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many bonus points are there when points for is 385?`:
```sql
                SELECT "bonus_points" FROM "league_table" WHERE "points_for"='385';
```
## Task
Generate a SQL query to answer the following question:
`How many clubs have 62 points?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many clubs have 62 points?`:
```sql
                SELECT COUNT("club") FROM "league_table" WHERE "points"='62';
```
## Task
Generate a SQL query to answer the following question:
`How many bonus points were won by 5?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many bonus points were won by 5?`:
```sql
                SELECT "bonus_points" FROM "league_table" WHERE "won"='5';
```
## Task
Generate a SQL query to answer the following question:
`How many have been played for 362 points?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many have been played for 362 points?`:
```sql
                SELECT "played" FROM "league_table" WHERE "points_for"='362';
```
## Task
Generate a SQL query to answer the following question:
`How many points against have a lose of 13?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points_difference" text,
  "bonus_points" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points against have a lose of 13?`:
```sql
                SELECT "points_against" FROM "league_table" WHERE "lost"='13';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest possible level?`

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

CREATE TABLE "calculations" (
  "level" real,
  "shuttles" real,
  "cumulative_shuttles" real,
  "speed_km_h" text,
  "shuttle_time_seconds" text,
  "total_level_time_s" text,
  "distance_m" real,
  "cumulative_distance_m" real,
  "cumulative_time_min_and_seconds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest possible level?`:
```sql
                SELECT MAX("level") FROM "calculations";
```
## Task
Generate a SQL query to answer the following question:
`What is the shuttle time for the level where the speed is 15.5 km/h?`

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

CREATE TABLE "calculations" (
  "level" real,
  "shuttles" real,
  "cumulative_shuttles" real,
  "speed_km_h" text,
  "shuttle_time_seconds" text,
  "total_level_time_s" text,
  "distance_m" real,
  "cumulative_distance_m" real,
  "cumulative_time_min_and_seconds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the shuttle time for the level where the speed is 15.5 km/h?`:
```sql
                SELECT "shuttle_time_seconds" FROM "calculations" WHERE "speed_km_h"='15.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the fewest number of shuttles where the shuttle time is 6.55 seconds?`

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

CREATE TABLE "calculations" (
  "level" real,
  "shuttles" real,
  "cumulative_shuttles" real,
  "speed_km_h" text,
  "shuttle_time_seconds" text,
  "total_level_time_s" text,
  "distance_m" real,
  "cumulative_distance_m" real,
  "cumulative_time_min_and_seconds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fewest number of shuttles where the shuttle time is 6.55 seconds?`:
```sql
                SELECT MIN("shuttles") FROM "calculations" WHERE "shuttle_time_seconds"='6.55';
```
## Task
Generate a SQL query to answer the following question:
`What is the distance (in meters) when the shuttle time is 6.86 seconds?`

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

CREATE TABLE "calculations" (
  "level" real,
  "shuttles" real,
  "cumulative_shuttles" real,
  "speed_km_h" text,
  "shuttle_time_seconds" text,
  "total_level_time_s" text,
  "distance_m" real,
  "cumulative_distance_m" real,
  "cumulative_time_min_and_seconds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the distance (in meters) when the shuttle time is 6.86 seconds?`:
```sql
                SELECT MIN("distance_m") FROM "calculations" WHERE "shuttle_time_seconds"='6.86';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of lead margin for republican joe kenney being 31%`

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

CREATE TABLE "opinion_polling_for_the_united_states_gu" (
  "poll_source" text,
  "dates_administered" text,
  "democrat_john_lynch" text,
  "republican_joe_kenney" text,
  "lead_margin" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of lead margin for republican joe kenney being 31%`:
```sql
                SELECT COUNT("lead_margin") FROM "opinion_polling_for_the_united_states_gu" WHERE "republican_joe_kenney"='31%';
```