cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the traditional for area 544`

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

CREATE TABLE "administration" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "foochow" text,
  "area" real,
  "population" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the traditional for area 544`:
```sql
                SELECT "traditional" FROM "administration" WHERE "area"=544;
```
## Task
Generate a SQL query to answer the following question:
`Name the foochow for pingnan county`

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

CREATE TABLE "administration" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "foochow" text,
  "area" real,
  "population" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the foochow for pingnan county`:
```sql
                SELECT "foochow" FROM "administration" WHERE "english_name"='Pingnan County';
```
## Task
Generate a SQL query to answer the following question:
`Name the pinyin for  ciá-ìng-gâing`

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

CREATE TABLE "administration" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "foochow" text,
  "area" real,
  "population" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pinyin for  ciá-ìng-gâing`:
```sql
                SELECT "pinyin" FROM "administration" WHERE "foochow"='Ciá-ìng-gâing';
```
## Task
Generate a SQL query to answer the following question:
`Name the traditional for  屏南县`

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

CREATE TABLE "administration" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "foochow" text,
  "area" real,
  "population" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the traditional for  屏南县`:
```sql
                SELECT "traditional" FROM "administration" WHERE "simplified"='屏南县';
```
## Task
Generate a SQL query to answer the following question:
`Name the density for 古田縣`

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

CREATE TABLE "administration" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "foochow" text,
  "area" real,
  "population" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the density for 古田縣`:
```sql
                SELECT "density" FROM "administration" WHERE "traditional"='古田縣';
```
## Task
Generate a SQL query to answer the following question:
`Name the english name for  福鼎市`

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

CREATE TABLE "administration" (
  "english_name" text,
  "simplified" text,
  "traditional" text,
  "pinyin" text,
  "foochow" text,
  "area" real,
  "population" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the english name for  福鼎市`:
```sql
                SELECT "english_name" FROM "administration" WHERE "traditional"='福鼎市';
```
## Task
Generate a SQL query to answer the following question:
`What CFL team did Darcy Brown play for?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What CFL team did Darcy Brown play for?`:
```sql
                SELECT "cfl_team" FROM "round_one" WHERE "player"='Darcy Brown';
```
## Task
Generate a SQL query to answer the following question:
`What CFL team did simeon rottier play for?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What CFL team did simeon rottier play for?`:
```sql
                SELECT "cfl_team" FROM "round_one" WHERE "player"='Simeon Rottier';
```
## Task
Generate a SQL query to answer the following question:
`What college did étienne légaré play for?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did étienne légaré play for?`:
```sql
                SELECT "college" FROM "round_one" WHERE "player"='Étienne Légaré';
```
## Task
Generate a SQL query to answer the following question:
`What team was in position OL?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was in position OL?`:
```sql
                SELECT "cfl_team" FROM "round_one" WHERE "position"='OL';
```
## Task
Generate a SQL query to answer the following question:
`Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )?`:
```sql
                SELECT "player" FROM "round_one" WHERE "cfl_team"='Hamilton Tiger-Cats (via BC via Saskatchewan )';
```
## Task
Generate a SQL query to answer the following question:
`What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?`

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

CREATE TABLE "round_one" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?`:
```sql
                SELECT MAX("pick_num") FROM "round_one" WHERE "cfl_team"='BC Lions (via Hamilton via Winnipeg )';
```
## Task
Generate a SQL query to answer the following question:
`How many different release dates are there for the audio book with a story number 7?`

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

CREATE TABLE "novelisations" (
  "story_num" real,
  "target_num" text,
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different release dates are there for the audio book with a story number 7?`:
```sql
                SELECT COUNT("release_date") FROM "novelisations" WHERE "story_num"=7;
```
## Task
Generate a SQL query to answer the following question:
`What's the title of the audio book with story number 91?`

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

CREATE TABLE "novelisations" (
  "story_num" real,
  "target_num" text,
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the title of the audio book with story number 91?`:
```sql
                SELECT "title" FROM "novelisations" WHERE "story_num"=91;
```
## Task
Generate a SQL query to answer the following question:
`When was the audio book with target number 069 69 released?`

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

CREATE TABLE "novelisations" (
  "story_num" real,
  "target_num" text,
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the audio book with target number 069 69 released?`:
```sql
                SELECT "release_date" FROM "novelisations" WHERE "target_num"='069 69';
```
## Task
Generate a SQL query to answer the following question:
`What's the format of the audio book titled The Mind Robber?`

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

CREATE TABLE "novelisations" (
  "story_num" real,
  "target_num" text,
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the format of the audio book titled The Mind Robber?`:
```sql
                SELECT "format" FROM "novelisations" WHERE "title"='The Mind Robber';
```
## Task
Generate a SQL query to answer the following question:
`who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008`

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

CREATE TABLE "the_sarah_jane_adventures" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008`:
```sql
                SELECT "reader" FROM "the_sarah_jane_adventures" WHERE "author"='Cole, Stephen Stephen Cole' AND "release_date"='2008-11-13 13 November 2008';
```
## Task
Generate a SQL query to answer the following question:
`how many companies released an audiobook titled deadly download`

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

CREATE TABLE "the_sarah_jane_adventures" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many companies released an audiobook titled deadly download`:
```sql
                SELECT COUNT("company") FROM "the_sarah_jane_adventures" WHERE "title"='Deadly Download';
```
## Task
Generate a SQL query to answer the following question:
`which companies released on 2010-11-04 4 november 2010`

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

CREATE TABLE "the_sarah_jane_adventures" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `which companies released on 2010-11-04 4 november 2010`:
```sql
                SELECT "company" FROM "the_sarah_jane_adventures" WHERE "release_date"='2010-11-04 4 November 2010';
```
## Task
Generate a SQL query to answer the following question:
`which company released audiobooks authored by day, martin martin day`

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

CREATE TABLE "the_sarah_jane_adventures" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `which company released audiobooks authored by day, martin martin day`:
```sql
                SELECT "company" FROM "the_sarah_jane_adventures" WHERE "author"='Day, Martin Martin Day';
```
## Task
Generate a SQL query to answer the following question:
`how many formats of books authored by day, martin martin day`

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

CREATE TABLE "the_sarah_jane_adventures" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many formats of books authored by day, martin martin day`:
```sql
                SELECT COUNT("format") FROM "the_sarah_jane_adventures" WHERE "author"='Day, Martin Martin Day';
```
## Task
Generate a SQL query to answer the following question:
`How many players were drafted from laval?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players were drafted from laval?`:
```sql
                SELECT COUNT("cfl_team") FROM "round_five" WHERE "college"='Laval';
```
## Task
Generate a SQL query to answer the following question:
`What player went to montreal college?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player went to montreal college?`:
```sql
                SELECT "player" FROM "round_five" WHERE "college"='Montreal';
```
## Task
Generate a SQL query to answer the following question:
`What player(s) drafted by the hamilton tiger-cats?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player(s) drafted by the hamilton tiger-cats?`:
```sql
                SELECT "player" FROM "round_five" WHERE "cfl_team"='Hamilton Tiger-Cats';
```
## Task
Generate a SQL query to answer the following question:
`What position(s) drafted by the montreal alouettes?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position(s) drafted by the montreal alouettes?`:
```sql
                SELECT "position" FROM "round_five" WHERE "cfl_team"='Montreal Alouettes';
```
## Task
Generate a SQL query to answer the following question:
`which company uses pinborough, sarah sarah pinborough?`

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

CREATE TABLE "torchwood" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `which company uses pinborough, sarah sarah pinborough?`:
```sql
                SELECT "company" FROM "torchwood" WHERE "author"='Pinborough, Sarah Sarah Pinborough';
```
## Task
Generate a SQL query to answer the following question:
`who the reader of title department x?`

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

CREATE TABLE "torchwood" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `who the reader of title department x?`:
```sql
                SELECT "reader" FROM "torchwood" WHERE "title"='Department X';
```
## Task
Generate a SQL query to answer the following question:
`how many notes were read by reader varma, idria indira varma?`

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

CREATE TABLE "torchwood" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many notes were read by reader varma, idria indira varma?`:
```sql
                SELECT COUNT("notes") FROM "torchwood" WHERE "reader"='Varma, Idria Indira Varma';
```
## Task
Generate a SQL query to answer the following question:
`who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? `

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

CREATE TABLE "torchwood" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? `:
```sql
                SELECT "reader" FROM "torchwood" WHERE "format"='Download/CD' AND "author"='Lidster, Joseph Joseph Lidster';
```
## Task
Generate a SQL query to answer the following question:
`Name the landesliga mitte for fc gundelfingen and vfl frohnlach`

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

CREATE TABLE "three_divisions_from_1963_to_2012" (
  "season" text,
  "bayernliga" text,
  "landesliga_s_d" text,
  "landesliga_mitte" text,
  "landesliga_nord" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the landesliga mitte for fc gundelfingen and vfl frohnlach`:
```sql
                SELECT "landesliga_mitte" FROM "three_divisions_from_1963_to_2012" WHERE "landesliga_s_d"='FC Gundelfingen' AND "landesliga_nord"='VfL Frohnlach';
```
## Task
Generate a SQL query to answer the following question:
`Name the landesliga nord for  freier tus regensburg`

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

CREATE TABLE "three_divisions_from_1963_to_2012" (
  "season" text,
  "bayernliga" text,
  "landesliga_s_d" text,
  "landesliga_mitte" text,
  "landesliga_nord" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the landesliga nord for  freier tus regensburg`:
```sql
                SELECT "landesliga_nord" FROM "three_divisions_from_1963_to_2012" WHERE "landesliga_mitte"='Freier TuS Regensburg';
```
## Task
Generate a SQL query to answer the following question:
`Name the landesliga nord for asv neumarkt`

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

CREATE TABLE "three_divisions_from_1963_to_2012" (
  "season" text,
  "bayernliga" text,
  "landesliga_s_d" text,
  "landesliga_mitte" text,
  "landesliga_nord" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the landesliga nord for asv neumarkt`:
```sql
                SELECT "landesliga_nord" FROM "three_divisions_from_1963_to_2012" WHERE "landesliga_mitte"='ASV Neumarkt';
```
## Task
Generate a SQL query to answer the following question:
`Name the landesliga mitte sv türk gücü münchen`

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

CREATE TABLE "three_divisions_from_1963_to_2012" (
  "season" text,
  "bayernliga" text,
  "landesliga_s_d" text,
  "landesliga_mitte" text,
  "landesliga_nord" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the landesliga mitte sv türk gücü münchen`:
```sql
                SELECT "landesliga_mitte" FROM "three_divisions_from_1963_to_2012" WHERE "bayernliga"='SV Türk Gücü München';
```
## Task
Generate a SQL query to answer the following question:
`Name the landesliga sud for sg quelle fürth`

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

CREATE TABLE "three_divisions_from_1963_to_2012" (
  "season" text,
  "bayernliga" text,
  "landesliga_s_d" text,
  "landesliga_mitte" text,
  "landesliga_nord" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the landesliga sud for sg quelle fürth`:
```sql
                SELECT "landesliga_s_d" FROM "three_divisions_from_1963_to_2012" WHERE "bayernliga"='SG Quelle Fürth';
```
## Task
Generate a SQL query to answer the following question:
`What's the oil rig of the song that ended on 7th place?`

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

CREATE TABLE "national_final" (
  "draw" real,
  "artist" text,
  "song" text,
  "regions" real,
  "studio_audience" real,
  "press_jury" real,
  "oil_rig" real,
  "total_points" real,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the oil rig of the song that ended on 7th place?`:
```sql
                SELECT "oil_rig" FROM "national_final" WHERE "place"='7th';
```
## Task
Generate a SQL query to answer the following question:
`What's the oil rig of the song with a draw number 9?`

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

CREATE TABLE "national_final" (
  "draw" real,
  "artist" text,
  "song" text,
  "regions" real,
  "studio_audience" real,
  "press_jury" real,
  "oil_rig" real,
  "total_points" real,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the oil rig of the song with a draw number 9?`:
```sql
                SELECT MIN("oil_rig") FROM "national_final" WHERE "draw"=9;
```
## Task
Generate a SQL query to answer the following question:
`How many points did the song "Stille før stormen" get?`

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

CREATE TABLE "national_final" (
  "draw" real,
  "artist" text,
  "song" text,
  "regions" real,
  "studio_audience" real,
  "press_jury" real,
  "oil_rig" real,
  "total_points" real,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did the song "Stille før stormen" get?`:
```sql
                SELECT MIN("total_points") FROM "national_final" WHERE "song"='\"Stille før stormen\"';
```
## Task
Generate a SQL query to answer the following question:
`How many press jury points did the song by Frank Aleksandersen get?`

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

CREATE TABLE "national_final" (
  "draw" real,
  "artist" text,
  "song" text,
  "regions" real,
  "studio_audience" real,
  "press_jury" real,
  "oil_rig" real,
  "total_points" real,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many press jury points did the song by Frank Aleksandersen get?`:
```sql
                SELECT MIN("press_jury") FROM "national_final" WHERE "artist"='Frank Aleksandersen';
```
## Task
Generate a SQL query to answer the following question:
`How many points did the song with a draw number 3 get?`

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

CREATE TABLE "national_final" (
  "draw" real,
  "artist" text,
  "song" text,
  "regions" real,
  "studio_audience" real,
  "press_jury" real,
  "oil_rig" real,
  "total_points" real,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did the song with a draw number 3 get?`:
```sql
                SELECT "total_points" FROM "national_final" WHERE "draw"=3;
```
## Task
Generate a SQL query to answer the following question:
`If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes?`

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

CREATE TABLE "eleventh_doctor_novels" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes?`:
```sql
                SELECT "notes" FROM "eleventh_doctor_novels" WHERE "reader"='Briggs, Nicholas Nicholas Briggs' AND "title"='Paradox Lost';
```
## Task
Generate a SQL query to answer the following question:
`If the title is The Way Through The Woods, what is the release date?`

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

CREATE TABLE "eleventh_doctor_novels" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the title is The Way Through The Woods, what is the release date?`:
```sql
                SELECT "release_date" FROM "eleventh_doctor_novels" WHERE "title"='The Way Through the Woods';
```
## Task
Generate a SQL query to answer the following question:
`If the reader is Syal, Meera Meera Syal, what was the release date?`

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

CREATE TABLE "eleventh_doctor_novels" (
  "title" text,
  "author" text,
  "reader" text,
  "format" text,
  "company" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the reader is Syal, Meera Meera Syal, what was the release date?`:
```sql
                SELECT "release_date" FROM "eleventh_doctor_novels" WHERE "reader"='Syal, Meera Meera Syal';
```
## Task
Generate a SQL query to answer the following question:
`What is the most divisional titles won by a school with an enrollment of 30049?`

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

CREATE TABLE "current" (
  "institution" text,
  "team_name" text,
  "location_population" text,
  "team_started" real,
  "affiliation" text,
  "enrollment" real,
  "mascot" text,
  "divisional_titles" real,
  "big_12_titles" real,
  "national_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most divisional titles won by a school with an enrollment of 30049?`:
```sql
                SELECT MAX("divisional_titles") FROM "current" WHERE "enrollment"=30049;
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum enrollment of the Sooners?`

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

CREATE TABLE "current" (
  "institution" text,
  "team_name" text,
  "location_population" text,
  "team_started" real,
  "affiliation" text,
  "enrollment" real,
  "mascot" text,
  "divisional_titles" real,
  "big_12_titles" real,
  "national_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum enrollment of the Sooners?`:
```sql
                SELECT MAX("enrollment") FROM "current" WHERE "team_name"='Sooners';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum enrollment of the cyclones?`

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

CREATE TABLE "current" (
  "institution" text,
  "team_name" text,
  "location_population" text,
  "team_started" real,
  "affiliation" text,
  "enrollment" real,
  "mascot" text,
  "divisional_titles" real,
  "big_12_titles" real,
  "national_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum enrollment of the cyclones?`:
```sql
                SELECT MIN("enrollment") FROM "current" WHERE "team_name"='Cyclones';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the book title firelands?`

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

CREATE TABLE "award_list" (
  "year" real,
  "author_s_or_editor_s" text,
  "book_title" text,
  "publisher" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the book title firelands?`:
```sql
                SELECT "result" FROM "award_list" WHERE "book_title"='Firelands';
```
## Task
Generate a SQL query to answer the following question:
`Which year is the book title the ordinary?`

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

CREATE TABLE "award_list" (
  "year" real,
  "author_s_or_editor_s" text,
  "book_title" text,
  "publisher" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year is the book title the ordinary?`:
```sql
                SELECT "year" FROM "award_list" WHERE "book_title"='The Ordinary';
```
## Task
Generate a SQL query to answer the following question:
`Who is the publisher of the book titled daughters of an emerald dusk?`

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

CREATE TABLE "award_list" (
  "year" real,
  "author_s_or_editor_s" text,
  "book_title" text,
  "publisher" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the publisher of the book titled daughters of an emerald dusk?`:
```sql
                SELECT "publisher" FROM "award_list" WHERE "book_title"='Daughters of an Emerald Dusk';
```
## Task
Generate a SQL query to answer the following question:
`In which year were the authors or editors Delia Sherman?`

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

CREATE TABLE "award_list" (
  "year" real,
  "author_s_or_editor_s" text,
  "book_title" text,
  "publisher" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which year were the authors or editors Delia Sherman?`:
```sql
                SELECT MAX("year") FROM "award_list" WHERE "author_s_or_editor_s"='Delia Sherman';
```
## Task
Generate a SQL query to answer the following question:
`How many authors or editors are there for the book title elf child?`

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

CREATE TABLE "award_list" (
  "year" real,
  "author_s_or_editor_s" text,
  "book_title" text,
  "publisher" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many authors or editors are there for the book title elf child?`:
```sql
                SELECT COUNT("author_s_or_editor_s") FROM "award_list" WHERE "book_title"='Elf Child';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the book when the publisher is black car publishing?`

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

CREATE TABLE "award_list" (
  "year" real,
  "author_s_or_editor_s" text,
  "book_title" text,
  "publisher" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the book when the publisher is black car publishing?`:
```sql
                SELECT "book_title" FROM "award_list" WHERE "publisher"='Black Car Publishing';
```
## Task
Generate a SQL query to answer the following question:
`What are the prizes when 1 is the number of winning tickets?`

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

CREATE TABLE "equinox_lottery" (
  "divisions" text,
  "prize_eur" text,
  "odds_of_winning_1in" text,
  "number_of_winning_tickets" real,
  "in_order_to_win" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the prizes when 1 is the number of winning tickets?`:
```sql
                SELECT "prize_eur" FROM "equinox_lottery" WHERE "number_of_winning_tickets"=1;
```
## Task
Generate a SQL query to answer the following question:
`What are the number of winning tickets that have 180.00 as the prize (eur)?`

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

CREATE TABLE "equinox_lottery" (
  "divisions" text,
  "prize_eur" text,
  "odds_of_winning_1in" text,
  "number_of_winning_tickets" real,
  "in_order_to_win" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the number of winning tickets that have 180.00 as the prize (eur)?`:
```sql
                SELECT "number_of_winning_tickets" FROM "equinox_lottery" WHERE "prize_eur"='180.00';
```
## Task
Generate a SQL query to answer the following question:
`How many odd of winning have 6th as the division?`

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

CREATE TABLE "equinox_lottery" (
  "divisions" text,
  "prize_eur" text,
  "odds_of_winning_1in" text,
  "number_of_winning_tickets" real,
  "in_order_to_win" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many odd of winning have 6th as the division?`:
```sql
                SELECT "odds_of_winning_1in" FROM "equinox_lottery" WHERE "divisions"='6th';
```
## Task
Generate a SQL query to answer the following question:
`What is the prize (eur) for the 6th division?`

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

CREATE TABLE "equinox_lottery" (
  "divisions" text,
  "prize_eur" text,
  "odds_of_winning_1in" text,
  "number_of_winning_tickets" real,
  "in_order_to_win" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the prize (eur) for the 6th division?`:
```sql
                SELECT "prize_eur" FROM "equinox_lottery" WHERE "divisions"='6th';
```
## Task
Generate a SQL query to answer the following question:
`Which divisions have 565 as the number of winning tickets?`

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

CREATE TABLE "equinox_lottery" (
  "divisions" text,
  "prize_eur" text,
  "odds_of_winning_1in" text,
  "number_of_winning_tickets" real,
  "in_order_to_win" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which divisions have 565 as the number of winning tickets?`:
```sql
                SELECT "divisions" FROM "equinox_lottery" WHERE "number_of_winning_tickets"=565;
```
## Task
Generate a SQL query to answer the following question:
`Name the green for otaki`

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

CREATE TABLE "references" (
  "electorate" text,
  "labour" text,
  "national" text,
  "new_zealand_first" text,
  "green" text,
  "united_future" text,
  "maori_party" text,
  "act" text,
  "progressive" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the green for otaki`:
```sql
                SELECT "green" FROM "references" WHERE "electorate"='Otaki';
```
## Task
Generate a SQL query to answer the following question:
`Name the national for rimutaka`

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

CREATE TABLE "references" (
  "electorate" text,
  "labour" text,
  "national" text,
  "new_zealand_first" text,
  "green" text,
  "united_future" text,
  "maori_party" text,
  "act" text,
  "progressive" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the national for rimutaka`:
```sql
                SELECT "national" FROM "references" WHERE "electorate"='Rimutaka';
```
## Task
Generate a SQL query to answer the following question:
`Name the electoraate for united future being 4.47%`

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

CREATE TABLE "references" (
  "electorate" text,
  "labour" text,
  "national" text,
  "new_zealand_first" text,
  "green" text,
  "united_future" text,
  "maori_party" text,
  "act" text,
  "progressive" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the electoraate for united future being 4.47%`:
```sql
                SELECT "electorate" FROM "references" WHERE "united_future"='4.47%';
```
## Task
Generate a SQL query to answer the following question:
`How many different popular vote counts were there for the candidate Rick Perry?`

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

CREATE TABLE "table1_20246201_9" (
  "candidate" text,
  "office" text,
  "home_state" text,
  "popular_vote" real,
  "states_first_place" real,
  "states_second_place" real,
  "states_third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different popular vote counts were there for the candidate Rick Perry?`:
```sql
                SELECT COUNT("popular_vote") FROM "table1_20246201_9" WHERE "candidate"='Rick Perry';
```
## Task
Generate a SQL query to answer the following question:
`Which office has 1 New Hampshire as a third place state?`

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

CREATE TABLE "table1_20246201_9" (
  "candidate" text,
  "office" text,
  "home_state" text,
  "popular_vote" real,
  "states_first_place" real,
  "states_second_place" real,
  "states_third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which office has 1 New Hampshire as a third place state?`:
```sql
                SELECT "office" FROM "table1_20246201_9" WHERE "states_third_place"='1 New Hampshire';
```
## Task
Generate a SQL query to answer the following question:
`How many different popular vote counts are there for Rick Perry?`

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

CREATE TABLE "table1_20246201_9" (
  "candidate" text,
  "office" text,
  "home_state" text,
  "popular_vote" real,
  "states_first_place" real,
  "states_second_place" real,
  "states_third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different popular vote counts are there for Rick Perry?`:
```sql
                SELECT COUNT("popular_vote") FROM "table1_20246201_9" WHERE "candidate"='Rick Perry';
```
## Task
Generate a SQL query to answer the following question:
`What office is Jon Huntsman a candidate for?`

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

CREATE TABLE "table1_20246201_9" (
  "candidate" text,
  "office" text,
  "home_state" text,
  "popular_vote" real,
  "states_first_place" real,
  "states_second_place" real,
  "states_third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What office is Jon Huntsman a candidate for?`:
```sql
                SELECT "office" FROM "table1_20246201_9" WHERE "candidate"='Jon Huntsman';
```
## Task
Generate a SQL query to answer the following question:
`How many states-first place are there for the office of Governor?`

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

CREATE TABLE "table1_20246201_9" (
  "candidate" text,
  "office" text,
  "home_state" text,
  "popular_vote" real,
  "states_first_place" real,
  "states_second_place" real,
  "states_third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many states-first place are there for the office of Governor?`:
```sql
                SELECT COUNT("states_first_place") FROM "table1_20246201_9" WHERE "office"='Governor';
```
## Task
Generate a SQL query to answer the following question:
`Name the competition for australia 13, new zealand 40, drawn 3`

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

CREATE TABLE "post_war_1946_1974" (
  "date" text,
  "venue" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "competition" text,
  "winner" text,
  "head_to_head" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the competition for australia 13, new zealand 40, drawn 3`:
```sql
                SELECT "competition" FROM "post_war_1946_1974" WHERE "head_to_head"='Australia 13, New Zealand 40, Drawn 3';
```
## Task
Generate a SQL query to answer the following question:
`Name the explanation by rank is 10`

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

CREATE TABLE "table1_2026548_1" (
  "rank_by_time_in_office" real,
  "order_in_office" real,
  "vice_president" text,
  "length_of_term_in_days" real,
  "explanation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the explanation by rank is 10`:
```sql
                SELECT "explanation" FROM "table1_2026548_1" WHERE "rank_by_time_in_office"=10;
```
## Task
Generate a SQL query to answer the following question:
`Name the order in office for spiro agnew`

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

CREATE TABLE "table1_2026548_1" (
  "rank_by_time_in_office" real,
  "order_in_office" real,
  "vice_president" text,
  "length_of_term_in_days" real,
  "explanation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the order in office for spiro agnew`:
```sql
                SELECT "order_in_office" FROM "table1_2026548_1" WHERE "vice_president"='Spiro Agnew';
```
## Task
Generate a SQL query to answer the following question:
`Name the explanation for alben w. barkley`

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

CREATE TABLE "table1_2026548_1" (
  "rank_by_time_in_office" real,
  "order_in_office" real,
  "vice_president" text,
  "length_of_term_in_days" real,
  "explanation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the explanation for alben w. barkley`:
```sql
                SELECT "explanation" FROM "table1_2026548_1" WHERE "vice_president"='Alben W. Barkley';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of people voted for Obama in Burlington?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obama_pct" text,
  "obama_num" real,
  "mc_cain_pct" text,
  "mc_cain_num" real,
  "others_pct" text,
  "others_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of people voted for Obama in Burlington?`:
```sql
                SELECT "obama_pct" FROM "by_county" WHERE "county"='Burlington';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of voters choise McCain in Burlington?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obama_pct" text,
  "obama_num" real,
  "mc_cain_pct" text,
  "mc_cain_num" real,
  "others_pct" text,
  "others_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of voters choise McCain in Burlington?`:
```sql
                SELECT "mc_cain_pct" FROM "by_county" WHERE "county"='Burlington';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of voters voted for a third party in the county that had 802 third party voters?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obama_pct" text,
  "obama_num" real,
  "mc_cain_pct" text,
  "mc_cain_num" real,
  "others_pct" text,
  "others_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of voters voted for a third party in the county that had 802 third party voters?`:
```sql
                SELECT "others_pct" FROM "by_county" WHERE "others_num"=802;
```
## Task
Generate a SQL query to answer the following question:
`What percentage of voters chose McCain in the county where 1.1% of voters voted third party?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obama_pct" text,
  "obama_num" real,
  "mc_cain_pct" text,
  "mc_cain_num" real,
  "others_pct" text,
  "others_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of voters chose McCain in the county where 1.1% of voters voted third party?`:
```sql
                SELECT "mc_cain_pct" FROM "by_county" WHERE "others_pct"='1.1%';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of voters chose McCain in the county where 2.1% of voters voted third party?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obama_pct" text,
  "obama_num" real,
  "mc_cain_pct" text,
  "mc_cain_num" real,
  "others_pct" text,
  "others_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of voters chose McCain in the county where 2.1% of voters voted third party?`:
```sql
                SELECT "mc_cain_pct" FROM "by_county" WHERE "others_pct"='2.1%';
```
## Task
Generate a SQL query to answer the following question:
`What county had 915 third party voters?`

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

CREATE TABLE "by_county" (
  "county" text,
  "obama_pct" text,
  "obama_num" real,
  "mc_cain_pct" text,
  "mc_cain_num" real,
  "others_pct" text,
  "others_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What county had 915 third party voters?`:
```sql
                SELECT "county" FROM "by_county" WHERE "others_num"=915;
```
## Task
Generate a SQL query to answer the following question:
`Name the ply (uk, nz, au) for fingering `

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

CREATE TABLE "table1_20297668_1" (
  "standard_yarn_weight_system" text,
  "yarn_type_us" text,
  "ply_uk_nz_au" text,
  "m_100g" text,
  "wraps_per_inch_wpi" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the ply (uk, nz, au) for fingering `:
```sql
                SELECT "ply_uk_nz_au" FROM "table1_20297668_1" WHERE "yarn_type_us"='Fingering';
```
## Task
Generate a SQL query to answer the following question:
`Name the wraps per inch for 120-240`

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

CREATE TABLE "table1_20297668_1" (
  "standard_yarn_weight_system" text,
  "yarn_type_us" text,
  "ply_uk_nz_au" text,
  "m_100g" text,
  "wraps_per_inch_wpi" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the wraps per inch for 120-240`:
```sql
                SELECT "wraps_per_inch_wpi" FROM "table1_20297668_1" WHERE "m_100g"='120-240';
```
## Task
Generate a SQL query to answer the following question:
`Name the ply uk, nz, au for wraps per inch 7 wpi`

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

CREATE TABLE "table1_20297668_1" (
  "standard_yarn_weight_system" text,
  "yarn_type_us" text,
  "ply_uk_nz_au" text,
  "m_100g" text,
  "wraps_per_inch_wpi" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the ply uk, nz, au for wraps per inch 7 wpi`:
```sql
                SELECT "ply_uk_nz_au" FROM "table1_20297668_1" WHERE "wraps_per_inch_wpi"='7 wpi';
```