cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How much was the minimum renewable electricity (GW-h) that is ranked 36?`

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

CREATE TABLE "table1_25244412_2" (
  "rank" real,
  "rank_w_o_hydropower" real,
  "state" text,
  "pct_renewable" text,
  "pct_renewable_w_o_hydro" text,
  "renewable_electricity_gw_h" real,
  "renewable_electricity_w_o_hydro_gw_h" real,
  "total_electricity_gw_h" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much was the minimum renewable electricity (GW-h) that is ranked 36?`:
```sql
                SELECT MIN("renewable_electricity_gw_h") FROM "table1_25244412_2" WHERE "rank"=36;
```
## Task
Generate a SQL query to answer the following question:
`What was the state with the total electricity generated is 38380 gw-h?`

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

CREATE TABLE "table1_25244412_2" (
  "rank" real,
  "rank_w_o_hydropower" real,
  "state" text,
  "pct_renewable" text,
  "pct_renewable_w_o_hydro" text,
  "renewable_electricity_gw_h" real,
  "renewable_electricity_w_o_hydro_gw_h" real,
  "total_electricity_gw_h" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the state with the total electricity generated is 38380 gw-h?`:
```sql
                SELECT "state" FROM "table1_25244412_2" WHERE "total_electricity_gw_h"=38380;
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode titled "Big Time Blogger"?`

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

CREATE TABLE "table1_25246990_2" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode titled "Big Time Blogger"?`:
```sql
                SELECT "directed_by" FROM "table1_25246990_2" WHERE "title"='\"Big Time Blogger\"';
```
## Task
Generate a SQL query to answer the following question:
`What number episode in the series had a production code of 111?`

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

CREATE TABLE "table1_25246990_2" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number episode in the series had a production code of 111?`:
```sql
                SELECT "no_in_series" FROM "table1_25246990_2" WHERE "prod_code"='111';
```
## Task
Generate a SQL query to answer the following question:
`What number episode in the series had a production code of 110?`

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

CREATE TABLE "table1_25246990_2" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number episode in the series had a production code of 110?`:
```sql
                SELECT "no_in_series" FROM "table1_25246990_2" WHERE "prod_code"='110';
```
## Task
Generate a SQL query to answer the following question:
`How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn?`

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

CREATE TABLE "table1_25246990_2" (
  "no_in_series" text,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_25246990_2" WHERE "written_by"='Jed Spingarn' AND "no_in_series"='7';
```
## Task
Generate a SQL query to answer the following question:
`What was the original U.S. air date of the episode directed by Julian Petrillo?`

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

CREATE TABLE "table1_25246990_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original U.S. air date of the episode directed by Julian Petrillo?`:
```sql
                SELECT "original_u_s_air_date" FROM "table1_25246990_5" WHERE "directed_by"='Julian Petrillo';
```
## Task
Generate a SQL query to answer the following question:
`How many different original U.S. air dates appear where the U.S. viewers were 2.5 million?`

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

CREATE TABLE "table1_25246990_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many different original U.S. air dates appear where the U.S. viewers were 2.5 million?`:
```sql
                SELECT COUNT("original_u_s_air_date") FROM "table1_25246990_5" WHERE "u_s_viewers_millions"='2.5';
```
## Task
Generate a SQL query to answer the following question:
`How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?`

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

CREATE TABLE "table1_25246990_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_25246990_5" WHERE "written_by"='Lazar Saric & Jed Spingarn';
```
## Task
Generate a SQL query to answer the following question:
`How many U.S. viewers were there for the number 4 episode in season?`

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

CREATE TABLE "table1_25246990_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many U.S. viewers were there for the number 4 episode in season?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_25246990_5" WHERE "no_in_season"=4;
```
## Task
Generate a SQL query to answer the following question:
`Name the least rank`

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

CREATE TABLE "demographics" (
  "rank" real,
  "district" text,
  "population" real,
  "growth_rate" text,
  "sex_ratio" real,
  "literacy" text,
  "density_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least rank`:
```sql
                SELECT MIN("rank") FROM "demographics";
```
## Task
Generate a SQL query to answer the following question:
`Name the growth rate for hooghly`

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

CREATE TABLE "demographics" (
  "rank" real,
  "district" text,
  "population" real,
  "growth_rate" text,
  "sex_ratio" real,
  "literacy" text,
  "density_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the growth rate for hooghly`:
```sql
                SELECT "growth_rate" FROM "demographics" WHERE "district"='Hooghly';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of rank for east midnapore`

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

CREATE TABLE "demographics" (
  "rank" real,
  "district" text,
  "population" real,
  "growth_rate" text,
  "sex_ratio" real,
  "literacy" text,
  "density_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of rank for east midnapore`:
```sql
                SELECT COUNT("rank") FROM "demographics" WHERE "district"='East Midnapore';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of rank for growth raate for 14.47`

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

CREATE TABLE "demographics" (
  "rank" real,
  "district" text,
  "population" real,
  "growth_rate" text,
  "sex_ratio" real,
  "literacy" text,
  "density_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of rank for growth raate for 14.47`:
```sql
                SELECT COUNT("rank") FROM "demographics" WHERE "growth_rate"='14.47';
```
## Task
Generate a SQL query to answer the following question:
`Who is the champion of the 1994 season?`

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

CREATE TABLE "seasons_summary" (
  "season" real,
  "champion" text,
  "runner_up" text,
  "third_place" text,
  "top_scorer" text,
  "best_player" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the champion of the 1994 season?`:
```sql
                SELECT "champion" FROM "seasons_summary" WHERE "season"=1994;
```
## Task
Generate a SQL query to answer the following question:
`Who is the best player in the 1998 season?`

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

CREATE TABLE "seasons_summary" (
  "season" real,
  "champion" text,
  "runner_up" text,
  "third_place" text,
  "top_scorer" text,
  "best_player" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the best player in the 1998 season?`:
```sql
                SELECT "best_player" FROM "seasons_summary" WHERE "season"=1998;
```
## Task
Generate a SQL query to answer the following question:
`What was the largest index the year/s forcible rapes numbered 1084? `

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

CREATE TABLE "crime_statistics_1960_2009" (
  "year" real,
  "population" real,
  "index" real,
  "violent" real,
  "property" real,
  "murder" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the largest index the year/s forcible rapes numbered 1084? `:
```sql
                SELECT MAX("index") FROM "crime_statistics_1960_2009" WHERE "forcible_rape"=1084;
```
## Task
Generate a SQL query to answer the following question:
`How many violent catagories are listed for the year forcible rapes were 1156? `

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

CREATE TABLE "crime_statistics_1960_2009" (
  "year" real,
  "population" real,
  "index" real,
  "violent" real,
  "property" real,
  "murder" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many violent catagories are listed for the year forcible rapes were 1156? `:
```sql
                SELECT COUNT("violent") FROM "crime_statistics_1960_2009" WHERE "forcible_rape"=1156;
```
## Task
Generate a SQL query to answer the following question:
`What was the largest number of aggravated assaults when there were 3811 robberies? `

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

CREATE TABLE "crime_statistics_1960_2009" (
  "year" real,
  "population" real,
  "index" real,
  "violent" real,
  "property" real,
  "murder" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the largest number of aggravated assaults when there were 3811 robberies? `:
```sql
                SELECT MAX("aggravated_assault") FROM "crime_statistics_1960_2009" WHERE "robbery"=3811;
```
## Task
Generate a SQL query to answer the following question:
`What was the number of murders the year forcible rapes were at 166? `

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

CREATE TABLE "crime_statistics_1960_2009" (
  "year" real,
  "population" real,
  "index" real,
  "violent" real,
  "property" real,
  "murder" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of murders the year forcible rapes were at 166? `:
```sql
                SELECT "murder" FROM "crime_statistics_1960_2009" WHERE "forcible_rape"=166;
```
## Task
Generate a SQL query to answer the following question:
`How many violent crimes occurred the year that the index was 191037? `

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

CREATE TABLE "crime_statistics_1960_2009" (
  "year" real,
  "population" real,
  "index" real,
  "violent" real,
  "property" real,
  "murder" real,
  "forcible_rape" real,
  "robbery" real,
  "aggravated_assault" real,
  "burglary" real,
  "larceny_theft" real,
  "vehicle_theft" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many violent crimes occurred the year that the index was 191037? `:
```sql
                SELECT "violent" FROM "crime_statistics_1960_2009" WHERE "index"=191037;
```
## Task
Generate a SQL query to answer the following question:
`What date did "fast friends" originally air?`

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

CREATE TABLE "table1_25277363_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did "fast friends" originally air?`:
```sql
                SELECT "original_air_date" FROM "table1_25277363_2" WHERE "title"='\"Fast Friends\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode number 149 in the series?`

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

CREATE TABLE "table1_25277363_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode number 149 in the series?`:
```sql
                SELECT "written_by" FROM "table1_25277363_2" WHERE "no_in_series"=149;
```
## Task
Generate a SQL query to answer the following question:
`What episode number in the series is "tough love"?`

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

CREATE TABLE "table1_25277363_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode number in the series is "tough love"?`:
```sql
                SELECT MAX("no_in_series") FROM "table1_25277363_2" WHERE "title"='\"Tough Love\"';
```
## Task
Generate a SQL query to answer the following question:
`"It's not my job" is the minimum title in no. in season.`

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

CREATE TABLE "table1_25276528_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `"It's not my job" is the minimum title in no. in season.`:
```sql
                SELECT MIN("no_in_season") FROM "table1_25276528_2" WHERE "title"='\"It''s Not My Job\"';
```
## Task
Generate a SQL query to answer the following question:
`What title did Bill Foster direct ?`

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

CREATE TABLE "table1_25276528_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title did Bill Foster direct ?`:
```sql
                SELECT "title" FROM "table1_25276528_2" WHERE "directed_by"='Bill Foster';
```
## Task
Generate a SQL query to answer the following question:
`Kim Weiskopf and Jeff Franklin wrote all the no. in series.`

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

CREATE TABLE "table1_25276528_2" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Kim Weiskopf and Jeff Franklin wrote all the no. in series.`:
```sql
                SELECT "no_in_series" FROM "table1_25276528_2" WHERE "written_by"='Kim Weiskopf and Jeff Franklin';
```
## Task
Generate a SQL query to answer the following question:
`Which co-stars did Kalyanji-anandji direct in 1963?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" text,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which co-stars did Kalyanji-anandji direct in 1963?`:
```sql
                SELECT "co_stars" FROM "list_of_songs" WHERE "music_director"='Kalyanji-Anandji' AND "year"='1963';
```
## Task
Generate a SQL query to answer the following question:
`Which co-singers appear in the movie Pyaasa?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" text,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which co-singers appear in the movie Pyaasa?`:
```sql
                SELECT "co_singers" FROM "list_of_songs" WHERE "movie_album"='Pyaasa';
```
## Task
Generate a SQL query to answer the following question:
`What is the additional information in the song mera yaar bana hai dulha`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" text,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the additional information in the song mera yaar bana hai dulha`:
```sql
                SELECT "additional_info" FROM "list_of_songs" WHERE "song"='Mera Yaar Bana Hai Dulha';
```
## Task
Generate a SQL query to answer the following question:
`In which years are co-stars  mala sinha and amitabh bachchan?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" text,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which years are co-stars  mala sinha and amitabh bachchan?`:
```sql
                SELECT "year" FROM "list_of_songs" WHERE "co_stars"='Mala Sinha and Amitabh Bachchan';
```
## Task
Generate a SQL query to answer the following question:
`Which song has Drunkard Groom listed as additional information?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" real,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song has Drunkard Groom listed as additional information?`:
```sql
                SELECT "song" FROM "list_of_songs" WHERE "additional_info"='Drunkard Groom';
```
## Task
Generate a SQL query to answer the following question:
`Who was the lyricist for the song  with music directed by madan mohan kohli?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" real,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the lyricist for the song  with music directed by madan mohan kohli?`:
```sql
                SELECT "lyricist" FROM "list_of_songs" WHERE "music_director"='Madan Mohan Kohli';
```
## Task
Generate a SQL query to answer the following question:
`Which song directed by datta naik had the ending stranza written by Johnny Walker?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" real,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song directed by datta naik had the ending stranza written by Johnny Walker?`:
```sql
                SELECT "additional_info" FROM "list_of_songs" WHERE "music_director"='Datta Naik';
```
## Task
Generate a SQL query to answer the following question:
`In which album can Dil De De Nahin Nahin Dil Le Le be found?`

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

CREATE TABLE "list_of_songs" (
  "song" text,
  "singer" text,
  "co_singers" text,
  "music_director" text,
  "lyricist" text,
  "co_stars" text,
  "movie_album" text,
  "year" real,
  "additional_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which album can Dil De De Nahin Nahin Dil Le Le be found?`:
```sql
                SELECT "movie_album" FROM "list_of_songs" WHERE "song"='Dil De De Nahin Nahin Dil Le Le';
```
## Task
Generate a SQL query to answer the following question:
`What was the GDP for 2002-2005 for the construction center? `

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

CREATE TABLE "gdp_by_value_added" (
  "supply_sector_pct_of_gdp_in_current_prices" text,
  "1993_2001" text,
  "2002_2005" text,
  "2006_2009" text,
  "2010_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the GDP for 2002-2005 for the construction center? `:
```sql
                SELECT "2002_2005" FROM "gdp_by_value_added" WHERE "supply_sector_pct_of_gdp_in_current_prices"='Construction';
```
## Task
Generate a SQL query to answer the following question:
`What was GDP for 2006-2009 for the sector that had a 20.1 GDP for 2010-2012?`

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

CREATE TABLE "gdp_by_value_added" (
  "supply_sector_pct_of_gdp_in_current_prices" text,
  "1993_2001" text,
  "2002_2005" text,
  "2006_2009" text,
  "2010_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was GDP for 2006-2009 for the sector that had a 20.1 GDP for 2010-2012?`:
```sql
                SELECT "2006_2009" FROM "gdp_by_value_added" WHERE "2010_2012"='20.1';
```
## Task
Generate a SQL query to answer the following question:
`What sector had a 1.4 GDP for 2006-2009?`

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

CREATE TABLE "gdp_by_value_added" (
  "supply_sector_pct_of_gdp_in_current_prices" text,
  "1993_2001" text,
  "2002_2005" text,
  "2006_2009" text,
  "2010_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What sector had a 1.4 GDP for 2006-2009?`:
```sql
                SELECT "supply_sector_pct_of_gdp_in_current_prices" FROM "gdp_by_value_added" WHERE "2006_2009"='1.4';
```
## Task
Generate a SQL query to answer the following question:
`What sector had a 17.3 GDP for 1993-2001?`

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

CREATE TABLE "gdp_by_value_added" (
  "supply_sector_pct_of_gdp_in_current_prices" text,
  "1993_2001" text,
  "2002_2005" text,
  "2006_2009" text,
  "2010_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What sector had a 17.3 GDP for 1993-2001?`:
```sql
                SELECT "supply_sector_pct_of_gdp_in_current_prices" FROM "gdp_by_value_added" WHERE "1993_2001"='17.3';
```
## Task
Generate a SQL query to answer the following question:
`The sector that had a 8.7 GDP for 2006-2009 had what GDP for 1993-2001?`

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

CREATE TABLE "gdp_by_value_added" (
  "supply_sector_pct_of_gdp_in_current_prices" text,
  "1993_2001" text,
  "2002_2005" text,
  "2006_2009" text,
  "2010_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `The sector that had a 8.7 GDP for 2006-2009 had what GDP for 1993-2001?`:
```sql
                SELECT "1993_2001" FROM "gdp_by_value_added" WHERE "2006_2009"='8.7';
```
## Task
Generate a SQL query to answer the following question:
`What is the November 3 result when June 10-11 is 147?`

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

CREATE TABLE "table1_25284864_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the November 3 result when June 10-11 is 147?`:
```sql
                SELECT "november_3" FROM "table1_25284864_3" WHERE "june_10_11"='147';
```
## Task
Generate a SQL query to answer the following question:
`What is the November 3 result when the result for January 15-16 is 141?`

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

CREATE TABLE "table1_25284864_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the November 3 result when the result for January 15-16 is 141?`:
```sql
                SELECT "november_3" FROM "table1_25284864_3" WHERE "january_15_16"='141';
```
## Task
Generate a SQL query to answer the following question:
`What is the November 3 result when the June 10-11 is 147?`

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

CREATE TABLE "table1_25284864_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the November 3 result when the June 10-11 is 147?`:
```sql
                SELECT "november_3" FROM "table1_25284864_3" WHERE "june_10_11"='147';
```
## Task
Generate a SQL query to answer the following question:
`What June 10-11 is is that corresponds to March 28, 1968?`

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

CREATE TABLE "table1_25284864_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What June 10-11 is is that corresponds to March 28, 1968?`:
```sql
                SELECT "june_10_11" FROM "table1_25284864_3" WHERE "march_27_29"='March 28, 1968';
```
## Task
Generate a SQL query to answer the following question:
`What January 15-16 is is that corresponds to November 3, 2013?`

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

CREATE TABLE "table1_25284864_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What January 15-16 is is that corresponds to November 3, 2013?`:
```sql
                SELECT "january_15_16" FROM "table1_25284864_3" WHERE "november_3"='November 3, 2013';
```
## Task
Generate a SQL query to answer the following question:
`When 127 is on June 10th to 11th what is November 3rd?`

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

CREATE TABLE "table1_25286976_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 127 is on June 10th to 11th what is November 3rd?`:
```sql
                SELECT "november_3" FROM "table1_25286976_2" WHERE "june_10_11"='127';
```
## Task
Generate a SQL query to answer the following question:
`When 129 is on March 27th to 29th what is June 10th to 11th?`

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

CREATE TABLE "table1_25286976_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 129 is on March 27th to 29th what is June 10th to 11th?`:
```sql
                SELECT "june_10_11" FROM "table1_25286976_2" WHERE "march_27_29"='129';
```
## Task
Generate a SQL query to answer the following question:
`When 139 is on March 27th to 29th what is August 21st to 22nd?`

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

CREATE TABLE "table1_25286976_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 139 is on March 27th to 29th what is August 21st to 22nd?`:
```sql
                SELECT "august_21_22" FROM "table1_25286976_2" WHERE "march_27_29"='139';
```
## Task
Generate a SQL query to answer the following question:
`During November 3 where august 21-22 is august 21, 2017?`

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

CREATE TABLE "table1_25287007_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `During November 3 where august 21-22 is august 21, 2017?`:
```sql
                SELECT "november_3" FROM "table1_25287007_2" WHERE "august_21_22"='August 21, 2017';
```
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse on June 10-11, while November 3 is 153?`

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

CREATE TABLE "table1_25287007_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse on June 10-11, while November 3 is 153?`:
```sql
                SELECT "june_10_11" FROM "table1_25287007_2" WHERE "november_3"='153';
```
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?`

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

CREATE TABLE "table1_25287007_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?`:
```sql
                SELECT COUNT("august_21_22") FROM "table1_25287007_2" WHERE "june_10_11"='June 11, 1983';
```
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during June 10-11 and march 27-29 is 149?`

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

CREATE TABLE "table1_25287007_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during June 10-11 and march 27-29 is 149?`:
```sql
                SELECT "june_10_11" FROM "table1_25287007_2" WHERE "march_27_29"='149';
```
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during august 21-22 and January 15-16 is 141?`

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

CREATE TABLE "table1_25287007_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during august 21-22 and January 15-16 is 141?`:
```sql
                SELECT "august_21_22" FROM "table1_25287007_2" WHERE "january_15_16"='141';
```
## Task
Generate a SQL query to answer the following question:
`How many solar eclipse during  January 15-16 and august 21-22 on august 21, 2017?`

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

CREATE TABLE "table1_25287007_2" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many solar eclipse during  January 15-16 and august 21-22 on august 21, 2017?`:
```sql
                SELECT "january_15_16" FROM "table1_25287007_2" WHERE "august_21_22"='August 21, 2017';
```
## Task
Generate a SQL query to answer the following question:
`Name the fastest lap for round 14`

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

CREATE TABLE "results" (
  "round" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fastest lap for round 14`:
```sql
                SELECT COUNT("fastest_lap") FROM "results" WHERE "round"='14';
```
## Task
Generate a SQL query to answer the following question:
`Name the winning driver for 20 april`

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

CREATE TABLE "results" (
  "round" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winning driver for 20 april`:
```sql
                SELECT "winning_driver" FROM "results" WHERE "date"='20 April';
```
## Task
Generate a SQL query to answer the following question:
`Name the circuit for 13 july`

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

CREATE TABLE "results" (
  "round" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the circuit for 13 july`:
```sql
                SELECT "circuit" FROM "results" WHERE "date"='13 July';
```
## Task
Generate a SQL query to answer the following question:
`Name the fastest lap for round 3`

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

CREATE TABLE "results" (
  "round" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fastest lap for round 3`:
```sql
                SELECT "fastest_lap" FROM "results" WHERE "round"='3';
```
## Task
Generate a SQL query to answer the following question:
`Name the fastest lap for piquet sports and silverstone`

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

CREATE TABLE "results" (
  "round" text,
  "circuit" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fastest lap for piquet sports and silverstone`:
```sql
                SELECT "fastest_lap" FROM "results" WHERE "winning_team"='Piquet Sports' AND "circuit"='Silverstone';
```
## Task
Generate a SQL query to answer the following question:
`How many laps where the position is 10th and the races is smaller than 9.0?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps where the position is 10th and the races is smaller than 9.0?`:
```sql
                SELECT COUNT("f_laps") FROM "career_summary" WHERE "position"='10th' AND "races"<9.0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of races?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest amount of races?`:
```sql
                SELECT MIN("races") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`Which races have 137 points?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which races have 137 points?`:
```sql
                SELECT "races" FROM "career_summary" WHERE "points"='137';
```
## Task
Generate a SQL query to answer the following question:
`What team has 137 points?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has 137 points?`:
```sql
                SELECT "team" FROM "career_summary" WHERE "points"='137';
```
## Task
Generate a SQL query to answer the following question:
`How many points were scored when the podiums is 0 and position is 10th?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points were scored when the podiums is 0 and position is 10th?`:
```sql
                SELECT "points" FROM "career_summary" WHERE "podiums"=0 AND "position"='10th';
```
## Task
Generate a SQL query to answer the following question:
`What is the rate limit when the desired rate change (%) is +40.4?`

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

CREATE TABLE "setting_the_cap" (
  "authority" text,
  "rate_or_precept" text,
  "budget_limit_m" text,
  "budget_plans_m" text,
  "rate_limit_p" text,
  "rate_change_pct" text,
  "desired_rate_p" text,
  "desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate limit when the desired rate change (%) is +40.4?`:
```sql
                SELECT "rate_limit_p" FROM "setting_the_cap" WHERE "desired_rate_change_pct"='+40.4';
```
## Task
Generate a SQL query to answer the following question:
`What is the rate limit when budget plans (£m) is limit agreed?`

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

CREATE TABLE "setting_the_cap" (
  "authority" text,
  "rate_or_precept" text,
  "budget_limit_m" text,
  "budget_plans_m" text,
  "rate_limit_p" text,
  "rate_change_pct" text,
  "desired_rate_p" text,
  "desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate limit when budget plans (£m) is limit agreed?`:
```sql
                SELECT "rate_limit_p" FROM "setting_the_cap" WHERE "budget_plans_m"='limit agreed';
```
## Task
Generate a SQL query to answer the following question:
`What is the rate limit when the desired rate (p) is 162?`

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

CREATE TABLE "setting_the_cap" (
  "authority" text,
  "rate_or_precept" text,
  "budget_limit_m" text,
  "budget_plans_m" text,
  "rate_limit_p" text,
  "rate_change_pct" text,
  "desired_rate_p" text,
  "desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate limit when the desired rate (p) is 162?`:
```sql
                SELECT "rate_limit_p" FROM "setting_the_cap" WHERE "desired_rate_p"='162';
```
## Task
Generate a SQL query to answer the following question:
`What is the rate change % when the rate limit is 82.86?`

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

CREATE TABLE "setting_the_cap" (
  "authority" text,
  "rate_or_precept" text,
  "budget_limit_m" text,
  "budget_plans_m" text,
  "rate_limit_p" text,
  "rate_change_pct" text,
  "desired_rate_p" text,
  "desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rate change % when the rate limit is 82.86?`:
```sql
                SELECT "rate_change_pct" FROM "setting_the_cap" WHERE "rate_limit_p"='82.86';
```
## Task
Generate a SQL query to answer the following question:
`What is the desired rate when the rate limit (p) is 50.33?`

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

CREATE TABLE "setting_the_cap" (
  "authority" text,
  "rate_or_precept" text,
  "budget_limit_m" text,
  "budget_plans_m" text,
  "rate_limit_p" text,
  "rate_change_pct" text,
  "desired_rate_p" text,
  "desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the desired rate when the rate limit (p) is 50.33?`:
```sql
                SELECT "desired_rate_p" FROM "setting_the_cap" WHERE "rate_limit_p"='50.33';
```
## Task
Generate a SQL query to answer the following question:
`What is the authority who set the budget limit (£m) at 900?`

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

CREATE TABLE "setting_the_cap" (
  "authority" text,
  "rate_or_precept" text,
  "budget_limit_m" text,
  "budget_plans_m" text,
  "rate_limit_p" text,
  "rate_change_pct" text,
  "desired_rate_p" text,
  "desired_rate_change_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the authority who set the budget limit (£m) at 900?`:
```sql
                SELECT "authority" FROM "setting_the_cap" WHERE "budget_limit_m"='900';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest share?`

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

CREATE TABLE "ratings" (
  "order" real,
  "episode" text,
  "u_s_air_date" text,
  "rating" text,
  "share" real,
  "rating_share_18_49" text,
  "viewers_millions" text,
  "rank_timeslot" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest share?`:
```sql
                SELECT MAX("share") FROM "ratings";
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game with 7523 in attendance?`

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

CREATE TABLE "table1_25331766_3" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the game with 7523 in attendance?`:
```sql
                SELECT "final_score" FROM "table1_25331766_3" WHERE "attendance"=7523;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest attendance?`

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

CREATE TABLE "table1_25331766_3" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest attendance?`:
```sql
                SELECT MIN("attendance") FROM "table1_25331766_3";
```
## Task
Generate a SQL query to answer the following question:
`If the rebounds are at 87, what are the amount of steals?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the rebounds are at 87, what are the amount of steals?`:
```sql
                SELECT "steals" FROM "player_stats" WHERE "rebounds"=87;
```
## Task
Generate a SQL query to answer the following question:
`How many players 89 points?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "rebounds" real,
  "assists" real,
  "steals" real,
  "blocks" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many players 89 points?`:
```sql
                SELECT COUNT("blocks") FROM "player_stats" WHERE "points"=89;
```