cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What location had a final score of W 30 – 5?`

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

CREATE TABLE "season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "location" text,
  "final_score" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location had a final score of W 30 – 5?`:
```sql
                SELECT "location" FROM "season_schedule" WHERE "final_score"='w 30 – 5';
```
## Task
Generate a SQL query to answer the following question:
`Which label had a catalog designation of ch-9196?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which label had a catalog designation of ch-9196?`:
```sql
                SELECT "label" FROM "release_history" WHERE "catalog"='ch-9196';
```
## Task
Generate a SQL query to answer the following question:
`Which format's catalog designation was 21-382a?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which format's catalog designation was 21-382a?`:
```sql
                SELECT "format" FROM "release_history" WHERE "catalog"='21-382a';
```
## Task
Generate a SQL query to answer the following question:
`Which catalog had a date year of 1984?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which catalog had a date year of 1984?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "date"='1984';
```
## Task
Generate a SQL query to answer the following question:
`Which format was under the London Records label?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which format was under the London Records label?`:
```sql
                SELECT "format" FROM "release_history" WHERE "label"='london records';
```
## Task
Generate a SQL query to answer the following question:
`Which label was in the United Kingdom region?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which label was in the United Kingdom region?`:
```sql
                SELECT "label" FROM "release_history" WHERE "region"='united kingdom';
```
## Task
Generate a SQL query to answer the following question:
`Which date had the catalog designation of ha-m 2230?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date had the catalog designation of ha-m 2230?`:
```sql
                SELECT "date" FROM "release_history" WHERE "catalog"='ha-m 2230';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15?`

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

CREATE TABLE "clausura_2006_standings" (
  "place_posici_n" real,
  "team_equipo" text,
  "played_pj" real,
  "won_pg" real,
  "draw_pe" real,
  "lost_pp" real,
  "goals_scored_gf" real,
  "goals_conceded_gc" real,
  "dif" real,
  "points_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15?`:
```sql
                SELECT MAX("goals_conceded_gc") FROM "clausura_2006_standings" WHERE "draw_pe"=2 AND "goals_scored_gf">29 AND "dif">15;
```
## Task
Generate a SQL query to answer the following question:
`What is the points for a team with more than 9 wins and more than 40 goals?`

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

CREATE TABLE "clausura_2006_standings" (
  "place_posici_n" real,
  "team_equipo" text,
  "played_pj" real,
  "won_pg" real,
  "draw_pe" real,
  "lost_pp" real,
  "goals_scored_gf" real,
  "goals_conceded_gc" real,
  "dif" real,
  "points_pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the points for a team with more than 9 wins and more than 40 goals?`:
```sql
                SELECT SUM("points_pts") FROM "clausura_2006_standings" WHERE "won_pg">9 AND "goals_scored_gf">40;
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game played in the 2012 Africa Cup of Nations?`

### 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 was the score of the game played in the 2012 Africa Cup of Nations?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='2012 africa cup of nations';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the friendly competition?`

### 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 is the score of the friendly competition?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='friendly';
```
## Task
Generate a SQL query to answer the following question:
`What venue was the game played on 9 February 2011 played at?`

### 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 venue was the game played on 9 February 2011 played at?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "date"='9 february 2011';
```
## Task
Generate a SQL query to answer the following question:
`What date did NY Rangers play at home?`

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

CREATE TABLE "november" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did NY Rangers play at home?`:
```sql
                SELECT "date" FROM "november" WHERE "home"='ny rangers';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of Colorado when they were a visitor and had a Smith decision?`

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

CREATE TABLE "november" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of Colorado when they were a visitor and had a Smith decision?`:
```sql
                SELECT "score" FROM "november" WHERE "decision"='smith' AND "visitor"='colorado';
```
## Task
Generate a SQL query to answer the following question:
`Who is the runner up when the score was 3–6, 6–3, [10–4]?`

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

CREATE TABLE "2010" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the runner up when the score was 3–6, 6–3, [10–4]?`:
```sql
                SELECT "runner_up" FROM "2010" WHERE "score"='3–6, 6–3, [10–4]';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the runner up in the Tournament of são paulo?`

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

CREATE TABLE "2010" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the runner up in the Tournament of são paulo?`:
```sql
                SELECT "runner_up" FROM "2010" WHERE "tournament"='são paulo';
```
## Task
Generate a SQL query to answer the following question:
`What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget?`

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

CREATE TABLE "2010" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget?`:
```sql
                SELECT "third_place" FROM "2010" WHERE "winner"='thomas enqvist' AND "runner_up"='guy forget';
```
## Task
Generate a SQL query to answer the following question:
`What tournament was Thomas Enqvist runner up?`

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

CREATE TABLE "2010" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament was Thomas Enqvist runner up?`:
```sql
                SELECT "tournament" FROM "2010" WHERE "runner_up"='thomas enqvist';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]?`

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

CREATE TABLE "2010" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]?`:
```sql
                SELECT "runner_up" FROM "2010" WHERE "third_place"='yevgeny kafelnikov' AND "score"='3–6, 6–4, [10–3]';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the winner when Goran Ivanišević was in third place?`

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

CREATE TABLE "2010" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the winner when Goran Ivanišević was in third place?`:
```sql
                SELECT "winner" FROM "2010" WHERE "third_place"='goran ivanišević';
```
## Task
Generate a SQL query to answer the following question:
`Which analog channel has a digital channel of 4.1?`

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

CREATE TABLE "television" (
  "analog_channel" text,
  "digital_channel" text,
  "call_sign" text,
  "name" text,
  "network" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which analog channel has a digital channel of 4.1?`:
```sql
                SELECT "analog_channel" FROM "television" WHERE "digital_channel"='4.1';
```
## Task
Generate a SQL query to answer the following question:
`Which digital channel is named Storm Tracker?`

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

CREATE TABLE "television" (
  "analog_channel" text,
  "digital_channel" text,
  "call_sign" text,
  "name" text,
  "network" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which digital channel is named Storm Tracker?`:
```sql
                SELECT "digital_channel" FROM "television" WHERE "name"='storm tracker';
```
## Task
Generate a SQL query to answer the following question:
`Which analog channel is Fox on?`

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

CREATE TABLE "television" (
  "analog_channel" text,
  "digital_channel" text,
  "call_sign" text,
  "name" text,
  "network" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which analog channel is Fox on?`:
```sql
                SELECT "analog_channel" FROM "television" WHERE "network"='fox';
```
## Task
Generate a SQL query to answer the following question:
`Name the area president when the area name is south america south`

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

CREATE TABLE "list" (
  "area_name" text,
  "area_headquarters" text,
  "area_president_quorum" text,
  "first_counselor_quorum" text,
  "second_counselor_quorum" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the area president when the area name is south america south`:
```sql
                SELECT "area_president_quorum" FROM "list" WHERE "area_name"='south america south';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of Grid for Time/Retired of +2 Laps and Laps less than 70`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of Grid for Time/Retired of +2 Laps and Laps less than 70`:
```sql
                SELECT COUNT("grid") FROM "race" WHERE "time_retired"='+2 laps' AND "laps"<70;
```
## Task
Generate a SQL query to answer the following question:
`What year did Shelley Winters win?`

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

CREATE TABLE "list_of_superlative_academy_award_winner" (
  "superlative" text,
  "actress" text,
  "record_set" text,
  "year" real,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did Shelley Winters win?`:
```sql
                SELECT "year" FROM "list_of_superlative_academy_award_winner" WHERE "actress"='shelley winters';
```
## Task
Generate a SQL query to answer the following question:
`Which award was won by Gloria Stuart after 1984?`

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

CREATE TABLE "list_of_superlative_academy_award_winner" (
  "superlative" text,
  "actress" text,
  "record_set" text,
  "year" real,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which award was won by Gloria Stuart after 1984?`:
```sql
                SELECT "superlative" FROM "list_of_superlative_academy_award_winner" WHERE "year">1984 AND "actress"='gloria stuart';
```
## Task
Generate a SQL query to answer the following question:
`Which award has Thelma Ritter won?`

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

CREATE TABLE "list_of_superlative_academy_award_winner" (
  "superlative" text,
  "actress" text,
  "record_set" text,
  "year" real,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which award has Thelma Ritter won?`:
```sql
                SELECT "superlative" FROM "list_of_superlative_academy_award_winner" WHERE "actress"='thelma ritter';
```
## Task
Generate a SQL query to answer the following question:
`I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26`

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

CREATE TABLE "table" (
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "points_diff" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26`:
```sql
                SELECT MIN("points_diff") FROM "table" WHERE "against"<578 AND "lost"=15 AND "points">26;
```
## Task
Generate a SQL query to answer the following question:
`I want the total number of points for against of 753 and points diff more than -114`

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

CREATE TABLE "table" (
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "points_diff" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `I want the total number of points for against of 753 and points diff more than -114`:
```sql
                SELECT COUNT("points") FROM "table" WHERE "against"=753 AND "points_diff">-114;
```
## Task
Generate a SQL query to answer the following question:
`In What Week was the Attendance 75,866?`

### 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 `In What Week was the Attendance 75,866?`:
```sql
                SELECT "week" FROM "schedule" WHERE "attendance"='75,866';
```
## Task
Generate a SQL query to answer the following question:
`What Opponent has an Attendance of 74,246?`

### 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 Opponent has an Attendance of 74,246?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance"='74,246';
```
## Task
Generate a SQL query to answer the following question:
`What Date is Week 1?`

### 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 Date is Week 1?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=1;
```
## Task
Generate a SQL query to answer the following question:
`Which team had 7 losses and 55 goals?`

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

CREATE TABLE "final_standing" (
  "team" text,
  "games_played" real,
  "wins" real,
  "losses" text,
  "ties" real,
  "goals_for" real,
  "goals_against" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had 7 losses and 55 goals?`:
```sql
                SELECT "team" FROM "final_standing" WHERE "losses"='7' AND "goals_for"=55;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest 2000 GDP when the 2008 GDP is smaller than 3,632, 2010 GDP is 2,558 and 2009 GDP is larger than 2,239?`

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

CREATE TABLE "gdp_per_capita_in_usd_in_main_years_1978" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest 2000 GDP when the 2008 GDP is smaller than 3,632, 2010 GDP is 2,558 and 2009 GDP is larger than 2,239?`:
```sql
                SELECT MAX("2000") FROM "gdp_per_capita_in_usd_in_main_years_1978" WHERE "2008"<'3,632' AND "2010"='2,558' AND "2009">'2,239';
```
## Task
Generate a SQL query to answer the following question:
`What is the GDP in 2008 for the region where 2009 is less than 3,355, 2005 is larger than 1,103, 2010 GDP is 3,977 and 1995 GDP is larger than 413?`

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

CREATE TABLE "gdp_per_capita_in_usd_in_main_years_1978" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the GDP in 2008 for the region where 2009 is less than 3,355, 2005 is larger than 1,103, 2010 GDP is 3,977 and 1995 GDP is larger than 413?`:
```sql
                SELECT COUNT("2008") FROM "gdp_per_capita_in_usd_in_main_years_1978" WHERE "2009"<'3,355' AND "2005">'1,103' AND "2010"='3,977' AND "1995">413;
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum 2010 GDP if the 2009 GDP is larger than 3,749, 1995 GDP is 876 and 2008 GDP is larger than 4,885?`

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

CREATE TABLE "gdp_per_capita_in_usd_in_main_years_1978" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum 2010 GDP if the 2009 GDP is larger than 3,749, 1995 GDP is 876 and 2008 GDP is larger than 4,885?`:
```sql
                SELECT MIN("2010") FROM "gdp_per_capita_in_usd_in_main_years_1978" WHERE "2009">'3,749' AND "1995"=876 AND "2008">'4,885';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?`

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

CREATE TABLE "gdp_per_capita_in_usd_in_main_years_1978" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?`:
```sql
                SELECT MIN("1995") FROM "gdp_per_capita_in_usd_in_main_years_1978" WHERE "1990"=441 AND "1985"<359;
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?`

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

CREATE TABLE "gdp_per_capita_in_usd_in_main_years_1978" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?`:
```sql
                SELECT MAX("1985") FROM "gdp_per_capita_in_usd_in_main_years_1978" WHERE "1990"<267 AND "2000"=333 AND "2005"<658;
```
## Task
Generate a SQL query to answer the following question:
`When populatioin is greater than 7,747 and the type is V, what is the sum of code?`

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

CREATE TABLE "list_of_municipalities_in_quebec" (
  "code" real,
  "type" text,
  "name" text,
  "area_km_2" real,
  "population" real,
  "regional_county_municipality" text,
  "region" real
);
### SQL
Given the database schema, here is the SQL query that answers `When populatioin is greater than 7,747 and the type is V, what is the sum of code?`:
```sql
                SELECT COUNT("code") FROM "list_of_municipalities_in_quebec" WHERE "type"='v' AND "population">'7,747';
```
## Task
Generate a SQL query to answer the following question:
`Who has ties of 5?`

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

CREATE TABLE "most_doubles_wins" (
  "name" text,
  "tkm_career" text,
  "ties" real,
  "dou_w_l" text,
  "sin_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has ties of 5?`:
```sql
                SELECT "name" FROM "most_doubles_wins" WHERE "ties"=5;
```
## Task
Generate a SQL query to answer the following question:
`Where did st kilda play as the away team?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did st kilda play as the away team?`:
```sql
                SELECT "venue" FROM "round_10" WHERE "away_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`What home team scored 10.14 (74)?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team scored 10.14 (74)?`:
```sql
                SELECT "home_team" FROM "round_10" WHERE "home_team_score"='10.14 (74)';
```
## Task
Generate a SQL query to answer the following question:
`How big of a crowd does the home team of essendon have?`

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

CREATE TABLE "round_10" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How big of a crowd does the home team of essendon have?`:
```sql
                SELECT "crowd" FROM "round_10" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What is the MLB Draft status of the person who attended Seton Hall Preparatory School?`

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

CREATE TABLE "2003_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "mlb_draft" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the MLB Draft status of the person who attended Seton Hall Preparatory School?`:
```sql
                SELECT "mlb_draft" FROM "2003_team" WHERE "school"='seton hall preparatory school';
```
## Task
Generate a SQL query to answer the following question:
`Where is the Hometown of the person that attended Kennedy-Kenrick Catholic High School?`

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

CREATE TABLE "2003_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "mlb_draft" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the Hometown of the person that attended Kennedy-Kenrick Catholic High School?`:
```sql
                SELECT "hometown" FROM "2003_team" WHERE "school"='kennedy-kenrick catholic high school';
```
## Task
Generate a SQL query to answer the following question:
`Which Player attended George Washington High School?`

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

CREATE TABLE "2003_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "mlb_draft" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player attended George Washington High School?`:
```sql
                SELECT "player" FROM "2003_team" WHERE "school"='george washington high school';
```
## Task
Generate a SQL query to answer the following question:
`Where is the Hometown that the person who attended Camarillo High School is from?`

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

CREATE TABLE "2003_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "mlb_draft" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the Hometown that the person who attended Camarillo High School is from?`:
```sql
                SELECT "hometown" FROM "2003_team" WHERE "school"='camarillo high school';
```
## Task
Generate a SQL query to answer the following question:
`How many people in total have attended games where carlton played as away?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people in total have attended games where carlton played as away?`:
```sql
                SELECT COUNT("crowd") FROM "round_18" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`When the home team scored 19.15 (129)?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the home team scored 19.15 (129)?`:
```sql
                SELECT MIN("crowd") FROM "round_18" WHERE "home_team_score"='19.15 (129)';
```
## Task
Generate a SQL query to answer the following question:
`Which player has a long of less than 15 and an average of 6 yards.`

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

CREATE TABLE "receiving" (
  "player" text,
  "rec" real,
  "yards" real,
  "avg" real,
  "td_s" real,
  "long" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player has a long of less than 15 and an average of 6 yards.`:
```sql
                SELECT "player" FROM "receiving" WHERE "long"<15 AND "avg"=6;
```
## Task
Generate a SQL query to answer the following question:
`What years did Troy Hudson play for the Jazz?`

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

CREATE TABLE "h" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_jazz" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did Troy Hudson play for the Jazz?`:
```sql
                SELECT "years_for_jazz" FROM "h" WHERE "player"='troy hudson';
```
## Task
Generate a SQL query to answer the following question:
`What Nationality is the Iowa State team?`

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

CREATE TABLE "h" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_jazz" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nationality is the Iowa State team?`:
```sql
                SELECT "nationality" FROM "h" WHERE "school_club_team"='iowa state';
```
## Task
Generate a SQL query to answer the following question:
`What Nationality is Jeff Hornacek?`

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

CREATE TABLE "h" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_jazz" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nationality is Jeff Hornacek?`:
```sql
                SELECT "nationality" FROM "h" WHERE "player"='jeff hornacek';
```
## Task
Generate a SQL query to answer the following question:
`What Nationality is the Colorado State team?`

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

CREATE TABLE "h" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_jazz" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nationality is the Colorado State team?`:
```sql
                SELECT "nationality" FROM "h" WHERE "school_club_team"='colorado';
```
## Task
Generate a SQL query to answer the following question:
`What Player is from the Southern Illinois team?`

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

CREATE TABLE "h" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_jazz" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Player is from the Southern Illinois team?`:
```sql
                SELECT "player" FROM "h" WHERE "school_club_team"='southern illinois';
```
## Task
Generate a SQL query to answer the following question:
`What years did Eddie Hughes play for the Jazz?`

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

CREATE TABLE "h" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_jazz" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did Eddie Hughes play for the Jazz?`:
```sql
                SELECT "years_for_jazz" FROM "h" WHERE "player"='eddie hughes';
```
## Task
Generate a SQL query to answer the following question:
`Which Species has a medium Threat Level?`

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

CREATE TABLE "feral_animals_introduced_species" (
  "name" text,
  "species" text,
  "overview" text,
  "introduced" text,
  "feral" text,
  "threat_level" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Species has a medium Threat Level?`:
```sql
                SELECT "species" FROM "feral_animals_introduced_species" WHERE "threat_level"='medium';
```
## Task
Generate a SQL query to answer the following question:
`What is the Overview with a medium Threat Level?`

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

CREATE TABLE "feral_animals_introduced_species" (
  "name" text,
  "species" text,
  "overview" text,
  "introduced" text,
  "feral" text,
  "threat_level" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Overview with a medium Threat Level?`:
```sql
                SELECT "overview" FROM "feral_animals_introduced_species" WHERE "threat_level"='medium';
```
## Task
Generate a SQL query to answer the following question:
`What is the Threat Levels with Rabbits in Australia?`

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

CREATE TABLE "feral_animals_introduced_species" (
  "name" text,
  "species" text,
  "overview" text,
  "introduced" text,
  "feral" text,
  "threat_level" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Threat Levels with Rabbits in Australia?`:
```sql
                SELECT "threat_level" FROM "feral_animals_introduced_species" WHERE "overview"='rabbits in australia';
```
## Task
Generate a SQL query to answer the following question:
`Which nominee won the Drama Desk Award for outstanding choreography?`

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

CREATE TABLE "2004_broadway_revival" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which nominee won the Drama Desk Award for outstanding choreography?`:
```sql
                SELECT "nominee" FROM "2004_broadway_revival" WHERE "award"='drama desk award' AND "result"='won' AND "category"='outstanding choreography';
```
## Task
Generate a SQL query to answer the following question:
`When was the last time a nominee for Best Revival of a Musical was selected?`

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

CREATE TABLE "2004_broadway_revival" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the last time a nominee for Best Revival of a Musical was selected?`:
```sql
                SELECT MAX("year") FROM "2004_broadway_revival" WHERE "nominee"='best revival of a musical';
```
## Task
Generate a SQL query to answer the following question:
`Which Award is the winner for Outstanding Revival of a Musical given?`

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

CREATE TABLE "2004_broadway_revival" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Award is the winner for Outstanding Revival of a Musical given?`:
```sql
                SELECT "award" FROM "2004_broadway_revival" WHERE "category"='outstanding revival of a musical';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score in the game where the away team scored 8.14 (62)?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score in the game where the away team scored 8.14 (62)?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "away_team_score"='8.14 (62)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team in the game where South Melbourne was the away team?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team in the game where South Melbourne was the away team?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score in the game where the away team scored 9.13 (67)?`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score in the game where the away team scored 9.13 (67)?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "away_team_score"='9.13 (67)';
```
## Task
Generate a SQL query to answer the following question:
`In which venue did the home team score 10.11 (71)`

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

CREATE TABLE "round_8" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which venue did the home team score 10.11 (71)`:
```sql
                SELECT "venue" FROM "round_8" WHERE "home_team_score"='10.11 (71)';
```
## Task
Generate a SQL query to answer the following question:
`I want the result for week larger than 10 for opponent of new england patriots`

### 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,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `I want the result for week larger than 10 for opponent of new england patriots`:
```sql
                SELECT "result" FROM "schedule" WHERE "week">10 AND "opponent"='new england patriots';
```
## Task
Generate a SQL query to answer the following question:
`I want the game site for week of 11`

### 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,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `I want the game site for week of 11`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of laps for mika salo's arrows car with a grid over 13?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of laps for mika salo's arrows car with a grid over 13?`:
```sql
                SELECT AVG("laps") FROM "race" WHERE "constructor"='arrows' AND "driver"='mika salo' AND "grid">13;
```
## Task
Generate a SQL query to answer the following question:
`Who drove the car with a grid of 7?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who drove the car with a grid of 7?`:
```sql
                SELECT "driver" FROM "race" WHERE "grid"=7;
```
## Task
Generate a SQL query to answer the following question:
`Which Report is Dated 9 March?`

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

CREATE TABLE "scottish_cup" (
  "round" text,
  "date" text,
  "opponent" text,
  "score" text,
  "aberdeen_scorer_s" text,
  "attendance" real,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Report is Dated 9 March?`:
```sql
                SELECT "report" FROM "scottish_cup" WHERE "date"='9 march';
```
## Task
Generate a SQL query to answer the following question:
`When Hamilton Academical is the Opponent, what is the total Attendance?`

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

CREATE TABLE "scottish_cup" (
  "round" text,
  "date" text,
  "opponent" text,
  "score" text,
  "aberdeen_scorer_s" text,
  "attendance" real,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Hamilton Academical is the Opponent, what is the total Attendance?`:
```sql
                SELECT COUNT("attendance") FROM "scottish_cup" WHERE "opponent"='hamilton academical';
```
## Task
Generate a SQL query to answer the following question:
`How many in attendance with a loss of volquez (1–4)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many in attendance with a loss of volquez (1–4)?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "loss"='volquez (1–4)';
```
## Task
Generate a SQL query to answer the following question:
`What record has a Score of 9–6?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record has a Score of 9–6?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='9–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number in attendance on September 16?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number in attendance on September 16?`:
```sql
                SELECT AVG("attendance") FROM "game_log" WHERE "date"='september 16';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of people in attendance on September 8?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of people in attendance on September 8?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "date"='september 8';
```
## Task
Generate a SQL query to answer the following question:
`What was Head Coach Jim Morris's best finish?`

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

CREATE TABLE "participants" (
  "school" text,
  "conference" text,
  "record_conference" text,
  "head_coach" text,
  "cws_appearances" text,
  "cws_best_finish" text,
  "cws_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Head Coach Jim Morris's best finish?`:
```sql
                SELECT "cws_best_finish" FROM "participants" WHERE "head_coach"='jim morris';
```
## Task
Generate a SQL query to answer the following question:
`What is the record when the visiting team was the montreal canadiens?`

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

CREATE TABLE "schedule_and_results" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record when the visiting team was the montreal canadiens?`:
```sql
                SELECT "record" FROM "schedule_and_results" WHERE "visitor"='montreal canadiens';
```
## Task
Generate a SQL query to answer the following question:
`What nation has 187.84 points?`

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

CREATE TABLE "ice_dancing" (
  "rank" real,
  "name" text,
  "nation" text,
  "points" real,
  "places" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nation has 187.84 points?`:
```sql
                SELECT "nation" FROM "ice_dancing" WHERE "points"=187.84;
```