cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the score for round 2 for team Toshiba?`

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

CREATE TABLE "overall_team_standings" (
  "rank" real,
  "team" text,
  "round1" real,
  "round2" real,
  "round3" real,
  "round4" real,
  "round5" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for round 2 for team Toshiba?`:
```sql
                SELECT COUNT("round2") FROM "overall_team_standings" WHERE "team"='Team Toshiba';
```
## Task
Generate a SQL query to answer the following question:
`At the longitude of 355.0e, what is the name origin?`

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

CREATE TABLE "lineae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `At the longitude of 355.0e, what is the name origin?`:
```sql
                SELECT "name_origin" FROM "lineae" WHERE "longitude"='355.0E';
```
## Task
Generate a SQL query to answer the following question:
`What is the name origin of Morrigan Linea?`

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

CREATE TABLE "lineae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name origin of Morrigan Linea?`:
```sql
                SELECT "name_origin" FROM "lineae" WHERE "name"='Morrigan Linea';
```
## Task
Generate a SQL query to answer the following question:
`How many years have a longitude measure of 20.0e?`

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

CREATE TABLE "lineae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years have a longitude measure of 20.0e?`:
```sql
                SELECT COUNT("year_named") FROM "lineae" WHERE "longitude"='20.0E';
```
## Task
Generate a SQL query to answer the following question:
`At a longitude of 293.0e, what is the diameter, in km?`

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

CREATE TABLE "lineae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" text,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `At a longitude of 293.0e, what is the diameter, in km?`:
```sql
                SELECT "diameter_km" FROM "lineae" WHERE "longitude"='293.0E';
```
## Task
Generate a SQL query to answer the following question:
`What is the release date of the bonus interview with Peter Purves?`

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

CREATE TABLE "television_soundtracks" (
  "story_num" real,
  "title" text,
  "doctor" text,
  "narrator" text,
  "format" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date of the bonus interview with Peter Purves?`:
```sql
                SELECT "release_date" FROM "television_soundtracks" WHERE "notes"='Bonus interview with Peter Purves';
```
## Task
Generate a SQL query to answer the following question:
`Which narrator has the bonus interview with Frazer Hines?`

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

CREATE TABLE "television_soundtracks" (
  "story_num" real,
  "title" text,
  "doctor" text,
  "narrator" text,
  "format" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which narrator has the bonus interview with Frazer Hines?`:
```sql
                SELECT "narrator" FROM "television_soundtracks" WHERE "notes"='Bonus interview with Frazer Hines';
```
## Task
Generate a SQL query to answer the following question:
`What is the release date for Destiny of the Daleks?`

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

CREATE TABLE "television_soundtracks" (
  "story_num" real,
  "title" text,
  "doctor" text,
  "narrator" text,
  "format" text,
  "release_date" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date for Destiny of the Daleks?`:
```sql
                SELECT "release_date" FROM "television_soundtracks" WHERE "title"='Destiny of the Daleks';
```
## Task
Generate a SQL query to answer the following question:
`What are the profits of Wells Fargo (in billions)?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the profits of Wells Fargo (in billions)?`:
```sql
                SELECT "profits_billion" FROM "2011_list" WHERE "company"='Wells Fargo';
```
## Task
Generate a SQL query to answer the following question:
`What is the ranking of BNP Paribas?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ranking of BNP Paribas?`:
```sql
                SELECT MIN("rank") FROM "2011_list" WHERE "company"='BNP Paribas';
```
## Task
Generate a SQL query to answer the following question:
`Where are the headquarters of the company whose sales were 69.2 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where are the headquarters of the company whose sales were 69.2 billion?`:
```sql
                SELECT "headquarters" FROM "2011_list" WHERE "sales_billion"='69.2';
```
## Task
Generate a SQL query to answer the following question:
`What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?`:
```sql
                SELECT "assets_billion" FROM "2011_list" WHERE "headquarters"='China' AND "profits_billion"='21.2';
```
## Task
Generate a SQL query to answer the following question:
`What are the profits (in billions) of the company with a market value of 172.9 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the profits (in billions) of the company with a market value of 172.9 billion?`:
```sql
                SELECT "profits_billion" FROM "2011_list" WHERE "market_value_billion"='172.9';
```
## Task
Generate a SQL query to answer the following question:
`What are the profits (in billions) where the assets are 192.8 billion?`

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

CREATE TABLE "2011_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the profits (in billions) where the assets are 192.8 billion?`:
```sql
                SELECT "profits_billion" FROM "2011_list" WHERE "assets_billion"='192.8';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of index weighting % at 17 january 2013 for bouygues`

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

CREATE TABLE "composition" (
  "company" text,
  "icb_sector" text,
  "ticker_symbol" text,
  "index_weighting_pct_at_17_january_2013" text,
  "market_cap_at_april_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of index weighting % at 17 january 2013 for bouygues`:
```sql
                SELECT COUNT("index_weighting_pct_at_17_january_2013") FROM "composition" WHERE "company"='Bouygues';
```
## Task
Generate a SQL query to answer the following question:
`Name the icb sector for ai`

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

CREATE TABLE "composition" (
  "company" text,
  "icb_sector" text,
  "ticker_symbol" text,
  "index_weighting_pct_at_17_january_2013" text,
  "market_cap_at_april_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the icb sector for ai`:
```sql
                SELECT "icb_sector" FROM "composition" WHERE "ticker_symbol"='AI';
```
## Task
Generate a SQL query to answer the following question:
`Name the company where index weighting % is 11.96`

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

CREATE TABLE "composition" (
  "company" text,
  "icb_sector" text,
  "ticker_symbol" text,
  "index_weighting_pct_at_17_january_2013" text,
  "market_cap_at_april_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the company where index weighting % is 11.96`:
```sql
                SELECT "company" FROM "composition" WHERE "index_weighting_pct_at_17_january_2013"='11.96';
```
## Task
Generate a SQL query to answer the following question:
`Name the index weighting % for 17 januaary 2013 for rno`

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

CREATE TABLE "composition" (
  "company" text,
  "icb_sector" text,
  "ticker_symbol" text,
  "index_weighting_pct_at_17_january_2013" text,
  "market_cap_at_april_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the index weighting % for 17 januaary 2013 for rno`:
```sql
                SELECT "index_weighting_pct_at_17_january_2013" FROM "composition" WHERE "ticker_symbol"='RNO';
```
## Task
Generate a SQL query to answer the following question:
`How many headquarters are there listed for HSBC?`

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

CREATE TABLE "2007_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many headquarters are there listed for HSBC?`:
```sql
                SELECT COUNT("headquarters") FROM "2007_list" WHERE "company"='HSBC';
```
## Task
Generate a SQL query to answer the following question:
`What is the market value in billions when the assets totaled 1,380.88?`

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

CREATE TABLE "2007_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the market value in billions when the assets totaled 1,380.88?`:
```sql
                SELECT "market_value_billion" FROM "2007_list" WHERE "assets_billion"='1,380.88';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?`

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

CREATE TABLE "2007_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?`:
```sql
                SELECT MAX("rank") FROM "2007_list" WHERE "industry"='Oil and gas' AND "headquarters"='Netherlands';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank of a company with 248.44 billions of dollars in assets?`

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

CREATE TABLE "2007_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank of a company with 248.44 billions of dollars in assets?`:
```sql
                SELECT MIN("rank") FROM "2007_list" WHERE "assets_billion"='248.44';
```
## Task
Generate a SQL query to answer the following question:
`In what industry was the company that had 89.16 billions of dollars in sales?`

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

CREATE TABLE "2007_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what industry was the company that had 89.16 billions of dollars in sales?`:
```sql
                SELECT "industry" FROM "2007_list" WHERE "sales_billion"='89.16';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of rank for 9.52 profits`

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

CREATE TABLE "2005_list" (
  "rank" real,
  "company" text,
  "country" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of rank for 9.52 profits`:
```sql
                SELECT COUNT("rank") FROM "2005_list" WHERE "profits_billion"='9.52';
```
## Task
Generate a SQL query to answer the following question:
`Name the country for 188.77 market value`

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

CREATE TABLE "2005_list" (
  "rank" real,
  "company" text,
  "country" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country for 188.77 market value`:
```sql
                SELECT "country" FROM "2005_list" WHERE "market_value_billion"='188.77';
```
## Task
Generate a SQL query to answer the following question:
`What is the numeral where the English name is Florin?`

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

CREATE TABLE "table1_1682865_1" (
  "english_name" text,
  "irish_name" text,
  "numeral" text,
  "reverse" text,
  "introduction" text,
  "withdrawal" text,
  "1_fraction" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the numeral where the English name is Florin?`:
```sql
                SELECT "numeral" FROM "table1_1682865_1" WHERE "english_name"='Florin';
```
## Task
Generate a SQL query to answer the following question:
`What is the £1 fraction when the reverse is hare?`

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

CREATE TABLE "table1_1682865_1" (
  "english_name" text,
  "irish_name" text,
  "numeral" text,
  "reverse" text,
  "introduction" text,
  "withdrawal" text,
  "1_fraction" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the £1 fraction when the reverse is hare?`:
```sql
                SELECT "1_fraction" FROM "table1_1682865_1" WHERE "reverse"='Hare';
```
## Task
Generate a SQL query to answer the following question:
`What date was the 6d introduced?`

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

CREATE TABLE "table1_1682865_1" (
  "english_name" text,
  "irish_name" text,
  "numeral" text,
  "reverse" text,
  "introduction" text,
  "withdrawal" text,
  "1_fraction" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the 6d introduced?`:
```sql
                SELECT "introduction" FROM "table1_1682865_1" WHERE "numeral"='6d';
```
## Task
Generate a SQL query to answer the following question:
`What is the Irish name for the £1 fraction of 1/240?`

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

CREATE TABLE "table1_1682865_1" (
  "english_name" text,
  "irish_name" text,
  "numeral" text,
  "reverse" text,
  "introduction" text,
  "withdrawal" text,
  "1_fraction" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Irish name for the £1 fraction of 1/240?`:
```sql
                SELECT "irish_name" FROM "table1_1682865_1" WHERE "1_fraction"='1/240';
```
## Task
Generate a SQL query to answer the following question:
`What is the reverse when the £1 fraction is 1/480?`

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

CREATE TABLE "table1_1682865_1" (
  "english_name" text,
  "irish_name" text,
  "numeral" text,
  "reverse" text,
  "introduction" text,
  "withdrawal" text,
  "1_fraction" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the reverse when the £1 fraction is 1/480?`:
```sql
                SELECT "reverse" FROM "table1_1682865_1" WHERE "1_fraction"='1/480';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest number of seats won?`

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

CREATE TABLE "election_results" (
  "election" real,
  "candidates_fielded" real,
  "num_of_seats_won" real,
  "total_votes" real,
  "pct_of_popular_vote" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest number of seats won?`:
```sql
                SELECT MAX("num_of_seats_won") FROM "election_results";
```
## Task
Generate a SQL query to answer the following question:
`How many percentages are listed for the election in 1983?`

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

CREATE TABLE "election_results" (
  "election" real,
  "candidates_fielded" real,
  "num_of_seats_won" real,
  "total_votes" real,
  "pct_of_popular_vote" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many percentages are listed for the election in 1983?`:
```sql
                SELECT COUNT("pct_of_popular_vote") FROM "election_results" WHERE "election"=1983;
```
## Task
Generate a SQL query to answer the following question:
`What place did the party finish in the year when they earned 0.86% of the vote?`

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

CREATE TABLE "election_results" (
  "election" real,
  "candidates_fielded" real,
  "num_of_seats_won" real,
  "total_votes" real,
  "pct_of_popular_vote" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place did the party finish in the year when they earned 0.86% of the vote?`:
```sql
                SELECT "place" FROM "election_results" WHERE "pct_of_popular_vote"='0.86%';
```
## Task
Generate a SQL query to answer the following question:
`What is the NCBI Accession Number for the length of 5304bp/377aa?`

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

CREATE TABLE "homologs" (
  "species" text,
  "species_common_name" text,
  "ncbi_accession_number_m_rna_protein" text,
  "length_bp_aa" text,
  "protein_identity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NCBI Accession Number for the length of 5304bp/377aa?`:
```sql
                SELECT "ncbi_accession_number_m_rna_protein" FROM "homologs" WHERE "length_bp_aa"='5304bp/377aa';
```
## Task
Generate a SQL query to answer the following question:
`What is the NCBI Accession Number of the Homo Sapiens species?`

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

CREATE TABLE "homologs" (
  "species" text,
  "species_common_name" text,
  "ncbi_accession_number_m_rna_protein" text,
  "length_bp_aa" text,
  "protein_identity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NCBI Accession Number of the Homo Sapiens species?`:
```sql
                SELECT "ncbi_accession_number_m_rna_protein" FROM "homologs" WHERE "species"='Homo sapiens';
```
## Task
Generate a SQL query to answer the following question:
`What is the common name for the Felis Catus species?`

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

CREATE TABLE "homologs" (
  "species" text,
  "species_common_name" text,
  "ncbi_accession_number_m_rna_protein" text,
  "length_bp_aa" text,
  "protein_identity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the common name for the Felis Catus species?`:
```sql
                SELECT "species_common_name" FROM "homologs" WHERE "species"='Felis catus';
```
## Task
Generate a SQL query to answer the following question:
`What is the species with the common name "mouse"?`

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

CREATE TABLE "homologs" (
  "species" text,
  "species_common_name" text,
  "ncbi_accession_number_m_rna_protein" text,
  "length_bp_aa" text,
  "protein_identity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the species with the common name "mouse"?`:
```sql
                SELECT COUNT("species") FROM "homologs" WHERE "species_common_name"='Mouse';
```
## Task
Generate a SQL query to answer the following question:
`What is the protein identity with a length of 5304bp/377aa?`

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

CREATE TABLE "homologs" (
  "species" text,
  "species_common_name" text,
  "ncbi_accession_number_m_rna_protein" text,
  "length_bp_aa" text,
  "protein_identity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the protein identity with a length of 5304bp/377aa?`:
```sql
                SELECT "protein_identity" FROM "homologs" WHERE "length_bp_aa"='5304bp/377aa';
```
## Task
Generate a SQL query to answer the following question:
`When was "Tell You When" released?`

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

CREATE TABLE "releases" (
  "cat_num" text,
  "artist" text,
  "title" text,
  "release_date" text,
  "format" text,
  "other_information" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was "Tell You When" released?`:
```sql
                SELECT "release_date" FROM "releases" WHERE "title"='Tell You When';
```
## Task
Generate a SQL query to answer the following question:
`Where was game 62 played? `

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where was game 62 played? `:
```sql
                SELECT "location" FROM "game_log" WHERE "game"=62;
```
## Task
Generate a SQL query to answer the following question:
`What was the final score when the Maple Leafs played the Columbus Blue Jackets? `

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score when the Maple Leafs played the Columbus Blue Jackets? `:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='Columbus Blue Jackets';
```
## Task
Generate a SQL query to answer the following question:
`Name the network for  dré steemans ann van elsen`

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

CREATE TABLE "table1_16884579_1" (
  "country" text,
  "name" text,
  "network" text,
  "premiere" text,
  "host_s" text,
  "judges" text,
  "seasons_and_winners" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the network for  dré steemans ann van elsen`:
```sql
                SELECT "network" FROM "table1_16884579_1" WHERE "host_s"='Dré Steemans Ann Van Elsen';
```
## Task
Generate a SQL query to answer the following question:
`Name the seasons and winners that airs 28 january 2007`

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

CREATE TABLE "table1_16884579_1" (
  "country" text,
  "name" text,
  "network" text,
  "premiere" text,
  "host_s" text,
  "judges" text,
  "seasons_and_winners" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the seasons and winners that airs 28 january 2007`:
```sql
                SELECT "seasons_and_winners" FROM "table1_16884579_1" WHERE "premiere"='28 January 2007';
```
## Task
Generate a SQL query to answer the following question:
`Name the host for prime`

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

CREATE TABLE "table1_16884579_1" (
  "country" text,
  "name" text,
  "network" text,
  "premiere" text,
  "host_s" text,
  "judges" text,
  "seasons_and_winners" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the host for prime`:
```sql
                SELECT "host_s" FROM "table1_16884579_1" WHERE "network"='Prime';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of judges for  dré steemans ann van elsen`

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

CREATE TABLE "table1_16884579_1" (
  "country" text,
  "name" text,
  "network" text,
  "premiere" text,
  "host_s" text,
  "judges" text,
  "seasons_and_winners" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of judges for  dré steemans ann van elsen`:
```sql
                SELECT COUNT("judges") FROM "table1_16884579_1" WHERE "host_s"='Dré Steemans Ann Van Elsen';
```
## Task
Generate a SQL query to answer the following question:
`Name the website for car number of 92`

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

CREATE TABLE "canada" (
  "team_name_affiliation" text,
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the website for car number of 92`:
```sql
                SELECT "website" FROM "canada" WHERE "car_num"='92';
```
## Task
Generate a SQL query to answer the following question:
`Name the year started where car number is 55`

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

CREATE TABLE "canada" (
  "team_name_affiliation" text,
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year started where car number is 55`:
```sql
                SELECT MAX("year_started") FROM "canada" WHERE "car_num"='55';
```
## Task
Generate a SQL query to answer the following question:
`Name the car number for 1997`

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

CREATE TABLE "canada" (
  "team_name_affiliation" text,
  "year_started" real,
  "number_of_cars" real,
  "current_car" text,
  "car_num" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the car number for 1997`:
```sql
                SELECT "car_num" FROM "canada" WHERE "year_started"=1997;
```
## Task
Generate a SQL query to answer the following question:
`Name the nickerie for marowijne being 4.7%`

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

CREATE TABLE "demography" (
  "religion" text,
  "suriname" text,
  "paramaribo" text,
  "wanica" text,
  "nickerie" text,
  "coronie" text,
  "saramacca" text,
  "commewijne" text,
  "marowijne" text,
  "para" text,
  "brokopondo" text,
  "sipaliwini" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nickerie for marowijne being 4.7%`:
```sql
                SELECT COUNT("nickerie") FROM "demography" WHERE "marowijne"='4.7%';
```
## Task
Generate a SQL query to answer the following question:
`Name the coronie for marowijne being 6.8%`

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

CREATE TABLE "demography" (
  "religion" text,
  "suriname" text,
  "paramaribo" text,
  "wanica" text,
  "nickerie" text,
  "coronie" text,
  "saramacca" text,
  "commewijne" text,
  "marowijne" text,
  "para" text,
  "brokopondo" text,
  "sipaliwini" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the coronie for marowijne being 6.8%`:
```sql
                SELECT "coronie" FROM "demography" WHERE "marowijne"='6.8%';
```
## Task
Generate a SQL query to answer the following question:
`Name the para for 1.5% commewijne`

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

CREATE TABLE "demography" (
  "religion" text,
  "suriname" text,
  "paramaribo" text,
  "wanica" text,
  "nickerie" text,
  "coronie" text,
  "saramacca" text,
  "commewijne" text,
  "marowijne" text,
  "para" text,
  "brokopondo" text,
  "sipaliwini" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the para for 1.5% commewijne`:
```sql
                SELECT "para" FROM "demography" WHERE "commewijne"='1.5%';
```
## Task
Generate a SQL query to answer the following question:
`Name the least amount of races for 2 poles`

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

CREATE TABLE "by_season" (
  "season" real,
  "class" text,
  "motorcycle" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real,
  "poles" real,
  "f_laps" real,
  "points" text,
  "placement" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least amount of races for 2 poles`:
```sql
                SELECT MIN("races") FROM "by_season" WHERE "poles"=2;
```
## Task
Generate a SQL query to answer the following question:
`Name the motorcycle for season 2012`

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

CREATE TABLE "by_season" (
  "season" real,
  "class" text,
  "motorcycle" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real,
  "poles" real,
  "f_laps" real,
  "points" text,
  "placement" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the motorcycle for season 2012`:
```sql
                SELECT "motorcycle" FROM "by_season" WHERE "season"=2012;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of flaps for 63 points `

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

CREATE TABLE "by_season" (
  "season" real,
  "class" text,
  "motorcycle" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real,
  "poles" real,
  "f_laps" real,
  "points" text,
  "placement" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of flaps for 63 points `:
```sql
                SELECT COUNT("f_laps") FROM "by_season" WHERE "points"='63';
```
## Task
Generate a SQL query to answer the following question:
`Name the least flaps`

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

CREATE TABLE "by_season" (
  "season" real,
  "class" text,
  "motorcycle" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real,
  "poles" real,
  "f_laps" real,
  "points" text,
  "placement" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least flaps`:
```sql
                SELECT MIN("f_laps") FROM "by_season";
```
## Task
Generate a SQL query to answer the following question:
`How many p.ret are there when kr avg is 11.3 ? `

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

CREATE TABLE "returning" (
  "player" text,
  "gp" real,
  "k_ret" real,
  "kr_yds" real,
  "kr_avg" text,
  "kr_td" real,
  "kr_lg" real,
  "p_ret" real,
  "pr_yds" real,
  "pr_avg" text,
  "pr_td" real,
  "pr_lg" real,
  "mfg_ret" real,
  "mfg_yds" real,
  "mfg_avg" text,
  "mfg_lg" real,
  "mfg_td" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many p.ret are there when kr avg is 11.3 ? `:
```sql
                SELECT COUNT("p_ret") FROM "returning" WHERE "kr_avg"='11.3';
```
## Task
Generate a SQL query to answer the following question:
`What is the kr td when mfg lg is 64?`

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

CREATE TABLE "returning" (
  "player" text,
  "gp" real,
  "k_ret" real,
  "kr_yds" real,
  "kr_avg" text,
  "kr_td" real,
  "kr_lg" real,
  "p_ret" real,
  "pr_yds" real,
  "pr_avg" text,
  "pr_td" real,
  "pr_lg" real,
  "mfg_ret" real,
  "mfg_yds" real,
  "mfg_avg" text,
  "mfg_lg" real,
  "mfg_td" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the kr td when mfg lg is 64?`:
```sql
                SELECT "kr_td" FROM "returning" WHERE "mfg_lg"=64;
```
## Task
Generate a SQL query to answer the following question:
`Who's average is 24.8?`

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

CREATE TABLE "returning" (
  "player" text,
  "gp" real,
  "k_ret" real,
  "kr_yds" real,
  "kr_avg" text,
  "kr_td" real,
  "kr_lg" real,
  "p_ret" real,
  "pr_yds" real,
  "pr_avg" text,
  "pr_td" real,
  "pr_lg" real,
  "mfg_ret" real,
  "mfg_yds" real,
  "mfg_avg" text,
  "mfg_lg" real,
  "mfg_td" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who's average is 24.8?`:
```sql
                SELECT "player" FROM "returning" WHERE "kr_avg"='24.8';
```
## Task
Generate a SQL query to answer the following question:
`What is the pr avg, when kr lg is 49?`

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

CREATE TABLE "returning" (
  "player" text,
  "gp" real,
  "k_ret" real,
  "kr_yds" real,
  "kr_avg" text,
  "kr_td" real,
  "kr_lg" real,
  "p_ret" real,
  "pr_yds" real,
  "pr_avg" text,
  "pr_td" real,
  "pr_lg" real,
  "mfg_ret" real,
  "mfg_yds" real,
  "mfg_avg" text,
  "mfg_lg" real,
  "mfg_td" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pr avg, when kr lg is 49?`:
```sql
                SELECT "pr_avg" FROM "returning" WHERE "kr_lg"=49;
```
## Task
Generate a SQL query to answer the following question:
`what is the population where municipality is san jacinto?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "income_class" text,
  "district" text,
  "population_2010" real,
  "area_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the population where municipality is san jacinto?`:
```sql
                SELECT "population_2010" FROM "municipalities" WHERE "municipality"='San Jacinto';
```
## Task
Generate a SQL query to answer the following question:
`what is the income class for area 75?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "income_class" text,
  "district" text,
  "population_2010" real,
  "area_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the income class for area 75?`:
```sql
                SELECT "income_class" FROM "municipalities" WHERE "area_km"=75;
```
## Task
Generate a SQL query to answer the following question:
`what is th area where the municipaity is labrador?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "income_class" text,
  "district" text,
  "population_2010" real,
  "area_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is th area where the municipaity is labrador?`:
```sql
                SELECT "area_km" FROM "municipalities" WHERE "municipality"='Labrador';
```
## Task
Generate a SQL query to answer the following question:
`what is the municipality where the area is 73?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "income_class" text,
  "district" text,
  "population_2010" real,
  "area_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the municipality where the area is 73?`:
```sql
                SELECT "municipality" FROM "municipalities" WHERE "area_km"=73;
```
## Task
Generate a SQL query to answer the following question:
`Name the equipment for bike number 6`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the equipment for bike number 6`:
```sql
                SELECT "equipment" FROM "riders" WHERE "bike_no"=6;
```
## Task
Generate a SQL query to answer the following question:
`Name the driver passenger for 394 points`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the driver passenger for 394 points`:
```sql
                SELECT "driver_passenger" FROM "riders" WHERE "points"=394;
```
## Task
Generate a SQL query to answer the following question:
`Name the equipment for bike number being 3`

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

CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the equipment for bike number being 3`:
```sql
                SELECT "equipment" FROM "riders" WHERE "bike_no"=3;
```
## Task
Generate a SQL query to answer the following question:
`In district New York 10th, what was the reason for change?`

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

CREATE TABLE "table1_1694492_2" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `In district New York 10th, what was the reason for change?`:
```sql
                SELECT "reason_for_change" FROM "table1_1694492_2" WHERE "district"='New York 10th';
```
## Task
Generate a SQL query to answer the following question:
`In the district Wisconsin 2nd, what was the reason for change?`

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

CREATE TABLE "table1_1694505_4" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the district Wisconsin 2nd, what was the reason for change?`:
```sql
                SELECT "reason_for_change" FROM "table1_1694505_4" WHERE "district"='Wisconsin 2nd';
```
## Task
Generate a SQL query to answer the following question:
`Name the least age 30-39 where age 20-29 is 593`

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

CREATE TABLE "sterilization_operations_by_age_date" (
  "date_of_sterilization" text,
  "age_10_19" real,
  "age_20_29" real,
  "age_30_39" real,
  "age_40_49" real,
  "age_50_59" real,
  "age_unknown" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least age 30-39 where age 20-29 is 593`:
```sql
                SELECT MIN("age_30_39") FROM "sterilization_operations_by_age_date" WHERE "age_20_29"=593;
```
## Task
Generate a SQL query to answer the following question:
`Name the least age 40-49`

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

CREATE TABLE "sterilization_operations_by_age_date" (
  "date_of_sterilization" text,
  "age_10_19" real,
  "age_20_29" real,
  "age_30_39" real,
  "age_40_49" real,
  "age_50_59" real,
  "age_unknown" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least age 40-49`:
```sql
                SELECT MIN("age_40_49") FROM "sterilization_operations_by_age_date";
```
## Task
Generate a SQL query to answer the following question:
`Name the age 30-39 and age 10-19 380`

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

CREATE TABLE "sterilization_operations_by_age_date" (
  "date_of_sterilization" text,
  "age_10_19" real,
  "age_20_29" real,
  "age_30_39" real,
  "age_40_49" real,
  "age_50_59" real,
  "age_unknown" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the age 30-39 and age 10-19 380`:
```sql
                SELECT "age_30_39" FROM "sterilization_operations_by_age_date" WHERE "age_10_19"=380;
```
## Task
Generate a SQL query to answer the following question:
`Name the score for number 4`

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

CREATE TABLE "game_log" (
  "num" text,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the score for number 4`:
```sql
                SELECT "score" FROM "game_log" WHERE "num"='4';
```
## Task
Generate a SQL query to answer the following question:
`How many numbers were recorded for Chester when the religion was Hindu?`

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

CREATE TABLE "religious_group_breakdown" (
  "religion" text,
  "chester" text,
  "congleton" text,
  "crewe_and_nantwich" text,
  "ellesmere_port_and_neston" text,
  "macclesfield" text,
  "vale_royal" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many numbers were recorded for Chester when the religion was Hindu?`:
```sql
                SELECT COUNT("chester") FROM "religious_group_breakdown" WHERE "religion"='Hindu';
```
## Task
Generate a SQL query to answer the following question:
`what was Casey Martin's minimum yearly earnings?`

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

CREATE TABLE "pga_tour_results" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `what was Casey Martin's minimum yearly earnings?`:
```sql
                SELECT MIN("earnings") FROM "pga_tour_results";
```
## Task
Generate a SQL query to answer the following question:
`when Casey Martin's best finish was t-65, where did he land in the money list rankings?`

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

CREATE TABLE "pga_tour_results" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `when Casey Martin's best finish was t-65, where did he land in the money list rankings?`:
```sql
                SELECT "money_list_rank" FROM "pga_tour_results" WHERE "best_finish"='T-65';
```
## Task
Generate a SQL query to answer the following question:
`how many times did Casey Martin win?`

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

CREATE TABLE "pga_tour_results" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times did Casey Martin win?`:
```sql
                SELECT MAX("wins") FROM "pga_tour_results";
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of air dates for 05 cycle`

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

CREATE TABLE "table1_16976547_2" (
  "cycle_no" text,
  "air_dates" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of air dates for 05 cycle`:
```sql
                SELECT COUNT("air_dates") FROM "table1_16976547_2" WHERE "cycle_no"='05';
```
## Task
Generate a SQL query to answer the following question:
`Name the vote for gigit`

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

CREATE TABLE "table1_16976547_2" (
  "cycle_no" text,
  "air_dates" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the vote for gigit`:
```sql
                SELECT "vote" FROM "table1_16976547_2" WHERE "eliminated"='Gigit';
```