cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Date of december 29 has what visitor?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Date of december 29 has what visitor?`:
```sql
                SELECT "visitor" FROM "december" WHERE "date"='december 29';
```
## Task
Generate a SQL query to answer the following question:
`Score of 2 – 3 has what attendance?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Score of 2 – 3 has what attendance?`:
```sql
                SELECT "attendance" FROM "december" WHERE "score"='2 – 3';
```
## Task
Generate a SQL query to answer the following question:
`With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many?`:
```sql
                SELECT MIN("attendance") FROM "game_log" WHERE "record"='48-51';
```
## Task
Generate a SQL query to answer the following question:
`What would be the lowest Attendance that also showed a loss of Obermueller (1-2)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What would be the lowest Attendance that also showed a loss of Obermueller (1-2)?`:
```sql
                SELECT MIN("attendance") FROM "game_log" WHERE "loss"='obermueller (1-2)';
```
## Task
Generate a SQL query to answer the following question:
`What was the stadium for the game held on October 31?`

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

CREATE TABLE "2013_season" (
  "week" real,
  "date" text,
  "visiting_team" text,
  "host_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the stadium for the game held on October 31?`:
```sql
                SELECT "stadium" FROM "2013_season" WHERE "date"='october 31';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks in total were games played at Cleveland Browns Stadium?`

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

CREATE TABLE "2013_season" (
  "week" real,
  "date" text,
  "visiting_team" text,
  "host_team" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks in total were games played at Cleveland Browns Stadium?`:
```sql
                SELECT COUNT("week") FROM "2013_season" WHERE "stadium"='cleveland browns stadium';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface on 23 October 2011?`

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

CREATE TABLE "singles_5_1_4" (
  "outcome" text,
  "date" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface on 23 October 2011?`:
```sql
                SELECT "surface" FROM "singles_5_1_4" WHERE "date"='23 october 2011';
```
## Task
Generate a SQL query to answer the following question:
`Which Notre Dame coach lost 15 games?`

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

CREATE TABLE "coaching_records" (
  "years" text,
  "coach" text,
  "seasons" real,
  "wins" real,
  "losses" real,
  "ties" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Notre Dame coach lost 15 games?`:
```sql
                SELECT "coach" FROM "coaching_records" WHERE "losses"=15;
```
## Task
Generate a SQL query to answer the following question:
`How many losses did Notre Dame have in 1904?`

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

CREATE TABLE "coaching_records" (
  "years" text,
  "coach" text,
  "seasons" real,
  "wins" real,
  "losses" real,
  "ties" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses did Notre Dame have in 1904?`:
```sql
                SELECT AVG("losses") FROM "coaching_records" WHERE "years"='1904';
```
## Task
Generate a SQL query to answer the following question:
`What was the winning percent of Notre Dame in 1905?`

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

CREATE TABLE "coaching_records" (
  "years" text,
  "coach" text,
  "seasons" real,
  "wins" real,
  "losses" real,
  "ties" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning percent of Notre Dame in 1905?`:
```sql
                SELECT "pct" FROM "coaching_records" WHERE "years"='1905';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home captain that played at Edgbaston?`

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

CREATE TABLE "australia_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home captain that played at Edgbaston?`:
```sql
                SELECT "home_captain" FROM "australia_in_england" WHERE "venue"='edgbaston';
```
## Task
Generate a SQL query to answer the following question:
`For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?`

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

CREATE TABLE "australia_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?`:
```sql
                SELECT "result" FROM "australia_in_england" WHERE "home_captain"='graham gooch' AND "date"='3,4,5,6,7 june 1993';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue for the matches played on the dates 3,4,5,6,7 June 1993?`

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

CREATE TABLE "australia_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue for the matches played on the dates 3,4,5,6,7 June 1993?`:
```sql
                SELECT "venue" FROM "australia_in_england" WHERE "date"='3,4,5,6,7 june 1993';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away captain for matches played at Trent Bridge?`

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

CREATE TABLE "australia_in_england" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away captain for matches played at Trent Bridge?`:
```sql
                SELECT "away_captain" FROM "australia_in_england" WHERE "venue"='trent bridge';
```
## Task
Generate a SQL query to answer the following question:
`Which rank is Hawthorn?`

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

CREATE TABLE "most_career_games" (
  "rank" real,
  "games" real,
  "player" text,
  "club_clubs" text,
  "career_span" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which rank is Hawthorn?`:
```sql
                SELECT "rank" FROM "most_career_games" WHERE "club_clubs"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the First Performance when the status is past and the style was ballet, tap?`

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

CREATE TABLE "billy_elliot" (
  "status" text,
  "name" text,
  "first_performance" text,
  "last_performance" text,
  "style" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the First Performance when the status is past and the style was ballet, tap?`:
```sql
                SELECT "first_performance" FROM "billy_elliot" WHERE "status"='past' AND "style"='ballet, tap';
```
## Task
Generate a SQL query to answer the following question:
`What was the Last Performance when the status is current cast, and a Name of noah parets?`

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

CREATE TABLE "billy_elliot" (
  "status" text,
  "name" text,
  "first_performance" text,
  "last_performance" text,
  "style" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Last Performance when the status is current cast, and a Name of noah parets?`:
```sql
                SELECT "last_performance" FROM "billy_elliot" WHERE "status"='current cast' AND "name"='noah parets';
```
## Task
Generate a SQL query to answer the following question:
`What is the style for Giuseppe Bausilio?`

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

CREATE TABLE "billy_elliot" (
  "status" text,
  "name" text,
  "first_performance" text,
  "last_performance" text,
  "style" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the style for Giuseppe Bausilio?`:
```sql
                SELECT "style" FROM "billy_elliot" WHERE "name"='giuseppe bausilio';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has the event Jungle Fight 6?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has the event Jungle Fight 6?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "event"='jungle fight 6';
```
## Task
Generate a SQL query to answer the following question:
`Which is the method under the event Jungle Fight 2?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which is the method under the event Jungle Fight 2?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='jungle fight 2';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of points when draw is 4?`

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

CREATE TABLE "apertura_2004_standings" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of points when draw is 4?`:
```sql
                SELECT COUNT("points") FROM "apertura_2004_standings" WHERE "draw"=4;
```
## Task
Generate a SQL query to answer the following question:
`what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26?`

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

CREATE TABLE "apertura_2004_standings" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26?`:
```sql
                SELECT SUM("goals_scored") FROM "apertura_2004_standings" WHERE "draw"<8 AND "points"=19 AND "goals_conceded">26;
```
## Task
Generate a SQL query to answer the following question:
`what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26?`

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

CREATE TABLE "apertura_2004_standings" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26?`:
```sql
                SELECT SUM("points") FROM "apertura_2004_standings" WHERE "goals_conceded"<24 AND "place"<6 AND "goals_scored"<26;
```
## Task
Generate a SQL query to answer the following question:
`what is the place when losses is less than 12 and points is less than 19?`

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

CREATE TABLE "apertura_2004_standings" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the place when losses is less than 12 and points is less than 19?`:
```sql
                SELECT SUM("place") FROM "apertura_2004_standings" WHERE "lost"<12 AND "points"<19;
```
## Task
Generate a SQL query to answer the following question:
`what is the average place when lost is more than 12?`

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

CREATE TABLE "apertura_2004_standings" (
  "place" real,
  "team" text,
  "played" real,
  "draw" real,
  "lost" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the average place when lost is more than 12?`:
```sql
                SELECT AVG("place") FROM "apertura_2004_standings" WHERE "lost">12;
```
## Task
Generate a SQL query to answer the following question:
`In what Year were there 48 of 120 Seats and a % votes larger than 34.18?`

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

CREATE TABLE "chamber_of_deputies_election" (
  "year" real,
  "designation" text,
  "pct_votes" real,
  "seats" text,
  "pct_seats" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what Year were there 48 of 120 Seats and a % votes larger than 34.18?`:
```sql
                SELECT SUM("year") FROM "chamber_of_deputies_election" WHERE "seats"='48 of 120' AND "pct_votes">34.18;
```
## Task
Generate a SQL query to answer the following question:
`After 1993, what is the Seats with a % votes of 38.72?`

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

CREATE TABLE "chamber_of_deputies_election" (
  "year" real,
  "designation" text,
  "pct_votes" real,
  "seats" text,
  "pct_seats" real
);
### SQL
Given the database schema, here is the SQL query that answers `After 1993, what is the Seats with a % votes of 38.72?`:
```sql
                SELECT "seats" FROM "chamber_of_deputies_election" WHERE "year">1993 AND "pct_votes"=38.72;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya?`

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

CREATE TABLE "see_also" (
  "peak" text,
  "elevation_m" real,
  "prominence_m" real,
  "isolation_km" real,
  "municipality" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya?`:
```sql
                SELECT MAX("isolation_km") FROM "see_also" WHERE "elevation_m"<1320 AND "municipality"='hinnøya';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850?`

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

CREATE TABLE "see_also" (
  "peak" text,
  "elevation_m" real,
  "prominence_m" real,
  "isolation_km" real,
  "municipality" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850?`:
```sql
                SELECT AVG("isolation_km") FROM "see_also" WHERE "municipality"='sunndal' AND "elevation_m">1850;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4?`

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

CREATE TABLE "see_also" (
  "peak" text,
  "elevation_m" real,
  "prominence_m" real,
  "isolation_km" real,
  "municipality" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4?`:
```sql
                SELECT MAX("elevation_m") FROM "see_also" WHERE "peak"='daurmål' AND "isolation_km">4;
```
## Task
Generate a SQL query to answer the following question:
`What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind?`

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

CREATE TABLE "see_also" (
  "peak" text,
  "elevation_m" real,
  "prominence_m" real,
  "isolation_km" real,
  "municipality" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind?`:
```sql
                SELECT "county" FROM "see_also" WHERE "elevation_m"<1833 AND "isolation_km">18 AND "peak"='store lenangstind';
```
## Task
Generate a SQL query to answer the following question:
`What country has a prominence less than 1292 and an Isolation (km) of 14?`

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

CREATE TABLE "see_also" (
  "peak" text,
  "elevation_m" real,
  "prominence_m" real,
  "isolation_km" real,
  "municipality" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country has a prominence less than 1292 and an Isolation (km) of 14?`:
```sql
                SELECT "county" FROM "see_also" WHERE "prominence_m"<1292 AND "isolation_km"=14;
```
## Task
Generate a SQL query to answer the following question:
`Which lane did George Bovell swim in?`

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

CREATE TABLE "heats" (
  "heat" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which lane did George Bovell swim in?`:
```sql
                SELECT SUM("lane") FROM "heats" WHERE "name"='george bovell';
```
## Task
Generate a SQL query to answer the following question:
`What is the average of the top-25 with 16 cuts and less than 23 events?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average of the top-25 with 16 cuts and less than 23 events?`:
```sql
                SELECT AVG("top_25") FROM "summary" WHERE "cuts_made"=16 AND "events"<23;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest top-25 with more than 9 top-10 but less than 29 events?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest top-25 with more than 9 top-10 but less than 29 events?`:
```sql
                SELECT MAX("top_25") FROM "summary" WHERE "top_10">9 AND "events"<29;
```
## Task
Generate a SQL query to answer the following question:
`What's the Overall average that has brad scioli, and a Pick # larger than 5?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Overall average that has brad scioli, and a Pick # larger than 5?`:
```sql
                SELECT AVG("overall") FROM "indianapolis_colts_draft_history" WHERE "name"='brad scioli' AND "pick_num">5;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3?`:
```sql
                SELECT MIN("overall") FROM "indianapolis_colts_draft_history" WHERE "college"='arkansas' AND "round">3;
```
## Task
Generate a SQL query to answer the following question:
`Which highest Overall has a Pick # of 4, and a Round larger than 7?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which highest Overall has a Pick # of 4, and a Round larger than 7?`:
```sql
                SELECT MAX("overall") FROM "indianapolis_colts_draft_history" WHERE "pick_num"=4 AND "round">7;
```
## Task
Generate a SQL query to answer the following question:
`What's the overall average that has a round less than 7, and a Pick # of 4?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the overall average that has a round less than 7, and a Pick # of 4?`:
```sql
                SELECT AVG("overall") FROM "indianapolis_colts_draft_history" WHERE "round"<7 AND "pick_num"=4;
```
## Task
Generate a SQL query to answer the following question:
`Who is the no. 4 team that has the no. 5 player Susana Telmo?`

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

CREATE TABLE "nominations" (
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "intruder" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the no. 4 team that has the no. 5 player Susana Telmo?`:
```sql
                SELECT "no_4" FROM "nominations" WHERE "no_5"='susana telmo';
```
## Task
Generate a SQL query to answer the following question:
`Who is the no. 9 team that has a no. 6 player of paulo?`

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

CREATE TABLE "nominations" (
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "intruder" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the no. 9 team that has a no. 6 player of paulo?`:
```sql
                SELECT "no_9" FROM "nominations" WHERE "no_6"='paulo';
```
## Task
Generate a SQL query to answer the following question:
`Who this the no. 8 team that has a no. 9 player, Telmo?`

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

CREATE TABLE "nominations" (
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "intruder" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who this the no. 8 team that has a no. 9 player, Telmo?`:
```sql
                SELECT "no_8" FROM "nominations" WHERE "no_9"='telmo';
```
## Task
Generate a SQL query to answer the following question:
`Name the nickname with age of 4.9`

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

CREATE TABLE "geography_and_environment" (
  "island" text,
  "nickname" text,
  "area" text,
  "population_as_of_2010" real,
  "highest_point" text,
  "elevation" text,
  "age_ma" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nickname with age of 4.9`:
```sql
                SELECT "nickname" FROM "geography_and_environment" WHERE "age_ma"='4.9';
```
## Task
Generate a SQL query to answer the following question:
`Name the island with age ma of 1.0`

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

CREATE TABLE "geography_and_environment" (
  "island" text,
  "nickname" text,
  "area" text,
  "population_as_of_2010" real,
  "highest_point" text,
  "elevation" text,
  "age_ma" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the island with age ma of 1.0`:
```sql
                SELECT "island" FROM "geography_and_environment" WHERE "age_ma"='1.0';
```
## Task
Generate a SQL query to answer the following question:
`Name the elevation of the gathering place`

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

CREATE TABLE "geography_and_environment" (
  "island" text,
  "nickname" text,
  "area" text,
  "population_as_of_2010" real,
  "highest_point" text,
  "elevation" text,
  "age_ma" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the elevation of the gathering place`:
```sql
                SELECT "elevation" FROM "geography_and_environment" WHERE "nickname"='the gathering place';
```
## Task
Generate a SQL query to answer the following question:
`Name the most point with population less than 144,444 and age of 1.0`

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

CREATE TABLE "geography_and_environment" (
  "island" text,
  "nickname" text,
  "area" text,
  "population_as_of_2010" real,
  "highest_point" text,
  "elevation" text,
  "age_ma" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most point with population less than 144,444 and age of 1.0`:
```sql
                SELECT "highest_point" FROM "geography_and_environment" WHERE "population_as_of_2010"<'144,444' AND "age_ma"='1.0';
```
## Task
Generate a SQL query to answer the following question:
`Who won when mahesh manjrekar was the 2nd runner-up?`

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

CREATE TABLE "series_winners" (
  "season" real,
  "season_premiere_date" text,
  "season_finale_date" text,
  "winner" text,
  "1st_runner_up" text,
  "2nd_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won when mahesh manjrekar was the 2nd runner-up?`:
```sql
                SELECT "winner" FROM "series_winners" WHERE "2nd_runner_up"='mahesh manjrekar';
```
## Task
Generate a SQL query to answer the following question:
`When was the season finale of a show with season premiere on 12 December 2010?`

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

CREATE TABLE "series_winners" (
  "season" real,
  "season_premiere_date" text,
  "season_finale_date" text,
  "winner" text,
  "1st_runner_up" text,
  "2nd_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the season finale of a show with season premiere on 12 December 2010?`:
```sql
                SELECT "season_finale_date" FROM "series_winners" WHERE "season_premiere_date"='12 december 2010';
```
## Task
Generate a SQL query to answer the following question:
`Game site of kingdome, and a Result of w 24-6 has what record?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Game site of kingdome, and a Result of w 24-6 has what record?`:
```sql
                SELECT "record" FROM "schedule" WHERE "game_site"='kingdome' AND "result"='w 24-6';
```
## Task
Generate a SQL query to answer the following question:
`Attendance larger than 60,967, and a Opponent of at cleveland browns has what record?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Attendance larger than 60,967, and a Opponent of at cleveland browns has what record?`:
```sql
                SELECT "record" FROM "schedule" WHERE "attendance">'60,967' AND "opponent"='at cleveland browns';
```
## Task
Generate a SQL query to answer the following question:
`Date of september 25, 1983 is what game site?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Date of september 25, 1983 is what game site?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "date"='september 25, 1983';
```
## Task
Generate a SQL query to answer the following question:
`What stadium held the game that had a score of 6–3?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What stadium held the game that had a score of 6–3?`:
```sql
                SELECT "stadium" FROM "game_log" WHERE "score"='6–3';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game that had a loss of Reed (0–2)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game that had a loss of Reed (0–2)?`:
```sql
                SELECT "date" FROM "game_log" WHERE "loss"='reed (0–2)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game attended by more than 44,835 with a record of 0–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" real,
  "record" text,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game attended by more than 44,835 with a record of 0–1?`:
```sql
                SELECT "date" FROM "game_log" WHERE "attendance">'44,835' AND "record"='0–1';
```
## Task
Generate a SQL query to answer the following question:
`On which Date was there a record of 11-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 `On which Date was there a record of 11-8?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='11-8';
```
## Task
Generate a SQL query to answer the following question:
`How many podiums associated with 1 vuelta and over 7 tours?`

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

CREATE TABLE "most_grand_tour_podiums" (
  "name" text,
  "tour" real,
  "giro" real,
  "vuelta" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many podiums associated with 1 vuelta and over 7 tours?`:
```sql
                SELECT COUNT("total") FROM "most_grand_tour_podiums" WHERE "vuelta"=1 AND "tour">7;
```
## Task
Generate a SQL query to answer the following question:
`What is the total for miguel induráin with a Vuelta larger than 1?`

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

CREATE TABLE "most_grand_tour_podiums" (
  "name" text,
  "tour" real,
  "giro" real,
  "vuelta" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total for miguel induráin with a Vuelta larger than 1?`:
```sql
                SELECT MIN("total") FROM "most_grand_tour_podiums" WHERE "name"='miguel induráin' AND "vuelta">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?`

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

CREATE TABLE "race" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?`:
```sql
                SELECT MIN("grid") FROM "race" WHERE "time_retired"='+ 1 lap' AND "points"<7;
```
## Task
Generate a SQL query to answer the following question:
`What grid is associated with 67 laps?`

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

CREATE TABLE "race" (
  "name" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What grid is associated with 67 laps?`:
```sql
                SELECT "grid" FROM "race" WHERE "laps"=67;
```
## Task
Generate a SQL query to answer the following question:
`Name the nation for 8 june 1983 for marlies gohr`

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

CREATE TABLE "all_time_top_25_women" (
  "rank" real,
  "time" text,
  "wind_m_s" text,
  "athlete" text,
  "nation" text,
  "date" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nation for 8 june 1983 for marlies gohr`:
```sql
                SELECT "nation" FROM "all_time_top_25_women" WHERE "date"='8 june 1983' AND "athlete"='marlies gohr';
```
## Task
Generate a SQL query to answer the following question:
`Name the athlete for bulgaria with rank less than 22`

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

CREATE TABLE "all_time_top_25_women" (
  "rank" real,
  "time" text,
  "wind_m_s" text,
  "athlete" text,
  "nation" text,
  "date" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the athlete for bulgaria with rank less than 22`:
```sql
                SELECT "athlete" FROM "all_time_top_25_women" WHERE "rank"<22 AND "nation"='bulgaria';
```
## Task
Generate a SQL query to answer the following question:
`What engine was used by Ram Penthouse Rizla Racing in 1978?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `What engine was used by Ram Penthouse Rizla Racing in 1978?`:
```sql
                SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year">1978 AND "entrant"='ram penthouse rizla racing';
```
## Task
Generate a SQL query to answer the following question:
`Which College has a Year smaller than 1962, and a Position of rb?`

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

CREATE TABLE "players_selected" (
  "year" real,
  "pick" text,
  "player_name" text,
  "college" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which College has a Year smaller than 1962, and a Position of rb?`:
```sql
                SELECT "college" FROM "players_selected" WHERE "year"<1962 AND "position"='rb';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a College of nebraska, and a Pick of 2?`

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

CREATE TABLE "players_selected" (
  "year" real,
  "pick" text,
  "player_name" text,
  "college" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a College of nebraska, and a Pick of 2?`:
```sql
                SELECT "year" FROM "players_selected" WHERE "college"='nebraska' AND "pick"='2';
```
## Task
Generate a SQL query to answer the following question:
`Which Pick has a Year larger than 1983, and a Player name of brian jozwiak?`

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

CREATE TABLE "players_selected" (
  "year" real,
  "pick" text,
  "player_name" text,
  "college" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pick has a Year larger than 1983, and a Player name of brian jozwiak?`:
```sql
                SELECT "pick" FROM "players_selected" WHERE "year">1983 AND "player_name"='brian jozwiak';
```
## Task
Generate a SQL query to answer the following question:
`Which lowest year has a Position of rb, and a College of louisiana state?`

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

CREATE TABLE "players_selected" (
  "year" real,
  "pick" text,
  "player_name" text,
  "college" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which lowest year has a Position of rb, and a College of louisiana state?`:
```sql
                SELECT MIN("year") FROM "players_selected" WHERE "position"='rb' AND "college"='louisiana state';
```
## Task
Generate a SQL query to answer the following question:
`How many years have a Player name of ronnie bull?`

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

CREATE TABLE "players_selected" (
  "year" real,
  "pick" text,
  "player_name" text,
  "college" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years have a Player name of ronnie bull?`:
```sql
                SELECT SUM("year") FROM "players_selected" WHERE "player_name"='ronnie bull';
```
## Task
Generate a SQL query to answer the following question:
`Who was the recipient of an award of £4,203?`

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

CREATE TABLE "2005" (
  "film" text,
  "director_s" text,
  "producer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the recipient of an award of £4,203?`:
```sql
                SELECT "recipient" FROM "2005" WHERE "award"='£4,203';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the film that received an award of £6,245?`

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

CREATE TABLE "2005" (
  "film" text,
  "director_s" text,
  "producer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the film that received an award of £6,245?`:
```sql
                SELECT "director_s" FROM "2005" WHERE "award"='£6,245';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the film that Avie Luthra received an award for?`

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

CREATE TABLE "2005" (
  "film" text,
  "director_s" text,
  "producer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the film that Avie Luthra received an award for?`:
```sql
                SELECT "director_s" FROM "2005" WHERE "recipient"='avie luthra';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the film Antonio's Breakfast?`

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

CREATE TABLE "2005" (
  "film" text,
  "director_s" text,
  "producer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the film Antonio's Breakfast?`:
```sql
                SELECT "director_s" FROM "2005" WHERE "film"='antonio''s breakfast';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director of the film that Sister Films received an award for on 2/3/05?`

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

CREATE TABLE "2005" (
  "film" text,
  "director_s" text,
  "producer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director of the film that Sister Films received an award for on 2/3/05?`:
```sql
                SELECT "director_s" FROM "2005" WHERE "date"='2/3/05' AND "recipient"='sister films';
```
## Task
Generate a SQL query to answer the following question:
`Name the least number with density more than 262 with population more than 22,415 and area less than 335.14`

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

CREATE TABLE "statistics" (
  "municipality" text,
  "number" real,
  "population" real,
  "area" real,
  "density" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least number with density more than 262 with population more than 22,415 and area less than 335.14`:
```sql
                SELECT MIN("number") FROM "statistics" WHERE "density">262 AND "population">'22,415' AND "area"<335.14;
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game on June 9?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the game on June 9?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='june 9';
```
## Task
Generate a SQL query to answer the following question:
`What is the usual attendance for july 2?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the usual attendance for july 2?`:
```sql
                SELECT AVG("attendance") FROM "game_log" WHERE "date"='july 2';
```
## Task
Generate a SQL query to answer the following question:
`Which loss has Attendance more than 47,712, an Opponent of white sox, and a Record of 57–36?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which loss has Attendance more than 47,712, an Opponent of white sox, and a Record of 57–36?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "attendance">'47,712' AND "opponent"='white sox' AND "record"='57–36';
```
## Task
Generate a SQL query to answer the following question:
`What was the value for deleted for CERCLIS ID of il0210090049?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "county" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the value for deleted for CERCLIS ID of il0210090049?`:
```sql
                SELECT "deleted" FROM "superfund_sites" WHERE "cerclis_id"='il0210090049';
```
## Task
Generate a SQL query to answer the following question:
`What is the date construction is completed in Jo Daviess county?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "county" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date construction is completed in Jo Daviess county?`:
```sql
                SELECT "construction_completed" FROM "superfund_sites" WHERE "county"='jo daviess';
```