cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?`:
```sql
                SELECT "constructor" FROM "non_championship_race_results" WHERE "winning_driver"='jim clark' AND "circuit"='syracuse';
```
## Task
Generate a SQL query to answer the following question:
`Which Constructor has the Winning Driver, Jo Siffert?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Constructor has the Winning Driver, Jo Siffert?`:
```sql
                SELECT "constructor" FROM "non_championship_race_results" WHERE "winning_driver"='jo siffert';
```
## Task
Generate a SQL query to answer the following question:
`Which Constructor has Pergusa in the Circuit?`

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

CREATE TABLE "non_championship_race_results" (
  "race_name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Constructor has Pergusa in the Circuit?`:
```sql
                SELECT "constructor" FROM "non_championship_race_results" WHERE "circuit"='pergusa';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest crowd that attended a game where the away team scored 14.19 (103)?`

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

CREATE TABLE "round_1" (
  "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 is the smallest crowd that attended a game where the away team scored 14.19 (103)?`:
```sql
                SELECT MIN("crowd") FROM "round_1" WHERE "away_team_score"='14.19 (103)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was a game played at MCG?`

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

CREATE TABLE "round_1" (
  "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 `On what date was a game played at MCG?`:
```sql
                SELECT "date" FROM "round_1" WHERE "venue"='mcg';
```
## Task
Generate a SQL query to answer the following question:
`What is the average total medals of the team with 2 gold and less than 1 silver?`

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

CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average total medals of the team with 2 gold and less than 1 silver?`:
```sql
                SELECT AVG("total") FROM "medal_table" WHERE "gold"=2 AND "silver"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of silver medals Iceland, who has less than 87 medals, has?`

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

CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest amount of silver medals Iceland, who has less than 87 medals, has?`:
```sql
                SELECT MIN("silver") FROM "medal_table" WHERE "nation"='iceland' AND "total"<87;
```
## Task
Generate a SQL query to answer the following question:
`What is the least amount of bronze Andorra, who has more than 6 total medals, has?`

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

CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of bronze Andorra, who has more than 6 total medals, has?`:
```sql
                SELECT MIN("bronze") FROM "medal_table" WHERE "nation"='andorra' AND "total">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has?`

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

CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has?`:
```sql
                SELECT MIN("bronze") FROM "medal_table" WHERE "nation"='liechtenstein' AND "gold">11;
```
## Task
Generate a SQL query to answer the following question:
`What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?`

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

CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?`:
```sql
                SELECT AVG("silver") FROM "medal_table" WHERE "bronze"<15 AND "nation"='montenegro' AND "total">11;
```
## Task
Generate a SQL query to answer the following question:
`What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?`

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

CREATE TABLE "support_of_leading_parties_and_blocs_by_" (
  "region" text,
  "voter_registration" real,
  "voter_turnout" real,
  "b_yu_t" real,
  "ou_psd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?`:
```sql
                SELECT MIN("voter_turnout") FROM "support_of_leading_parties_and_blocs_by_" WHERE "b_yu_t"=50.7 AND "ou_psd"<36.8;
```
## Task
Generate a SQL query to answer the following question:
`What is the voter registration that has a BYut of 48.2?`

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

CREATE TABLE "support_of_leading_parties_and_blocs_by_" (
  "region" text,
  "voter_registration" real,
  "voter_turnout" real,
  "b_yu_t" real,
  "ou_psd" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the voter registration that has a BYut of 48.2?`:
```sql
                SELECT COUNT("voter_registration") FROM "support_of_leading_parties_and_blocs_by_" WHERE "b_yu_t"=48.2;
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team at VFL Park?`

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

CREATE TABLE "round_16" (
  "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 was the home team at VFL Park?`:
```sql
                SELECT "home_team" FROM "round_16" WHERE "venue"='vfl park';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team at Kardinia Park?`

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

CREATE TABLE "round_16" (
  "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 was the home team at Kardinia Park?`:
```sql
                SELECT "home_team" FROM "round_16" WHERE "venue"='kardinia park';
```
## Task
Generate a SQL query to answer the following question:
`What type of paper is the 1 cent denominations made on?`

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

CREATE TABLE "2007" (
  "date_of_issue" text,
  "denomination" text,
  "design" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of paper is the 1 cent denominations made on?`:
```sql
                SELECT "paper_type" FROM "2007" WHERE "denomination"='1 cent';
```
## Task
Generate a SQL query to answer the following question:
`What is the paper type that the one that was issued on 26 july 2007 done on?`

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

CREATE TABLE "2007" (
  "date_of_issue" text,
  "denomination" text,
  "design" text,
  "paper_type" text,
  "first_day_cover_cancellation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the paper type that the one that was issued on 26 july 2007 done on?`:
```sql
                SELECT "paper_type" FROM "2007" WHERE "date_of_issue"='26 july 2007';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team footscray score?`

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

CREATE TABLE "round_9" (
  "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 footscray score?`:
```sql
                SELECT "home_team_score" FROM "round_9" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What was the total crowd size for the him team footscray?`

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

CREATE TABLE "round_9" (
  "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 was the total crowd size for the him team footscray?`:
```sql
                SELECT COUNT("crowd") FROM "round_9" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team at corio oval?`

### 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 is the Home team at corio oval?`:
```sql
                SELECT "home_team" FROM "round_10" WHERE "venue"='corio oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team score when the crowd is larger than 22,000 and hawthorn is the home 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 `What was the away team score when the crowd is larger than 22,000 and hawthorn is the home team?`:
```sql
                SELECT "away_team_score" FROM "round_10" WHERE "crowd">'22,000' AND "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What livery was worn on the date before 1936, with the description of Gresley RF?`

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

CREATE TABLE "list_of_great_central_railway_locomotive" (
  "number_name" text,
  "description" text,
  "livery" text,
  "owner_s" text,
  "date" real
);
### SQL
Given the database schema, here is the SQL query that answers `What livery was worn on the date before 1936, with the description of Gresley RF?`:
```sql
                SELECT "livery" FROM "list_of_great_central_railway_locomotive" WHERE "date"<1936 AND "description"='gresley rf';
```
## Task
Generate a SQL query to answer the following question:
`Which number and name has the description Gresley RB and a date before 1937?`

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

CREATE TABLE "list_of_great_central_railway_locomotive" (
  "number_name" text,
  "description" text,
  "livery" text,
  "owner_s" text,
  "date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which number and name has the description Gresley RB and a date before 1937?`:
```sql
                SELECT "number_name" FROM "list_of_great_central_railway_locomotive" WHERE "description"='gresley rb' AND "date"<1937;
```
## Task
Generate a SQL query to answer the following question:
`Who is the owner before 1940, who had a number and name of no. 1222?`

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

CREATE TABLE "list_of_great_central_railway_locomotive" (
  "number_name" text,
  "description" text,
  "livery" text,
  "owner_s" text,
  "date" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the owner before 1940, who had a number and name of no. 1222?`:
```sql
                SELECT "owner_s" FROM "list_of_great_central_railway_locomotive" WHERE "date"<1940 AND "number_name"='no. 1222';
```
## Task
Generate a SQL query to answer the following question:
`What type has a scratch of 750 GB?`

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

CREATE TABLE "stichting_academisch_rekencentrum_amster" (
  "number" real,
  "type" text,
  "clock" text,
  "scratch" text,
  "memory" text,
  "cache" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type has a scratch of 750 GB?`:
```sql
                SELECT "type" FROM "stichting_academisch_rekencentrum_amster" WHERE "scratch"='750 gb';
```
## Task
Generate a SQL query to answer the following question:
`What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s?`

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

CREATE TABLE "stichting_academisch_rekencentrum_amster" (
  "number" real,
  "type" text,
  "clock" text,
  "scratch" text,
  "memory" text,
  "cache" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s?`:
```sql
                SELECT "cache" FROM "stichting_academisch_rekencentrum_amster" WHERE "memory"='24 gb qpi 5.86 gt/s' AND "number"=64;
```
## Task
Generate a SQL query to answer the following question:
`What is the Memory for a Number 32 with a Clock of 2.26ghz?`

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

CREATE TABLE "stichting_academisch_rekencentrum_amster" (
  "number" real,
  "type" text,
  "clock" text,
  "scratch" text,
  "memory" text,
  "cache" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Memory for a Number 32 with a Clock of 2.26ghz?`:
```sql
                SELECT "memory" FROM "stichting_academisch_rekencentrum_amster" WHERE "clock"='2.26ghz' AND "number"=32;
```
## Task
Generate a SQL query to answer the following question:
`Of those acquired in 2008, where were they born?`

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

CREATE TABLE "forwards" (
  "player" text,
  "shoots" text,
  "position" text,
  "acquired" real,
  "place_of_birth" text,
  "joined_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `Of those acquired in 2008, where were they born?`:
```sql
                SELECT "place_of_birth" FROM "forwards" WHERE "acquired"=2008;
```
## Task
Generate a SQL query to answer the following question:
`What is the shooting preference of Matthew Myers, acquired in 2010?`

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

CREATE TABLE "forwards" (
  "player" text,
  "shoots" text,
  "position" text,
  "acquired" real,
  "place_of_birth" text,
  "joined_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the shooting preference of Matthew Myers, acquired in 2010?`:
```sql
                SELECT "shoots" FROM "forwards" WHERE "acquired"=2010 AND "player"='matthew myers';
```
## Task
Generate a SQL query to answer the following question:
`In what year was player Bruce Graham acquired?`

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

CREATE TABLE "forwards" (
  "player" text,
  "shoots" text,
  "position" text,
  "acquired" real,
  "place_of_birth" text,
  "joined_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was player Bruce Graham acquired?`:
```sql
                SELECT "acquired" FROM "forwards" WHERE "player"='bruce graham';
```
## Task
Generate a SQL query to answer the following question:
`Name th D 43 √ when R 51 + is r 30`

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

CREATE TABLE "as_a_result_of_the_elections" (
  "d_40" text,
  "d_41" text,
  "d_42" text,
  "d_43" text,
  "d_44" text,
  "d_45_o" text,
  "d_46_o" text,
  "r_53" text,
  "r_52" text,
  "r_51" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name th D 43 √ when R 51 + is r 30`:
```sql
                SELECT "d_43" FROM "as_a_result_of_the_elections" WHERE "r_51"='r 30';
```
## Task
Generate a SQL query to answer the following question:
`Name the R 53 + which has a D 42 √ of d 17`

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

CREATE TABLE "as_a_result_of_the_elections" (
  "d_40" text,
  "d_41" text,
  "d_42" text,
  "d_43" text,
  "d_44" text,
  "d_45_o" text,
  "d_46_o" text,
  "r_53" text,
  "r_52" text,
  "r_51" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the R 53 + which has a D 42 √ of d 17`:
```sql
                SELECT "r_53" FROM "as_a_result_of_the_elections" WHERE "d_42"='d 17';
```
## Task
Generate a SQL query to answer the following question:
`Name the D 45 O which has R 51 + of d 30`

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

CREATE TABLE "as_a_result_of_the_elections" (
  "d_40" text,
  "d_41" text,
  "d_42" text,
  "d_43" text,
  "d_44" text,
  "d_45_o" text,
  "d_46_o" text,
  "r_53" text,
  "r_52" text,
  "r_51" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the D 45 O which has R 51 + of d 30`:
```sql
                SELECT "d_45_o" FROM "as_a_result_of_the_elections" WHERE "r_51"='d 30';
```
## Task
Generate a SQL query to answer the following question:
`Name the D 42 √ when it has D 44 √ of r 36 √`

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

CREATE TABLE "as_a_result_of_the_elections" (
  "d_40" text,
  "d_41" text,
  "d_42" text,
  "d_43" text,
  "d_44" text,
  "d_45_o" text,
  "d_46_o" text,
  "r_53" text,
  "r_52" text,
  "r_51" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the D 42 √ when it has D 44 √ of r 36 √`:
```sql
                SELECT "d_42" FROM "as_a_result_of_the_elections" WHERE "d_44"='r 36 √';
```
## Task
Generate a SQL query to answer the following question:
`Name the D 45 O that has D 46 O of d 26`

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

CREATE TABLE "as_a_result_of_the_elections" (
  "d_40" text,
  "d_41" text,
  "d_42" text,
  "d_43" text,
  "d_44" text,
  "d_45_o" text,
  "d_46_o" text,
  "r_53" text,
  "r_52" text,
  "r_51" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the D 45 O that has D 46 O of d 26`:
```sql
                SELECT "d_45_o" FROM "as_a_result_of_the_elections" WHERE "d_46_o"='d 26';
```
## Task
Generate a SQL query to answer the following question:
`Name the least goals for goal difference of 7 and losses more than 13`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least goals for goal difference of 7 and losses more than 13`:
```sql
                SELECT MIN("goals_against") FROM "final_table" WHERE "goal_difference"=7 AND "losses">13;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of positions with goal difference more than -17 and played less than 38`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of positions with goal difference more than -17 and played less than 38`:
```sql
                SELECT COUNT("position") FROM "final_table" WHERE "goal_difference">-17 AND "played"<38;
```
## Task
Generate a SQL query to answer the following question:
`Where did Melbourne play as the away team?`

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

CREATE TABLE "round_13" (
  "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 Melbourne play as the away team?`:
```sql
                SELECT "venue" FROM "round_13" WHERE "away_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when South Melbourne played as the home team?`

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

CREATE TABLE "round_13" (
  "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 was the attendance when South Melbourne played as the home team?`:
```sql
                SELECT MIN("crowd") FROM "round_13" WHERE "home_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when Footscray played as the away team?`

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

CREATE TABLE "round_13" (
  "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 was the attendance when Footscray played as the away team?`:
```sql
                SELECT COUNT("crowd") FROM "round_13" WHERE "away_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons?`

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

CREATE TABLE "powlesland_and_mason" (
  "manufacturer" text,
  "type" text,
  "quantity" real,
  "p_m_nos" text,
  "gwr_nos" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons?`:
```sql
                SELECT MIN("quantity") FROM "powlesland_and_mason" WHERE "manufacturer"='peckett and sons' AND "gwr_nos"='696, 779, 93 5';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest capacity with an opening larger than 2015 in Trabzon?`

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

CREATE TABLE "under_construction_stadium_s" (
  "stadium" text,
  "capacity" real,
  "city" text,
  "club" text,
  "opening" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest capacity with an opening larger than 2015 in Trabzon?`:
```sql
                SELECT MIN("capacity") FROM "under_construction_stadium_s" WHERE "opening">2015 AND "city"='trabzon';
```
## Task
Generate a SQL query to answer the following question:
`What is the average opening at Stadyum Samsun with a capacity smaller than 34,658?`

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

CREATE TABLE "under_construction_stadium_s" (
  "stadium" text,
  "capacity" real,
  "city" text,
  "club" text,
  "opening" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average opening at Stadyum Samsun with a capacity smaller than 34,658?`:
```sql
                SELECT AVG("opening") FROM "under_construction_stadium_s" WHERE "stadium"='stadyum samsun' AND "capacity"<'34,658';
```
## Task
Generate a SQL query to answer the following question:
`What is the Years for Jazz Club at Oregon State?`

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

CREATE TABLE "o" (
  "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 is the Years for Jazz Club at Oregon State?`:
```sql
                SELECT "years_for_jazz" FROM "o" WHERE "school_club_team"='oregon state';
```
## Task
Generate a SQL query to answer the following question:
`Which player is Andre Owens in Year for Jazz?`

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

CREATE TABLE "o" (
  "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 `Which player is Andre Owens in Year for Jazz?`:
```sql
                SELECT "years_for_jazz" FROM "o" WHERE "player"='andre owens';
```
## Task
Generate a SQL query to answer the following question:
`What is the Year for Jazz club of Houston?`

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

CREATE TABLE "o" (
  "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 is the Year for Jazz club of Houston?`:
```sql
                SELECT "years_for_jazz" FROM "o" WHERE "school_club_team"='houston';
```
## Task
Generate a SQL query to answer the following question:
`What is position does Dan O'Sullivan play?`

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

CREATE TABLE "o" (
  "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 is position does Dan O'Sullivan play?`:
```sql
                SELECT "position" FROM "o" WHERE "player"='dan o''sullivan';
```
## Task
Generate a SQL query to answer the following question:
`What position in the club team of Kansas?`

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

CREATE TABLE "o" (
  "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 position in the club team of Kansas?`:
```sql
                SELECT "position" FROM "o" WHERE "school_club_team"='kansas';
```
## Task
Generate a SQL query to answer the following question:
`Who is the center position of Years for Jazz, Greg Ostertag?`

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

CREATE TABLE "o" (
  "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 `Who is the center position of Years for Jazz, Greg Ostertag?`:
```sql
                SELECT "years_for_jazz" FROM "o" WHERE "position"='center' AND "player"='greg ostertag';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date for the Away team University?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date for the Away team University?`:
```sql
                SELECT "date" FROM "round_4" WHERE "away_team"='university';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team score at junction oval?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home team score at junction oval?`:
```sql
                SELECT "home_team" FROM "round_4" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the Away team score when Home team score is at 5.10 (40)?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Away team score when Home team score is at 5.10 (40)?`:
```sql
                SELECT "away_team_score" FROM "round_4" WHERE "home_team_score"='5.10 (40)';
```
## Task
Generate a SQL query to answer the following question:
`What Date did the Home team play in essendon?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Date did the Home team play in essendon?`:
```sql
                SELECT "date" FROM "round_4" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What country has OF-1 Locotenent?`

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

CREATE TABLE "other_officers" (
  "country" text,
  "of_5" text,
  "of_4" text,
  "of_2" text,
  "of_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has OF-1 Locotenent?`:
```sql
                SELECT "country" FROM "other_officers" WHERE "of_1"='locotenent';
```
## Task
Generate a SQL query to answer the following question:
`Which OF-5 is in Ghana?`

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

CREATE TABLE "other_officers" (
  "country" text,
  "of_5" text,
  "of_4" text,
  "of_2" text,
  "of_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which OF-5 is in Ghana?`:
```sql
                SELECT "of_5" FROM "other_officers" WHERE "country"='ghana';
```
## Task
Generate a SQL query to answer the following question:
`What is the OF-4 of Albania?`

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

CREATE TABLE "other_officers" (
  "country" text,
  "of_5" text,
  "of_4" text,
  "of_2" text,
  "of_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the OF-4 of Albania?`:
```sql
                SELECT "of_4" FROM "other_officers" WHERE "country"='albania';
```
## Task
Generate a SQL query to answer the following question:
`What is the total pick numbers for the CFL team Edmonton Eskimos?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total pick numbers for the CFL team Edmonton Eskimos?`:
```sql
                SELECT SUM("pick_num") FROM "round_five" WHERE "cfl_team"='edmonton eskimos';
```
## Task
Generate a SQL query to answer the following question:
`What p;layer attended Concordia College?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What p;layer attended Concordia College?`:
```sql
                SELECT "player" FROM "round_five" WHERE "college"='concordia';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of picks for the position of OL?`

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

CREATE TABLE "round_five" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of picks for the position of OL?`:
```sql
                SELECT SUM("pick_num") FROM "round_five" WHERE "position"='ol';
```
## Task
Generate a SQL query to answer the following question:
`Name the highest week for result of w 38-13`

### 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 `Name the highest week for result of w 38-13`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "result"='w 38-13';
```
## Task
Generate a SQL query to answer the following question:
`I want to know the date with attendance of 35,763`

### 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 `I want to know the date with attendance of 35,763`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='35,763';
```
## Task
Generate a SQL query to answer the following question:
`Which series with a total of 27 albums did Dargaud edit?`

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

CREATE TABLE "bibliography" (
  "series" text,
  "years" text,
  "magazine" text,
  "albums" text,
  "editor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which series with a total of 27 albums did Dargaud edit?`:
```sql
                SELECT "series" FROM "bibliography" WHERE "editor"='dargaud' AND "albums"='27';
```
## Task
Generate a SQL query to answer the following question:
`What years did the magazine Vaillant and Pif run?`

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

CREATE TABLE "bibliography" (
  "series" text,
  "years" text,
  "magazine" text,
  "albums" text,
  "editor" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did the magazine Vaillant and Pif run?`:
```sql
                SELECT "years" FROM "bibliography" WHERE "magazine"='vaillant and pif';
```
## Task
Generate a SQL query to answer the following question:
`What state is susana martinez from?`

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

CREATE TABLE "list_of_current_republican_governors" (
  "current_governor" text,
  "state" text,
  "past" text,
  "took_office" real,
  "current_term" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state is susana martinez from?`:
```sql
                SELECT "state" FROM "list_of_current_republican_governors" WHERE "current_governor"='susana martinez';
```
## Task
Generate a SQL query to answer the following question:
`Which away team has a Home team score of 15.14 (104)?`

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

CREATE TABLE "round_4" (
  "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 `Which away team has a Home team score of 15.14 (104)?`:
```sql
                SELECT "away_team" FROM "round_4" WHERE "home_team_score"='15.14 (104)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team score when away team is hawthorn?`

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

CREATE TABLE "round_4" (
  "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 is the Home team score when away team is hawthorn?`:
```sql
                SELECT "home_team_score" FROM "round_4" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What league is ordabasy-2 in?`

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

CREATE TABLE "club_career_stats" (
  "season" text,
  "team" text,
  "country" text,
  "league" text,
  "level" real
);
### SQL
Given the database schema, here is the SQL query that answers `What league is ordabasy-2 in?`:
```sql
                SELECT "league" FROM "club_career_stats" WHERE "team"='ordabasy-2';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game where the home team scored 10.13 (73)?`

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

CREATE TABLE "round_15" (
  "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 attended the game where the home team scored 10.13 (73)?`:
```sql
                SELECT AVG("crowd") FROM "round_15" WHERE "home_team_score"='10.13 (73)';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of people that attended a game where the home team scored 10.13 (73)?`

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

CREATE TABLE "round_15" (
  "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 is the lowest amount of people that attended a game where the home team scored 10.13 (73)?`:
```sql
                SELECT MIN("crowd") FROM "round_15" WHERE "home_team_score"='10.13 (73)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Richmond hosted as the away team?`

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

CREATE TABLE "round_15" (
  "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 `On what date was Richmond hosted as the away team?`:
```sql
                SELECT "date" FROM "round_15" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the Hindu with Jewish of source: uk 2001 census`

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

CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
  "ethnic_group" text,
  "christian" text,
  "buddhist" text,
  "hindu" text,
  "jewish" text,
  "muslim" text,
  "sikh" text,
  "other" text,
  "no_religion" text,
  "not_stated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the Hindu with Jewish of source: uk 2001 census`:
```sql
                SELECT "hindu" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "jewish"='source: uk 2001 census';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the ethnic group for jewish of 0.47%`

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

CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
  "ethnic_group" text,
  "christian" text,
  "buddhist" text,
  "hindu" text,
  "jewish" text,
  "muslim" text,
  "sikh" text,
  "other" text,
  "no_religion" text,
  "not_stated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the ethnic group for jewish of 0.47%`:
```sql
                SELECT "ethnic_group" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "jewish"='0.47%';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the Hindu for ethnic group for white irish`

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

CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
  "ethnic_group" text,
  "christian" text,
  "buddhist" text,
  "hindu" text,
  "jewish" text,
  "muslim" text,
  "sikh" text,
  "other" text,
  "no_religion" text,
  "not_stated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the Hindu for ethnic group for white irish`:
```sql
                SELECT "hindu" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "ethnic_group"='white irish';
```
## Task
Generate a SQL query to answer the following question:
`Name the ethnic group with a buddhist of 0.19%`

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

CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
  "ethnic_group" text,
  "christian" text,
  "buddhist" text,
  "hindu" text,
  "jewish" text,
  "muslim" text,
  "sikh" text,
  "other" text,
  "no_religion" text,
  "not_stated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the ethnic group with a buddhist of 0.19%`:
```sql
                SELECT "ethnic_group" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "buddhist"='0.19%';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance of week 8?`

### 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 of week 8?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=8;
```
## Task
Generate a SQL query to answer the following question:
`How many points did the home score at a game that had their opponents scoring 12.16 (88)?`

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

CREATE TABLE "round_5" (
  "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 points did the home score at a game that had their opponents scoring 12.16 (88)?`:
```sql
                SELECT "home_team_score" FROM "round_5" WHERE "away_team_score"='12.16 (88)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team that had a score of 13.14 (92)?`

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

CREATE TABLE "round_5" (
  "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 was the home team that had a score of 13.14 (92)?`:
```sql
                SELECT "home_team" FROM "round_5" WHERE "home_team_score"='13.14 (92)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent of carlton at their home game?`

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

CREATE TABLE "round_5" (
  "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 was the opponent of carlton at their home game?`:
```sql
                SELECT "away_team" FROM "round_5" WHERE "home_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the result for 3 goals`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the result for 3 goals`:
```sql
                SELECT "result" FROM "international_goals" WHERE "goal"=3;
```
## Task
Generate a SQL query to answer the following question:
`Name the score for november 16`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the score for november 16`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='november 16';
```