cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the stage reached for venue edmonton green?`

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

CREATE TABLE "national_founders_cup" (
  "season" text,
  "stage_reached" text,
  "against" text,
  "score" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the stage reached for venue edmonton green?`:
```sql
                SELECT "stage_reached" FROM "national_founders_cup" WHERE "venue"='edmonton green';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?`

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

CREATE TABLE "2001_draft_picks" (
  "round" real,
  "overall" real,
  "player" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?`:
```sql
                SELECT AVG("round") FROM "2001_draft_picks" WHERE "club_team"='garmisch-partenkirchen riessersee sc (germany 2)';
```
## Task
Generate a SQL query to answer the following question:
`What richmond player played against st kilda?`

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

CREATE TABLE "goal_to_win" (
  "player" text,
  "team" text,
  "opponent" text,
  "year" real,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What richmond player played against st kilda?`:
```sql
                SELECT "player" FROM "goal_to_win" WHERE "opponent"='st kilda' AND "team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What player played in 2000?`

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

CREATE TABLE "goal_to_win" (
  "player" text,
  "team" text,
  "opponent" text,
  "year" real,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player played in 2000?`:
```sql
                SELECT "player" FROM "goal_to_win" WHERE "year"=2000;
```
## Task
Generate a SQL query to answer the following question:
`What year for geelong player john roberts?`

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

CREATE TABLE "goal_to_win" (
  "player" text,
  "team" text,
  "opponent" text,
  "year" real,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year for geelong player john roberts?`:
```sql
                SELECT "year" FROM "goal_to_win" WHERE "opponent"='geelong' AND "player"='john roberts';
```
## Task
Generate a SQL query to answer the following question:
`What's the authority when the roll is 40?`

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

CREATE TABLE "henderson_massey_local_board" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the authority when the roll is 40?`:
```sql
                SELECT "authority" FROM "henderson_massey_local_board" WHERE "roll"=40;
```
## Task
Generate a SQL query to answer the following question:
`What's the authority when the roll is less than 234 for the massey east area?`

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

CREATE TABLE "henderson_massey_local_board" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the authority when the roll is less than 234 for the massey east area?`:
```sql
                SELECT "authority" FROM "henderson_massey_local_board" WHERE "roll"<234 AND "area"='massey east';
```
## Task
Generate a SQL query to answer the following question:
`What's the roll for summerland primary when decile is over 6?`

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

CREATE TABLE "henderson_massey_local_board" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the roll for summerland primary when decile is over 6?`:
```sql
                SELECT "roll" FROM "henderson_massey_local_board" WHERE "decile">6 AND "name"='summerland primary';
```
## Task
Generate a SQL query to answer the following question:
`What is the name where the delivered date is 1839/08?`

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

CREATE TABLE "summary_table" (
  "l_cr_no" real,
  "type" text,
  "manufacturer" text,
  "delivered" text,
  "name" text,
  "jt_cttee_no" real,
  "1845_disposal" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name where the delivered date is 1839/08?`:
```sql
                SELECT "name" FROM "summary_table" WHERE "delivered"='1839/08';
```
## Task
Generate a SQL query to answer the following question:
`What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007?`

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

CREATE TABLE "episodes" (
  "title" text,
  "original_story_author" text,
  "director" text,
  "original_u_s_air_date" text,
  "original_canadian_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007?`:
```sql
                SELECT "original_u_s_air_date" FROM "episodes" WHERE "original_canadian_air_date"='december 9, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the Original Canadian air-date that was directed by Michael Tolkin?`

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

CREATE TABLE "episodes" (
  "title" text,
  "original_story_author" text,
  "director" text,
  "original_u_s_air_date" text,
  "original_canadian_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Original Canadian air-date that was directed by Michael Tolkin?`:
```sql
                SELECT "original_canadian_air_date" FROM "episodes" WHERE "director"='michael tolkin';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the author of " jerry was a man "?`

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

CREATE TABLE "episodes" (
  "title" text,
  "original_story_author" text,
  "director" text,
  "original_u_s_air_date" text,
  "original_canadian_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the author of " jerry was a man "?`:
```sql
                SELECT "original_story_author" FROM "episodes" WHERE "title"='\" jerry was a man \"';
```
## Task
Generate a SQL query to answer the following question:
`What was the Original Canadian air-date for the episode directed by mark rydell?`

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

CREATE TABLE "episodes" (
  "title" text,
  "original_story_author" text,
  "director" text,
  "original_u_s_air_date" text,
  "original_canadian_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Original Canadian air-date for the episode directed by mark rydell?`:
```sql
                SELECT "original_canadian_air_date" FROM "episodes" WHERE "director"='mark rydell';
```
## Task
Generate a SQL query to answer the following question:
`Which home team faced an away team that scored 8.9 (57)?`

### 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 `Which home team faced an away team that scored 8.9 (57)?`:
```sql
                SELECT "home_team" FROM "round_8" WHERE "away_team_score"='8.9 (57)';
```
## Task
Generate a SQL query to answer the following question:
`Which home team's venue is junction oval?`

### 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 `Which home team's venue is junction oval?`:
```sql
                SELECT "home_team" FROM "round_8" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`Which venue was melbourne the away team of?`

### 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 `Which venue was melbourne the away team of?`:
```sql
                SELECT "venue" FROM "round_8" WHERE "away_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was the home teams score against the away team footscray?`

### 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 was the home teams score against the away team footscray?`:
```sql
                SELECT "home_team_score" FROM "round_8" WHERE "away_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the average long that Ramon Richardson played and an average greater than 5.5?`

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

CREATE TABLE "wide_receivers" (
  "player" text,
  "rec" real,
  "yards" real,
  "avg" real,
  "long" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average long that Ramon Richardson played and an average greater than 5.5?`:
```sql
                SELECT AVG("long") FROM "wide_receivers" WHERE "player"='ramon richardson' AND "avg">5.5;
```
## Task
Generate a SQL query to answer the following question:
`Which has and average less than 3 and the lowest yards?`

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

CREATE TABLE "wide_receivers" (
  "player" text,
  "rec" real,
  "yards" real,
  "avg" real,
  "long" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which has and average less than 3 and the lowest yards?`:
```sql
                SELECT MIN("yards") FROM "wide_receivers" WHERE "avg"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the average rec that is greater than 10 and has 40 yards?`

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

CREATE TABLE "wide_receivers" (
  "player" text,
  "rec" real,
  "yards" real,
  "avg" real,
  "long" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average rec that is greater than 10 and has 40 yards?`:
```sql
                SELECT AVG("rec") FROM "wide_receivers" WHERE "yards"=40 AND "avg">10;
```
## Task
Generate a SQL query to answer the following question:
`What was the high assists for game 31?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the high assists for game 31?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "game"=31;
```
## Task
Generate a SQL query to answer the following question:
`What team played in game 39?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team played in game 39?`:
```sql
                SELECT "team" FROM "game_log" WHERE "game"=39;
```
## Task
Generate a SQL query to answer the following question:
`How many people attended game 42?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended game 42?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=42;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Shooting Total with a Bronze less than 0?`

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

CREATE TABLE "asian_youth_games" (
  "sport" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Shooting Total with a Bronze less than 0?`:
```sql
                SELECT MAX("total") FROM "asian_youth_games" WHERE "sport"='shooting' AND "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?`

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

CREATE TABLE "asian_youth_games" (
  "sport" 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 Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?`:
```sql
                SELECT MIN("silver") FROM "asian_youth_games" WHERE "bronze">1 AND "sport"='total' AND "gold"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the football Bronze with more than 1 Silver?`

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

CREATE TABLE "asian_youth_games" (
  "sport" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the football Bronze with more than 1 Silver?`:
```sql
                SELECT AVG("bronze") FROM "asian_youth_games" WHERE "sport"='football' AND "silver">1;
```
## Task
Generate a SQL query to answer the following question:
`With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?`

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

CREATE TABLE "asian_youth_games" (
  "sport" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?`:
```sql
                SELECT AVG("silver") FROM "asian_youth_games" WHERE "total">1 AND "gold"=1 AND "bronze">2;
```
## Task
Generate a SQL query to answer the following question:
`With more than 1 Gold and Silver and Total Sport, what is the Total?`

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

CREATE TABLE "asian_youth_games" (
  "sport" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `With more than 1 Gold and Silver and Total Sport, what is the Total?`:
```sql
                SELECT AVG("total") FROM "asian_youth_games" WHERE "silver">1 AND "sport"='total' AND "gold">1;
```
## Task
Generate a SQL query to answer the following question:
`What year does robin buck go 44 laps?`

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

CREATE TABLE "nascar_canadian_tire_series" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "distance_duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year does robin buck go 44 laps?`:
```sql
                SELECT "year" FROM "nascar_canadian_tire_series" WHERE "distance_duration"='44 laps' AND "driver"='robin buck';
```
## Task
Generate a SQL query to answer the following question:
`How many years does Team wal-mart / tide participate?`

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

CREATE TABLE "nascar_canadian_tire_series" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "distance_duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years does Team wal-mart / tide participate?`:
```sql
                SELECT COUNT("year") FROM "nascar_canadian_tire_series" WHERE "team"='wal-mart / tide';
```
## Task
Generate a SQL query to answer the following question:
`Which score has a Result of 11–0?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which score has a Result of 11–0?`:
```sql
                SELECT "score" FROM "international_career" WHERE "result"='11–0';
```
## Task
Generate a SQL query to answer the following question:
`Which result has a Score of 1–1?`

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

CREATE TABLE "international_career" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which result has a Score of 1–1?`:
```sql
                SELECT "result" FROM "international_career" WHERE "score"='1–1';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game with an 11-32-11 record?`

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

CREATE TABLE "february" (
  "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 score of the game with an 11-32-11 record?`:
```sql
                SELECT "score" FROM "february" WHERE "record"='11-32-11';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12?`

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

CREATE TABLE "february" (
  "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 home team of the game where New Jersey was the visitor team and the record was 11-35-12?`:
```sql
                SELECT "home" FROM "february" WHERE "visitor"='new jersey' AND "record"='11-35-12';
```
## Task
Generate a SQL query to answer the following question:
`What is the visitor team of the game with Chicago as the home team?`

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

CREATE TABLE "february" (
  "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 visitor team of the game with Chicago as the home team?`:
```sql
                SELECT "visitor" FROM "february" WHERE "home"='chicago';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game on February 27 with New Jersey as the visitor team?`

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

CREATE TABLE "february" (
  "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 score of the game on February 27 with New Jersey as the visitor team?`:
```sql
                SELECT "score" FROM "february" WHERE "visitor"='new jersey' AND "date"='february 27';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team of the game on February 3?`

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

CREATE TABLE "february" (
  "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 home team of the game on February 3?`:
```sql
                SELECT "home" FROM "february" WHERE "date"='february 3';
```
## Task
Generate a SQL query to answer the following question:
`Who is the visitor team of the game where Buffalo was the home team?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the visitor team of the game where Buffalo was the home team?`:
```sql
                SELECT "visitor" FROM "february" WHERE "home"='buffalo';
```
## Task
Generate a SQL query to answer the following question:
`What driver has grid number 18?`

### 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 driver has grid number 18?`:
```sql
                SELECT "driver" FROM "race" WHERE "grid"=18;
```
## Task
Generate a SQL query to answer the following question:
`What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15?`

### 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 time or retired time for timo glock with under 70 laps and a grid number greater than 15?`:
```sql
                SELECT "time_retired" FROM "race" WHERE "laps"<70 AND "grid">15 AND "driver"='timo glock';
```
## Task
Generate a SQL query to answer the following question:
`Kecamatan Bogor Timur has more than 6 villages, what is the area in km²?`

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

CREATE TABLE "districts_of_bogor_city" (
  "english_name" text,
  "original_name" text,
  "area_in_km" real,
  "population_at_2010_census" real,
  "number_of_settlements_and_villages" real
);
### SQL
Given the database schema, here is the SQL query that answers `Kecamatan Bogor Timur has more than 6 villages, what is the area in km²?`:
```sql
                SELECT SUM("area_in_km") FROM "districts_of_bogor_city" WHERE "original_name"='kecamatan bogor timur' AND "number_of_settlements_and_villages">6;
```
## Task
Generate a SQL query to answer the following question:
`There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in km²?`

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

CREATE TABLE "districts_of_bogor_city" (
  "english_name" text,
  "original_name" text,
  "area_in_km" real,
  "population_at_2010_census" real,
  "number_of_settlements_and_villages" real
);
### SQL
Given the database schema, here is the SQL query that answers `There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in km²?`:
```sql
                SELECT SUM("area_in_km") FROM "districts_of_bogor_city" WHERE "original_name"='kecamatan bogor tengah' AND "number_of_settlements_and_villages"<11;
```
## Task
Generate a SQL query to answer the following question:
`Luxembourg received how many gold medals?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Luxembourg received how many gold medals?`:
```sql
                SELECT AVG("gold") FROM "medal_count" WHERE "nation"='luxembourg';
```
## Task
Generate a SQL query to answer the following question:
`what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?`

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

CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
  "ship_s_name" text,
  "date_entered_service" text,
  "date_withdrawn" text,
  "tonnage" real,
  "type_of_ship" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?`:
```sql
                SELECT SUM("tonnage") FROM "ships_operated_by_zeeland_steamship_comp" WHERE "type_of_ship"='twin screw ro-ro motorship' AND "date_entered_service"='11 february 1983';
```
## Task
Generate a SQL query to answer the following question:
`what is the ships name that is a twin screw ro-ro motorship and entered service on 11 february 1983?`

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

CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
  "ship_s_name" text,
  "date_entered_service" text,
  "date_withdrawn" text,
  "tonnage" real,
  "type_of_ship" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the ships name that is a twin screw ro-ro motorship and entered service on 11 february 1983?`:
```sql
                SELECT "ship_s_name" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "type_of_ship"='twin screw ro-ro motorship' AND "date_entered_service"='11 february 1983';
```
## Task
Generate a SQL query to answer the following question:
`what is the least tonnage for the ship(s) that entered service on 11 february 1983?`

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

CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
  "ship_s_name" text,
  "date_entered_service" text,
  "date_withdrawn" text,
  "tonnage" real,
  "type_of_ship" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the least tonnage for the ship(s) that entered service on 11 february 1983?`:
```sql
                SELECT MIN("tonnage") FROM "ships_operated_by_zeeland_steamship_comp" WHERE "date_entered_service"='11 february 1983';
```
## Task
Generate a SQL query to answer the following question:
`what is the name of the ship that was withdrawn from service on 25 march 1986?`

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

CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
  "ship_s_name" text,
  "date_entered_service" text,
  "date_withdrawn" text,
  "tonnage" real,
  "type_of_ship" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name of the ship that was withdrawn from service on 25 march 1986?`:
```sql
                SELECT "ship_s_name" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "date_withdrawn"='25 march 1986';
```
## Task
Generate a SQL query to answer the following question:
`what is the tonnage of the ship koningin juliana?`

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

CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
  "ship_s_name" text,
  "date_entered_service" text,
  "date_withdrawn" text,
  "tonnage" real,
  "type_of_ship" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the tonnage of the ship koningin juliana?`:
```sql
                SELECT "tonnage" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "ship_s_name"='koningin juliana';
```
## Task
Generate a SQL query to answer the following question:
`What's the sum of gold where silver is more than 2 and the total is 12?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the sum of gold where silver is more than 2 and the total is 12?`:
```sql
                SELECT SUM("gold") FROM "medal_count" WHERE "silver">2 AND "total"=12;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein?`:
```sql
                SELECT MIN("gold") FROM "medal_count" WHERE "total"=4 AND "nation"='liechtenstein' AND "silver"<2;
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of gold where the total is less than 23 and the rank is over 10?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of gold where the total is less than 23 and the rank is over 10?`:
```sql
                SELECT COUNT("gold") FROM "medal_count" WHERE "total"<23 AND "rank">10;
```
## Task
Generate a SQL query to answer the following question:
`What's the sum of total where the rank is over 9 and the gold is less than 1?`

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

CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the sum of total where the rank is over 9 and the gold is less than 1?`:
```sql
                SELECT COUNT("total") FROM "medal_count" WHERE "rank">9 AND "gold"<1;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance number for the Timberwolves game?`

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

CREATE TABLE "standings" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "location_attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance number for the Timberwolves game?`:
```sql
                SELECT SUM("location_attendance") FROM "standings" WHERE "team"='timberwolves';
```
## Task
Generate a SQL query to answer the following question:
`What did the team score when playing at home with a score of 13.8 (86)?`

### 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 did the team score when playing at home with a score of 13.8 (86)?`:
```sql
                SELECT "home_team_score" FROM "round_10" WHERE "away_team_score"='13.8 (86)';
```
## Task
Generate a SQL query to answer the following question:
`What was the smallest crowd at home with a score of 15.8 (98)?`

### 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 smallest crowd at home with a score of 15.8 (98)?`:
```sql
                SELECT MIN("crowd") FROM "round_10" WHERE "home_team_score"='15.8 (98)';
```
## Task
Generate a SQL query to answer the following question:
`What is the combined of Crowd when richmond played at home?`

### 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 combined of Crowd when richmond played at home?`:
```sql
                SELECT COUNT("crowd") FROM "round_10" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What did the team score when playing against an away team with a score of 13.8 (86)?`

### 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 did the team score when playing against an away team with a score of 13.8 (86)?`:
```sql
                SELECT "home_team_score" FROM "round_10" WHERE "away_team_score"='13.8 (86)';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has a result of 3–6, 6–2, 4–6?`

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

CREATE TABLE "singles_21_5" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has a result of 3–6, 6–2, 4–6?`:
```sql
                SELECT "opponent" FROM "singles_21_5" WHERE "result"='3–6, 6–2, 4–6';
```
## Task
Generate a SQL query to answer the following question:
`When was the 1991 world group I with the opponent of Li Fang?`

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

CREATE TABLE "singles_21_5" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the 1991 world group I with the opponent of Li Fang?`:
```sql
                SELECT "date" FROM "singles_21_5" WHERE "edition"='1991 world group i' AND "opponent"='li fang';
```
## Task
Generate a SQL query to answer the following question:
`On July 15, 1984 what surface was used?`

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

CREATE TABLE "singles_21_5" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `On July 15, 1984 what surface was used?`:
```sql
                SELECT "surface" FROM "singles_21_5" WHERE "date"='july 15, 1984';
```
## Task
Generate a SQL query to answer the following question:
`For what round was the opponent mercedes paz with a result of 4–6, 6–1, 6–3?`

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

CREATE TABLE "singles_21_5" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `For what round was the opponent mercedes paz with a result of 4–6, 6–1, 6–3?`:
```sql
                SELECT "round" FROM "singles_21_5" WHERE "opponent"='mercedes paz' AND "result"='4–6, 6–1, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`What surface was used on July 17, 1983?`

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

CREATE TABLE "singles_21_5" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface was used on July 17, 1983?`:
```sql
                SELECT "surface" FROM "singles_21_5" WHERE "date"='july 17, 1983';
```
## Task
Generate a SQL query to answer the following question:
`What was the result on October 8, 1985?`

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

CREATE TABLE "singles_21_5" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result on October 8, 1985?`:
```sql
                SELECT "result" FROM "singles_21_5" WHERE "date"='october 8, 1985';
```
## Task
Generate a SQL query to answer the following question:
`Name the highest pick number for PI GP more than 55`

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

CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
  "rd_num" real,
  "pick_num" real,
  "player" text,
  "team_league" text,
  "reg_gp" real,
  "pl_gp" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the highest pick number for PI GP more than 55`:
```sql
                SELECT MAX("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "pl_gp">55;
```
## Task
Generate a SQL query to answer the following question:
`Name the least RD number that has PI GP more than 0 and pick # more than 51`

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

CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
  "rd_num" real,
  "pick_num" real,
  "player" text,
  "team_league" text,
  "reg_gp" real,
  "pl_gp" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least RD number that has PI GP more than 0 and pick # more than 51`:
```sql
                SELECT MIN("rd_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "pl_gp">0 AND "pick_num">51;
```
## Task
Generate a SQL query to answer the following question:
`What day did Footscray play as the away team?`

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

CREATE TABLE "round_12" (
  "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 day did Footscray play as the away team?`:
```sql
                SELECT "date" FROM "round_12" WHERE "away_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What was Hawthorn's away teams opponents score?`

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

CREATE TABLE "round_12" (
  "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 Hawthorn's away teams opponents score?`:
```sql
                SELECT "away_team_score" FROM "round_12" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance of april 17?`

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

CREATE TABLE "playoffs" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance of april 17?`:
```sql
                SELECT SUM("attendance") FROM "playoffs" WHERE "date"='april 17';
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the Mariners game when they had a record of 21-34?`

### 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss of the Mariners game when they had a record of 21-34?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='21-34';
```
## Task
Generate a SQL query to answer the following question:
`Who did the Mariners play when they had a record of 33-45?`

### 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the Mariners play when they had a record of 33-45?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='33-45';
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the Mariners game when they had a record of 22-35?`

### 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss of the Mariners game when they had a record of 22-35?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='22-35';
```
## Task
Generate a SQL query to answer the following question:
`What was the record for the game attended by 35,614 spectators?`

### 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for the game attended by 35,614 spectators?`:
```sql
                SELECT "record" FROM "game_log" WHERE "attendance"='35,614';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for April 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for April 8?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='april 8';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for the game that has a record of 1-1?`

### 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for the game that has a record of 1-1?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "record"='1-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for the game with an attendance of 35,305?`

### 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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for the game with an attendance of 35,305?`:
```sql
                SELECT "record" FROM "game_log" WHERE "attendance"='35,305';
```
## Task
Generate a SQL query to answer the following question:
`what is the grid when the driver is louis rosier and the laps is more than 78?`

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

CREATE TABLE "classification" (
  "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 grid when the driver is louis rosier and the laps is more than 78?`:
```sql
                SELECT MIN("grid") FROM "classification" WHERE "driver"='louis rosier' AND "laps">78;
```
## Task
Generate a SQL query to answer the following question:
`what is the time/retired when the driver is toulo de graffenried?`

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

CREATE TABLE "classification" (
  "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 time/retired when the driver is toulo de graffenried?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "driver"='toulo de graffenried';
```
## Task
Generate a SQL query to answer the following question:
`what is the laps when the driver is tony rolt and the grid is less than 10?`

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

CREATE TABLE "classification" (
  "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 laps when the driver is tony rolt and the grid is less than 10?`:
```sql
                SELECT SUM("laps") FROM "classification" WHERE "driver"='tony rolt' AND "grid"<10;
```
## Task
Generate a SQL query to answer the following question:
`what is the time/retired when the constructor is maserati and the laps is 90?`

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

CREATE TABLE "classification" (
  "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 time/retired when the constructor is maserati and the laps is 90?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "constructor"='maserati' AND "laps"=90;
```