cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
` how many equivalent daily inflation rate with currency name being republika srpska dinar`

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

CREATE TABLE "table1_13681_2" (
  "country" text,
  "currency_name" text,
  "month_with_highest_inflation_rate" text,
  "highest_monthly_inflation_rate" text,
  "equivalent_daily_inflation_rate" text,
  "time_required_for_prices_to_double" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many equivalent daily inflation rate with currency name being republika srpska dinar`:
```sql
                SELECT COUNT("equivalent_daily_inflation_rate") FROM "table1_13681_2" WHERE "currency_name"='Republika Srpska dinar';
```
## Task
Generate a SQL query to answer the following question:
`what's the country with highest monthly inflation rate being 3.13 × 10 8 %`

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

CREATE TABLE "table1_13681_2" (
  "country" text,
  "currency_name" text,
  "month_with_highest_inflation_rate" text,
  "highest_monthly_inflation_rate" text,
  "equivalent_daily_inflation_rate" text,
  "time_required_for_prices_to_double" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the country with highest monthly inflation rate being 3.13 × 10 8 %`:
```sql
                SELECT "country" FROM "table1_13681_2" WHERE "highest_monthly_inflation_rate"='3.13 × 10 8 %';
```
## Task
Generate a SQL query to answer the following question:
`How many grand final dual television commentators were there in 1961?`

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

CREATE TABLE "commentators_and_spokespersons" (
  "year_s" real,
  "grand_final_television_commentator" text,
  "grand_final_dual_television_commentator" text,
  "spokesperson" text,
  "semi_final_television_commentator" text,
  "semi_final_dual_television_commentator" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many grand final dual television commentators were there in 1961?`:
```sql
                SELECT COUNT("grand_final_dual_television_commentator") FROM "commentators_and_spokespersons" WHERE "year_s"=1961;
```
## Task
Generate a SQL query to answer the following question:
`Who was the spokesperson for France in 1970?`

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

CREATE TABLE "commentators_and_spokespersons" (
  "year_s" real,
  "grand_final_television_commentator" text,
  "grand_final_dual_television_commentator" text,
  "spokesperson" text,
  "semi_final_television_commentator" text,
  "semi_final_dual_television_commentator" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the spokesperson for France in 1970?`:
```sql
                SELECT "spokesperson" FROM "commentators_and_spokespersons" WHERE "year_s"=1970;
```
## Task
Generate a SQL query to answer the following question:
`What year was Thierry Beccaro the spokesperson?`

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

CREATE TABLE "commentators_and_spokespersons" (
  "year_s" real,
  "grand_final_television_commentator" text,
  "grand_final_dual_television_commentator" text,
  "spokesperson" text,
  "semi_final_television_commentator" text,
  "semi_final_dual_television_commentator" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Thierry Beccaro the spokesperson?`:
```sql
                SELECT MIN("year_s") FROM "commentators_and_spokespersons" WHERE "spokesperson"='Thierry Beccaro';
```
## Task
Generate a SQL query to answer the following question:
`How many games played on june 25?`

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

CREATE TABLE "lone_star_series" (
  "date" text,
  "winning_team" text,
  "score" text,
  "winning_pitcher" text,
  "losing_pitcher" text,
  "attendance" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games played on june 25?`:
```sql
                SELECT COUNT("score") FROM "lone_star_series" WHERE "date"='June 25';
```
## Task
Generate a SQL query to answer the following question:
`Who won the game on may 21?`

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

CREATE TABLE "lone_star_series" (
  "date" text,
  "winning_team" text,
  "score" text,
  "winning_pitcher" text,
  "losing_pitcher" text,
  "attendance" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the game on may 21?`:
```sql
                SELECT "winning_team" FROM "lone_star_series" WHERE "date"='May 21';
```
## Task
Generate a SQL query to answer the following question:
`Who was the losing pitcher when 40583 attended?`

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

CREATE TABLE "lone_star_series" (
  "date" text,
  "winning_team" text,
  "score" text,
  "winning_pitcher" text,
  "losing_pitcher" text,
  "attendance" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the losing pitcher when 40583 attended?`:
```sql
                SELECT "losing_pitcher" FROM "lone_star_series" WHERE "attendance"=40583;
```
## Task
Generate a SQL query to answer the following question:
`Who was the wenning witcher when ezequiel astacio was the losing pitcher?`

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

CREATE TABLE "lone_star_series" (
  "date" text,
  "winning_team" text,
  "score" text,
  "winning_pitcher" text,
  "losing_pitcher" text,
  "attendance" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the wenning witcher when ezequiel astacio was the losing pitcher?`:
```sql
                SELECT "winning_pitcher" FROM "lone_star_series" WHERE "losing_pitcher"='Ezequiel Astacio';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played on may 20?`

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

CREATE TABLE "lone_star_series" (
  "date" text,
  "winning_team" text,
  "score" text,
  "winning_pitcher" text,
  "losing_pitcher" text,
  "attendance" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played on may 20?`:
```sql
                SELECT "location" FROM "lone_star_series" WHERE "date"='May 20';
```
## Task
Generate a SQL query to answer the following question:
`On what position number is the club with a w-l-d of 5-7-4?`

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

CREATE TABLE "regular_season" (
  "position" real,
  "club_city_town" text,
  "games_played" real,
  "w_l_d" text,
  "goals_for_against" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what position number is the club with a w-l-d of 5-7-4?`:
```sql
                SELECT COUNT("club_city_town") FROM "regular_season" WHERE "w_l_d"='5-7-4';
```
## Task
Generate a SQL query to answer the following question:
`What's the position of the club with w-l-d of 6-2-8?`

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

CREATE TABLE "regular_season" (
  "position" real,
  "club_city_town" text,
  "games_played" real,
  "w_l_d" text,
  "goals_for_against" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the position of the club with w-l-d of 6-2-8?`:
```sql
                SELECT MAX("position") FROM "regular_season" WHERE "w_l_d"='6-2-8';
```
## Task
Generate a SQL query to answer the following question:
`How many games has the club with 29-24 goals for/against score played? `

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

CREATE TABLE "regular_season" (
  "position" real,
  "club_city_town" text,
  "games_played" real,
  "w_l_d" text,
  "goals_for_against" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games has the club with 29-24 goals for/against score played? `:
```sql
                SELECT "games_played" FROM "regular_season" WHERE "goals_for_against"='29-24';
```
## Task
Generate a SQL query to answer the following question:
`How many films titled Gie have been nominated?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many films titled Gie have been nominated?`:
```sql
                SELECT COUNT("original_title") FROM "submissions" WHERE "film_title_used_in_nomination"='Gie';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the fimm Biola Tak Berdawai?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the fimm Biola Tak Berdawai?`:
```sql
                SELECT "director" FROM "submissions" WHERE "original_title"='Biola tak berdawai';
```
## Task
Generate a SQL query to answer the following question:
`What title was used in the nomination for the title Biola Tak Berdawai?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title was used in the nomination for the title Biola Tak Berdawai?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "original_title"='Biola tak berdawai';
```
## Task
Generate a SQL query to answer the following question:
`How many years have a film that uses the title "Nagabonar" in the nomination?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years have a film that uses the title "Nagabonar" in the nomination?`:
```sql
                SELECT COUNT("year_ceremony") FROM "submissions" WHERE "film_title_used_in_nomination"='Nagabonar';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the film Gie?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the film Gie?`:
```sql
                SELECT "director" FROM "submissions" WHERE "film_title_used_in_nomination"='Gie';
```
## Task
Generate a SQL query to answer the following question:
`Name the try bonus for tries against is 70`

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

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the try bonus for tries against is 70`:
```sql
                SELECT "try_bonus" FROM "2008_2009_table" WHERE "tries_against"='70';
```
## Task
Generate a SQL query to answer the following question:
`What is the try bonus for when tries against is 43?`

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

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the try bonus for when tries against is 43?`:
```sql
                SELECT "try_bonus" FROM "2008_2009_table" WHERE "tries_against"='43';
```
## Task
Generate a SQL query to answer the following question:
`Name the drawn for llandaff rfc`

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

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the drawn for llandaff rfc`:
```sql
                SELECT "drawn" FROM "2008_2009_table" WHERE "club"='Llandaff RFC';
```
## Task
Generate a SQL query to answer the following question:
`Name the won for try bonus of 10`

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

CREATE TABLE "2008_2009_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the won for try bonus of 10`:
```sql
                SELECT "won" FROM "2008_2009_table" WHERE "try_bonus"='10';
```
## Task
Generate a SQL query to answer the following question:
`It was announced on July 2, 2006 that what asset was acquired? `

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

CREATE TABLE "table1_1373542_1" (
  "asset_acquired" text,
  "acquired_from" text,
  "date_announced" text,
  "date_completed" text,
  "reported_cost" text
);
### SQL
Given the database schema, here is the SQL query that answers `It was announced on July 2, 2006 that what asset was acquired? `:
```sql
                SELECT "asset_acquired" FROM "table1_1373542_1" WHERE "date_announced"='July 2, 2006';
```
## Task
Generate a SQL query to answer the following question:
`On what date was it announced that an asset was acquired for US$9 Million? `

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

CREATE TABLE "table1_1373542_1" (
  "asset_acquired" text,
  "acquired_from" text,
  "date_announced" text,
  "date_completed" text,
  "reported_cost" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was it announced that an asset was acquired for US$9 Million? `:
```sql
                SELECT "date_announced" FROM "table1_1373542_1" WHERE "reported_cost"='US$9 million';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the asset acquisition that was announced on February 22, 2007 completed?  `

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

CREATE TABLE "table1_1373542_1" (
  "asset_acquired" text,
  "acquired_from" text,
  "date_announced" text,
  "date_completed" text,
  "reported_cost" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the asset acquisition that was announced on February 22, 2007 completed?  `:
```sql
                SELECT "date_completed" FROM "table1_1373542_1" WHERE "date_announced"='February 22, 2007';
```
## Task
Generate a SQL query to answer the following question:
`It is was announced on July 2, 2006 that what asset had been acquired? `

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

CREATE TABLE "table1_1373542_1" (
  "asset_acquired" text,
  "acquired_from" text,
  "date_announced" text,
  "date_completed" text,
  "reported_cost" text
);
### SQL
Given the database schema, here is the SQL query that answers `It is was announced on July 2, 2006 that what asset had been acquired? `:
```sql
                SELECT "asset_acquired" FROM "table1_1373542_1" WHERE "date_announced"='July 2, 2006';
```
## Task
Generate a SQL query to answer the following question:
`What was the reported cost of the asset acquired from Standard & Poor's? `

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

CREATE TABLE "table1_1373542_1" (
  "asset_acquired" text,
  "acquired_from" text,
  "date_announced" text,
  "date_completed" text,
  "reported_cost" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the reported cost of the asset acquired from Standard & Poor's? `:
```sql
                SELECT "reported_cost" FROM "table1_1373542_1" WHERE "acquired_from"='Standard & Poor''s';
```
## Task
Generate a SQL query to answer the following question:
`what's the trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb`:
```sql
                SELECT "trim" FROM "engines" WHERE "fuel_mileage_latest_epa_mpg_us"='22 city, 30 hwy, 25 comb';
```
## Task
Generate a SQL query to answer the following question:
`what's the trim with engine being 3.5l lz4 v6`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the trim with engine being 3.5l lz4 v6`:
```sql
                SELECT "trim" FROM "engines" WHERE "engine"='3.5L LZ4 V6';
```
## Task
Generate a SQL query to answer the following question:
`what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb`:
```sql
                SELECT "torque" FROM "engines" WHERE "fuel_mileage_latest_epa_mpg_us"='22 city, 30 hwy, 25 comb';
```
## Task
Generate a SQL query to answer the following question:
`what's the torque with trim being xe (2009)`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the torque with trim being xe (2009)`:
```sql
                SELECT "torque" FROM "engines" WHERE "trim"='XE (2009)';
```
## Task
Generate a SQL query to answer the following question:
`what's the transmbeingsion with trim being xe (2009)`

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

CREATE TABLE "engines" (
  "trim" text,
  "engine" text,
  "displacement" text,
  "power" text,
  "torque" text,
  "transmission" text,
  "fuel_mileage_latest_epa_mpg_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the transmbeingsion with trim being xe (2009)`:
```sql
                SELECT "transmission" FROM "engines" WHERE "trim"='XE (2009)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the episode "rain of terror" that was written by John Brown?`

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

CREATE TABLE "table1_13740746_1" (
  "ep_no" real,
  "title" text,
  "director" text,
  "written_by" text,
  "original_air_date" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the episode "rain of terror" that was written by John Brown?`:
```sql
                SELECT "director" FROM "table1_13740746_1" WHERE "written_by"='John Brown' AND "title"='\"Rain of Terror\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the production number of "rain of terror"?`

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

CREATE TABLE "table1_13740746_1" (
  "ep_no" real,
  "title" text,
  "director" text,
  "written_by" text,
  "original_air_date" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production number of "rain of terror"?`:
```sql
                SELECT MIN("production_no") FROM "table1_13740746_1" WHERE "title"='\"Rain of Terror\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode called "mercury falling"?`

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

CREATE TABLE "table1_13740746_1" (
  "ep_no" real,
  "title" text,
  "director" text,
  "written_by" text,
  "original_air_date" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode called "mercury falling"?`:
```sql
                SELECT "written_by" FROM "table1_13740746_1" WHERE "title"='\"Mercury Falling\"';
```
## Task
Generate a SQL query to answer the following question:
`Nantyglo RFC had 546 points for and how many points?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Nantyglo RFC had 546 points for and how many points?`:
```sql
                SELECT "points" FROM "2006_2007_table" WHERE "points_for"='546';
```
## Task
Generate a SQL query to answer the following question:
`What club had 523 points against? `

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What club had 523 points against? `:
```sql
                SELECT "club" FROM "2006_2007_table" WHERE "points_against"='523';
```
## Task
Generate a SQL query to answer the following question:
`What club has 536 points for?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What club has 536 points for?`:
```sql
                SELECT "club" FROM "2006_2007_table" WHERE "points_for"='536';
```
## Task
Generate a SQL query to answer the following question:
`How many clubs had 7 wins? `

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many clubs had 7 wins? `:
```sql
                SELECT COUNT("club") FROM "2006_2007_table" WHERE "won"='7';
```
## Task
Generate a SQL query to answer the following question:
`What club had 404 points against? `

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What club had 404 points against? `:
```sql
                SELECT "club" FROM "2006_2007_table" WHERE "points_against"='404';
```
## Task
Generate a SQL query to answer the following question:
`Risca RFC has 54 tries for and how many draws? `

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Risca RFC has 54 tries for and how many draws? `:
```sql
                SELECT "drawn" FROM "2006_2007_table" WHERE "tries_for"='54';
```
## Task
Generate a SQL query to answer the following question:
`What club has 36 points?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What club has 36 points?`:
```sql
                SELECT "club" FROM "2009_2010_table" WHERE "points"='36';
```
## Task
Generate a SQL query to answer the following question:
`What are the lost where points lost is 353?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lost where points lost is 353?`:
```sql
                SELECT "lost" FROM "2009_2010_table" WHERE "points_for"='353';
```
## Task
Generate a SQL query to answer the following question:
`What are the won games with losing bonus of 0?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the won games with losing bonus of 0?`:
```sql
                SELECT "won" FROM "2009_2010_table" WHERE "losing_bonus"='0';
```
## Task
Generate a SQL query to answer the following question:
`Which club has 565 points?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which club has 565 points?`:
```sql
                SELECT "club" FROM "2009_2010_table" WHERE "points_for"='565';
```
## Task
Generate a SQL query to answer the following question:
`How many tries where points is 77?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "won" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many tries where points is 77?`:
```sql
                SELECT "tries_for" FROM "2009_2010_table" WHERE "points"='77';
```
## Task
Generate a SQL query to answer the following question:
`what's the percentage of votes with number of deputies being 112`

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

CREATE TABLE "parliamentary_elections" (
  "election_date" real,
  "party_leader" text,
  "number_of_votes_received" real,
  "percentage_of_votes" text,
  "number_of_deputies" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the percentage of votes with number of deputies being 112`:
```sql
                SELECT "percentage_of_votes" FROM "parliamentary_elections" WHERE "number_of_deputies"=112;
```
## Task
Generate a SQL query to answer the following question:
`what's the percentage of votes with election date being 1981`

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

CREATE TABLE "parliamentary_elections" (
  "election_date" real,
  "party_leader" text,
  "number_of_votes_received" real,
  "percentage_of_votes" text,
  "number_of_deputies" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the percentage of votes with election date being 1981`:
```sql
                SELECT "percentage_of_votes" FROM "parliamentary_elections" WHERE "election_date"=1981;
```
## Task
Generate a SQL query to answer the following question:
`what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969`

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

CREATE TABLE "parliamentary_elections" (
  "election_date" real,
  "party_leader" text,
  "number_of_votes_received" real,
  "percentage_of_votes" text,
  "number_of_deputies" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969`:
```sql
                SELECT "number_of_deputies" FROM "parliamentary_elections" WHERE "number_of_votes_received"<1549176.2765483726 AND "election_date"=1969;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the sorry of the episode directed by Dan Attias? `

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

CREATE TABLE "table1_13755296_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "story_by" text,
  "teleplay_by" text,
  "directed_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the sorry of the episode directed by Dan Attias? `:
```sql
                SELECT "story_by" FROM "table1_13755296_1" WHERE "directed_by"='Dan Attias';
```
## Task
Generate a SQL query to answer the following question:
`What's the season number of the episode directed by Dan Attias? `

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

CREATE TABLE "table1_13755296_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "story_by" text,
  "teleplay_by" text,
  "directed_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the season number of the episode directed by Dan Attias? `:
```sql
                SELECT MIN("season_num") FROM "table1_13755296_1" WHERE "directed_by"='Dan Attias';
```
## Task
Generate a SQL query to answer the following question:
`What's the title of the episode written by David Simon? `

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

CREATE TABLE "table1_13755296_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "story_by" text,
  "teleplay_by" text,
  "directed_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the title of the episode written by David Simon? `:
```sql
                SELECT "title" FROM "table1_13755296_1" WHERE "teleplay_by"='David Simon';
```
## Task
Generate a SQL query to answer the following question:
`What year was Skyline High School founded?`

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

CREATE TABLE "4_a_members" (
  "high_school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Skyline High School founded?`:
```sql
                SELECT COUNT("founded") FROM "4_a_members" WHERE "high_school"='Skyline';
```
## Task
Generate a SQL query to answer the following question:
`How many enrollment figures are provided for Roosevelt High School?`

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

CREATE TABLE "4_a_members" (
  "high_school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many enrollment figures are provided for Roosevelt High School?`:
```sql
                SELECT COUNT("enrollment") FROM "4_a_members" WHERE "high_school"='Roosevelt';
```
## Task
Generate a SQL query to answer the following question:
`Which location has a team that is nicknamed the Vikings?`

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

CREATE TABLE "4_a_members" (
  "high_school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which location has a team that is nicknamed the Vikings?`:
```sql
                SELECT "location" FROM "4_a_members" WHERE "nickname"='Vikings';
```
## Task
Generate a SQL query to answer the following question:
`What year was Kirkland founded?`

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

CREATE TABLE "3_a_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Kirkland founded?`:
```sql
                SELECT "founded" FROM "3_a_members" WHERE "location"='Kirkland';
```
## Task
Generate a SQL query to answer the following question:
`Which institution was founded in 1923?`

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

CREATE TABLE "3_a_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which institution was founded in 1923?`:
```sql
                SELECT "institution" FROM "3_a_members" WHERE "founded"=1923;
```
## Task
Generate a SQL query to answer the following question:
`Where is Interlake located?`

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

CREATE TABLE "3_a_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is Interlake located?`:
```sql
                SELECT "location" FROM "3_a_members" WHERE "institution"='Interlake';
```
## Task
Generate a SQL query to answer the following question:
`What was the series count at on May 23? `

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

CREATE TABLE "2006_nba_playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the series count at on May 23? `:
```sql
                SELECT "series" FROM "2006_nba_playoffs" WHERE "date"='May 23';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest numbered game on the list?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest numbered game on the list?`:
```sql
                SELECT MIN("game") FROM "game_log";
```
## Task
Generate a SQL query to answer the following question:
`Who had the high rebounds at the delta center?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high rebounds at the delta center?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='Delta Center';
```
## Task
Generate a SQL query to answer the following question:
`How many people had the high rebound total when the team was 19-13?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people had the high rebound total when the team was 19-13?`:
```sql
                SELECT COUNT("high_rebounds") FROM "game_log" WHERE "record"='19-13';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high point total when the team was 24-17?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high point total when the team was 24-17?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "record"='24-17';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the heat played at charlotte arena?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the heat played at charlotte arena?`:
```sql
                SELECT "score" FROM "game_log" WHERE "location_attendance"='Charlotte Arena';
```
## Task
Generate a SQL query to answer the following question:
`How many games had the team played after they were 40-20?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games had the team played after they were 40-20?`:
```sql
                SELECT "game" FROM "game_log" WHERE "record"='40-20';
```
## Task
Generate a SQL query to answer the following question:
`What was the score on November 25?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score on November 25?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='November 25';
```
## Task
Generate a SQL query to answer the following question:
`How many players scored the most points when the opposing team was New Orleans/Oklahoma City?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players scored the most points when the opposing team was New Orleans/Oklahoma City?`:
```sql
                SELECT COUNT("high_points") FROM "game_log" WHERE "team"='New Orleans/Oklahoma City';
```
## Task
Generate a SQL query to answer the following question:
`How many players scored the most points on game 4?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players scored the most points on game 4?`:
```sql
                SELECT COUNT("high_points") FROM "game_log" WHERE "game"=4;
```
## Task
Generate a SQL query to answer the following question:
`What was the last game where the record was 6-3?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the last game where the record was 6-3?`:
```sql
                SELECT MAX("game") FROM "game_log" WHERE "record"='6-3';
```
## Task
Generate a SQL query to answer the following question:
`what's the country/region with seasons and winners being season 1, 2012: demetra malalan`

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

CREATE TABLE "table1_13779832_1" (
  "country_region" text,
  "local_title" text,
  "television_network" text,
  "seasons_and_winners" text,
  "judges" text,
  "presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the country/region with seasons and winners being season 1, 2012: demetra malalan`:
```sql
                SELECT "country_region" FROM "table1_13779832_1" WHERE "seasons_and_winners"='Season 1, 2012: Demetra Malalan';
```
## Task
Generate a SQL query to answer the following question:
` how many local title with televbeingion network being tv nova website`

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

CREATE TABLE "table1_13779832_1" (
  "country_region" text,
  "local_title" text,
  "television_network" text,
  "seasons_and_winners" text,
  "judges" text,
  "presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many local title with televbeingion network being tv nova website`:
```sql
                SELECT COUNT("local_title") FROM "table1_13779832_1" WHERE "television_network"='TV Nova Website';
```
## Task
Generate a SQL query to answer the following question:
`who is the the judges with seasons and winners being season 1, 2013–2014: upcoming season`

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

CREATE TABLE "table1_13779832_1" (
  "country_region" text,
  "local_title" text,
  "television_network" text,
  "seasons_and_winners" text,
  "judges" text,
  "presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the judges with seasons and winners being season 1, 2013–2014: upcoming season`:
```sql
                SELECT "judges" FROM "table1_13779832_1" WHERE "seasons_and_winners"='Season 1, 2013–2014: Upcoming season';
```
## Task
Generate a SQL query to answer the following question:
`who is the the judges with local title being x factor and presenters being heikki paasonen jukka rossi (xtra factor)`

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

CREATE TABLE "table1_13779832_1" (
  "country_region" text,
  "local_title" text,
  "television_network" text,
  "seasons_and_winners" text,
  "judges" text,
  "presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the judges with local title being x factor and presenters being heikki paasonen jukka rossi (xtra factor)`:
```sql
                SELECT "judges" FROM "table1_13779832_1" WHERE "local_title"='X Factor' AND "presenters"='Heikki Paasonen Jukka Rossi (Xtra Factor)';
```
## Task
Generate a SQL query to answer the following question:
`what's the local title with seasons and winners being series 1, 2006: lucy benjamin`

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

CREATE TABLE "table1_13779832_1" (
  "country_region" text,
  "local_title" text,
  "television_network" text,
  "seasons_and_winners" text,
  "judges" text,
  "presenters" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the local title with seasons and winners being series 1, 2006: lucy benjamin`:
```sql
                SELECT "local_title" FROM "table1_13779832_1" WHERE "seasons_and_winners"='Series 1, 2006: Lucy Benjamin';
```