cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is Ballymurphy North's civil parish?`

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

CREATE TABLE "table1_30120633_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ballymurphy North's civil parish?`:
```sql
                SELECT "civil_parish" FROM "table1_30120633_1" WHERE "townland"='Ballymurphy North';
```
## Task
Generate a SQL query to answer the following question:
`How many acres in the townland of Coomroe?`

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

CREATE TABLE "table1_30120761_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many acres in the townland of Coomroe?`:
```sql
                SELECT COUNT("area_acres") FROM "table1_30120761_1" WHERE "townland"='Coomroe';
```
## Task
Generate a SQL query to answer the following question:
`What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish?`

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

CREATE TABLE "table1_30120761_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish?`:
```sql
                SELECT "area_acres" FROM "table1_30120761_1" WHERE "poor_law_union"='Macroom' AND "civil_parish"='Macroom';
```
## Task
Generate a SQL query to answer the following question:
`How many baronies is Maulnagrough a part of?`

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

CREATE TABLE "table1_30120761_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many baronies is Maulnagrough a part of?`:
```sql
                SELECT COUNT("barony") FROM "table1_30120761_1" WHERE "townland"='Maulnagrough';
```
## Task
Generate a SQL query to answer the following question:
`What are all of the townlands that have exactly 131 acres.`

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

CREATE TABLE "table1_30120761_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all of the townlands that have exactly 131 acres.`:
```sql
                SELECT "townland" FROM "table1_30120761_1" WHERE "area_acres"=131;
```
## Task
Generate a SQL query to answer the following question:
`What is the acreage of the Maghereen in the civil parish of Macroom?`

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

CREATE TABLE "table1_30120761_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the acreage of the Maghereen in the civil parish of Macroom?`:
```sql
                SELECT COUNT("area_acres") FROM "table1_30120761_1" WHERE "civil_parish"='Macroom' AND "townland"='Maghereen';
```
## Task
Generate a SQL query to answer the following question:
`What is the poor law union when the townland is bohonagh?`

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

CREATE TABLE "table1_30121075_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the poor law union when the townland is bohonagh?`:
```sql
                SELECT "poor_law_union" FROM "table1_30121075_1" WHERE "townland"='Bohonagh';
```
## Task
Generate a SQL query to answer the following question:
`How many entries are in barony when the townland is derrigra?`

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

CREATE TABLE "table1_30121075_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are in barony when the townland is derrigra?`:
```sql
                SELECT COUNT("barony") FROM "table1_30121075_1" WHERE "townland"='Derrigra';
```
## Task
Generate a SQL query to answer the following question:
`How many entries are listed in poor law union when townland is dromidiclogh?`

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

CREATE TABLE "table1_30121075_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are listed in poor law union when townland is dromidiclogh?`:
```sql
                SELECT COUNT("poor_law_union") FROM "table1_30121075_1" WHERE "townland"='Dromidiclogh';
```
## Task
Generate a SQL query to answer the following question:
`What is the area when the poor law union is skibbereen and the townland is knockmore?`

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

CREATE TABLE "table1_30121075_1" (
  "townland" text,
  "area_acres" real,
  "barony" text,
  "civil_parish" text,
  "poor_law_union" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the area when the poor law union is skibbereen and the townland is knockmore?`:
```sql
                SELECT "area_acres" FROM "table1_30121075_1" WHERE "poor_law_union"='Skibbereen' AND "townland"='Knockmore';
```
## Task
Generate a SQL query to answer the following question:
`What is the circuit located in baltimore , maryland?`

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

CREATE TABLE "race_calendar_and_results" (
  "rnd" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the circuit located in baltimore , maryland?`:
```sql
                SELECT "circuit" FROM "race_calendar_and_results" WHERE "location"='Baltimore , Maryland';
```
## Task
Generate a SQL query to answer the following question:
`Which circuit was located in st. petersburg, florida?`

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

CREATE TABLE "race_calendar_and_results" (
  "rnd" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which circuit was located in st. petersburg, florida?`:
```sql
                SELECT "circuit" FROM "race_calendar_and_results" WHERE "location"='St. Petersburg, Florida';
```
## Task
Generate a SQL query to answer the following question:
`Who had the fastest lap in bowmanville, ontario?`

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

CREATE TABLE "race_calendar_and_results" (
  "rnd" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the fastest lap in bowmanville, ontario?`:
```sql
                SELECT "fastest_lap" FROM "race_calendar_and_results" WHERE "location"='Bowmanville, Ontario';
```
## Task
Generate a SQL query to answer the following question:
`Who had the fastest lap on september 4?`

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

CREATE TABLE "race_calendar_and_results" (
  "rnd" real,
  "circuit" text,
  "location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "supporting" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the fastest lap on september 4?`:
```sql
                SELECT "fastest_lap" FROM "race_calendar_and_results" WHERE "date"='September 4';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?`

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

CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?`:
```sql
                SELECT "1985" FROM "per_capita_gdp" WHERE "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions"='369.38';
```
## Task
Generate a SQL query to answer the following question:
`What was the gap from Thailand as of 2012 for China?`

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

CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the gap from Thailand as of 2012 for China?`:
```sql
                SELECT "gap_from_thailand_as_of_2012_times" FROM "per_capita_gdp" WHERE "economy"='China';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum 2010 value for China?`

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

CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum 2010 value for China?`:
```sql
                SELECT MAX("2010") FROM "per_capita_gdp" WHERE "economy"='China';
```
## Task
Generate a SQL query to answer the following question:
`What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?`

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

CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?`:
```sql
                SELECT "gap_from_thailand_as_of_2012_times" FROM "per_capita_gdp" WHERE "gap_from_thailand_as_of_1980_times"='0.29';
```
## Task
Generate a SQL query to answer the following question:
`How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?`

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

CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?`:
```sql
                SELECT COUNT("gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions") FROM "per_capita_gdp" WHERE "2012"=23113;
```
## Task
Generate a SQL query to answer the following question:
`What is the max 2010 value for a 1980 gap value is 2.43?`

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

CREATE TABLE "per_capita_gdp" (
  "economy" text,
  "1980" real,
  "gap_from_thailand_as_of_1980_times" text,
  "1985" real,
  "1990" real,
  "1995" real,
  "2000" real,
  "2005" real,
  "2010" real,
  "2012" real,
  "gap_from_thailand_as_of_2012_times" text,
  "gdp_as_of_2012_after_purchasing_power_parity_ppp_calculations_usd_billions" text,
  "gdp_per_capita_as_of_2012_ppp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the max 2010 value for a 1980 gap value is 2.43?`:
```sql
                SELECT MAX("2010") FROM "per_capita_gdp" WHERE "gap_from_thailand_as_of_1980_times"='2.43';
```
## Task
Generate a SQL query to answer the following question:
`How many viewers in the UK did episode 50 have?`

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

CREATE TABLE "series_1_2011" (
  "episode_no" real,
  "us_airdate" text,
  "us_total_viewers" text,
  "uk_airdate" text,
  "uk_total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many viewers in the UK did episode 50 have?`:
```sql
                SELECT "uk_total_viewers" FROM "series_1_2011" WHERE "episode_no"=50;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the doubles W-L for player of laurynas grigelis`

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

CREATE TABLE "current_team" (
  "player" text,
  "current_singles_ranking" text,
  "current_doubles_ranking" text,
  "first_year_played" real,
  "ties_played" real,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the doubles W-L for player of laurynas grigelis`:
```sql
                SELECT "doubles_w_l" FROM "current_team" WHERE "player"='laurynas grigelis';
```
## Task
Generate a SQL query to answer the following question:
`What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner?`

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

CREATE TABLE "highest_goal_scorer" (
  "name" text,
  "career" text,
  "goals" real,
  "caps" real,
  "first_cap" text,
  "most_recent_cap" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner?`:
```sql
                SELECT "most_recent_cap" FROM "highest_goal_scorer" WHERE "goals">17 AND "name"='brian turner';
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of school/club team of barton cc (ks)?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of school/club team of barton cc (ks)?`:
```sql
                SELECT "nationality" FROM "r" WHERE "school_club_team"='barton cc (ks)';
```
## Task
Generate a SQL query to answer the following question:
`Shawn Respert play for what school/club team?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Shawn Respert play for what school/club team?`:
```sql
                SELECT "school_club_team" FROM "r" WHERE "player"='shawn respert';
```
## Task
Generate a SQL query to answer the following question:
`Who has position in year 1996-97 in Toronto?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has position in year 1996-97 in Toronto?`:
```sql
                SELECT "position" FROM "r" WHERE "years_in_toronto"='1996-97';
```
## Task
Generate a SQL query to answer the following question:
`Roy Rogers play for what school/club team?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Roy Rogers play for what school/club team?`:
```sql
                SELECT "school_club_team" FROM "r" WHERE "player"='roy rogers';
```
## Task
Generate a SQL query to answer the following question:
`What year is United States school/club team from Arkansas play in Toronto`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year is United States school/club team from Arkansas play in Toronto`:
```sql
                SELECT "years_in_toronto" FROM "r" WHERE "nationality"='united states' AND "school_club_team"='arkansas';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player from United States who play in year 2003-06 in Toronto?`

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

CREATE TABLE "r" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player from United States who play in year 2003-06 in Toronto?`:
```sql
                SELECT "player" FROM "r" WHERE "nationality"='united states' AND "years_in_toronto"='2003-06';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the average units sold for square enix`

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

CREATE TABLE "japan" (
  "place" real,
  "title" text,
  "platform" text,
  "publisher" text,
  "units_sold" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the average units sold for square enix`:
```sql
                SELECT AVG("units_sold") FROM "japan" WHERE "publisher"='square enix';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for nicolas pereira`

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

CREATE TABLE "doubles_wins_30" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for nicolas pereira`:
```sql
                SELECT "date" FROM "doubles_wins_30" WHERE "partnering"='nicolas pereira';
```
## Task
Generate a SQL query to answer the following question:
`what is the date in 1986?`

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

CREATE TABLE "1980s" (
  "year" real,
  "competition" text,
  "date" text,
  "location" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date in 1986?`:
```sql
                SELECT "date" FROM "1980s" WHERE "year"=1986;
```
## Task
Generate a SQL query to answer the following question:
`What is the average year for Ponce, Puerto Rico events?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average year for Ponce, Puerto Rico events?`:
```sql
                SELECT AVG("year") FROM "achievements" WHERE "venue"='ponce, puerto rico';
```
## Task
Generate a SQL query to answer the following question:
`What year did she place 8th in the junior race?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did she place 8th in the junior race?`:
```sql
                SELECT "year" FROM "achievements" WHERE "event"='junior race' AND "position"='8th';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the NHL team for ryan johnson`

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

CREATE TABLE "round_two" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the NHL team for ryan johnson`:
```sql
                SELECT "nhl_team" FROM "round_two" WHERE "player"='ryan johnson';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the position for pick of 47`

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

CREATE TABLE "round_two" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the position for pick of 47`:
```sql
                SELECT "position" FROM "round_two" WHERE "pick"='47';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the pick for pittsburgh penguins`

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

CREATE TABLE "round_two" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the pick for pittsburgh penguins`:
```sql
                SELECT "pick" FROM "round_two" WHERE "nhl_team"='pittsburgh penguins';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the nationality for rudolf vercik`

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

CREATE TABLE "round_two" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the nationality for rudolf vercik`:
```sql
                SELECT "nationality" FROM "round_two" WHERE "player"='rudolf vercik';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the player for nationality of canada for pick of 43`

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

CREATE TABLE "round_two" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the player for nationality of canada for pick of 43`:
```sql
                SELECT "player" FROM "round_two" WHERE "nationality"='canada' AND "pick"='43';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the college for jason holland`

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

CREATE TABLE "round_two" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the college for jason holland`:
```sql
                SELECT "college_junior_club_team" FROM "round_two" WHERE "player"='jason holland';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for rudolf caracciola for avusrennen`

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

CREATE TABLE "non_championship_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for rudolf caracciola for avusrennen`:
```sql
                SELECT "date" FROM "non_championship_grands_prix" WHERE "winning_driver"='rudolf caracciola' AND "name"='avusrennen';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the circuit for 10 may for targa florio`

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

CREATE TABLE "non_championship_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the circuit for 10 may for targa florio`:
```sql
                SELECT "circuit" FROM "non_championship_grands_prix" WHERE "date"='10 may' AND "name"='targa florio';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the Washington tournament?`

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

CREATE TABLE "singles_36_14_22" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the Washington tournament?`:
```sql
                SELECT "score" FROM "singles_36_14_22" WHERE "tournament"='washington';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Patty Fendick an opponent?`

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

CREATE TABLE "singles_36_14_22" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Patty Fendick an opponent?`:
```sql
                SELECT "date" FROM "singles_36_14_22" WHERE "opponent"='patty fendick';
```
## Task
Generate a SQL query to answer the following question:
`What score does Vasil Levski National Stadium, Sofia earn?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What score does Vasil Levski National Stadium, Sofia earn?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "venue"='vasil levski national stadium, sofia';
```
## Task
Generate a SQL query to answer the following question:
`What score did vasil levski national stadium, sofia, which was friendly during competition, earn?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What score did vasil levski national stadium, sofia, which was friendly during competition, earn?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='friendly' AND "venue"='vasil levski national stadium, sofia';
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of the Washington Capitals?`

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

CREATE TABLE "round_seven" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of the Washington Capitals?`:
```sql
                SELECT "nationality" FROM "round_seven" WHERE "nhl_team"='washington capitals';
```
## Task
Generate a SQL query to answer the following question:
`On what NHL team does Roman Vopat play for?`

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

CREATE TABLE "round_seven" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what NHL team does Roman Vopat play for?`:
```sql
                SELECT "nhl_team" FROM "round_seven" WHERE "player"='roman vopat';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player from the Ukraine?`

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

CREATE TABLE "round_seven" (
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player from the Ukraine?`:
```sql
                SELECT "position" FROM "round_seven" WHERE "nationality"='ukraine';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament did he place 12th in?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament did he place 12th in?`:
```sql
                SELECT "tournament" FROM "achievements" WHERE "result"='12th';
```
## Task
Generate a SQL query to answer the following question:
`What was the first year he placed 12th`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first year he placed 12th`:
```sql
                SELECT MIN("year") FROM "achievements" WHERE "result"='12th';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the circuit for alfa romeo swedish ice race`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the circuit for alfa romeo swedish ice race`:
```sql
                SELECT "circuit" FROM "other_grands_prix" WHERE "winning_constructor"='alfa romeo' AND "name"='swedish ice race';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for bugatti fpr stanislas czaykowski`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for bugatti fpr stanislas czaykowski`:
```sql
                SELECT "date" FROM "other_grands_prix" WHERE "winning_constructor"='bugatti' AND "winning_driver"='stanislas czaykowski';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the circuit for 20 august`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the circuit for 20 august`:
```sql
                SELECT "circuit" FROM "other_grands_prix" WHERE "date"='20 august';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the winning driver for avusrennen`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the winning driver for avusrennen`:
```sql
                SELECT "winning_driver" FROM "other_grands_prix" WHERE "name"='avusrennen';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the report for bugatti and brooklands`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the report for bugatti and brooklands`:
```sql
                SELECT "report" FROM "other_grands_prix" WHERE "winning_constructor"='bugatti' AND "circuit"='brooklands';
```
## Task
Generate a SQL query to answer the following question:
`How many years has there been a competition in Helsinki?`

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

CREATE TABLE "1980_1989" (
  "year" real,
  "competition" text,
  "date" text,
  "location" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years has there been a competition in Helsinki?`:
```sql
                SELECT COUNT("year") FROM "1980_1989" WHERE "location"='helsinki';
```
## Task
Generate a SQL query to answer the following question:
`Which competition before 1982 had a score of 2:3?`

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

CREATE TABLE "1980_1989" (
  "year" real,
  "competition" text,
  "date" text,
  "location" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which competition before 1982 had a score of 2:3?`:
```sql
                SELECT "competition" FROM "1980_1989" WHERE "year"<1982 AND "score"='2:3';
```
## Task
Generate a SQL query to answer the following question:
`Which competition occurred after 1980 with a score of 0:5 in Jerusalem?`

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

CREATE TABLE "1980_1989" (
  "year" real,
  "competition" text,
  "date" text,
  "location" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which competition occurred after 1980 with a score of 0:5 in Jerusalem?`:
```sql
                SELECT "competition" FROM "1980_1989" WHERE "year">1980 AND "score"='0:5' AND "location"='jerusalem';
```
## Task
Generate a SQL query to answer the following question:
`When was there an attendance of 51,342?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was there an attendance of 51,342?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='51,342';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance during week 7?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance during week 7?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`What was the score during week 16?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score during week 16?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"=16;
```
## Task
Generate a SQL query to answer the following question:
`Who is the mInister who left office during 1960?`

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

CREATE TABLE "list_of_ghanaian_foreign_ministers" (
  "number" real,
  "minister" text,
  "took_office" text,
  "left_office" text,
  "government" text,
  "party" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the mInister who left office during 1960?`:
```sql
                SELECT "minister" FROM "list_of_ghanaian_foreign_ministers" WHERE "left_office"='1960';
```
## Task
Generate a SQL query to answer the following question:
`Which government is number 6?`

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

CREATE TABLE "list_of_ghanaian_foreign_ministers" (
  "number" real,
  "minister" text,
  "took_office" text,
  "left_office" text,
  "government" text,
  "party" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which government is number 6?`:
```sql
                SELECT "government" FROM "list_of_ghanaian_foreign_ministers" WHERE "number"=6;
```
## Task
Generate a SQL query to answer the following question:
`Which rider had a speed of 90.57mph?`

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

CREATE TABLE "1970_isle_of_man_lightweight_tt_250cc_fi" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rider had a speed of 90.57mph?`:
```sql
                SELECT "rider" FROM "1970_isle_of_man_lightweight_tt_250cc_fi" WHERE "speed"='90.57mph';
```
## Task
Generate a SQL query to answer the following question:
`Which country has a place smaller than 8 and points smaller than 5?`

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

CREATE TABLE "1970_isle_of_man_lightweight_tt_250cc_fi" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a place smaller than 8 and points smaller than 5?`:
```sql
                SELECT "country" FROM "1970_isle_of_man_lightweight_tt_250cc_fi" WHERE "place"<8 AND "points"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?`

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

CREATE TABLE "group_b" (
  "place" real,
  "team" text,
  "wins" real,
  "ties" real,
  "losses" real,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?`:
```sql
                SELECT MIN("losses") FROM "group_b" WHERE "wins"<4 AND "ties"=2 AND "place"=5;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the post-season record for kansas city`

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "manager" text,
  "record_a" text,
  "win_pct" real,
  "post_season_record_e" text,
  "post_season_win_pct" text,
  "mlb_affiliate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the post-season record for kansas city`:
```sql
                SELECT "post_season_record_e" FROM "season_by_season_results" WHERE "mlb_affiliate"='kansas city';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the venue of 29 april 2007`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the venue of 29 april 2007`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "date"='29 april 2007';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the competition of 20 august 2008`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the competition of 20 august 2008`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "date"='20 august 2008';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date of stade des martyrs, dr congo`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date of stade des martyrs, dr congo`:
```sql
                SELECT "date" FROM "international_goals" WHERE "venue"='stade des martyrs, dr congo';
```
## Task
Generate a SQL query to answer the following question:
`How much money, in millions, is paid to Infotalent?`

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

CREATE TABLE "finance" (
  "payee" text,
  "purpose" text,
  "amount_millions" text,
  "signatories" text,
  "date_signed" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money, in millions, is paid to Infotalent?`:
```sql
                SELECT "amount_millions" FROM "finance" WHERE "payee"='infotalent';
```
## Task
Generate a SQL query to answer the following question:
`What is the purpose of Euromarine?`

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

CREATE TABLE "finance" (
  "payee" text,
  "purpose" text,
  "amount_millions" text,
  "signatories" text,
  "date_signed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the purpose of Euromarine?`:
```sql
                SELECT "purpose" FROM "finance" WHERE "payee"='euromarine';
```
## Task
Generate a SQL query to answer the following question:
`What signatory has a purpose of police security and Infotalent payee?`

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

CREATE TABLE "finance" (
  "payee" text,
  "purpose" text,
  "amount_millions" text,
  "signatories" text,
  "date_signed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What signatory has a purpose of police security and Infotalent payee?`:
```sql
                SELECT "signatories" FROM "finance" WHERE "purpose"='police security' AND "payee"='infotalent';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the highest launced for trn`

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

CREATE TABLE "oil_refining_and_petrochemical_facilitie" (
  "name" text,
  "location" text,
  "launched" real,
  "acquired" text,
  "capacity_mln_tpa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the highest launced for trn`:
```sql
                SELECT MAX("launched") FROM "oil_refining_and_petrochemical_facilitie" WHERE "name"='trn';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the average launced for capacity mln tpa of 15,0`

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

CREATE TABLE "oil_refining_and_petrochemical_facilitie" (
  "name" text,
  "location" text,
  "launched" real,
  "acquired" text,
  "capacity_mln_tpa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the average launced for capacity mln tpa of 15,0`:
```sql
                SELECT AVG("launched") FROM "oil_refining_and_petrochemical_facilitie" WHERE "capacity_mln_tpa"='15,0';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the period for red rock`

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

CREATE TABLE "see_also" (
  "camp" text,
  "place" text,
  "province" text,
  "location" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the period for red rock`:
```sql
                SELECT "period" FROM "see_also" WHERE "place"='red rock';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the province for 260km ese of calgary`

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

CREATE TABLE "see_also" (
  "camp" text,
  "place" text,
  "province" text,
  "location" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the province for 260km ese of calgary`:
```sql
                SELECT "province" FROM "see_also" WHERE "location"='260km ese of calgary';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the province of 1941-1946`

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

CREATE TABLE "see_also" (
  "camp" text,
  "place" text,
  "province" text,
  "location" text,
  "period" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the province of 1941-1946`:
```sql
                SELECT "province" FROM "see_also" WHERE "period"='1941-1946';
```