cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`state el canal de las estrellas where october 20, 2008 stat is june 5, 2009`

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

CREATE TABLE "broadcasters" (
  "mexico" text,
  "ma_ana_es_para_siempre" text,
  "el_canal_de_las_estrellas" text,
  "october_20_2008" text,
  "june_14_2009" text,
  "monday_to_friday" text
);
### SQL
Given the database schema, here is the SQL query that answers `state el canal de las estrellas where october 20, 2008 stat is june 5, 2009`:
```sql
                SELECT "el_canal_de_las_estrellas" FROM "broadcasters" WHERE "october_20_2008"='June 5, 2009';
```
## Task
Generate a SQL query to answer the following question:
`state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna`

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

CREATE TABLE "broadcasters" (
  "mexico" text,
  "ma_ana_es_para_siempre" text,
  "el_canal_de_las_estrellas" text,
  "october_20_2008" text,
  "june_14_2009" text,
  "monday_to_friday" text
);
### SQL
Given the database schema, here is the SQL query that answers `state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna`:
```sql
                SELECT "el_canal_de_las_estrellas" FROM "broadcasters" WHERE "ma_ana_es_para_siempre"='Impreuna pentru totdeauna';
```
## Task
Generate a SQL query to answer the following question:
`what is the june 14, 2009 stat where october 20, 2008 stat is november 15, 2010`

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

CREATE TABLE "broadcasters" (
  "mexico" text,
  "ma_ana_es_para_siempre" text,
  "el_canal_de_las_estrellas" text,
  "october_20_2008" text,
  "june_14_2009" text,
  "monday_to_friday" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the june 14, 2009 stat where october 20, 2008 stat is november 15, 2010`:
```sql
                SELECT "june_14_2009" FROM "broadcasters" WHERE "october_20_2008"='November 15, 2010';
```
## Task
Generate a SQL query to answer the following question:
`what is the mexico stat where mañana es para siempre is love never dies`

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

CREATE TABLE "broadcasters" (
  "mexico" text,
  "ma_ana_es_para_siempre" text,
  "el_canal_de_las_estrellas" text,
  "october_20_2008" text,
  "june_14_2009" text,
  "monday_to_friday" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the mexico stat where mañana es para siempre is love never dies`:
```sql
                SELECT "mexico" FROM "broadcasters" WHERE "ma_ana_es_para_siempre"='Love Never Dies';
```
## Task
Generate a SQL query to answer the following question:
`what is the october 20, 2008 stat where mexico stat is romania`

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

CREATE TABLE "broadcasters" (
  "mexico" text,
  "ma_ana_es_para_siempre" text,
  "el_canal_de_las_estrellas" text,
  "october_20_2008" text,
  "june_14_2009" text,
  "monday_to_friday" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the october 20, 2008 stat where mexico stat is romania`:
```sql
                SELECT "october_20_2008" FROM "broadcasters" WHERE "mexico"='Romania';
```
## Task
Generate a SQL query to answer the following question:
`Name the other for chironius multiventris septentrionalis`

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

CREATE TABLE "table1_1850282_7" (
  "species" text,
  "common_name" text,
  "trinidad" text,
  "tobago" text,
  "bocas_is" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the other for chironius multiventris septentrionalis`:
```sql
                SELECT "other" FROM "table1_1850282_7" WHERE "species"='Chironius multiventris septentrionalis';
```
## Task
Generate a SQL query to answer the following question:
`Name the trinidad for yellow-bellied puffing snake`

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

CREATE TABLE "table1_1850282_7" (
  "species" text,
  "common_name" text,
  "trinidad" text,
  "tobago" text,
  "bocas_is" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the trinidad for yellow-bellied puffing snake`:
```sql
                SELECT "trinidad" FROM "table1_1850282_7" WHERE "common_name"='Yellow-bellied puffing snake';
```
## Task
Generate a SQL query to answer the following question:
`Name the bocas for chironius multiventris septentrionalis`

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

CREATE TABLE "table1_1850282_7" (
  "species" text,
  "common_name" text,
  "trinidad" text,
  "tobago" text,
  "bocas_is" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the bocas for chironius multiventris septentrionalis`:
```sql
                SELECT "bocas_is" FROM "table1_1850282_7" WHERE "species"='Chironius multiventris septentrionalis';
```
## Task
Generate a SQL query to answer the following question:
`Name the trindad for yellow-bellied puffing snake`

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

CREATE TABLE "table1_1850282_7" (
  "species" text,
  "common_name" text,
  "trinidad" text,
  "tobago" text,
  "bocas_is" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the trindad for yellow-bellied puffing snake`:
```sql
                SELECT "trinidad" FROM "table1_1850282_7" WHERE "common_name"='Yellow-bellied puffing snake';
```
## Task
Generate a SQL query to answer the following question:
`Name the common name for chironius multiventris septentrionalis`

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

CREATE TABLE "table1_1850282_7" (
  "species" text,
  "common_name" text,
  "trinidad" text,
  "tobago" text,
  "bocas_is" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the common name for chironius multiventris septentrionalis`:
```sql
                SELECT "common_name" FROM "table1_1850282_7" WHERE "species"='Chironius multiventris septentrionalis';
```
## Task
Generate a SQL query to answer the following question:
`What contestant was premiered on July 25? `

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

CREATE TABLE "season_2" (
  "contestant_name" text,
  "episode_num" real,
  "date_premiered_2009" text,
  "winning_amount" text,
  "eliminated_contestant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What contestant was premiered on July 25? `:
```sql
                SELECT "contestant_name" FROM "season_2" WHERE "date_premiered_2009"='July 25';
```
## Task
Generate a SQL query to answer the following question:
`What's the Air Force - Navy score in the 2018 season?`

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

CREATE TABLE "table1_1850339_2" (
  "season" real,
  "trophy_winner" text,
  "air_force_navy_score" text,
  "air_force_army_score" text,
  "army_navy_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Air Force - Navy score in the 2018 season?`:
```sql
                SELECT "air_force_navy_score" FROM "table1_1850339_2" WHERE "season"=2018;
```
## Task
Generate a SQL query to answer the following question:
`What was the Air Force - Navy score in the 1983 season?`

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

CREATE TABLE "table1_1850339_2" (
  "season" real,
  "trophy_winner" text,
  "air_force_navy_score" text,
  "air_force_army_score" text,
  "army_navy_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Air Force - Navy score in the 1983 season?`:
```sql
                SELECT "air_force_navy_score" FROM "table1_1850339_2" WHERE "season"=1983;
```
## Task
Generate a SQL query to answer the following question:
`How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?`

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

CREATE TABLE "table1_1850339_2" (
  "season" real,
  "trophy_winner" text,
  "air_force_navy_score" text,
  "air_force_army_score" text,
  "army_navy_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?`:
```sql
                SELECT COUNT("season") FROM "table1_1850339_2" WHERE "army_navy_score"='10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)';
```
## Task
Generate a SQL query to answer the following question:
`In the first episode of Garfield titled Robodie II, what is the title of the U.S. Acres Episode?`

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

CREATE TABLE "table1_1852270_5" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the first episode of Garfield titled Robodie II, what is the title of the U.S. Acres Episode?`:
```sql
                SELECT "u_s_acres_episode" FROM "table1_1852270_5" WHERE "garfield_episode_1"='Robodie II';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the first episode of Garfield that is followed by the second episode of Garfield titled Mamma Manicotti?`

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

CREATE TABLE "table1_1852270_5" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the first episode of Garfield that is followed by the second episode of Garfield titled Mamma Manicotti?`:
```sql
                SELECT "garfield_episode_1" FROM "table1_1852270_5" WHERE "garfield_episode_2"='Mamma Manicotti';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the US Acres episode following the Garfield episode titled Robodie II?`

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

CREATE TABLE "table1_1852270_5" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the US Acres episode following the Garfield episode titled Robodie II?`:
```sql
                SELECT "u_s_acres_episode" FROM "table1_1852270_5" WHERE "garfield_episode_1"='Robodie II';
```
## Task
Generate a SQL query to answer the following question:
`what is the 2nd garfield episode for garfield episode 1 twice told tale`

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

CREATE TABLE "table1_1852270_4" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the 2nd garfield episode for garfield episode 1 twice told tale`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_4" WHERE "garfield_episode_1"='Twice Told Tale';
```
## Task
Generate a SQL query to answer the following question:
`what is the 2nd garfield episode where u.s. acres episode is the orson awards`

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

CREATE TABLE "table1_1852270_4" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the 2nd garfield episode where u.s. acres episode is the orson awards`:
```sql
                SELECT "garfield_episode_1" FROM "table1_1852270_4" WHERE "u_s_acres_episode"='The Orson Awards';
```
## Task
Generate a SQL query to answer the following question:
`how many 2nd episodes for u.s. acres episode the orson awards`

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

CREATE TABLE "table1_1852270_4" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many 2nd episodes for u.s. acres episode the orson awards`:
```sql
                SELECT COUNT("garfield_episode_2") FROM "table1_1852270_4" WHERE "u_s_acres_episode"='The Orson Awards';
```
## Task
Generate a SQL query to answer the following question:
`what is the original airdate for garfield episode 2 the wise man`

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

CREATE TABLE "table1_1852270_4" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the original airdate for garfield episode 2 the wise man`:
```sql
                SELECT "original_airdate" FROM "table1_1852270_4" WHERE "garfield_episode_2"='The Wise Man';
```
## Task
Generate a SQL query to answer the following question:
`what is the 2nd garfield episode where u.s. acres episode is the bunny rabbits is coming!`

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

CREATE TABLE "table1_1852270_4" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the 2nd garfield episode where u.s. acres episode is the bunny rabbits is coming!`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_4" WHERE "u_s_acres_episode"='The Bunny Rabbits is Coming!';
```
## Task
Generate a SQL query to answer the following question:
`which episode had garfield episode 1 ship shape`

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

CREATE TABLE "table1_1852270_4" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `which episode had garfield episode 1 ship shape`:
```sql
                SELECT "episode" FROM "table1_1852270_4" WHERE "garfield_episode_1"='Ship Shape';
```
## Task
Generate a SQL query to answer the following question:
`Which Garfield episode 2 has Garfield episode 1 as the first annual Garfield watchers test?`

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

CREATE TABLE "table1_1852270_6" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Garfield episode 2 has Garfield episode 1 as the first annual Garfield watchers test?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_6" WHERE "garfield_episode_1"='The First Annual Garfield Watchers Test';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date of the u.s. acres episode who done it?`

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

CREATE TABLE "table1_1852270_6" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date of the u.s. acres episode who done it?`:
```sql
                SELECT "original_airdate" FROM "table1_1852270_6" WHERE "u_s_acres_episode"='Who Done It?';
```
## Task
Generate a SQL query to answer the following question:
`Which episode in Garfield episode 1 is the worst pizza in the history of mankind?`

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

CREATE TABLE "table1_1852270_6" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode in Garfield episode 1 is the worst pizza in the history of mankind?`:
```sql
                SELECT "episode" FROM "table1_1852270_6" WHERE "garfield_episode_1"='The Worst Pizza in the History of Mankind';
```
## Task
Generate a SQL query to answer the following question:
`How many original airdates is Garfield episode 1 is cute for loot?`

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

CREATE TABLE "table1_1852270_6" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many original airdates is Garfield episode 1 is cute for loot?`:
```sql
                SELECT COUNT("original_airdate") FROM "table1_1852270_6" WHERE "garfield_episode_1"='Cute for Loot';
```
## Task
Generate a SQL query to answer the following question:
`Which u.s.acres episode has "show 79" as the episode?`

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

CREATE TABLE "table1_1852270_6" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which u.s.acres episode has "show 79" as the episode?`:
```sql
                SELECT "u_s_acres_episode" FROM "table1_1852270_6" WHERE "episode"='\"Show 79\"';
```
## Task
Generate a SQL query to answer the following question:
`How many u.s. episodes have Garfield episode 2 the picnic panic?`

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

CREATE TABLE "table1_1852270_6" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many u.s. episodes have Garfield episode 2 the picnic panic?`:
```sql
                SELECT COUNT("u_s_acres_episode") FROM "table1_1852270_6" WHERE "garfield_episode_2"='The Picnic Panic';
```
## Task
Generate a SQL query to answer the following question:
`what is the garfield episode where us acres episode is banana nose?`

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

CREATE TABLE "table1_1852270_2" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the garfield episode where us acres episode is banana nose?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_2" WHERE "u_s_acres_episode"='Banana Nose';
```
## Task
Generate a SQL query to answer the following question:
`what is the original airdate for shell shocked sheldon?`

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

CREATE TABLE "table1_1852270_2" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the original airdate for shell shocked sheldon?`:
```sql
                SELECT "original_airdate" FROM "table1_1852270_2" WHERE "u_s_acres_episode"='Shell Shocked Sheldon';
```
## Task
Generate a SQL query to answer the following question:
`What is episode 2 for Robodie?`

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

CREATE TABLE "table1_1852270_3" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is episode 2 for Robodie?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_3" WHERE "garfield_episode_1"='Robodie';
```
## Task
Generate a SQL query to answer the following question:
`What are the episodes for "Crime and Nourishment"?`

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

CREATE TABLE "table1_1852270_3" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the episodes for "Crime and Nourishment"?`:
```sql
                SELECT "episode" FROM "table1_1852270_3" WHERE "garfield_episode_2"='Crime and Nourishment';
```
## Task
Generate a SQL query to answer the following question:
`What is the garfield episode 2  when episode 1 is "change of mind"?`

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

CREATE TABLE "table1_1852270_8" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the garfield episode 2  when episode 1 is "change of mind"?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='Change Of Mind';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of garfield episode 2 when "the horror hostess (part 1)" is episode 1?`

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

CREATE TABLE "table1_1852270_8" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of garfield episode 2 when "the horror hostess (part 1)" is episode 1?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='The Horror Hostess (Part 1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of episode 2 for garfield when episode 1 is "suburban jungle"?`

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

CREATE TABLE "table1_1852270_8" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of episode 2 for garfield when episode 1 is "suburban jungle"?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='Suburban Jungle';
```
## Task
Generate a SQL query to answer the following question:
`What is episode 2 of garfield when episode 1 is "the horror hostess (part 1)"?`

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

CREATE TABLE "table1_1852270_8" (
  "episode" text,
  "garfield_episode_1" text,
  "u_s_acres_episode" text,
  "garfield_episode_2" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is episode 2 of garfield when episode 1 is "the horror hostess (part 1)"?`:
```sql
                SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='The Horror Hostess (Part 1)';
```
## Task
Generate a SQL query to answer the following question:
`Name the tourism receipts 2003 for tourism competitiveness 3.26`

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

CREATE TABLE "performance_indicators_for_international" (
  "country" text,
  "tourist_arrivals_2011_millions" text,
  "tourism_receipts_2011_millions_of_us" real,
  "tourism_receipts_2011_us_per_arrival" real,
  "tourism_receipts_2011_us_per_capita" real,
  "tourism_receipts_2003_as_pct_of_gdp" text,
  "tourism_receipts_2003_as_pct_of_exports" text,
  "direct_and_indirect_employment_in_tourism_2005_pct" text,
  "tourism_competitiveness_2011_ttci" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tourism receipts 2003 for tourism competitiveness 3.26`:
```sql
                SELECT COUNT("tourism_receipts_2003_as_pct_of_exports") FROM "performance_indicators_for_international" WHERE "tourism_competitiveness_2011_ttci"='3.26';
```
## Task
Generate a SQL query to answer the following question:
`Name the tourism receipts 2003 for colombia`

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

CREATE TABLE "performance_indicators_for_international" (
  "country" text,
  "tourist_arrivals_2011_millions" text,
  "tourism_receipts_2011_millions_of_us" real,
  "tourism_receipts_2011_us_per_arrival" real,
  "tourism_receipts_2011_us_per_capita" real,
  "tourism_receipts_2003_as_pct_of_gdp" text,
  "tourism_receipts_2003_as_pct_of_exports" text,
  "direct_and_indirect_employment_in_tourism_2005_pct" text,
  "tourism_competitiveness_2011_ttci" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tourism receipts 2003 for colombia`:
```sql
                SELECT "tourism_receipts_2003_as_pct_of_gdp" FROM "performance_indicators_for_international" WHERE "country"='Colombia';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5`

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

CREATE TABLE "performance_indicators_for_international" (
  "country" text,
  "tourist_arrivals_2011_millions" text,
  "tourism_receipts_2011_millions_of_us" real,
  "tourism_receipts_2011_us_per_arrival" real,
  "tourism_receipts_2011_us_per_capita" real,
  "tourism_receipts_2003_as_pct_of_gdp" text,
  "tourism_receipts_2003_as_pct_of_exports" text,
  "direct_and_indirect_employment_in_tourism_2005_pct" text,
  "tourism_competitiveness_2011_ttci" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5`:
```sql
                SELECT COUNT("tourism_receipts_2011_us_per_capita") FROM "performance_indicators_for_international" WHERE "tourism_receipts_2003_as_pct_of_gdp"='13.5';
```
## Task
Generate a SQL query to answer the following question:
`When classic hits 102.1 cjcy is the branding who is the owner?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text,
  "language_rebroadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `When classic hits 102.1 cjcy is the branding who is the owner?`:
```sql
                SELECT "owner" FROM "radio" WHERE "branding"='Classic Hits 102.1 CJCY';
```
## Task
Generate a SQL query to answer the following question:
`When hot adult contemporary is the format what is the call sign?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text,
  "language_rebroadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `When hot adult contemporary is the format what is the call sign?`:
```sql
                SELECT "call_sign" FROM "radio" WHERE "format"='hot adult contemporary';
```
## Task
Generate a SQL query to answer the following question:
`When vista radio is the owner how many call signs are there?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text,
  "language_rebroadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `When vista radio is the owner how many call signs are there?`:
```sql
                SELECT COUNT("call_sign") FROM "radio" WHERE "owner"='Vista Radio';
```
## Task
Generate a SQL query to answer the following question:
`When fm 97.3 is the frequency how many formats are there?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text,
  "language_rebroadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `When fm 97.3 is the frequency how many formats are there?`:
```sql
                SELECT COUNT("format") FROM "radio" WHERE "frequency"='FM 97.3';
```
## Task
Generate a SQL query to answer the following question:
`When vista radio is the owner what is the frequency? `

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text,
  "language_rebroadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `When vista radio is the owner what is the frequency? `:
```sql
                SELECT "frequency" FROM "radio" WHERE "owner"='Vista Radio';
```
## Task
Generate a SQL query to answer the following question:
`Name the team for 5 september 2008 for date of vacancy for 30 august 2008`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the team for 5 september 2008 for date of vacancy for 30 august 2008`:
```sql
                SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='5 September 2008' AND "date_of_vacancy"='30 August 2008';
```
## Task
Generate a SQL query to answer the following question:
`Name the date of vacancy for daniel uberti`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date of vacancy for daniel uberti`:
```sql
                SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='Daniel Uberti';
```
## Task
Generate a SQL query to answer the following question:
`Name the manner of departure for date of vacancy 25 august 2008`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the manner of departure for date of vacancy 25 august 2008`:
```sql
                SELECT "manner_of_departure" FROM "managerial_changes" WHERE "date_of_vacancy"='25 August 2008';
```
## Task
Generate a SQL query to answer the following question:
`Name the date of vacancy for 29 december 2008 being date of appointment`

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

CREATE TABLE "managerial_changes" (
  "team" text,
  "outgoing_manager" text,
  "manner_of_departure" text,
  "date_of_vacancy" text,
  "replaced_by" text,
  "date_of_appointment" text,
  "position_in_table" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date of vacancy for 29 december 2008 being date of appointment`:
```sql
                SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "date_of_appointment"='29 December 2008';
```
## Task
Generate a SQL query to answer the following question:
`When 1008/1009 is the production code how many directors are there?`

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

CREATE TABLE "table1_1854728_2" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 1008/1009 is the production code how many directors are there?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_1854728_2" WHERE "production_code"='1008/1009';
```
## Task
Generate a SQL query to answer the following question:
`When arthur heinemann is the writer who is the director?`

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

CREATE TABLE "table1_1854728_2" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `When arthur heinemann is the writer who is the director?`:
```sql
                SELECT "directed_by" FROM "table1_1854728_2" WHERE "written_by"='Arthur Heinemann';
```
## Task
Generate a SQL query to answer the following question:
`Name the running with for elizabeth falco`

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

CREATE TABLE "table1_1855841_1" (
  "candidate" text,
  "office_running_for" text,
  "running_with_in_team" text,
  "won_or_lost" text,
  "votes_given" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the running with for elizabeth falco`:
```sql
                SELECT "running_with_in_team" FROM "table1_1855841_1" WHERE "candidate"='Elizabeth Falco';
```
## Task
Generate a SQL query to answer the following question:
`Name the officing running for for carol marsh`

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

CREATE TABLE "table1_1855841_1" (
  "candidate" text,
  "office_running_for" text,
  "running_with_in_team" text,
  "won_or_lost" text,
  "votes_given" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the officing running for for carol marsh`:
```sql
                SELECT "office_running_for" FROM "table1_1855841_1" WHERE "candidate"='Carol Marsh';
```
## Task
Generate a SQL query to answer the following question:
`Name the office running for for anthony mussara`

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

CREATE TABLE "table1_1855841_1" (
  "candidate" text,
  "office_running_for" text,
  "running_with_in_team" text,
  "won_or_lost" text,
  "votes_given" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the office running for for anthony mussara`:
```sql
                SELECT "office_running_for" FROM "table1_1855841_1" WHERE "candidate"='Anthony Mussara';
```
## Task
Generate a SQL query to answer the following question:
`Name the votes given for michael russo, genevy dimitrion , manny ortega`

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

CREATE TABLE "table1_1855841_1" (
  "candidate" text,
  "office_running_for" text,
  "running_with_in_team" text,
  "won_or_lost" text,
  "votes_given" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the votes given for michael russo, genevy dimitrion , manny ortega`:
```sql
                SELECT "votes_given" FROM "table1_1855841_1" WHERE "running_with_in_team"='Michael Russo, Genevy Dimitrion , Manny Ortega';
```
## Task
Generate a SQL query to answer the following question:
`What was the loa when the corrected time was 2:12:36:23?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loa when the corrected time was 2:12:36:23?`:
```sql
                SELECT "loa_metres" FROM "handicap_results_top_10" WHERE "corrected_time_d_hh_mm_ss"='2:12:36:23';
```
## Task
Generate a SQL query to answer the following question:
`Qhat was the position of sail 6606?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Qhat was the position of sail 6606?`:
```sql
                SELECT "position" FROM "handicap_results_top_10" WHERE "sail_number"='6606';
```
## Task
Generate a SQL query to answer the following question:
`On what yacht was the sail number aus70?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what yacht was the sail number aus70?`:
```sql
                SELECT "yacht" FROM "handicap_results_top_10" WHERE "sail_number"='AUS70';
```
## Task
Generate a SQL query to answer the following question:
`What was the corrected time of sail number aus70?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the corrected time of sail number aus70?`:
```sql
                SELECT "corrected_time_d_hh_mm_ss" FROM "handicap_results_top_10" WHERE "sail_number"='AUS70';
```
## Task
Generate a SQL query to answer the following question:
`Who was the skipper for the vessel with a corrected time of 2:18:31:49?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the skipper for the vessel with a corrected time of 2:18:31:49?`:
```sql
                SELECT "skipper" FROM "handicap_results_top_10" WHERE "corrected_time_d_hh_mm_ss"='2:18:31:49';
```
## Task
Generate a SQL query to answer the following question:
`Who was the skipper on a Nelson Marek 43?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the skipper on a Nelson Marek 43?`:
```sql
                SELECT "skipper" FROM "handicap_results_top_10" WHERE "yacht_type"='Nelson Marek 43';
```
## Task
Generate a SQL query to answer the following question:
`How many titles were released on 21 October 1992?`

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

CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
  "rank" real,
  "title" text,
  "release_date" text,
  "franchise" text,
  "developer_s" text,
  "platform" text,
  "units_sold_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many titles were released on 21 October 1992?`:
```sql
                SELECT COUNT("rank") FROM "best_selling_video_games_of_the_1990s_sa" WHERE "release_date"='21 October 1992';
```
## Task
Generate a SQL query to answer the following question:
`What rank is Super Mario Land 2: 6 Golden Coins?`

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

CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
  "rank" real,
  "title" text,
  "release_date" text,
  "franchise" text,
  "developer_s" text,
  "platform" text,
  "units_sold_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What rank is Super Mario Land 2: 6 Golden Coins?`:
```sql
                SELECT MIN("rank") FROM "best_selling_video_games_of_the_1990s_sa" WHERE "title"='Super Mario Land 2: 6 Golden Coins';
```
## Task
Generate a SQL query to answer the following question:
`What platform sold 11.18 million units?`

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

CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
  "rank" real,
  "title" text,
  "release_date" text,
  "franchise" text,
  "developer_s" text,
  "platform" text,
  "units_sold_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What platform sold 11.18 million units?`:
```sql
                SELECT "platform" FROM "best_selling_video_games_of_the_1990s_sa" WHERE "units_sold_in_millions"='11.18';
```
## Task
Generate a SQL query to answer the following question:
`What day did the platform sell 9.87 million units?`

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

CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
  "rank" real,
  "title" text,
  "release_date" text,
  "franchise" text,
  "developer_s" text,
  "platform" text,
  "units_sold_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day did the platform sell 9.87 million units?`:
```sql
                SELECT "release_date" FROM "best_selling_video_games_of_the_1990s_sa" WHERE "units_sold_in_millions"='9.87';
```
## Task
Generate a SQL query to answer the following question:
`If new entries this round is 65, what is the round?`

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

CREATE TABLE "team_distribution" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `If new entries this round is 65, what is the round?`:
```sql
                SELECT COUNT("round") FROM "team_distribution" WHERE "new_entries_this_round"='65';
```
## Task
Generate a SQL query to answer the following question:
`If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining?`

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

CREATE TABLE "team_distribution" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining?`:
```sql
                SELECT MAX("clubs_remaining") FROM "team_distribution" WHERE "leagues_entering_at_this_round"='Süper Lig';
```
## Task
Generate a SQL query to answer the following question:
`If the winners from the previous round is 8, what is the round?`

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

CREATE TABLE "team_distribution" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the winners from the previous round is 8, what is the round?`:
```sql
                SELECT "round" FROM "team_distribution" WHERE "winners_from_previous_round"='8';
```
## Task
Generate a SQL query to answer the following question:
`If the round is the semi-finals, what are the new entries this round?`

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

CREATE TABLE "team_distribution" (
  "round" text,
  "clubs_remaining" real,
  "clubs_involved" real,
  "winners_from_previous_round" text,
  "new_entries_this_round" text,
  "leagues_entering_at_this_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the round is the semi-finals, what are the new entries this round?`:
```sql
                SELECT "new_entries_this_round" FROM "team_distribution" WHERE "round"='Semi-finals';
```
## Task
Generate a SQL query to answer the following question:
`How many losses for the team atl. colegiales?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses for the team atl. colegiales?`:
```sql
                SELECT MAX("losses") FROM "torneo_clausura" WHERE "team"='Atl. Colegiales';
```
## Task
Generate a SQL query to answer the following question:
`How many points when the score is 14?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points when the score is 14?`:
```sql
                SELECT MIN("points") FROM "torneo_clausura" WHERE "scored"=14;
```
## Task
Generate a SQL query to answer the following question:
`How many draws are there when the score is 13?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many draws are there when the score is 13?`:
```sql
                SELECT MAX("draws") FROM "torneo_clausura" WHERE "scored"=13;
```