cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the earliest year when the 25th Anniversary Loonie was the theme, and the mintage was less than 35,000?`

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

CREATE TABLE "specimen_set_editions" (
  "year" real,
  "theme" text,
  "artist" text,
  "mintage" real,
  "issue_price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest year when the 25th Anniversary Loonie was the theme, and the mintage was less than 35,000?`:
```sql
                SELECT MIN("year") FROM "specimen_set_editions" WHERE "theme"='25th anniversary loonie' AND "mintage"<'35,000';
```
## Task
Generate a SQL query to answer the following question:
`Who was the artist that had $49.95 as the issue price for the 2010 year?`

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

CREATE TABLE "specimen_set_editions" (
  "year" real,
  "theme" text,
  "artist" text,
  "mintage" real,
  "issue_price" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the artist that had $49.95 as the issue price for the 2010 year?`:
```sql
                SELECT "artist" FROM "specimen_set_editions" WHERE "issue_price"='$49.95' AND "year"=2010;
```
## Task
Generate a SQL query to answer the following question:
`What is the score for the southern home team?`

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

CREATE TABLE "first_round" (
  "time" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for the southern home team?`:
```sql
                SELECT "score" FROM "first_round" WHERE "home_team"='southern';
```
## Task
Generate a SQL query to answer the following question:
`What time is it for the southern home team?`

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

CREATE TABLE "first_round" (
  "time" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time is it for the southern home team?`:
```sql
                SELECT "time" FROM "first_round" WHERE "home_team"='southern';
```
## Task
Generate a SQL query to answer the following question:
`What is the Result of the game on November 24, 1946?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Result of the game on November 24, 1946?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='november 24, 1946';
```
## Task
Generate a SQL query to answer the following question:
`What is the Week number on September 6, 1946?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Week number on September 6, 1946?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "date"='september 6, 1946';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the game with a Record of 5-3?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the game with a Record of 5-3?`:
```sql
                SELECT "date" FROM "schedule" WHERE "record"='5-3';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest ranking rower from Great Britain?`

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

CREATE TABLE "heat_2" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest ranking rower from Great Britain?`:
```sql
                SELECT MIN("rank") FROM "heat_2" WHERE "country"='great britain';
```
## Task
Generate a SQL query to answer the following question:
`What are the notes for the rower in ranks over 2 and having a time of 7:00:46?`

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

CREATE TABLE "heat_2" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the notes for the rower in ranks over 2 and having a time of 7:00:46?`:
```sql
                SELECT "notes" FROM "heat_2" WHERE "rank">2 AND "time"='7:00:46';
```
## Task
Generate a SQL query to answer the following question:
`Which Programming has a Video of audio only?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Programming has a Video of audio only?`:
```sql
                SELECT "programming" FROM "digital_channels" WHERE "video"='audio only';
```
## Task
Generate a SQL query to answer the following question:
`Which Video has a Channel of 25.3?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Video has a Channel of 25.3?`:
```sql
                SELECT "video" FROM "digital_channels" WHERE "channel"=25.3;
```
## Task
Generate a SQL query to answer the following question:
`Which Video has an Aspect of 16:9?`

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

CREATE TABLE "digital_channels" (
  "channel" real,
  "video" text,
  "aspect" text,
  "psip_short_name" text,
  "programming" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Video has an Aspect of 16:9?`:
```sql
                SELECT "video" FROM "digital_channels" WHERE "aspect"='16:9';
```
## Task
Generate a SQL query to answer the following question:
`What is the Original Air date of the episode "Touch and Go"?`

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

CREATE TABLE "episodes" (
  "no_in_series" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Original Air date of the episode "Touch and Go"?`:
```sql
                SELECT "original_air_date" FROM "episodes" WHERE "title"='\"touch and go\"';
```
## Task
Generate a SQL query to answer the following question:
`On which date did Michael Signer earn 4%?`

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

CREATE TABLE "democratic_primary" (
  "source" text,
  "date" text,
  "jody_wagner" text,
  "pat_edmonson" text,
  "michael_signer" text,
  "rich_savage" text,
  "jon_bowerbank" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which date did Michael Signer earn 4%?`:
```sql
                SELECT "date" FROM "democratic_primary" WHERE "michael_signer"='4%';
```
## Task
Generate a SQL query to answer the following question:
`Which polling source gave Michael Signer 5%?`

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

CREATE TABLE "democratic_primary" (
  "source" text,
  "date" text,
  "jody_wagner" text,
  "pat_edmonson" text,
  "michael_signer" text,
  "rich_savage" text,
  "jon_bowerbank" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which polling source gave Michael Signer 5%?`:
```sql
                SELECT "source" FROM "democratic_primary" WHERE "michael_signer"='5%';
```
## Task
Generate a SQL query to answer the following question:
`Which date had the undecided percentage at 42%?`

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

CREATE TABLE "democratic_primary" (
  "source" text,
  "date" text,
  "jody_wagner" text,
  "pat_edmonson" text,
  "michael_signer" text,
  "rich_savage" text,
  "jon_bowerbank" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date had the undecided percentage at 42%?`:
```sql
                SELECT "date" FROM "democratic_primary" WHERE "undecided"='42%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Rich Savage percentage in the poll with Jody Wagner at 30%?`

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

CREATE TABLE "democratic_primary" (
  "source" text,
  "date" text,
  "jody_wagner" text,
  "pat_edmonson" text,
  "michael_signer" text,
  "rich_savage" text,
  "jon_bowerbank" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Rich Savage percentage in the poll with Jody Wagner at 30%?`:
```sql
                SELECT "rich_savage" FROM "democratic_primary" WHERE "jody_wagner"='30%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Rich Savage percentage in the poll that had undecideds at 68%?`

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

CREATE TABLE "democratic_primary" (
  "source" text,
  "date" text,
  "jody_wagner" text,
  "pat_edmonson" text,
  "michael_signer" text,
  "rich_savage" text,
  "jon_bowerbank" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Rich Savage percentage in the poll that had undecideds at 68%?`:
```sql
                SELECT "rich_savage" FROM "democratic_primary" WHERE "undecided"='68%';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the record was 31-24?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the record was 31-24?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='31-24';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of Game 48?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of Game 48?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"='48';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game at Madison Square Garden?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent at the game at Madison Square Garden?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "location_attendance"='madison square garden';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game at Great Western Forum?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game at Great Western Forum?`:
```sql
                SELECT "score" FROM "game_log" WHERE "location_attendance"='great western forum';
```
## Task
Generate a SQL query to answer the following question:
`Which Romaji Title has a Japanese Title of 花より男子2（リターンズ）?`

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

CREATE TABLE "2007_winter_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Romaji Title has a Japanese Title of 花より男子2（リターンズ）?`:
```sql
                SELECT "romaji_title" FROM "2007_winter_season" WHERE "japanese_title"='花より男子2（リターンズ）';
```
## Task
Generate a SQL query to answer the following question:
`Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?`

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

CREATE TABLE "2007_winter_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?`:
```sql
                SELECT "romaji_title" FROM "2007_winter_season" WHERE "tv_station"='fuji tv' AND "average_ratings"='12.41%';
```
## Task
Generate a SQL query to answer the following question:
`Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama?`

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

CREATE TABLE "2007_winter_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama?`:
```sql
                SELECT "japanese_title" FROM "2007_winter_season" WHERE "episodes">9 AND "romaji_title"='haikei, chichiue-sama';
```
## Task
Generate a SQL query to answer the following question:
`Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%?`

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

CREATE TABLE "2007_winter_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%?`:
```sql
                SELECT "romaji_title" FROM "2007_winter_season" WHERE "episodes"=11 AND "tv_station"='fuji tv' AND "average_ratings"='14.9%';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of nomination for Season 6 after 1995?`

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

CREATE TABLE "artios_awards" (
  "year" real,
  "category" text,
  "nominee_s" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of nomination for Season 6 after 1995?`:
```sql
                SELECT "result" FROM "artios_awards" WHERE "year">1995 AND "episode"='season 6';
```
## Task
Generate a SQL query to answer the following question:
`What was the category of the award that John Frank Levey was nominated for after 1995?`

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

CREATE TABLE "artios_awards" (
  "year" real,
  "category" text,
  "nominee_s" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the category of the award that John Frank Levey was nominated for after 1995?`:
```sql
                SELECT "category" FROM "artios_awards" WHERE "nominee_s"='john frank levey' AND "year">1995;
```
## Task
Generate a SQL query to answer the following question:
`What is the English Translation for the French song by the Artist Rachel?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "song" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English Translation for the French song by the Artist Rachel?`:
```sql
                SELECT "english_translation" FROM "results" WHERE "language"='french' AND "artist"='rachel';
```
## Task
Generate a SQL query to answer the following question:
`What is the Song by Artist Robert Cogoi?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "song" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Song by Artist Robert Cogoi?`:
```sql
                SELECT "song" FROM "results" WHERE "artist"='robert cogoi';
```
## Task
Generate a SQL query to answer the following question:
`How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "song" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7?`:
```sql
                SELECT "points" FROM "results" WHERE "draw">7 AND "artist"='sabahudin kurt';
```
## Task
Generate a SQL query to answer the following question:
`How much Converted has a Number of 35, and a Withdrawn smaller than 1952?`

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

CREATE TABLE "great_eastern_section" (
  "number" text,
  "previous_number_s" real,
  "previous_class" text,
  "converted" real,
  "withdrawn" real,
  "disposal" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much Converted has a Number of 35, and a Withdrawn smaller than 1952?`:
```sql
                SELECT COUNT("converted") FROM "great_eastern_section" WHERE "number"='35' AND "withdrawn"<1952;
```
## Task
Generate a SQL query to answer the following question:
`How much Withdrawn has a Number of 42, and a Previous Number(s) larger than 68178?`

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

CREATE TABLE "great_eastern_section" (
  "number" text,
  "previous_number_s" real,
  "previous_class" text,
  "converted" real,
  "withdrawn" real,
  "disposal" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much Withdrawn has a Number of 42, and a Previous Number(s) larger than 68178?`:
```sql
                SELECT SUM("withdrawn") FROM "great_eastern_section" WHERE "number"='42' AND "previous_number_s">68178;
```
## Task
Generate a SQL query to answer the following question:
`Which Withdrawn has a Previous Class of j69, and a Previous Number(s) smaller than 68532, and a Converted larger than 1959?`

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

CREATE TABLE "great_eastern_section" (
  "number" text,
  "previous_number_s" real,
  "previous_class" text,
  "converted" real,
  "withdrawn" real,
  "disposal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Withdrawn has a Previous Class of j69, and a Previous Number(s) smaller than 68532, and a Converted larger than 1959?`:
```sql
                SELECT MAX("withdrawn") FROM "great_eastern_section" WHERE "previous_class"='j69' AND "previous_number_s"<68532 AND "converted">1959;
```
## Task
Generate a SQL query to answer the following question:
`What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95?`:
```sql
                SELECT AVG("latitude") FROM "r" WHERE "water_sqmi"<2.106 AND "county"='dickey' AND "pop_2010"<95;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water?`:
```sql
                SELECT MAX("geo_id") FROM "r" WHERE "land_sqmi">38.117 AND "water_sqmi">2.065;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257?`:
```sql
                SELECT COUNT("geo_id") FROM "r" WHERE "water_sqmi">0.587 AND "township"='riggin' AND "ansi_code">1759257;
```
## Task
Generate a SQL query to answer the following question:
`What's the class when the identifier is cbf-fm-14?`

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

CREATE TABLE "s_rebroadcaster_of_cbf_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the class when the identifier is cbf-fm-14?`:
```sql
                SELECT "class" FROM "s_rebroadcaster_of_cbf_fm" WHERE "identifier"='cbf-fm-14';
```
## Task
Generate a SQL query to answer the following question:
`What's the frequency when the identifier is cbf-fm-9?`

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

CREATE TABLE "s_rebroadcaster_of_cbf_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the frequency when the identifier is cbf-fm-9?`:
```sql
                SELECT "frequency" FROM "s_rebroadcaster_of_cbf_fm" WHERE "identifier"='cbf-fm-9';
```
## Task
Generate a SQL query to answer the following question:
`What's the RECNet when the identifier is cbf-fm-20?`

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

CREATE TABLE "s_rebroadcaster_of_cbf_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the RECNet when the identifier is cbf-fm-20?`:
```sql
                SELECT "rec_net" FROM "s_rebroadcaster_of_cbf_fm" WHERE "identifier"='cbf-fm-20';
```
## Task
Generate a SQL query to answer the following question:
`What's the RECNet when the power is 199 watts?`

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

CREATE TABLE "s_rebroadcaster_of_cbf_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the RECNet when the power is 199 watts?`:
```sql
                SELECT "rec_net" FROM "s_rebroadcaster_of_cbf_fm" WHERE "power"='199 watts';
```
## Task
Generate a SQL query to answer the following question:
`What's the frequency when the identifier is cbf-fm-14 having a class of A?`

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

CREATE TABLE "s_rebroadcaster_of_cbf_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the frequency when the identifier is cbf-fm-14 having a class of A?`:
```sql
                SELECT "frequency" FROM "s_rebroadcaster_of_cbf_fm" WHERE "class"='a' AND "identifier"='cbf-fm-14';
```
## Task
Generate a SQL query to answer the following question:
`What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham?`

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

CREATE TABLE "digital_television" (
  "transmitter" text,
  "bbca" real,
  "bbcb" text,
  "d3_4" text,
  "arqa" text,
  "arqb" text,
  "pol" text,
  "a_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham?`:
```sql
                SELECT "a_g" FROM "digital_television" WHERE "d3_4"='46' AND "transmitter"='seaham';
```
## Task
Generate a SQL query to answer the following question:
`What is the AG value associated with a D3&4 of 41?`

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

CREATE TABLE "digital_television" (
  "transmitter" text,
  "bbca" real,
  "bbcb" text,
  "d3_4" text,
  "arqa" text,
  "arqb" text,
  "pol" text,
  "a_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the AG value associated with a D3&4 of 41?`:
```sql
                SELECT "a_g" FROM "digital_television" WHERE "d3_4"='41';
```
## Task
Generate a SQL query to answer the following question:
`What was the billboard hot 100 with an album bust a nut, and the title of "need your lovin' (re-release)"?`

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

CREATE TABLE "singles" (
  "year" real,
  "title" text,
  "billboard_hot_100" text,
  "uk_singles_chart" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the billboard hot 100 with an album bust a nut, and the title of "need your lovin' (re-release)"?`:
```sql
                SELECT "billboard_hot_100" FROM "singles" WHERE "album"='bust a nut' AND "title"='\"need your lovin'' (re-release)\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the UK singles chart for the album psychotic supper, in the year 1992, with a title of "song & emotion"?`

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

CREATE TABLE "singles" (
  "year" real,
  "title" text,
  "billboard_hot_100" text,
  "uk_singles_chart" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the UK singles chart for the album psychotic supper, in the year 1992, with a title of "song & emotion"?`:
```sql
                SELECT "uk_singles_chart" FROM "singles" WHERE "album"='psychotic supper' AND "year"=1992 AND "title"='\"song & emotion\"';
```
## Task
Generate a SQL query to answer the following question:
`which Label is in 15 december 1992?`

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

CREATE TABLE "guest_appearances" (
  "artist" text,
  "album" text,
  "track_s" text,
  "date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `which Label is in 15 december 1992?`:
```sql
                SELECT "label" FROM "guest_appearances" WHERE "date"='15 december 1992';
```
## Task
Generate a SQL query to answer the following question:
`Which Album has an Artist of various artists (compilation), and a Label of laface?`

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

CREATE TABLE "guest_appearances" (
  "artist" text,
  "album" text,
  "track_s" text,
  "date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Album has an Artist of various artists (compilation), and a Label of laface?`:
```sql
                SELECT "album" FROM "guest_appearances" WHERE "artist"='various artists (compilation)' AND "label"='laface';
```
## Task
Generate a SQL query to answer the following question:
`When has an Album of l'un n'empêche pas l'autre?`

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

CREATE TABLE "guest_appearances" (
  "artist" text,
  "album" text,
  "track_s" text,
  "date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has an Album of l'un n'empêche pas l'autre?`:
```sql
                SELECT "date" FROM "guest_appearances" WHERE "album"='l''un n''empêche pas l''autre';
```
## Task
Generate a SQL query to answer the following question:
`Which Track(s) is on 18 november 1985?`

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

CREATE TABLE "guest_appearances" (
  "artist" text,
  "album" text,
  "track_s" text,
  "date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Track(s) is on 18 november 1985?`:
```sql
                SELECT "track_s" FROM "guest_appearances" WHERE "date"='18 november 1985';
```
## Task
Generate a SQL query to answer the following question:
`Which Artist has a Track(s) of " evilmainya "?`

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

CREATE TABLE "guest_appearances" (
  "artist" text,
  "album" text,
  "track_s" text,
  "date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Artist has a Track(s) of " evilmainya "?`:
```sql
                SELECT "artist" FROM "guest_appearances" WHERE "track_s"='\" evilmainya \"';
```
## Task
Generate a SQL query to answer the following question:
`Which Label that has an Album of so red the rose?`

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

CREATE TABLE "guest_appearances" (
  "artist" text,
  "album" text,
  "track_s" text,
  "date" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Label that has an Album of so red the rose?`:
```sql
                SELECT "label" FROM "guest_appearances" WHERE "album"='so red the rose';
```
## Task
Generate a SQL query to answer the following question:
`What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1?`

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

CREATE TABLE "semifinal_2" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1?`:
```sql
                SELECT MIN("lane") FROM "semifinal_2" WHERE "name"='natalie coughlin' AND "rank">1;
```
## Task
Generate a SQL query to answer the following question:
`Who is the Athlete with a rowing Time of 6:36.05?`

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

CREATE TABLE "semifinal_a_b_1" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Athlete with a rowing Time of 6:36.05?`:
```sql
                SELECT "athlete" FROM "semifinal_a_b_1" WHERE "time"='6:36.05';
```
## Task
Generate a SQL query to answer the following question:
`What song was made by the sex pistols?`

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

CREATE TABLE "main_setlist" (
  "year" real,
  "song" text,
  "artist" text,
  "genre" text,
  "band_tour_venue" text,
  "exportable" text
);
### SQL
Given the database schema, here is the SQL query that answers `What song was made by the sex pistols?`:
```sql
                SELECT "song" FROM "main_setlist" WHERE "artist"='sex pistols';
```
## Task
Generate a SQL query to answer the following question:
`What song has the band tour vnue of 6. tool (usa) encore?`

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

CREATE TABLE "main_setlist" (
  "year" real,
  "song" text,
  "artist" text,
  "genre" text,
  "band_tour_venue" text,
  "exportable" text
);
### SQL
Given the database schema, here is the SQL query that answers `What song has the band tour vnue of 6. tool (usa) encore?`:
```sql
                SELECT "song" FROM "main_setlist" WHERE "band_tour_venue"='6. tool (usa) encore';
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the A score was less than 6.6, and the B score was 8.925?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when the A score was less than 6.6, and the B score was 8.925?`:
```sql
                SELECT "total" FROM "qualified_competitors" WHERE "a_score"<6.6 AND "b_score"=8.925;
```
## Task
Generate a SQL query to answer the following question:
`What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6?`:
```sql
                SELECT AVG("total") FROM "qualified_competitors" WHERE "position"<4 AND "b_score">9.125 AND "a_score"<6.6;
```
## Task
Generate a SQL query to answer the following question:
`What is the score when watford was the away team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when watford was the away team?`:
```sql
                SELECT "score" FROM "second_round_proper" WHERE "away_team"='watford';
```
## Task
Generate a SQL query to answer the following question:
`What is the score when york city was the home team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when york city was the home team?`:
```sql
                SELECT "score" FROM "second_round_proper" WHERE "home_team"='york city';
```
## Task
Generate a SQL query to answer the following question:
`What score has a game greater than 29, with 24-6 as the record?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What score has a game greater than 29, with 24-6 as the record?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "game">29 AND "record"='24-6';
```
## Task
Generate a SQL query to answer the following question:
`What record has @ detroit as the opponent?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record has @ detroit as the opponent?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "opponent"='@ detroit';
```
## Task
Generate a SQL query to answer the following question:
`What high assists have McWilliams-franklin (22) as the high points?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What high assists have McWilliams-franklin (22) as the high points?`:
```sql
                SELECT "high_assists" FROM "regular_season" WHERE "high_points"='mcwilliams-franklin (22)';
```
## Task
Generate a SQL query to answer the following question:
`What high assists have uic pavilion 3,520 as the location/attendance?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What high assists have uic pavilion 3,520 as the location/attendance?`:
```sql
                SELECT "high_assists" FROM "regular_season" WHERE "location_attendance"='uic pavilion 3,520';
```
## Task
Generate a SQL query to answer the following question:
`What game has jones (10) as the high rebounds?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game has jones (10) as the high rebounds?`:
```sql
                SELECT "game" FROM "regular_season" WHERE "high_rebounds"='jones (10)';
```
## Task
Generate a SQL query to answer the following question:
`How many cores does the processor with a release price of $426 have?`

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

CREATE TABLE "ivy_bridge_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many cores does the processor with a release price of $426 have?`:
```sql
                SELECT "cores" FROM "ivy_bridge_quad_core_22_nm" WHERE "release_price_usd"='$426';
```
## Task
Generate a SQL query to answer the following question:
`What was the frequency of the Core i7-3610QE?`

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

CREATE TABLE "ivy_bridge_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the frequency of the Core i7-3610QE?`:
```sql
                SELECT "frequency" FROM "ivy_bridge_quad_core_22_nm" WHERE "model_number"='core i7-3610qe';
```
## Task
Generate a SQL query to answer the following question:
`How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?`

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

CREATE TABLE "ivy_bridge_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?`:
```sql
                SELECT "cores" FROM "ivy_bridge_quad_core_22_nm" WHERE "release_date"='april 2012' AND "release_price_usd"='$393' AND "part_number_s"='av8063801117503';
```
## Task
Generate a SQL query to answer the following question:
`What is Japan's Area km²?`

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

CREATE TABLE "most_densely_populated_islands_over_1_00" (
  "island" text,
  "country" text,
  "population" text,
  "area_km" text,
  "density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Japan's Area km²?`:
```sql
                SELECT "area_km" FROM "most_densely_populated_islands_over_1_00" WHERE "country"='japan';
```
## Task
Generate a SQL query to answer the following question:
`Which island has a density (per km²) of 1,368?`

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

CREATE TABLE "most_densely_populated_islands_over_1_00" (
  "island" text,
  "country" text,
  "population" text,
  "area_km" text,
  "density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which island has a density (per km²) of 1,368?`:
```sql
                SELECT "island" FROM "most_densely_populated_islands_over_1_00" WHERE "density_per_km"='1,368';
```
## Task
Generate a SQL query to answer the following question:
`Which country has a density (per km²) of 6,814?`

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

CREATE TABLE "most_densely_populated_islands_over_1_00" (
  "island" text,
  "country" text,
  "population" text,
  "area_km" text,
  "density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a density (per km²) of 6,814?`:
```sql
                SELECT "country" FROM "most_densely_populated_islands_over_1_00" WHERE "density_per_km"='6,814';
```
## Task
Generate a SQL query to answer the following question:
`Which island has a population of 9,520 (2000)?`

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

CREATE TABLE "most_densely_populated_islands_over_1_00" (
  "island" text,
  "country" text,
  "population" text,
  "area_km" text,
  "density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which island has a population of 9,520 (2000)?`:
```sql
                SELECT "island" FROM "most_densely_populated_islands_over_1_00" WHERE "population"='9,520 (2000)';
```
## Task
Generate a SQL query to answer the following question:
`What is the area km² for a population of 99,685 (2008)?`

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

CREATE TABLE "most_densely_populated_islands_over_1_00" (
  "island" text,
  "country" text,
  "population" text,
  "area_km" text,
  "density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the area km² for a population of 99,685 (2008)?`:
```sql
                SELECT "area_km" FROM "most_densely_populated_islands_over_1_00" WHERE "population"='99,685 (2008)';
```
## Task
Generate a SQL query to answer the following question:
`Which island is in the United Kingdom?`

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

CREATE TABLE "most_densely_populated_islands_over_1_00" (
  "island" text,
  "country" text,
  "population" text,
  "area_km" text,
  "density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which island is in the United Kingdom?`:
```sql
                SELECT "island" FROM "most_densely_populated_islands_over_1_00" WHERE "country"='united kingdom';
```
## Task
Generate a SQL query to answer the following question:
`Who is the pitcher from the 1983 season in location Kingdome?`

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

CREATE TABLE "pitchers" (
  "season" text,
  "pitcher" text,
  "decision" text,
  "opponent" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the pitcher from the 1983 season in location Kingdome?`:
```sql
                SELECT "pitcher" FROM "pitchers" WHERE "location"='kingdome' AND "season"='1983';
```
## Task
Generate a SQL query to answer the following question:
`Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent?`

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

CREATE TABLE "pitchers" (
  "season" text,
  "pitcher" text,
  "decision" text,
  "opponent" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent?`:
```sql
                SELECT "pitcher" FROM "pitchers" WHERE "opponent"='cleveland indians' AND "season"='1994';
```
## Task
Generate a SQL query to answer the following question:
`Who is the opponent for the 2011 season with a decision of W?`

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

CREATE TABLE "pitchers" (
  "season" text,
  "pitcher" text,
  "decision" text,
  "opponent" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the opponent for the 2011 season with a decision of W?`:
```sql
                SELECT "opponent" FROM "pitchers" WHERE "decision"='w' AND "season"='2011';
```