cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Tell me the region for frank erwin center`

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

CREATE TABLE "round_1_venues" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the region for frank erwin center`:
```sql
                SELECT "region" FROM "round_1_venues" WHERE "venue"='frank erwin center';
```
## Task
Generate a SQL query to answer the following question:
`In 1971 at MCG, what was the score of the VFL Reserves?`

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

CREATE TABLE "reserves_team" (
  "year" text,
  "competition" text,
  "opponent" text,
  "score" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1971 at MCG, what was the score of the VFL Reserves?`:
```sql
                SELECT "score" FROM "reserves_team" WHERE "competition"='vfl reserves' AND "venue"='mcg' AND "year"='1971';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when Richmond was the opponent?`

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

CREATE TABLE "reserves_team" (
  "year" text,
  "competition" text,
  "opponent" text,
  "score" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when Richmond was the opponent?`:
```sql
                SELECT "score" FROM "reserves_team" WHERE "opponent"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`Where was the match with a score of 18.6 (114) - 21.14 (140)?`

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

CREATE TABLE "reserves_team" (
  "year" text,
  "competition" text,
  "opponent" text,
  "score" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the match with a score of 18.6 (114) - 21.14 (140)?`:
```sql
                SELECT "venue" FROM "reserves_team" WHERE "score"='18.6 (114) - 21.14 (140)';
```
## Task
Generate a SQL query to answer the following question:
`At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)?`

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

CREATE TABLE "reserves_team" (
  "year" text,
  "competition" text,
  "opponent" text,
  "score" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)?`:
```sql
                SELECT "opponent" FROM "reserves_team" WHERE "competition"='vfl reserves' AND "score"='18.6 (114) - 21.14 (140)';
```
## Task
Generate a SQL query to answer the following question:
`Where was the match with a score of 4.10 (34) - 8.12 (60)?`

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

CREATE TABLE "reserves_team" (
  "year" text,
  "competition" text,
  "opponent" text,
  "score" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the match with a score of 4.10 (34) - 8.12 (60)?`:
```sql
                SELECT "venue" FROM "reserves_team" WHERE "score"='4.10 (34) - 8.12 (60)';
```
## Task
Generate a SQL query to answer the following question:
`How much is the total BBC 2 viewing in 1999?`

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

CREATE TABLE "tv_ratings" (
  "year" text,
  "broadcast_date" text,
  "bbc_one_total_viewing" text,
  "bbc_one_rank" text,
  "bbc_two_total_viewing" text,
  "bbc_two_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much is the total BBC 2 viewing in 1999?`:
```sql
                SELECT "bbc_two_total_viewing" FROM "tv_ratings" WHERE "year"='1999';
```
## Task
Generate a SQL query to answer the following question:
`What was the rank of BBC 2 in 2005?`

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

CREATE TABLE "tv_ratings" (
  "year" text,
  "broadcast_date" text,
  "bbc_one_total_viewing" text,
  "bbc_one_rank" text,
  "bbc_two_total_viewing" text,
  "bbc_two_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rank of BBC 2 in 2005?`:
```sql
                SELECT "bbc_two_rank" FROM "tv_ratings" WHERE "year"='2005';
```
## Task
Generate a SQL query to answer the following question:
`What is the BBC 2 rank when BBC 1 is 1st rank and the total viewing is 9,840,000?`

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

CREATE TABLE "tv_ratings" (
  "year" text,
  "broadcast_date" text,
  "bbc_one_total_viewing" text,
  "bbc_one_rank" text,
  "bbc_two_total_viewing" text,
  "bbc_two_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the BBC 2 rank when BBC 1 is 1st rank and the total viewing is 9,840,000?`:
```sql
                SELECT "bbc_two_rank" FROM "tv_ratings" WHERE "bbc_one_rank"='1st' AND "bbc_one_total_viewing"='9,840,000';
```
## Task
Generate a SQL query to answer the following question:
`In what year was BBC 2 13th in rank?`

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

CREATE TABLE "tv_ratings" (
  "year" text,
  "broadcast_date" text,
  "bbc_one_total_viewing" text,
  "bbc_one_rank" text,
  "bbc_two_total_viewing" text,
  "bbc_two_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was BBC 2 13th in rank?`:
```sql
                SELECT "year" FROM "tv_ratings" WHERE "bbc_two_rank"='13th';
```
## Task
Generate a SQL query to answer the following question:
`How many goals occurred for Stein Huysegems when the caps value is more than 8?`

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

CREATE TABLE "players" (
  "player" text,
  "country" text,
  "caps" real,
  "goals" text,
  "years_active" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals occurred for Stein Huysegems when the caps value is more than 8?`:
```sql
                SELECT "goals" FROM "players" WHERE "caps">8 AND "player"='stein huysegems';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest caps value for Glen Moss?`

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

CREATE TABLE "players" (
  "player" text,
  "country" text,
  "caps" real,
  "goals" text,
  "years_active" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest caps value for Glen Moss?`:
```sql
                SELECT MAX("caps") FROM "players" WHERE "player"='glen moss';
```
## Task
Generate a SQL query to answer the following question:
`What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?`

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

CREATE TABLE "recordings" (
  "cellist" text,
  "orchestra" text,
  "conductor" text,
  "record_company" text,
  "year_of_recording" real,
  "format" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?`:
```sql
                SELECT MIN("year_of_recording") FROM "recordings" WHERE "orchestra"='royal philharmonic orchestra' AND "record_company"='decca records';
```
## Task
Generate a SQL query to answer the following question:
`What format was conductor Erich Leinsdorf's album released on?`

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

CREATE TABLE "recordings" (
  "cellist" text,
  "orchestra" text,
  "conductor" text,
  "record_company" text,
  "year_of_recording" real,
  "format" text
);
### SQL
Given the database schema, here is the SQL query that answers `What format was conductor Erich Leinsdorf's album released on?`:
```sql
                SELECT "format" FROM "recordings" WHERE "conductor"='erich leinsdorf';
```
## Task
Generate a SQL query to answer the following question:
`What record company released a CD in 1964?`

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

CREATE TABLE "recordings" (
  "cellist" text,
  "orchestra" text,
  "conductor" text,
  "record_company" text,
  "year_of_recording" real,
  "format" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record company released a CD in 1964?`:
```sql
                SELECT "record_company" FROM "recordings" WHERE "year_of_recording"=1964 AND "format"='cd';
```
## Task
Generate a SQL query to answer the following question:
`What division has finalist playoffs and was 3rd round Open Cup?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text,
  "avg_attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What division has finalist playoffs and was 3rd round Open Cup?`:
```sql
                SELECT "division" FROM "year_by_year" WHERE "playoffs"='finalist' AND "open_cup"='3rd round';
```
## Task
Generate a SQL query to answer the following question:
`What year was the team 8th in the season and made it to the 3rd round in Open Cup?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text,
  "avg_attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the team 8th in the season and made it to the 3rd round in Open Cup?`:
```sql
                SELECT "year" FROM "year_by_year" WHERE "reg_season"='8th' AND "open_cup"='3rd round';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the launch date/time for payload of gsat-4`

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

CREATE TABLE "launch_history" (
  "flight" text,
  "launch_date_time_utc" text,
  "variant" text,
  "launch_pad" text,
  "payload" text,
  "payload_mass" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the launch date/time for payload of gsat-4`:
```sql
                SELECT "launch_date_time_utc" FROM "launch_history" WHERE "payload"='gsat-4';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the launch pad for 25 december 2010 10:34`

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

CREATE TABLE "launch_history" (
  "flight" text,
  "launch_date_time_utc" text,
  "variant" text,
  "launch_pad" text,
  "payload" text,
  "payload_mass" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the launch pad for 25 december 2010 10:34`:
```sql
                SELECT "launch_pad" FROM "launch_history" WHERE "launch_date_time_utc"='25 december 2010 10:34';
```
## Task
Generate a SQL query to answer the following question:
`Who had a rank more than 48, and a last in 2005?`

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

CREATE TABLE "women" (
  "rank" real,
  "name" text,
  "confederation" text,
  "caps" real,
  "last" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who had a rank more than 48, and a last in 2005?`:
```sql
                SELECT "name" FROM "women" WHERE "rank">48 AND "last"=2005;
```
## Task
Generate a SQL query to answer the following question:
`Which UEFA confederation member had a rank more than 17 and caps of 114?`

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

CREATE TABLE "women" (
  "rank" real,
  "name" text,
  "confederation" text,
  "caps" real,
  "last" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which UEFA confederation member had a rank more than 17 and caps of 114?`:
```sql
                SELECT "name" FROM "women" WHERE "rank">17 AND "confederation"='uefa' AND "caps"=114;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the result of july 16, 2000`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the result of july 16, 2000`:
```sql
                SELECT "result" FROM "international_goals" WHERE "date"='july 16, 2000';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum cap number where 0 goals were scored with a rank of 15?`

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

CREATE TABLE "most_caps_for_estonia" (
  "rank" real,
  "player" text,
  "career" text,
  "caps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum cap number where 0 goals were scored with a rank of 15?`:
```sql
                SELECT MAX("caps") FROM "most_caps_for_estonia" WHERE "goals"=0 AND "rank"=15;
```
## Task
Generate a SQL query to answer the following question:
`What were the fewest amount of guns possessed by a frigate that served in 1815?`

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

CREATE TABLE "ships_served_in_by_adam_bolitho" (
  "ship" text,
  "guns" real,
  "class" text,
  "captain" text,
  "rank" text,
  "year" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the fewest amount of guns possessed by a frigate that served in 1815?`:
```sql
                SELECT MIN("guns") FROM "ships_served_in_by_adam_bolitho" WHERE "class"='frigate' AND "year"='1815';
```
## Task
Generate a SQL query to answer the following question:
`Of the games that sold 321,000 units in the UK, what is their average place?`

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

CREATE TABLE "other" (
  "place" real,
  "title" text,
  "units_sold_in_japan" text,
  "units_sold_in_the_uk" text,
  "units_sold_in_the_us" text,
  "total_units_sold" real
);
### SQL
Given the database schema, here is the SQL query that answers `Of the games that sold 321,000 units in the UK, what is their average place?`:
```sql
                SELECT AVG("place") FROM "other" WHERE "units_sold_in_the_uk"='321,000';
```
## Task
Generate a SQL query to answer the following question:
`How many units were sold in the US of the game that sold 346,000 units in japan?`

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

CREATE TABLE "other" (
  "place" real,
  "title" text,
  "units_sold_in_japan" text,
  "units_sold_in_the_uk" text,
  "units_sold_in_the_us" text,
  "total_units_sold" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many units were sold in the US of the game that sold 346,000 units in japan?`:
```sql
                SELECT "units_sold_in_the_us" FROM "other" WHERE "units_sold_in_japan"='346,000';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the player from dallas burn`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the player from dallas burn`:
```sql
                SELECT "player" FROM "round_four" WHERE "mls_team"='dallas burn';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the sum of pick number for kenny arena`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the sum of pick number for kenny arena`:
```sql
                SELECT SUM("pick_num") FROM "round_four" WHERE "player"='kenny arena';
```
## Task
Generate a SQL query to answer the following question:
`What city is the Northeast Louisiana University located in?`

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

CREATE TABLE "first_round" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city is the Northeast Louisiana University located in?`:
```sql
                SELECT "city" FROM "first_round" WHERE "host"='northeast louisiana university';
```
## Task
Generate a SQL query to answer the following question:
`What region is the city of Philadelphia located in?`

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

CREATE TABLE "first_round" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What region is the city of Philadelphia located in?`:
```sql
                SELECT "region" FROM "first_round" WHERE "city"='philadelphia';
```
## Task
Generate a SQL query to answer the following question:
`What venue is in Long Beach?`

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

CREATE TABLE "first_round" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue is in Long Beach?`:
```sql
                SELECT "venue" FROM "first_round" WHERE "city"='long beach';
```
## Task
Generate a SQL query to answer the following question:
`What state is Knoxville and the mideast region located in?`

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

CREATE TABLE "first_round" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state is Knoxville and the mideast region located in?`:
```sql
                SELECT "state" FROM "first_round" WHERE "region"='mideast' AND "city"='knoxville';
```
## Task
Generate a SQL query to answer the following question:
`What is the host in Georgia?`

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

CREATE TABLE "first_round" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the host in Georgia?`:
```sql
                SELECT "host" FROM "first_round" WHERE "state"='georgia';
```
## Task
Generate a SQL query to answer the following question:
`What state is the University of Tennessee located in?`

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

CREATE TABLE "first_round" (
  "region" text,
  "host" text,
  "venue" text,
  "city" text,
  "state" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state is the University of Tennessee located in?`:
```sql
                SELECT "state" FROM "first_round" WHERE "host"='university of tennessee';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date that has a week larger than 3 and a result of w 28-27`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date that has a week larger than 3 and a result of w 28-27`:
```sql
                SELECT "date" FROM "schedule" WHERE "week">3 AND "result"='w 28-27';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the sum of attendane for a result of w 12-3 and week more than 12`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the sum of attendane for a result of w 12-3 and week more than 12`:
```sql
                SELECT SUM("attendance") FROM "schedule" WHERE "result"='w 12-3' AND "week">12;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of attendance for result of l 18-6`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of attendance for result of l 18-6`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "result"='l 18-6';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of attendance for week of 16`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of attendance for week of 16`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "week"=16;
```
## Task
Generate a SQL query to answer the following question:
`How many bronzes were held by those with a total of 4 and less than 3 silvers.`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many bronzes were held by those with a total of 4 and less than 3 silvers.`:
```sql
                SELECT SUM("bronze") FROM "medal_table" WHERE "total"=4 AND "silver"<3;
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did the IFL: Oakland event have?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did the IFL: Oakland event have?`:
```sql
                SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "event"='ifl: oakland';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a record of 3-0?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a record of 3-0?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='3-0';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the constructor for david coulthard`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "driver" text,
  "constructor" text,
  "part_1" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the constructor for david coulthard`:
```sql
                SELECT "constructor" FROM "qualifying" WHERE "driver"='david coulthard';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the pos for adrian sutil`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "driver" text,
  "constructor" text,
  "part_1" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the pos for adrian sutil`:
```sql
                SELECT "pos" FROM "qualifying" WHERE "driver"='adrian sutil';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the part 1 of grid of 1`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "driver" text,
  "constructor" text,
  "part_1" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the part 1 of grid of 1`:
```sql
                SELECT "part_1" FROM "qualifying" WHERE "grid"='1';
```
## Task
Generate a SQL query to answer the following question:
`Name the city of license for call sign of k215es`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the city of license for call sign of k215es`:
```sql
                SELECT "city_of_license" FROM "translators" WHERE "call_sign"='k215es';
```
## Task
Generate a SQL query to answer the following question:
`Name the FCC info for call sign of k208eq`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the FCC info for call sign of k208eq`:
```sql
                SELECT "fcc_info" FROM "translators" WHERE "call_sign"='k208eq';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of date for carpet`

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

CREATE TABLE "open_era_singles_finals_3_2" (
  "outcome" text,
  "date" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of date for carpet`:
```sql
                SELECT COUNT("date") FROM "open_era_singles_finals_3_2" WHERE "surface"='carpet';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the opponent for 6–2, 3–6, 4–6`

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

CREATE TABLE "open_era_singles_finals_3_2" (
  "outcome" text,
  "date" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the opponent for 6–2, 3–6, 4–6`:
```sql
                SELECT "opponent_in_the_final" FROM "open_era_singles_finals_3_2" WHERE "score_in_the_final"='6–2, 3–6, 4–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of Martin Lewis?`

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

CREATE TABLE "l" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of Martin Lewis?`:
```sql
                SELECT "nationality" FROM "l" WHERE "player"='martin lewis';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the opponent of week 14`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the opponent of week 14`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=14;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the average attendance for week of 11`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the average attendance for week of 11`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`Tell me opponent for result of w 33-31`

### 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me opponent for result of w 33-31`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "result"='w 33-31';
```
## Task
Generate a SQL query to answer the following question:
`What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?`

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

CREATE TABLE "iodine_123" (
  "name" text,
  "investigation" text,
  "route_of_administration" text,
  "in_vitro_in_vivo" text,
  "imaging_non_imaging" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?`:
```sql
                SELECT "name" FROM "iodine_123" WHERE "route_of_administration"='oral or iv' AND "investigation"='thyroid imaging thyroid metastases imaging';
```
## Task
Generate a SQL query to answer the following question:
`Who is the owner with a call sign of cjgx?`

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

CREATE TABLE "media" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the owner with a call sign of cjgx?`:
```sql
                SELECT "owner" FROM "media" WHERE "call_sign"='cjgx';
```
## Task
Generate a SQL query to answer the following question:
`Who is the owner of the branding gx94?`

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

CREATE TABLE "media" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the owner of the branding gx94?`:
```sql
                SELECT "owner" FROM "media" WHERE "branding"='gx94';
```
## Task
Generate a SQL query to answer the following question:
`What is the call frequency sign of cjjc-fm?`

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

CREATE TABLE "media" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the call frequency sign of cjjc-fm?`:
```sql
                SELECT "frequency" FROM "media" WHERE "call_sign"='cjjc-fm';
```
## Task
Generate a SQL query to answer the following question:
`Who is the owner with the branding fox fm?`

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

CREATE TABLE "media" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the owner with the branding fox fm?`:
```sql
                SELECT "owner" FROM "media" WHERE "branding"='fox fm';
```
## Task
Generate a SQL query to answer the following question:
`What is the branding frequency of cbc radio 2?`

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

CREATE TABLE "media" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the branding frequency of cbc radio 2?`:
```sql
                SELECT "frequency" FROM "media" WHERE "branding"='cbc radio 2';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the location for altitude being less thaan 6102`

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

CREATE TABLE "himalayan_peaks_of_uttarakhand" (
  "name" text,
  "location" text,
  "district" text,
  "altitude_metres" real,
  "region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the location for altitude being less thaan 6102`:
```sql
                SELECT "location" FROM "himalayan_peaks_of_uttarakhand" WHERE "altitude_metres"<6102;
```
## Task
Generate a SQL query to answer the following question:
`Say the region for 6854 altitudes`

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

CREATE TABLE "himalayan_peaks_of_uttarakhand" (
  "name" text,
  "location" text,
  "district" text,
  "altitude_metres" real,
  "region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Say the region for 6854 altitudes`:
```sql
                SELECT "region" FROM "himalayan_peaks_of_uttarakhand" WHERE "altitude_metres"=6854;
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of number 161?`

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

CREATE TABLE "buses" (
  "number" real,
  "origin" text,
  "final_destination" text,
  "frequency" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of number 161?`:
```sql
                SELECT "frequency" FROM "buses" WHERE "number"=161;
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of number 3 with a bus station origin?`

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

CREATE TABLE "buses" (
  "number" real,
  "origin" text,
  "final_destination" text,
  "frequency" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of number 3 with a bus station origin?`:
```sql
                SELECT "frequency" FROM "buses" WHERE "origin"='bus station' AND "number"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the origin of the one with a number larger than 161?`

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

CREATE TABLE "buses" (
  "number" real,
  "origin" text,
  "final_destination" text,
  "frequency" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the origin of the one with a number larger than 161?`:
```sql
                SELECT "origin" FROM "buses" WHERE "number">161;
```
## Task
Generate a SQL query to answer the following question:
`What is the origin of the one whose final destination is Brandholmen?`

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

CREATE TABLE "buses" (
  "number" real,
  "origin" text,
  "final_destination" text,
  "frequency" text,
  "distance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the origin of the one whose final destination is Brandholmen?`:
```sql
                SELECT "origin" FROM "buses" WHERE "final_destination"='brandholmen';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rank of a rider whose time was 1:19.02.8?`

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

CREATE TABLE "1970_isle_of_man_lightweight_tt_125cc_fi" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rank of a rider whose time was 1:19.02.8?`:
```sql
                SELECT MAX("place") FROM "1970_isle_of_man_lightweight_tt_125cc_fi" WHERE "time"='1:19.02.8';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n)`

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

CREATE TABLE "notes" (
  "hangul" text,
  "hanja" text,
  "revised" text,
  "mc_cune_reischauer" text,
  "estimated_distribution_2000" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n)`:
```sql
                SELECT "revised" FROM "notes" WHERE "mc_cune_reischauer"='yŏn (s) ryŏn (n)';
```
## Task
Generate a SQL query to answer the following question:
`Name the hanja for hangul of 주`

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

CREATE TABLE "notes" (
  "hangul" text,
  "hanja" text,
  "revised" text,
  "mc_cune_reischauer" text,
  "estimated_distribution_2000" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the hanja for hangul of 주`:
```sql
                SELECT "hanja" FROM "notes" WHERE "hangul"='주';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the hanja of eum`

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

CREATE TABLE "notes" (
  "hangul" text,
  "hanja" text,
  "revised" text,
  "mc_cune_reischauer" text,
  "estimated_distribution_2000" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the hanja of eum`:
```sql
                SELECT "hanja" FROM "notes" WHERE "revised"='eum';
```
## Task
Generate a SQL query to answer the following question:
`What model was released in 2005?`

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

CREATE TABLE "track_ir_model_comparison" (
  "model" text,
  "sensor_resolution" text,
  "angle" real,
  "released" real,
  "latest_software" text
);
### SQL
Given the database schema, here is the SQL query that answers `What model was released in 2005?`:
```sql
                SELECT "model" FROM "track_ir_model_comparison" WHERE "released"=2005;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the score for 9 may 2001`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the score for 9 may 2001`:
```sql
                SELECT "score" FROM "international_goals" WHERE "date"='9 may 2001';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the competition for 25 march 2001`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the competition for 25 march 2001`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "date"='25 march 2001';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Race Winner of the Southern Illinois 100?`

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

CREATE TABLE "schedule_and_results" (
  "date" text,
  "track" text,
  "event_name" text,
  "pole_winner" text,
  "race_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Race Winner of the Southern Illinois 100?`:
```sql
                SELECT "race_winner" FROM "schedule_and_results" WHERE "event_name"='southern illinois 100';
```
## Task
Generate a SQL query to answer the following question:
`At which track did the event Daytona Arca 200 take place?`

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

CREATE TABLE "schedule_and_results" (
  "date" text,
  "track" text,
  "event_name" text,
  "pole_winner" text,
  "race_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `At which track did the event Daytona Arca 200 take place?`:
```sql
                SELECT "track" FROM "schedule_and_results" WHERE "event_name"='daytona arca 200';
```
## Task
Generate a SQL query to answer the following question:
`At which event was Ken Schrader the Race Winner at the Toledo Speedway?`

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

CREATE TABLE "schedule_and_results" (
  "date" text,
  "track" text,
  "event_name" text,
  "pole_winner" text,
  "race_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `At which event was Ken Schrader the Race Winner at the Toledo Speedway?`:
```sql
                SELECT "event_name" FROM "schedule_and_results" WHERE "race_winner"='ken schrader' AND "track"='toledo speedway';
```
## Task
Generate a SQL query to answer the following question:
`At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200?`

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

CREATE TABLE "schedule_and_results" (
  "date" text,
  "track" text,
  "event_name" text,
  "pole_winner" text,
  "race_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200?`:
```sql
                SELECT "track" FROM "schedule_and_results" WHERE "pole_winner"='frank kimmel' AND "event_name"='pennsylvania 200';
```
## Task
Generate a SQL query to answer the following question:
`Steve Wallace was a Race Winner at the Kentucky Speedway on what date?`

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

CREATE TABLE "schedule_and_results" (
  "date" text,
  "track" text,
  "event_name" text,
  "pole_winner" text,
  "race_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Steve Wallace was a Race Winner at the Kentucky Speedway on what date?`:
```sql
                SELECT "date" FROM "schedule_and_results" WHERE "race_winner"='steve wallace' AND "track"='kentucky speedway';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of silver owned by a nation that is not ranked number 1?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of silver owned by a nation that is not ranked number 1?`:
```sql
                SELECT MIN("silver") FROM "medal_table" WHERE "rank"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is Driver Kimi Räikkönen's number on the grid?`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "driver" text,
  "constructor" text,
  "part_1" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Driver Kimi Räikkönen's number on the grid?`:
```sql
                SELECT "grid" FROM "qualifying" WHERE "driver"='kimi räikkönen';
```
## Task
Generate a SQL query to answer the following question:
`Which driver had a Part 1 time of 1:13.306?`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "driver" text,
  "constructor" text,
  "part_1" text,
  "grid" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which driver had a Part 1 time of 1:13.306?`:
```sql
                SELECT "driver" FROM "qualifying" WHERE "part_1"='1:13.306';
```
## Task
Generate a SQL query to answer the following question:
`What ride opened after 2011?`

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

CREATE TABLE "current_roller_coasters" (
  "current_name" text,
  "year_first_opened" real,
  "manufacturer" text,
  "location_in_park" text,
  "thrill_intensity_rating" text,
  "minimum_height_requirements" text
);
### SQL
Given the database schema, here is the SQL query that answers `What ride opened after 2011?`:
```sql
                SELECT "current_name" FROM "current_roller_coasters" WHERE "year_first_opened">2011;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the actor from russia for anastasiya slutskaya`

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

CREATE TABLE "stozhary_2003_prize_winners" (
  "nomination" text,
  "actor_s_name" text,
  "film_name" text,
  "director" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the actor from russia for anastasiya slutskaya`:
```sql
                SELECT "actor_s_name" FROM "stozhary_2003_prize_winners" WHERE "film_name"='anastasiya slutskaya' AND "country"='russia';
```
## Task
Generate a SQL query to answer the following question:
`Rell mem the actor from ukraine for best actress in a leading role`

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

CREATE TABLE "stozhary_2003_prize_winners" (
  "nomination" text,
  "actor_s_name" text,
  "film_name" text,
  "director" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Rell mem the actor from ukraine for best actress in a leading role`:
```sql
                SELECT "actor_s_name" FROM "stozhary_2003_prize_winners" WHERE "nomination"='best actress in a leading role' AND "country"='ukraine';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the director for the movie with svetlana zelenkovskaya`

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

CREATE TABLE "stozhary_2003_prize_winners" (
  "nomination" text,
  "actor_s_name" text,
  "film_name" text,
  "director" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the director for the movie with svetlana zelenkovskaya`:
```sql
                SELECT "director" FROM "stozhary_2003_prize_winners" WHERE "actor_s_name"='svetlana zelenkovskaya';
```