cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many directors were there for season 3 episode 1?`

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

CREATE TABLE "table1_2623498_4" (
  "episode_num" text,
  "season_episode_num" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many directors were there for season 3 episode 1?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_2623498_4" WHERE "season_episode_num"='1';
```
## Task
Generate a SQL query to answer the following question:
`How many times did the episode "team impossible" originally air?`

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

CREATE TABLE "table1_2623498_4" (
  "episode_num" text,
  "season_episode_num" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the episode "team impossible" originally air?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_2623498_4" WHERE "title"='\"Team Impossible\"';
```
## Task
Generate a SQL query to answer the following question:
`what is the number where the player was jimmy demaret`

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

CREATE TABLE "wins_9" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number where the player was jimmy demaret`:
```sql
                SELECT "54_holes" FROM "wins_9" WHERE "runner_s_up"='Jimmy Demaret';
```
## Task
Generate a SQL query to answer the following question:
`what is the space where the next one was mike turnesa`

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

CREATE TABLE "wins_9" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the space where the next one was mike turnesa`:
```sql
                SELECT "margin" FROM "wins_9" WHERE "runner_s_up"='Mike Turnesa';
```
## Task
Generate a SQL query to answer the following question:
`what is the space where the next winner is skee riegel`

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

CREATE TABLE "wins_9" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the space where the next winner is skee riegel`:
```sql
                SELECT "margin" FROM "wins_9" WHERE "runner_s_up"='Skee Riegel';
```
## Task
Generate a SQL query to answer the following question:
`what is the old English name of Saturday? `

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

CREATE TABLE "table1_2624098_1" (
  "modern_english_day_name" text,
  "old_english_day_name" text,
  "english_day_name_meaning" text,
  "glossed_from_latin_day_name" text,
  "latin_day_name_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the old English name of Saturday? `:
```sql
                SELECT "old_english_day_name" FROM "table1_2624098_1" WHERE "modern_english_day_name"='Saturday';
```
## Task
Generate a SQL query to answer the following question:
`how mant different day names in old English were coined from the Latin day name "dies iovis"?`

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

CREATE TABLE "table1_2624098_1" (
  "modern_english_day_name" text,
  "old_english_day_name" text,
  "english_day_name_meaning" text,
  "glossed_from_latin_day_name" text,
  "latin_day_name_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `how mant different day names in old English were coined from the Latin day name "dies iovis"?`:
```sql
                SELECT COUNT("old_english_day_name") FROM "table1_2624098_1" WHERE "glossed_from_latin_day_name"='Dies Iovis';
```
## Task
Generate a SQL query to answer the following question:
`how many different meanings does Wednesday have?`

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

CREATE TABLE "table1_2624098_1" (
  "modern_english_day_name" text,
  "old_english_day_name" text,
  "english_day_name_meaning" text,
  "glossed_from_latin_day_name" text,
  "latin_day_name_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many different meanings does Wednesday have?`:
```sql
                SELECT COUNT("english_day_name_meaning") FROM "table1_2624098_1" WHERE "modern_english_day_name"='Wednesday';
```
## Task
Generate a SQL query to answer the following question:
`what is the English meaning of the old English name "sæturnesdæg"?`

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

CREATE TABLE "table1_2624098_1" (
  "modern_english_day_name" text,
  "old_english_day_name" text,
  "english_day_name_meaning" text,
  "glossed_from_latin_day_name" text,
  "latin_day_name_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the English meaning of the old English name "sæturnesdæg"?`:
```sql
                SELECT "english_day_name_meaning" FROM "table1_2624098_1" WHERE "old_english_day_name"='Sæturnesdæg';
```
## Task
Generate a SQL query to answer the following question:
`what is the meaning of the latin day name "dies saturni"?`

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

CREATE TABLE "table1_2624098_1" (
  "modern_english_day_name" text,
  "old_english_day_name" text,
  "english_day_name_meaning" text,
  "glossed_from_latin_day_name" text,
  "latin_day_name_meaning" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the meaning of the latin day name "dies saturni"?`:
```sql
                SELECT "latin_day_name_meaning" FROM "table1_2624098_1" WHERE "glossed_from_latin_day_name"='Dies Saturni';
```
## Task
Generate a SQL query to answer the following question:
`Which opponents conference has the result L, 62-10?`

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

CREATE TABLE "charleston_southern_vs_fbs_schools" (
  "year" real,
  "fbs_opponent" text,
  "result" text,
  "opponents_conference" text,
  "opponents_head_coach" text,
  "charleston_southerns_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponents conference has the result L, 62-10?`:
```sql
                SELECT "opponents_conference" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 62-10';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponents head coach with the result L, 56-6?`

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

CREATE TABLE "charleston_southern_vs_fbs_schools" (
  "year" real,
  "fbs_opponent" text,
  "result" text,
  "opponents_conference" text,
  "opponents_head_coach" text,
  "charleston_southerns_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponents head coach with the result L, 56-6?`:
```sql
                SELECT "opponents_head_coach" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 56-6';
```
## Task
Generate a SQL query to answer the following question:
`Who is Charleston Southerns head coach where the result is L, 56-6?-`

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

CREATE TABLE "charleston_southern_vs_fbs_schools" (
  "year" real,
  "fbs_opponent" text,
  "result" text,
  "opponents_conference" text,
  "opponents_head_coach" text,
  "charleston_southerns_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is Charleston Southerns head coach where the result is L, 56-6?-`:
```sql
                SELECT "charleston_southerns_head_coach" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 56-6';
```
## Task
Generate a SQL query to answer the following question:
`Who played FBS where the result was L, 62-3?`

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

CREATE TABLE "charleston_southern_vs_fbs_schools" (
  "year" real,
  "fbs_opponent" text,
  "result" text,
  "opponents_conference" text,
  "opponents_head_coach" text,
  "charleston_southerns_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played FBS where the result was L, 62-3?`:
```sql
                SELECT "fbs_opponent" FROM "charleston_southern_vs_fbs_schools" WHERE "result"='L, 62-3';
```
## Task
Generate a SQL query to answer the following question:
`When was alfred university founded?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "enrollment" text,
  "joined" real,
  "left" real,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was alfred university founded?`:
```sql
                SELECT MAX("founded") FROM "former_members" WHERE "institution"='Alfred University';
```
## Task
Generate a SQL query to answer the following question:
`Name where bethany college is`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name where bethany college is`:
```sql
                SELECT "location" FROM "current_members" WHERE "institution"='Bethany College';
```
## Task
Generate a SQL query to answer the following question:
`Name the location for golden tornadoes`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location for golden tornadoes`:
```sql
                SELECT "location" FROM "current_members" WHERE "nickname"='Golden Tornadoes';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of locations for geneva college`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of locations for geneva college`:
```sql
                SELECT COUNT("location") FROM "current_members" WHERE "institution"='Geneva College';
```
## Task
Generate a SQL query to answer the following question:
`Name the enrollment for tomcats`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the enrollment for tomcats`:
```sql
                SELECT "enrollment" FROM "current_members" WHERE "nickname"='Tomcats';
```
## Task
Generate a SQL query to answer the following question:
`How many season 4 appearances are there by Mrs. Jennifer Knight?`

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

CREATE TABLE "character_appearances" (
  "character" text,
  "played_by" text,
  "season_1" real,
  "season_2" real,
  "season_3" real,
  "season_4" real,
  "first_appearance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many season 4 appearances are there by Mrs. Jennifer Knight?`:
```sql
                SELECT MIN("season_4") FROM "character_appearances" WHERE "character"='Mrs. Jennifer Knight';
```
## Task
Generate a SQL query to answer the following question:
`How many season 3 appearances by Morgan the Dog?`

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

CREATE TABLE "character_appearances" (
  "character" text,
  "played_by" text,
  "season_1" real,
  "season_2" real,
  "season_3" real,
  "season_4" real,
  "first_appearance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many season 3 appearances by Morgan the Dog?`:
```sql
                SELECT MAX("season_3") FROM "character_appearances" WHERE "played_by"='Morgan the Dog';
```
## Task
Generate a SQL query to answer the following question:
`What episode was the first appearance of the character who appears 7 times in season 4?`

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

CREATE TABLE "character_appearances" (
  "character" text,
  "played_by" text,
  "season_1" real,
  "season_2" real,
  "season_3" real,
  "season_4" real,
  "first_appearance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode was the first appearance of the character who appears 7 times in season 4?`:
```sql
                SELECT "first_appearance" FROM "character_appearances" WHERE "season_4"=7;
```
## Task
Generate a SQL query to answer the following question:
`How many season 3 appearances by the character played by Stefan Van Ray?`

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

CREATE TABLE "character_appearances" (
  "character" text,
  "played_by" text,
  "season_1" real,
  "season_2" real,
  "season_3" real,
  "season_4" real,
  "first_appearance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many season 3 appearances by the character played by Stefan Van Ray?`:
```sql
                SELECT MIN("season_3") FROM "character_appearances" WHERE "played_by"='Stefan van Ray';
```
## Task
Generate a SQL query to answer the following question:
`What is the first appearance of the character played by Obdul Reid?`

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

CREATE TABLE "character_appearances" (
  "character" text,
  "played_by" text,
  "season_1" real,
  "season_2" real,
  "season_3" real,
  "season_4" real,
  "first_appearance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first appearance of the character played by Obdul Reid?`:
```sql
                SELECT "first_appearance" FROM "character_appearances" WHERE "played_by"='Obdul Reid';
```
## Task
Generate a SQL query to answer the following question:
`What was the primary conference when joining the cslf for the institution that was founded in 1894`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "nickname" text,
  "primary_conference_when_joining_the_csfl" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the primary conference when joining the cslf for the institution that was founded in 1894`:
```sql
                SELECT "primary_conference_when_joining_the_csfl" FROM "current_members" WHERE "founded"=1894;
```
## Task
Generate a SQL query to answer the following question:
`what was the primary conference when joining the csfl for the institution that joined in 2004-05? `

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "nickname" text,
  "primary_conference_when_joining_the_csfl" text
);
### SQL
Given the database schema, here is the SQL query that answers `what was the primary conference when joining the csfl for the institution that joined in 2004-05? `:
```sql
                SELECT "primary_conference_when_joining_the_csfl" FROM "current_members" WHERE "joined"='2004-05';
```
## Task
Generate a SQL query to answer the following question:
`How may results had the theme inspirational?`

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

CREATE TABLE "performances" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_recording_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How may results had the theme inspirational?`:
```sql
                SELECT COUNT("result") FROM "performances" WHERE "theme"='Inspirational';
```
## Task
Generate a SQL query to answer the following question:
`Which episode had Lavern Baker?`

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

CREATE TABLE "performances" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_recording_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode had Lavern Baker?`:
```sql
                SELECT "episode" FROM "performances" WHERE "original_recording_artist"='LaVern Baker';
```
## Task
Generate a SQL query to answer the following question:
`What was the order # or Erma Franklin?`

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

CREATE TABLE "performances" (
  "episode" text,
  "theme" text,
  "song_choice" text,
  "original_recording_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the order # or Erma Franklin?`:
```sql
                SELECT "order_num" FROM "performances" WHERE "original_recording_artist"='Erma Franklin';
```
## Task
Generate a SQL query to answer the following question:
`who is the original artist for the song " rhiannon "?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the original artist for the song " rhiannon "?`:
```sql
                SELECT "original_artist" FROM "performances_results" WHERE "song_choice"='\" Rhiannon \"';
```
## Task
Generate a SQL query to answer the following question:
`What is the theme for the original artist Alicia Keys?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the theme for the original artist Alicia Keys?`:
```sql
                SELECT "theme" FROM "performances_results" WHERE "original_artist"='Alicia Keys';
```
## Task
Generate a SQL query to answer the following question:
`How many times is the original artist Alicia keys?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times is the original artist Alicia keys?`:
```sql
                SELECT COUNT("result") FROM "performances_results" WHERE "original_artist"='Alicia Keys';
```
## Task
Generate a SQL query to answer the following question:
`What is the order # for the original artist sarah mclachlan?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the order # for the original artist sarah mclachlan?`:
```sql
                SELECT "order_num" FROM "performances_results" WHERE "original_artist"='Sarah McLachlan';
```
## Task
Generate a SQL query to answer the following question:
`WHat is the them for the order #2?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHat is the them for the order #2?`:
```sql
                SELECT "theme" FROM "performances_results" WHERE "order_num"='2';
```
## Task
Generate a SQL query to answer the following question:
`When pointers are the nickname what is the type?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location_population" text,
  "founded" real,
  "type" text,
  "undergraduate_enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `When pointers are the nickname what is the type?`:
```sql
                SELECT "type" FROM "current_members" WHERE "nickname"='Pointers';
```
## Task
Generate a SQL query to answer the following question:
`When falcons are the nickname what is the type?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location_population" text,
  "founded" real,
  "type" text,
  "undergraduate_enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `When falcons are the nickname what is the type?`:
```sql
                SELECT "type" FROM "current_members" WHERE "nickname"='Falcons';
```
## Task
Generate a SQL query to answer the following question:
`When 9386 is the undergraduate enrollment what is the nickname?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "nickname" text,
  "location_population" text,
  "founded" real,
  "type" text,
  "undergraduate_enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 9386 is the undergraduate enrollment what is the nickname?`:
```sql
                SELECT "nickname" FROM "current_members" WHERE "undergraduate_enrollment"=9386;
```
## Task
Generate a SQL query to answer the following question:
`What was the choice of song where the original artist was Stevie Wonder?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the choice of song where the original artist was Stevie Wonder?`:
```sql
                SELECT "song_choice" FROM "performances" WHERE "original_artist"='Stevie Wonder';
```
## Task
Generate a SQL query to answer the following question:
`What was Katie's order number when the theme was The Rolling Stones?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Katie's order number when the theme was The Rolling Stones?`:
```sql
                SELECT "order_num" FROM "performances" WHERE "theme"='The Rolling Stones';
```
## Task
Generate a SQL query to answer the following question:
`Who was the original artist of the chosen song when the theme was The Rolling Stones?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the original artist of the chosen song when the theme was The Rolling Stones?`:
```sql
                SELECT "original_artist" FROM "performances" WHERE "theme"='The Rolling Stones';
```
## Task
Generate a SQL query to answer the following question:
`Who was the original artist of the First solo theme?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the original artist of the First solo theme?`:
```sql
                SELECT "original_artist" FROM "performances_results" WHERE "theme"='First Solo';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of song choices where the original artist was Bright Eyes?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of song choices where the original artist was Bright Eyes?`:
```sql
                SELECT COUNT("song_choice") FROM "performances_results" WHERE "original_artist"='Bright Eyes';
```
## Task
Generate a SQL query to answer the following question:
`Who was the original artist of the group performance theme?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the original artist of the group performance theme?`:
```sql
                SELECT "original_artist" FROM "performances_results" WHERE "theme"='Group Performance';
```
## Task
Generate a SQL query to answer the following question:
`What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer?`:
```sql
                SELECT "order_num" FROM "performances_results" WHERE "theme"='Billboard Hot 100 Hits' AND "original_artist"='Sixpence None the Richer';
```
## Task
Generate a SQL query to answer the following question:
`What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer?`

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

CREATE TABLE "performances_results" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer?`:
```sql
                SELECT COUNT("week_num") FROM "performances_results" WHERE "theme"='Billboard Hot 100 Hits' AND "order_num"='3' AND "original_artist"='Sixpence None the Richer';
```
## Task
Generate a SQL query to answer the following question:
`How many joined the Warriors?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many joined the Warriors?`:
```sql
                SELECT COUNT("joined") FROM "current_members" WHERE "nickname"='Warriors';
```
## Task
Generate a SQL query to answer the following question:
`How many joined when the enrollment was 1150 in Sioux City, Iowa?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many joined when the enrollment was 1150 in Sioux City, Iowa?`:
```sql
                SELECT "joined" FROM "current_members" WHERE "enrollment"=1150 AND "location"='Sioux City, Iowa';
```
## Task
Generate a SQL query to answer the following question:
`What is Briar Cliff University's nickname?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Briar Cliff University's nickname?`:
```sql
                SELECT "nickname" FROM "current_members" WHERE "institution"='Briar Cliff University';
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname of the institution from Concordia University, Nebraska?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname of the institution from Concordia University, Nebraska?`:
```sql
                SELECT "nickname" FROM "current_members" WHERE "institution"='Concordia University, Nebraska';
```
## Task
Generate a SQL query to answer the following question:
`Where the week # is Top 12, what is the result?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where the week # is Top 12, what is the result?`:
```sql
                SELECT "result" FROM "performances" WHERE "week_num"='Top 12';
```
## Task
Generate a SQL query to answer the following question:
`How many results are there with the theme Group Round?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many results are there with the theme Group Round?`:
```sql
                SELECT COUNT("result") FROM "performances" WHERE "theme"='Group Round';
```
## Task
Generate a SQL query to answer the following question:
`Who is the original artist of the song choice " Under My Thumb "? `

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the original artist of the song choice " Under My Thumb "? `:
```sql
                SELECT "original_artist" FROM "performances" WHERE "song_choice"='\" Under My Thumb \"';
```
## Task
Generate a SQL query to answer the following question:
`How many themes are there where the order # is 9?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many themes are there where the order # is 9?`:
```sql
                SELECT COUNT("theme") FROM "performances" WHERE "order_num"='9';
```
## Task
Generate a SQL query to answer the following question:
`The order # is what for the week # Top 10?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `The order # is what for the week # Top 10?`:
```sql
                SELECT "order_num" FROM "performances" WHERE "week_num"='Top 10';
```
## Task
Generate a SQL query to answer the following question:
`The original artist The Temptations has what week #?`

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

CREATE TABLE "performances" (
  "week_num" text,
  "theme" text,
  "song_choice" text,
  "original_artist" text,
  "order_num" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `The original artist The Temptations has what week #?`:
```sql
                SELECT "week_num" FROM "performances" WHERE "original_artist"='The Temptations';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of founded for public and 780 enrollment`

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

CREATE TABLE "past_members" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of founded for public and 780 enrollment`:
```sql
                SELECT COUNT("founded") FROM "past_members" WHERE "type"='Public' AND "enrollment"='780';
```
## Task
Generate a SQL query to answer the following question:
`Name the founded for school closed in 2005`

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

CREATE TABLE "past_members" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the founded for school closed in 2005`:
```sql
                SELECT "founded" FROM "past_members" WHERE "current_conference"='school closed in 2005';
```
## Task
Generate a SQL query to answer the following question:
`what is the nickname that joined 1902 1?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the nickname that joined 1902 1?`:
```sql
                SELECT "nickname" FROM "current_members" WHERE "joined"='1902 1';
```
## Task
Generate a SQL query to answer the following question:
`what type of institution is ottawa university?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `what type of institution is ottawa university?`:
```sql
                SELECT "type" FROM "current_members" WHERE "institution"='Ottawa University';
```
## Task
Generate a SQL query to answer the following question:
`what is the total number of nicknames for southwestern college?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total number of nicknames for southwestern college?`:
```sql
                SELECT COUNT("nickname") FROM "current_members" WHERE "institution"='Southwestern College';
```
## Task
Generate a SQL query to answer the following question:
`what type was joined in 1902 5?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `what type was joined in 1902 5?`:
```sql
                SELECT "type" FROM "current_members" WHERE "joined"='1902 5';
```
## Task
Generate a SQL query to answer the following question:
`what is the institution located in north newton, kansas?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the institution located in north newton, kansas?`:
```sql
                SELECT "institution" FROM "current_members" WHERE "location"='North Newton, Kansas';
```
## Task
Generate a SQL query to answer the following question:
`Name the place that was founded in 1920`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the place that was founded in 1920`:
```sql
                SELECT "institution" FROM "current_members" WHERE "founded"=1920;
```
## Task
Generate a SQL query to answer the following question:
`Name the type that joined 2007`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the type that joined 2007`:
```sql
                SELECT "type" FROM "current_members" WHERE "joined"=2007;
```
## Task
Generate a SQL query to answer the following question:
`how many series had 6.55 u.s. viewers (million) and were directed by pete michels`

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

CREATE TABLE "table1_26259391_1" (
  "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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many series had 6.55 u.s. viewers (million) and were directed by pete michels`:
```sql
                SELECT COUNT("no_in_series") FROM "table1_26259391_1" WHERE "u_s_viewers_million"='6.55' AND "directed_by"='Pete Michels';
```
## Task
Generate a SQL query to answer the following question:
`how many series have production code 8acx05`

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

CREATE TABLE "table1_26259391_1" (
  "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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many series have production code 8acx05`:
```sql
                SELECT "no_in_series" FROM "table1_26259391_1" WHERE "production_code"='8ACX05';
```
## Task
Generate a SQL query to answer the following question:
`how many u.s. viewers (million) have seen a production written by chris sheridan & danny smith`

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

CREATE TABLE "table1_26259391_1" (
  "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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many u.s. viewers (million) have seen a production written by chris sheridan & danny smith`:
```sql
                SELECT COUNT("u_s_viewers_million") FROM "table1_26259391_1" WHERE "written_by"='Chris Sheridan & Danny Smith';
```
## Task
Generate a SQL query to answer the following question:
`which production codes were written by andrew goldberg`

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

CREATE TABLE "table1_26259391_1" (
  "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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `which production codes were written by andrew goldberg`:
```sql
                SELECT "production_code" FROM "table1_26259391_1" WHERE "written_by"='Andrew Goldberg';
```
## Task
Generate a SQL query to answer the following question:
`Which production code had original air dated february20,2011`

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

CREATE TABLE "table1_26259391_1" (
  "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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which production code had original air dated february20,2011`:
```sql
                SELECT "production_code" FROM "table1_26259391_1" WHERE "original_air_date"='February20,2011';
```
## Task
Generate a SQL query to answer the following question:
`What school joined the conference in 1996-97 and left it in 2011-12?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school joined the conference in 1996-97 and left it in 2011-12?`:
```sql
                SELECT "institution" FROM "former_members" WHERE "joined"='1996-97' AND "left"='2011-12';
```
## Task
Generate a SQL query to answer the following question:
`What location has a school with enrollment of 850?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location has a school with enrollment of 850?`:
```sql
                SELECT "location" FROM "former_members" WHERE "enrollment"=850;
```
## Task
Generate a SQL query to answer the following question:
`How many schools left in 2002-03?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many schools left in 2002-03?`:
```sql
                SELECT COUNT("location") FROM "former_members" WHERE "left"='2002-03';
```
## Task
Generate a SQL query to answer the following question:
`Which city has a school where the nickname is Pioneers?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has a school where the nickname is Pioneers?`:
```sql
                SELECT "location" FROM "former_members" WHERE "nickname"='Pioneers';
```
## Task
Generate a SQL query to answer the following question:
`What type of school has the nickname the Oilers?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of school has the nickname the Oilers?`:
```sql
                SELECT "type" FROM "former_members" WHERE "nickname"='Oilers';
```
## Task
Generate a SQL query to answer the following question:
`How many locations have a school that is nicknamed the Panthers?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text,
  "left" text,
  "nickname" text,
  "primary_conference_when_joining_the_msfa" text,
  "current_primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations have a school that is nicknamed the Panthers?`:
```sql
                SELECT COUNT("location") FROM "former_members" WHERE "nickname"='Panthers';
```