cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Winner's share in 2007?`

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

CREATE TABLE "winners" (
  "year" text,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" real,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winner's share in 2007?`:
```sql
                SELECT COUNT("winner_s_share") FROM "winners" WHERE "year"='2007';
```
## Task
Generate a SQL query to answer the following question:
`What Year was the United States the country for aug 3–5?`

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

CREATE TABLE "winners" (
  "year" text,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" real,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Year was the United States the country for aug 3–5?`:
```sql
                SELECT "year" FROM "winners" WHERE "country"='united states' AND "dates"='aug 3–5';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Purse for aug 3–5?`

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

CREATE TABLE "winners" (
  "year" text,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" real,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Purse for aug 3–5?`:
```sql
                SELECT MAX("purse") FROM "winners" WHERE "dates"='aug 3–5';
```
## Task
Generate a SQL query to answer the following question:
`Which country has a qualsiasi tranne sky hd package/option?`

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

CREATE TABLE "football_wrestling" (
  "television_service" text,
  "country" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a qualsiasi tranne sky hd package/option?`:
```sql
                SELECT "country" FROM "football_wrestling" WHERE "package_option"='qualsiasi tranne sky hd';
```
## Task
Generate a SQL query to answer the following question:
`Which package/option has sky wwe 24/7 television service?`

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

CREATE TABLE "football_wrestling" (
  "television_service" text,
  "country" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which package/option has sky wwe 24/7 television service?`:
```sql
                SELECT "package_option" FROM "football_wrestling" WHERE "television_service"='sky wwe 24/7';
```
## Task
Generate a SQL query to answer the following question:
`What is the package/option for the calcio content?`

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

CREATE TABLE "football_wrestling" (
  "television_service" text,
  "country" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the package/option for the calcio content?`:
```sql
                SELECT "package_option" FROM "football_wrestling" WHERE "content"='calcio';
```
## Task
Generate a SQL query to answer the following question:
`What is the language of the television service cartello promozionale sky hd?`

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

CREATE TABLE "football_wrestling" (
  "television_service" text,
  "country" text,
  "language" text,
  "content" text,
  "hdtv" text,
  "package_option" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the language of the television service cartello promozionale sky hd?`:
```sql
                SELECT "language" FROM "football_wrestling" WHERE "television_service"='cartello promozionale sky hd';
```
## Task
Generate a SQL query to answer the following question:
`What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider?`

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

CREATE TABLE "supersport_race_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider?`:
```sql
                SELECT "bike" FROM "supersport_race_classification" WHERE "grid"<23 AND "time"='accident' AND "rider"='graeme gowland';
```
## Task
Generate a SQL query to answer the following question:
`Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385?`

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

CREATE TABLE "supersport_race_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385?`:
```sql
                SELECT "rider" FROM "supersport_race_classification" WHERE "laps">5 AND "grid">29 AND "bike"='honda cbr600rr' AND "time"='+1:27.385';
```
## Task
Generate a SQL query to answer the following question:
`Who was the rider with a grid of 36?`

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

CREATE TABLE "supersport_race_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the rider with a grid of 36?`:
```sql
                SELECT "rider" FROM "supersport_race_classification" WHERE "grid"=36;
```
## Task
Generate a SQL query to answer the following question:
`Which bike had a grid less than 35 and time at 37:58.607?`

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

CREATE TABLE "supersport_race_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which bike had a grid less than 35 and time at 37:58.607?`:
```sql
                SELECT "bike" FROM "supersport_race_classification" WHERE "grid"<35 AND "time"='37:58.607';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat?`

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

CREATE TABLE "yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat?`:
```sql
                SELECT "result" FROM "yugoslavia" WHERE "director"='veljko bulajić category:articles with hcards' AND "original_title"='sarajevski atentat';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Director is Mirza Idrizović category:articles with hcards?`

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

CREATE TABLE "yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Director is Mirza Idrizović category:articles with hcards?`:
```sql
                SELECT "result" FROM "yugoslavia" WHERE "director"='mirza idrizović category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is Original title, when Film title used in nomination is Train Without A Timetable?`

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

CREATE TABLE "yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Original title, when Film title used in nomination is Train Without A Timetable?`:
```sql
                SELECT "original_title" FROM "yugoslavia" WHERE "film_title_used_in_nomination"='train without a timetable';
```
## Task
Generate a SQL query to answer the following question:
`What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable?`

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

CREATE TABLE "yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable?`:
```sql
                SELECT "original_title" FROM "yugoslavia" WHERE "director"='veljko bulajić category:articles with hcards' AND "film_title_used_in_nomination"='train without a timetable';
```
## Task
Generate a SQL query to answer the following question:
`What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)?`

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

CREATE TABLE "yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "yugoslavia" WHERE "year_ceremony"='1968 (41st)';
```
## Task
Generate a SQL query to answer the following question:
`What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)?`

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

CREATE TABLE "yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)?`:
```sql
                SELECT "director" FROM "yugoslavia" WHERE "result"='nominee' AND "year_ceremony"='1969 (42nd)';
```
## Task
Generate a SQL query to answer the following question:
`Which name's height in centimeters is 178 when its weight in kilograms is less than 91?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "previous_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which name's height in centimeters is 178 when its weight in kilograms is less than 91?`:
```sql
                SELECT "name" FROM "list_of_united_states_national_ice_hocke" WHERE "height_cm"=178 AND "weight_kg"<91;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player with the High points when there was a Record of 31–48?`

### 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 is the name of the player with the High points when there was a Record of 31–48?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "record"='31–48';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)?`

### 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 is the name of the player with the High rebounds when there was a Score of l 108–114 (ot)?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "score"='l 108–114 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Lead for the 1999–00 season?`

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

CREATE TABLE "teams" (
  "season" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Lead for the 1999–00 season?`:
```sql
                SELECT "lead" FROM "teams" WHERE "season"='1999–00';
```
## Task
Generate a SQL query to answer the following question:
`What is the Second when the third is don walchuk?`

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

CREATE TABLE "teams" (
  "season" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Second when the third is don walchuk?`:
```sql
                SELECT "second" FROM "teams" WHERE "third"='don walchuk';
```
## Task
Generate a SQL query to answer the following question:
`What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft?`

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

CREATE TABLE "teams" (
  "season" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft?`:
```sql
                SELECT "season" FROM "teams" WHERE "lead"='don bartlett' AND "third"='don walchuk' AND "second"='carter rycroft';
```
## Task
Generate a SQL query to answer the following question:
`What is the Skip when the Third was john morris?`

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

CREATE TABLE "teams" (
  "season" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Skip when the Third was john morris?`:
```sql
                SELECT "skip" FROM "teams" WHERE "third"='john morris';
```
## Task
Generate a SQL query to answer the following question:
`What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003–04?`

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

CREATE TABLE "teams" (
  "season" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003–04?`:
```sql
                SELECT "third" FROM "teams" WHERE "lead"='don bartlett' AND "second"='carter rycroft' AND "season"='2003–04';
```
## Task
Generate a SQL query to answer the following question:
`What is the Lead when the Second was marc kennedy, in the 2012–13 season?`

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

CREATE TABLE "teams" (
  "season" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Lead when the Second was marc kennedy, in the 2012–13 season?`:
```sql
                SELECT "lead" FROM "teams" WHERE "second"='marc kennedy' AND "season"='2012–13';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the city with a capacity of 41,311?`

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

CREATE TABLE "clubs_stadiums_and_locations" (
  "team" text,
  "city" text,
  "state" text,
  "home_venue" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the city with a capacity of 41,311?`:
```sql
                SELECT "city" FROM "clubs_stadiums_and_locations" WHERE "capacity"='41,311';
```
## Task
Generate a SQL query to answer the following question:
`What is the State with Suwon as the city`

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

CREATE TABLE "clubs_stadiums_and_locations" (
  "team" text,
  "city" text,
  "state" text,
  "home_venue" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the State with Suwon as the city`:
```sql
                SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "city"='suwon';
```
## Task
Generate a SQL query to answer the following question:
`What is the State with a home venue of suwon sports complex?`

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

CREATE TABLE "clubs_stadiums_and_locations" (
  "team" text,
  "city" text,
  "state" text,
  "home_venue" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the State with a home venue of suwon sports complex?`:
```sql
                SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "home_venue"='suwon sports complex';
```
## Task
Generate a SQL query to answer the following question:
`What is the team name for Chungju?`

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

CREATE TABLE "clubs_stadiums_and_locations" (
  "team" text,
  "city" text,
  "state" text,
  "home_venue" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team name for Chungju?`:
```sql
                SELECT "team" FROM "clubs_stadiums_and_locations" WHERE "city"='chungju';
```
## Task
Generate a SQL query to answer the following question:
`What is the Team with a venue of Anyang Stadium?`

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

CREATE TABLE "clubs_stadiums_and_locations" (
  "team" text,
  "city" text,
  "state" text,
  "home_venue" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Team with a venue of Anyang Stadium?`:
```sql
                SELECT "team" FROM "clubs_stadiums_and_locations" WHERE "home_venue"='anyang stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the State with Gwangju Fc as the team?`

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

CREATE TABLE "clubs_stadiums_and_locations" (
  "team" text,
  "city" text,
  "state" text,
  "home_venue" text,
  "capacity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the State with Gwangju Fc as the team?`:
```sql
                SELECT "state" FROM "clubs_stadiums_and_locations" WHERE "team"='gwangju fc';
```
## Task
Generate a SQL query to answer the following question:
`What is the To par, when the Player is Loren Roberts?`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the To par, when the Player is Loren Roberts?`:
```sql
                SELECT "to_par" FROM "third_round_saturday" WHERE "player"='loren roberts';
```
## Task
Generate a SQL query to answer the following question:
`What is the To par, when the Score is 68-71-69=208?`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the To par, when the Score is 68-71-69=208?`:
```sql
                SELECT "to_par" FROM "third_round_saturday" WHERE "score"='68-71-69=208';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place, when the Score is 68-70-71=209?`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place, when the Score is 68-70-71=209?`:
```sql
                SELECT "place" FROM "third_round_saturday" WHERE "score"='68-70-71=209';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place, when the Player is Chris Dimarco?`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place, when the Player is Chris Dimarco?`:
```sql
                SELECT "place" FROM "third_round_saturday" WHERE "player"='chris dimarco';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley?`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley?`:
```sql
                SELECT "score" FROM "third_round_saturday" WHERE "country"='united states' AND "place"='t3' AND "player"='chris riley';
```
## Task
Generate a SQL query to answer the following question:
`What is the score where the opponent was Mardy Fish?`

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

CREATE TABLE "singles_10_2_titles_8_runners_up" (
  "outcome" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score where the opponent was Mardy Fish?`:
```sql
                SELECT "score" FROM "singles_10_2_titles_8_runners_up" WHERE "opponent"='mardy fish';
```
## Task
Generate a SQL query to answer the following question:
`What surface was played on with a score of 6–4, 6–3 and on 4 May 1992?`

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

CREATE TABLE "doubles_champion_9" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface was played on with a score of 6–4, 6–3 and on 4 May 1992?`:
```sql
                SELECT "surface" FROM "doubles_champion_9" WHERE "score"='6–4, 6–3' AND "date"='4 may 1992';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the tournament played 13 November 2000?`

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

CREATE TABLE "doubles_champion_9" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the tournament played 13 November 2000?`:
```sql
                SELECT "tournament" FROM "doubles_champion_9" WHERE "date"='13 november 2000';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament was played on 12 February 2001?`

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

CREATE TABLE "doubles_champion_9" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament was played on 12 February 2001?`:
```sql
                SELECT "tournament" FROM "doubles_champion_9" WHERE "date"='12 february 2001';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166?`

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

CREATE TABLE "nfl_draft" (
  "round_num" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166?`:
```sql
                SELECT AVG("round_num") FROM "nfl_draft" WHERE "position"='wide receiver' AND "college"='clark university' AND "pick_num">166;
```
## Task
Generate a SQL query to answer the following question:
`Which team had a year entering the league under 2009, located in Bath?`

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

CREATE TABLE "british_universities_and_colleges_sport" (
  "team" text,
  "university" text,
  "location" text,
  "year_entered_league" real,
  "2013_14_division" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a year entering the league under 2009, located in Bath?`:
```sql
                SELECT "team" FROM "british_universities_and_colleges_sport" WHERE "year_entered_league"<2009 AND "location"='bath';
```
## Task
Generate a SQL query to answer the following question:
`What is the year of entry for the University of Essex?`

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

CREATE TABLE "british_universities_and_colleges_sport" (
  "team" text,
  "university" text,
  "location" text,
  "year_entered_league" real,
  "2013_14_division" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year of entry for the University of Essex?`:
```sql
                SELECT "year_entered_league" FROM "british_universities_and_colleges_sport" WHERE "university"='university of essex';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2013-2014 division for the Wolverhampton Wildcats?`

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

CREATE TABLE "british_universities_and_colleges_sport" (
  "team" text,
  "university" text,
  "location" text,
  "year_entered_league" real,
  "2013_14_division" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2013-2014 division for the Wolverhampton Wildcats?`:
```sql
                SELECT "2013_14_division" FROM "british_universities_and_colleges_sport" WHERE "team"='wolverhampton wildcats';
```
## Task
Generate a SQL query to answer the following question:
`Which university was in the Western division in 2013-14, located in Bath, and named the Bath Spa Bulldogs?`

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

CREATE TABLE "british_universities_and_colleges_sport" (
  "team" text,
  "university" text,
  "location" text,
  "year_entered_league" real,
  "2013_14_division" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which university was in the Western division in 2013-14, located in Bath, and named the Bath Spa Bulldogs?`:
```sql
                SELECT "university" FROM "british_universities_and_colleges_sport" WHERE "2013_14_division"='western' AND "location"='bath' AND "team"='bath spa bulldogs';
```
## Task
Generate a SQL query to answer the following question:
`What is the least amount of draws with an against of 1261?`

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

CREATE TABLE "2008_ladder" (
  "ballarat_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least amount of draws with an against of 1261?`:
```sql
                SELECT MIN("draws") FROM "2008_ladder" WHERE "against"=1261;
```
## Task
Generate a SQL query to answer the following question:
`What label shows an Album of cover version v?`

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

CREATE TABLE "cover_version" (
  "album" text,
  "release_date" text,
  "label" text,
  "format" text,
  "covered_song" text,
  "original_song" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label shows an Album of cover version v?`:
```sql
                SELECT "label" FROM "cover_version" WHERE "album"='cover version v';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label for the Covered Song named " sign o' the times " by prince .?`

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

CREATE TABLE "cover_version" (
  "album" text,
  "release_date" text,
  "label" text,
  "format" text,
  "covered_song" text,
  "original_song" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label for the Covered Song named " sign o' the times " by prince .?`:
```sql
                SELECT "label" FROM "cover_version" WHERE "covered_song"='\" sign o'' the times \" by prince .';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label when the album shows cover version vi?`

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

CREATE TABLE "cover_version" (
  "album" text,
  "release_date" text,
  "label" text,
  "format" text,
  "covered_song" text,
  "original_song" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label when the album shows cover version vi?`:
```sql
                SELECT "label" FROM "cover_version" WHERE "album"='cover version vi';
```
## Task
Generate a SQL query to answer the following question:
`What is the Release date for the Covered Song named " sign o' the times " by prince .?`

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

CREATE TABLE "cover_version" (
  "album" text,
  "release_date" text,
  "label" text,
  "format" text,
  "covered_song" text,
  "original_song" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Release date for the Covered Song named " sign o' the times " by prince .?`:
```sql
                SELECT "release_date" FROM "cover_version" WHERE "covered_song"='\" sign o'' the times \" by prince .';
```
## Task
Generate a SQL query to answer the following question:
`What shows as the Original Song when the Covered Song was " sign o' the times " by prince .?`

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

CREATE TABLE "cover_version" (
  "album" text,
  "release_date" text,
  "label" text,
  "format" text,
  "covered_song" text,
  "original_song" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows as the Original Song when the Covered Song was " sign o' the times " by prince .?`:
```sql
                SELECT "original_song" FROM "cover_version" WHERE "covered_song"='\" sign o'' the times \" by prince .';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the Covered Song when the Album shows cover version iii?`

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

CREATE TABLE "cover_version" (
  "album" text,
  "release_date" text,
  "label" text,
  "format" text,
  "covered_song" text,
  "original_song" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the Covered Song when the Album shows cover version iii?`:
```sql
                SELECT "covered_song" FROM "cover_version" WHERE "album"='cover version iii';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Week when there were 67,968 people in attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Week when there were 67,968 people in attendance?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "attendance"='67,968';
```
## Task
Generate a SQL query to answer the following question:
`What is the Week number with a result of l 31–28?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Week number with a result of l 31–28?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "result"='l 31–28';
```
## Task
Generate a SQL query to answer the following question:
`What was the score at the Tie no. 1 game?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score at the Tie no. 1 game?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"='1';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance at the West Ham United home game?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance at the West Ham United home game?`:
```sql
                SELECT "attendance" FROM "fifth_round_proper" WHERE "home_team"='west ham united';
```
## Task
Generate a SQL query to answer the following question:
`What is the Sport with a Name that is gustav larsson?`

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

CREATE TABLE "medalists" (
  "medal" text,
  "name" text,
  "sport" text,
  "event" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Sport with a Name that is gustav larsson?`:
```sql
                SELECT "sport" FROM "medalists" WHERE "name"='gustav larsson';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name with an Event that is men's time trial?`

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

CREATE TABLE "medalists" (
  "medal" text,
  "name" text,
  "sport" text,
  "event" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name with an Event that is men's time trial?`:
```sql
                SELECT "name" FROM "medalists" WHERE "event"='men''s time trial';
```
## Task
Generate a SQL query to answer the following question:
`At which venue did the event held on 15 November 2010 occur?`

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

CREATE TABLE "under_23_international_career" (
  "date" text,
  "venue" text,
  "result" text,
  "goals" real,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `At which venue did the event held on 15 November 2010 occur?`:
```sql
                SELECT "venue" FROM "under_23_international_career" WHERE "date"='15 november 2010';
```
## Task
Generate a SQL query to answer the following question:
`Which Points has a Performer of rob burke band and a Draw larger than 1?`

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

CREATE TABLE "references" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points has a Performer of rob burke band and a Draw larger than 1?`:
```sql
                SELECT AVG("points") FROM "references" WHERE "performer"='rob burke band' AND "draw">1;
```
## Task
Generate a SQL query to answer the following question:
`What Points have a Song of "this time" and a Draw smaller than 5?`

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

CREATE TABLE "references" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Points have a Song of "this time" and a Draw smaller than 5?`:
```sql
                SELECT COUNT("points") FROM "references" WHERE "song"='\"this time\"' AND "draw"<5;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Performer of seán monaghan and a Draw smaller than 7?`

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

CREATE TABLE "references" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Performer of seán monaghan and a Draw smaller than 7?`:
```sql
                SELECT MIN("points") FROM "references" WHERE "performer"='seán monaghan' AND "draw"<7;
```
## Task
Generate a SQL query to answer the following question:
`Which Points has a Performer of rob burke band?`

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

CREATE TABLE "references" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points has a Performer of rob burke band?`:
```sql
                SELECT COUNT("points") FROM "references" WHERE "performer"='rob burke band';
```
## Task
Generate a SQL query to answer the following question:
`What is the Finish of 28 Wins?`

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

CREATE TABLE "season_by_season" (
  "season" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Finish of 28 Wins?`:
```sql
                SELECT "finish" FROM "season_by_season" WHERE "wins"='28';
```
## Task
Generate a SQL query to answer the following question:
`What is the Finish of the Reno Bighorns Wins?`

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

CREATE TABLE "season_by_season" (
  "season" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Finish of the Reno Bighorns Wins?`:
```sql
                SELECT "finish" FROM "season_by_season" WHERE "wins"='reno bighorns';
```
## Task
Generate a SQL query to answer the following question:
`What is the Western Division of Wins with a 4th Finish?`

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

CREATE TABLE "season_by_season" (
  "season" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Western Division of Wins with a 4th Finish?`:
```sql
                SELECT "wins" FROM "season_by_season" WHERE "division"='western' AND "finish"='4th';
```
## Task
Generate a SQL query to answer the following question:
`What are the losses of the playoffs season?`

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

CREATE TABLE "season_by_season" (
  "season" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the losses of the playoffs season?`:
```sql
                SELECT "losses" FROM "season_by_season" WHERE "season"='playoffs';
```
## Task
Generate a SQL query to answer the following question:
`What is Team 1, when Team 2 is Saint Louis?`

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

CREATE TABLE "preliminary_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Team 1, when Team 2 is Saint Louis?`:
```sql
                SELECT "team_1" FROM "preliminary_round" WHERE "team_2"='saint louis';
```
## Task
Generate a SQL query to answer the following question:
`What is Agg., when Team 2 is Mukungwa?`

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

CREATE TABLE "preliminary_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Agg., when Team 2 is Mukungwa?`:
```sql
                SELECT "agg" FROM "preliminary_round" WHERE "team_2"='mukungwa';
```
## Task
Generate a SQL query to answer the following question:
`What is the Round with an Opponent that is torpedo moscow?`

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

CREATE TABLE "1980s_hat_tricks" (
  "season" text,
  "competition" text,
  "round" text,
  "opponent" text,
  "home" text,
  "away" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Round with an Opponent that is torpedo moscow?`:
```sql
                SELECT "round" FROM "1980s_hat_tricks" WHERE "opponent"='torpedo moscow';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?`:
```sql
                SELECT SUM("matches") FROM "list_of_top_association_football_goal_sc" WHERE "goals"=103 AND "rank">9;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Name that has the Goals larger than 98, and the Rank of 7?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Name that has the Goals larger than 98, and the Rank of 7?`:
```sql
                SELECT "name" FROM "list_of_top_association_football_goal_sc" WHERE "goals">98 AND "rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?`

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

CREATE TABLE "superbike_race_1_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?`:
```sql
                SELECT SUM("laps") FROM "superbike_race_1_classification" WHERE "time"='accident' AND "rider"='carmelo morales' AND "grid">25;
```
## Task
Generate a SQL query to answer the following question:
`How many laps had a time of +2.987?`

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

CREATE TABLE "superbike_race_1_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps had a time of +2.987?`:
```sql
                SELECT COUNT("laps") FROM "superbike_race_1_classification" WHERE "time"='+2.987';
```
## Task
Generate a SQL query to answer the following question:
`Which bike had fewer than 23 laps and a grid number of 4?`

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

CREATE TABLE "superbike_race_1_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which bike had fewer than 23 laps and a grid number of 4?`:
```sql
                SELECT "bike" FROM "superbike_race_1_classification" WHERE "laps"<23 AND "grid"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the Record for week 14?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "nfl_recap" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record for week 14?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "week"=14;
```
## Task
Generate a SQL query to answer the following question:
`What is the Result with an NFL Recap, played at bank of america stadium?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "nfl_recap" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Result with an NFL Recap, played at bank of america stadium?`:
```sql
                SELECT "result" FROM "regular_season" WHERE "nfl_recap"='recap' AND "game_site"='bank of america stadium';
```