cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What conference is Tennessee?`

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

CREATE TABLE "table1_26423157_2" (
  "school" text,
  "record" text,
  "conference" text,
  "conf_record" text,
  "last_app" real,
  "seed" text,
  "round_eliminated" text,
  "lost_to_seed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What conference is Tennessee?`:
```sql
                SELECT "conference" FROM "table1_26423157_2" WHERE "school"='Tennessee';
```
## Task
Generate a SQL query to answer the following question:
`What seed was California?`

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

CREATE TABLE "table1_26423157_2" (
  "school" text,
  "record" text,
  "conference" text,
  "conf_record" text,
  "last_app" real,
  "seed" text,
  "round_eliminated" text,
  "lost_to_seed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What seed was California?`:
```sql
                SELECT "seed" FROM "table1_26423157_2" WHERE "school"='California';
```
## Task
Generate a SQL query to answer the following question:
`What is the ε (m −1 cm −1 )  of the red dye?`

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

CREATE TABLE "table1_26428602_1" (
  "fluorescent_dye" text,
  "color" text,
  "mass_g_mol" real,
  "absorb_nm" real,
  "emit_nm" real,
  "m_1_cm_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ε (m −1 cm −1 )  of the red dye?`:
```sql
                SELECT "m_1_cm_1" FROM "table1_26428602_1" WHERE "color"='red';
```
## Task
Generate a SQL query to answer the following question:
`How much absorption in nm does the orange dye have?`

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

CREATE TABLE "table1_26428602_1" (
  "fluorescent_dye" text,
  "color" text,
  "mass_g_mol" real,
  "absorb_nm" real,
  "emit_nm" real,
  "m_1_cm_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much absorption in nm does the orange dye have?`:
```sql
                SELECT MIN("absorb_nm") FROM "table1_26428602_1" WHERE "color"='orange';
```
## Task
Generate a SQL query to answer the following question:
`What is the ε (m −1 cm −1 ) of the orange flourescent dye?`

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

CREATE TABLE "table1_26428602_1" (
  "fluorescent_dye" text,
  "color" text,
  "mass_g_mol" real,
  "absorb_nm" real,
  "emit_nm" real,
  "m_1_cm_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ε (m −1 cm −1 ) of the orange flourescent dye?`:
```sql
                SELECT "m_1_cm_1" FROM "table1_26428602_1" WHERE "color"='orange';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest dye absoprtion in nm?`

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

CREATE TABLE "table1_26428602_1" (
  "fluorescent_dye" text,
  "color" text,
  "mass_g_mol" real,
  "absorb_nm" real,
  "emit_nm" real,
  "m_1_cm_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest dye absoprtion in nm?`:
```sql
                SELECT MIN("absorb_nm") FROM "table1_26428602_1";
```
## Task
Generate a SQL query to answer the following question:
`What is the name of chapter 8 of season 4?`

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

CREATE TABLE "table1_26429771_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of chapter 8 of season 4?`:
```sql
                SELECT "title" FROM "table1_26429771_1" WHERE "no_in_season"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is the code of production in the chapter "high top fade-out"`

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

CREATE TABLE "table1_26429771_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the code of production in the chapter "high top fade-out"`:
```sql
                SELECT COUNT("production_code") FROM "table1_26429771_1" WHERE "title"='\"High Top Fade-Out\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode entitled "From the Earth to the Starbucks"?`

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

CREATE TABLE "table1_26429543_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode entitled "From the Earth to the Starbucks"?`:
```sql
                SELECT "directed_by" FROM "table1_26429543_1" WHERE "title"='\"From the Earth to the Starbucks\"';
```
## Task
Generate a SQL query to answer the following question:
`How many different production codes are there for the episode with 4.69 million US viewers?`

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

CREATE TABLE "table1_26429543_1" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different production codes are there for the episode with 4.69 million US viewers?`:
```sql
                SELECT COUNT("production_code") FROM "table1_26429543_1" WHERE "u_s_viewers_millions"='4.69';
```
## Task
Generate a SQL query to answer the following question:
`Who was in the 2005 film with the role mark cohen?`

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

CREATE TABLE "cast" (
  "role" text,
  "original_broadway_cast" text,
  "2005_film" text,
  "2008_final_performance_film" text,
  "hollywood_bowl_cast" text,
  "2011_off_broadway_revival" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was in the 2005 film with the role mark cohen?`:
```sql
                SELECT "2005_film" FROM "cast" WHERE "role"='Mark Cohen';
```
## Task
Generate a SQL query to answer the following question:
`Who had the 2008 final performance film when the 2011 off-broadway revival was annaleigh ashford?`

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

CREATE TABLE "cast" (
  "role" text,
  "original_broadway_cast" text,
  "2005_film" text,
  "2008_final_performance_film" text,
  "hollywood_bowl_cast" text,
  "2011_off_broadway_revival" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the 2008 final performance film when the 2011 off-broadway revival was annaleigh ashford?`:
```sql
                SELECT "2008_final_performance_film" FROM "cast" WHERE "2011_off_broadway_revival"='Annaleigh Ashford';
```
## Task
Generate a SQL query to answer the following question:
`who was in the 2005 role when the original broadway cast was played by jesse l. martin?`

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

CREATE TABLE "cast" (
  "role" text,
  "original_broadway_cast" text,
  "2005_film" text,
  "2008_final_performance_film" text,
  "hollywood_bowl_cast" text,
  "2011_off_broadway_revival" text
);
### SQL
Given the database schema, here is the SQL query that answers `who was in the 2005 role when the original broadway cast was played by jesse l. martin?`:
```sql
                SELECT "2005_film" FROM "cast" WHERE "original_broadway_cast"='Jesse L. Martin';
```
## Task
Generate a SQL query to answer the following question:
`How many times was mj rodriguez cast?`

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

CREATE TABLE "cast" (
  "role" text,
  "original_broadway_cast" text,
  "2005_film" text,
  "2008_final_performance_film" text,
  "hollywood_bowl_cast" text,
  "2011_off_broadway_revival" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was mj rodriguez cast?`:
```sql
                SELECT COUNT("role") FROM "cast" WHERE "2011_off_broadway_revival"='MJ Rodriguez';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode that is production code 202?`

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

CREATE TABLE "table1_26448179_3" (
  "no_in_series" real,
  "no_in_season" real,
  "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 `Who wrote the episode that is production code 202?`:
```sql
                SELECT "written_by" FROM "table1_26448179_3" WHERE "production_code"='202';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of US viewers watched "Helen Back Again"?`

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

CREATE TABLE "table1_26448179_3" (
  "no_in_series" real,
  "no_in_season" real,
  "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 millions of US viewers watched "Helen Back Again"?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_26448179_3" WHERE "title"='\"Helen Back Again\"';
```
## Task
Generate a SQL query to answer the following question:
`What title was watched by 3.8 million US viewers?`

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

CREATE TABLE "table1_26448179_3" (
  "no_in_series" real,
  "no_in_season" real,
  "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 title was watched by 3.8 million US viewers?`:
```sql
                SELECT "title" FROM "table1_26448179_3" WHERE "u_s_viewers_millions"='3.8';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date of "Helen Back Again"?`

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

CREATE TABLE "table1_26448179_3" (
  "no_in_series" real,
  "no_in_season" real,
  "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 original air date of "Helen Back Again"?`:
```sql
                SELECT "original_air_date" FROM "table1_26448179_3" WHERE "title"='\"Helen Back Again\"';
```
## Task
Generate a SQL query to answer the following question:
`What season number in the season has production code 210?`

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

CREATE TABLE "table1_26448179_3" (
  "no_in_series" real,
  "no_in_season" real,
  "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 season number in the season has production code 210?`:
```sql
                SELECT MIN("no_in_season") FROM "table1_26448179_3" WHERE "production_code"='210';
```
## Task
Generate a SQL query to answer the following question:
` He wrote production number 102? `

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

CREATE TABLE "table1_26448179_2" (
  "no_in_series" real,
  "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 ` He wrote production number 102? `:
```sql
                SELECT "written_by" FROM "table1_26448179_2" WHERE "production_code"='102';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode watched by 3.2 million viewers?`

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

CREATE TABLE "table1_26448179_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode watched by 3.2 million viewers?`:
```sql
                SELECT "title" FROM "table1_26448179_4" WHERE "u_s_viewers_millions"='3.2';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode with production code 305?`

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

CREATE TABLE "table1_26448179_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode with production code 305?`:
```sql
                SELECT "title" FROM "table1_26448179_4" WHERE "production_code"=305;
```
## Task
Generate a SQL query to answer the following question:
`How many air dates had 3.2 million viewers?`

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

CREATE TABLE "table1_26448179_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many air dates had 3.2 million viewers?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_26448179_4" WHERE "u_s_viewers_millions"='3.2';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest production code?`

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

CREATE TABLE "table1_26448179_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest production code?`:
```sql
                SELECT MAX("production_code") FROM "table1_26448179_4";
```
## Task
Generate a SQL query to answer the following question:
`What are the point value(s) for when the athlete was Barney Berlinger?`

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

CREATE TABLE "javelin_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the point value(s) for when the athlete was Barney Berlinger?`:
```sql
                SELECT "points" FROM "javelin_throw" WHERE "athlete"='Barney Berlinger';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of times points were listed when the distance was 41.05 metres?`

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

CREATE TABLE "javelin_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of times points were listed when the distance was 41.05 metres?`:
```sql
                SELECT COUNT("points") FROM "javelin_throw" WHERE "distance_metres"='41.05';
```
## Task
Generate a SQL query to answer the following question:
`Who is the athlete(s) who scored 691 adjusted points?`

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

CREATE TABLE "javelin_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the athlete(s) who scored 691 adjusted points?`:
```sql
                SELECT "athlete" FROM "javelin_throw" WHERE "adjusted_points"=691;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rank where the distance is 52.73?`

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

CREATE TABLE "javelin_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rank where the distance is 52.73?`:
```sql
                SELECT MAX("rank") FROM "javelin_throw" WHERE "distance_metres"='52.73';
```
## Task
Generate a SQL query to answer the following question:
`What is the country(s) where the points equal 723.075?`

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

CREATE TABLE "javelin_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the country(s) where the points equal 723.075?`:
```sql
                SELECT "country" FROM "javelin_throw" WHERE "points"='723.075';
```
## Task
Generate a SQL query to answer the following question:
`What is the most adjusted points for Great Britain?`

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

CREATE TABLE "high_jump" (
  "rank" real,
  "athlete" text,
  "country" text,
  "height" text,
  "points" real,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most adjusted points for Great Britain?`:
```sql
                SELECT MAX("adjusted_points") FROM "high_jump" WHERE "country"='Great Britain';
```
## Task
Generate a SQL query to answer the following question:
`What is the country of Paavo Yrjölä?`

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

CREATE TABLE "high_jump" (
  "rank" real,
  "athlete" text,
  "country" text,
  "height" text,
  "points" real,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the country of Paavo Yrjölä?`:
```sql
                SELECT "country" FROM "high_jump" WHERE "athlete"='Paavo Yrjölä';
```
## Task
Generate a SQL query to answer the following question:
`Which athlete has a height of 1.87 and is from Sweden?`

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

CREATE TABLE "high_jump" (
  "rank" real,
  "athlete" text,
  "country" text,
  "height" text,
  "points" real,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which athlete has a height of 1.87 and is from Sweden?`:
```sql
                SELECT "athlete" FROM "high_jump" WHERE "height"='1.87' AND "country"='Sweden';
```
## Task
Generate a SQL query to answer the following question:
`Name the country that has ken doherty`

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

CREATE TABLE "discus_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country that has ken doherty`:
```sql
                SELECT "country" FROM "discus_throw" WHERE "athlete"='Ken Doherty';
```
## Task
Generate a SQL query to answer the following question:
`Name the athlete for 7 rank`

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

CREATE TABLE "discus_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the athlete for 7 rank`:
```sql
                SELECT "athlete" FROM "discus_throw" WHERE "rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of rank for tom churchill`

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

CREATE TABLE "discus_throw" (
  "rank" real,
  "athlete" text,
  "country" text,
  "distance_metres" text,
  "points" text,
  "adjusted_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of rank for tom churchill`:
```sql
                SELECT COUNT("rank") FROM "discus_throw" WHERE "athlete"='Tom Churchill';
```
## Task
Generate a SQL query to answer the following question:
`Who was the heir when the monarch was Wareru?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the heir when the monarch was Wareru?`:
```sql
                SELECT "heir" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "monarch"='Wareru';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of monarchs that had Yan Maw la Mon as the heir?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of monarchs that had Yan Maw la Mon as the heir?`:
```sql
                SELECT COUNT("monarch") FROM "list_of_heirs_to_the_burmese_thrones" WHERE "heir"='Yan Maw La Mon';
```
## Task
Generate a SQL query to answer the following question:
`Who was the monarch whose status was heir presumptive and a relationship to the monarch of son?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the monarch whose status was heir presumptive and a relationship to the monarch of son?`:
```sql
                SELECT "monarch" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "status"='Heir presumptive' AND "relationship_to_monarch"='son';
```
## Task
Generate a SQL query to answer the following question:
`What is the status for the monarch Mingyinyo?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status for the monarch Mingyinyo?`:
```sql
                SELECT "status" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "monarch"='Mingyinyo';
```
## Task
Generate a SQL query to answer the following question:
`What is the status when the ceased to be heir; reason is 18 february 1853 succeeded?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status when the ceased to be heir; reason is 18 february 1853 succeeded?`:
```sql
                SELECT "status" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "ceased_to_be_heir_reason"='18 February 1853 succeeded';
```
## Task
Generate a SQL query to answer the following question:
`When is the became heir; reason when heir is hsinbyushin?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is the became heir; reason when heir is hsinbyushin?`:
```sql
                SELECT "became_heir_reason" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "heir"='Hsinbyushin';
```
## Task
Generate a SQL query to answer the following question:
`Who is the monarch when became heir; reason is 13 july 1783 father succeeded?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the monarch when became heir; reason is 13 july 1783 father succeeded?`:
```sql
                SELECT "monarch" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "became_heir_reason"='13 July 1783 father succeeded';
```
## Task
Generate a SQL query to answer the following question:
`How many times was the monarch singu?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the monarch singu?`:
```sql
                SELECT COUNT("relationship_to_monarch") FROM "list_of_heirs_to_the_burmese_thrones" WHERE "monarch"='Singu';
```
## Task
Generate a SQL query to answer the following question:
`Who is the monarch with the heir thado minsaw?`

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

CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
  "monarch" text,
  "heir" text,
  "status" text,
  "relationship_to_monarch" text,
  "became_heir_reason" text,
  "ceased_to_be_heir_reason" text,
  "next_in_succession" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the monarch with the heir thado minsaw?`:
```sql
                SELECT "monarch" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "heir"='Thado Minsaw';
```
## Task
Generate a SQL query to answer the following question:
`Who are the writers of the episodes directed by Justin Hartley?`

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

CREATE TABLE "table1_26464364_1" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the writers of the episodes directed by Justin Hartley?`:
```sql
                SELECT "written_by" FROM "table1_26464364_1" WHERE "directed_by"='Justin Hartley';
```
## Task
Generate a SQL query to answer the following question:
`On which date did episode # 18 air in the U.S.?`

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

CREATE TABLE "table1_26464364_1" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which date did episode # 18 air in the U.S.?`:
```sql
                SELECT "u_s_air_date" FROM "table1_26464364_1" WHERE "num"=18;
```
## Task
Generate a SQL query to answer the following question:
`How many million U.S. viewers watched the episode with the production code 3x6004?`

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

CREATE TABLE "table1_26464364_1" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many million U.S. viewers watched the episode with the production code 3x6004?`:
```sql
                SELECT "u_s_viewers_million" FROM "table1_26464364_1" WHERE "production_code"='3X6004';
```
## Task
Generate a SQL query to answer the following question:
`List the titles of episodes written by Anne Cofell Saunders.`

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

CREATE TABLE "table1_26464364_1" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the titles of episodes written by Anne Cofell Saunders.`:
```sql
                SELECT "title" FROM "table1_26464364_1" WHERE "written_by"='Anne Cofell Saunders';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode directed by Christopher Petry with the production cod 3x6006?`

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

CREATE TABLE "table1_26464364_1" (
  "no" real,
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_air_date" text,
  "production_code" text,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode directed by Christopher Petry with the production cod 3x6006?`:
```sql
                SELECT "title" FROM "table1_26464364_1" WHERE "directed_by"='Christopher Petry' AND "production_code"='3X6006';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent in the Ohio 10 district?`

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

CREATE TABLE "ohio" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent in the Ohio 10 district?`:
```sql
                SELECT "incumbent" FROM "ohio" WHERE "district"='Ohio 10';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent in the Ohio 5 district?`

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

CREATE TABLE "ohio" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent in the Ohio 5 district?`:
```sql
                SELECT "incumbent" FROM "ohio" WHERE "district"='Ohio 5';
```
## Task
Generate a SQL query to answer the following question:
`Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss?`

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

CREATE TABLE "ohio" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss?`:
```sql
                SELECT "candidates" FROM "ohio" WHERE "result"='Retired Republican hold' AND "incumbent"='Philemon Bliss';
```
## Task
Generate a SQL query to answer the following question:
`How many new conferences are in the NCLL deep south conference?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "years" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many new conferences are in the NCLL deep south conference?`:
```sql
                SELECT COUNT("new_conference") FROM "former_members" WHERE "new_classification"='NCLL Deep South Conference';
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname at the University of Nebraska at Omaha?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "years" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname at the University of Nebraska at Omaha?`:
```sql
                SELECT "team_nickname" FROM "former_members" WHERE "institution"='University of Nebraska at Omaha';
```
## Task
Generate a SQL query to answer the following question:
`What location is listed from 2005-2010?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "years" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location is listed from 2005-2010?`:
```sql
                SELECT "location" FROM "former_members" WHERE "years"='2005-2010';
```
## Task
Generate a SQL query to answer the following question:
`Where is the nickname the Red Raiders?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "years" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the nickname the Red Raiders?`:
```sql
                SELECT "location" FROM "former_members" WHERE "team_nickname"='Red Raiders';
```
## Task
Generate a SQL query to answer the following question:
`What school has the new conference as SELC?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "years" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school has the new conference as SELC?`:
```sql
                SELECT "institution" FROM "former_members" WHERE "new_conference"='SELC';
```
## Task
Generate a SQL query to answer the following question:
`What are the years that the new classification was MCLA division i?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "years" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the years that the new classification was MCLA division i?`:
```sql
                SELECT "years" FROM "former_members" WHERE "new_classification"='MCLA Division I';
```
## Task
Generate a SQL query to answer the following question:
`Name the colors for north canton`

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

CREATE TABLE "table1_26466528_1" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "join_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the colors for north canton`:
```sql
                SELECT "colors" FROM "table1_26466528_1" WHERE "location"='North Canton';
```
## Task
Generate a SQL query to answer the following question:
`Name the most join date`

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

CREATE TABLE "table1_26466528_1" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "join_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most join date`:
```sql
                SELECT MAX("join_date") FROM "table1_26466528_1";
```
## Task
Generate a SQL query to answer the following question:
`Name the least join date`

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

CREATE TABLE "table1_26466528_1" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "join_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least join date`:
```sql
                SELECT MIN("join_date") FROM "table1_26466528_1";
```
## Task
Generate a SQL query to answer the following question:
`Name the location for black, orange`

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

CREATE TABLE "table1_26466528_1" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "join_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location for black, orange`:
```sql
                SELECT "location" FROM "table1_26466528_1" WHERE "colors"='Black, Orange';
```
## Task
Generate a SQL query to answer the following question:
`Name when north canton joined`

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

CREATE TABLE "table1_26466528_1" (
  "school" text,
  "nickname" text,
  "location" text,
  "colors" text,
  "join_date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name when north canton joined`:
```sql
                SELECT "join_date" FROM "table1_26466528_1" WHERE "location"='North Canton';
```
## Task
Generate a SQL query to answer the following question:
`How many "series" were in the 12th "position?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many "series" were in the 12th "position?`:
```sql
                SELECT COUNT("series") FROM "career_summary" WHERE "position"='12th';
```
## Task
Generate a SQL query to answer the following question:
`How many teams were at 10 points?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams were at 10 points?`:
```sql
                SELECT COUNT("team") FROM "career_summary" WHERE "points"=10;
```
## Task
Generate a SQL query to answer the following question:
`What was the number of podiums in 12th position?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of podiums in 12th position?`:
```sql
                SELECT "podiums" FROM "career_summary" WHERE "position"='12th';
```
## Task
Generate a SQL query to answer the following question:
`Where did he finish when he started at 21.6?`

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

CREATE TABLE "career_nascar_statistics" (
  "year" real,
  "races" real,
  "wins" real,
  "poles" real,
  "top_5" real,
  "top_10" real,
  "dnf" real,
  "finish" text,
  "start" text,
  "winnings" text,
  "season_rank" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did he finish when he started at 21.6?`:
```sql
                SELECT COUNT("finish") FROM "career_nascar_statistics" WHERE "start"='21.6';
```
## Task
Generate a SQL query to answer the following question:
`What teams started at 39.1?`

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

CREATE TABLE "career_nascar_statistics" (
  "year" real,
  "races" real,
  "wins" real,
  "poles" real,
  "top_5" real,
  "top_10" real,
  "dnf" real,
  "finish" text,
  "start" text,
  "winnings" text,
  "season_rank" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What teams started at 39.1?`:
```sql
                SELECT "team_s" FROM "career_nascar_statistics" WHERE "start"='39.1';
```
## Task
Generate a SQL query to answer the following question:
`Where did they finish in the season when when they won $491,977?`

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

CREATE TABLE "career_nascar_statistics" (
  "year" real,
  "races" real,
  "wins" real,
  "poles" real,
  "top_5" real,
  "top_10" real,
  "dnf" real,
  "finish" text,
  "start" text,
  "winnings" text,
  "season_rank" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did they finish in the season when when they won $491,977?`:
```sql
                SELECT "season_rank" FROM "career_nascar_statistics" WHERE "winnings"='$491,977';
```
## Task
Generate a SQL query to answer the following question:
`How many vocal parts are there when the year of songs original release date as listed in rock band 3 was 2000?`

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

CREATE TABLE "track_listing" (
  "song_title" text,
  "artist" text,
  "year_year_of_songs_original_release_as_listed_in_rock_band_3" real,
  "genre" text,
  "keyboard_support" text,
  "vocal_parts" real,
  "nintendo_ds_setlist" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many vocal parts are there when the year of songs original release date as listed in rock band 3 was 2000?`:
```sql
                SELECT MIN("vocal_parts") FROM "track_listing" WHERE "year_year_of_songs_original_release_as_listed_in_rock_band_3"=2000;
```
## Task
Generate a SQL query to answer the following question:
`How many different genres appear for the Jimi Hendrix Experience?`

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

CREATE TABLE "track_listing" (
  "song_title" text,
  "artist" text,
  "year_year_of_songs_original_release_as_listed_in_rock_band_3" real,
  "genre" text,
  "keyboard_support" text,
  "vocal_parts" real,
  "nintendo_ds_setlist" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different genres appear for the Jimi Hendrix Experience?`:
```sql
                SELECT COUNT("genre") FROM "track_listing" WHERE "artist"='The Jimi Hendrix Experience';
```
## Task
Generate a SQL query to answer the following question:
`Name the total viewers on fx+ for night on the sun `

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

CREATE TABLE "united_kingdom" (
  "episode_number_production_number" text,
  "title" text,
  "original_air_date" text,
  "total_viewers_on_fx" text,
  "total_viewers_on_fx" text,
  "total_viewers" text,
  "rank_on_channel" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total viewers on fx+ for night on the sun `:
```sql
                SELECT "total_viewers_on_fx" FROM "united_kingdom" WHERE "title"='Night on the Sun';
```
## Task
Generate a SQL query to answer the following question:
`Name the episode number for total viewers on fx+ being 102,000`

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

CREATE TABLE "united_kingdom" (
  "episode_number_production_number" text,
  "title" text,
  "original_air_date" text,
  "total_viewers_on_fx" text,
  "total_viewers_on_fx" text,
  "total_viewers" text,
  "rank_on_channel" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the episode number for total viewers on fx+ being 102,000`:
```sql
                SELECT "episode_number_production_number" FROM "united_kingdom" WHERE "total_viewers_on_fx"='102,000';
```
## Task
Generate a SQL query to answer the following question:
`Name the title for total viewers on fx+ being 483,000`

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

CREATE TABLE "united_kingdom" (
  "episode_number_production_number" text,
  "title" text,
  "original_air_date" text,
  "total_viewers_on_fx" text,
  "total_viewers_on_fx" text,
  "total_viewers" text,
  "rank_on_channel" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the title for total viewers on fx+ being 483,000`:
```sql
                SELECT "title" FROM "united_kingdom" WHERE "total_viewers_on_fx"='483,000';
```
## Task
Generate a SQL query to answer the following question:
`Name the total viewers on fx+ for 583,000 total viewers`

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

CREATE TABLE "united_kingdom" (
  "episode_number_production_number" text,
  "title" text,
  "original_air_date" text,
  "total_viewers_on_fx" text,
  "total_viewers_on_fx" text,
  "total_viewers" text,
  "rank_on_channel" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total viewers on fx+ for 583,000 total viewers`:
```sql
                SELECT "total_viewers_on_fx" FROM "united_kingdom" WHERE "total_viewers"='583,000';
```