cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens?`:
```sql
                SELECT COUNT("enrollment") FROM "membership" WHERE "nickname"='fightin'' blue hens';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for set 3 when set 1 was 14–25?`

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

CREATE TABLE "pool_h" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for set 3 when set 1 was 14–25?`:
```sql
                SELECT "set_3" FROM "pool_h" WHERE "set_1"='14–25';
```
## Task
Generate a SQL query to answer the following question:
`What is the time when the set 3 score is 31–29?`

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

CREATE TABLE "pool_h" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time when the set 3 score is 31–29?`:
```sql
                SELECT "time" FROM "pool_h" WHERE "set_3"='31–29';
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the score for set 1 is 14–25?`

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

CREATE TABLE "pool_h" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when the score for set 1 is 14–25?`:
```sql
                SELECT "total" FROM "pool_h" WHERE "set_1"='14–25';
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the score for set 2 is 20–25?`

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

CREATE TABLE "pool_h" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when the score for set 2 is 20–25?`:
```sql
                SELECT "total" FROM "pool_h" WHERE "set_2"='20–25';
```
## Task
Generate a SQL query to answer the following question:
`What is the total when the score for set 2 is 25–22?`

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

CREATE TABLE "pool_h" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when the score for set 2 is 25–22?`:
```sql
                SELECT "total" FROM "pool_h" WHERE "set_2"='25–22';
```
## Task
Generate a SQL query to answer the following question:
`What is the price of 150 mbps downstread?`

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

CREATE TABLE "switzerland" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the price of 150 mbps downstread?`:
```sql
                SELECT "price" FROM "switzerland" WHERE "downstream"='150 mbps';
```
## Task
Generate a SQL query to answer the following question:
`What is the upstream with the price 65 chf?`

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

CREATE TABLE "switzerland" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the upstream with the price 65 chf?`:
```sql
                SELECT "upstream" FROM "switzerland" WHERE "price"='65 chf';
```
## Task
Generate a SQL query to answer the following question:
`What is the price of the internet 150 plans?`

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

CREATE TABLE "switzerland" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the price of the internet 150 plans?`:
```sql
                SELECT "price" FROM "switzerland" WHERE "internet_plan"='internet 150';
```
## Task
Generate a SQL query to answer the following question:
`What is the upstream for the 100 mbps downstream?`

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

CREATE TABLE "switzerland" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the upstream for the 100 mbps downstream?`:
```sql
                SELECT "upstream" FROM "switzerland" WHERE "downstream"='100 mbps';
```
## Task
Generate a SQL query to answer the following question:
`What is the price of 60 mbps downstream?`

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

CREATE TABLE "switzerland" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the price of 60 mbps downstream?`:
```sql
                SELECT "price" FROM "switzerland" WHERE "downstream"='60 mbps';
```
## Task
Generate a SQL query to answer the following question:
`What is the upstream for the internet 100 plans?`

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

CREATE TABLE "switzerland" (
  "internet_plan" text,
  "downstream" text,
  "upstream" text,
  "bandwidth_included" text,
  "price" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the upstream for the internet 100 plans?`:
```sql
                SELECT "upstream" FROM "switzerland" WHERE "internet_plan"='internet 100';
```
## Task
Generate a SQL query to answer the following question:
`Which club team was the player from who was selected in a round under 4?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which club team was the player from who was selected in a round under 4?`:
```sql
                SELECT "club_team" FROM "draft_picks" WHERE "round"<4;
```
## Task
Generate a SQL query to answer the following question:
`What was the club team for Kyle de Coste?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "nationality" text,
  "club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the club team for Kyle de Coste?`:
```sql
                SELECT "club_team" FROM "draft_picks" WHERE "player"='kyle de coste';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?`

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

CREATE TABLE "coaches" (
  "coach" text,
  "first_yr" real,
  "last_yr" real,
  "w_lpct" real,
  "g_500" real,
  "yr_plyf" real,
  "g_plyf" real,
  "w_plyf" real,
  "l_plyf" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?`:
```sql
                SELECT MAX("w_plyf") FROM "coaches" WHERE "first_yr"<1960 AND "g_plyf">0 AND "g_500"<43 AND "w_lpct"<0.578;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0?`

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

CREATE TABLE "coaches" (
  "coach" text,
  "first_yr" real,
  "last_yr" real,
  "w_lpct" real,
  "g_500" real,
  "yr_plyf" real,
  "g_plyf" real,
  "w_plyf" real,
  "l_plyf" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0?`:
```sql
                SELECT SUM("yr_plyf") FROM "coaches" WHERE "g_plyf"=0 AND "coach"='ed robinson';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of yr plyf with a G plyf less than 0?`

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

CREATE TABLE "coaches" (
  "coach" text,
  "first_yr" real,
  "last_yr" real,
  "w_lpct" real,
  "g_500" real,
  "yr_plyf" real,
  "g_plyf" real,
  "w_plyf" real,
  "l_plyf" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of yr plyf with a G plyf less than 0?`:
```sql
                SELECT COUNT("yr_plyf") FROM "coaches" WHERE "g_plyf"<0;
```
## Task
Generate a SQL query to answer the following question:
`Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967?`

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

CREATE TABLE "coaches" (
  "coach" text,
  "first_yr" real,
  "last_yr" real,
  "w_lpct" real,
  "g_500" real,
  "yr_plyf" real,
  "g_plyf" real,
  "w_plyf" real,
  "l_plyf" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967?`:
```sql
                SELECT "coach" FROM "coaches" WHERE "w_lpct">0.516 AND "first_yr"<1925 AND "yr_plyf">2 AND "last_yr"=1967;
```
## Task
Generate a SQL query to answer the following question:
`What is the average last yr with an l plyf less than 0?`

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

CREATE TABLE "coaches" (
  "coach" text,
  "first_yr" real,
  "last_yr" real,
  "w_lpct" real,
  "g_500" real,
  "yr_plyf" real,
  "g_plyf" real,
  "w_plyf" real,
  "l_plyf" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average last yr with an l plyf less than 0?`:
```sql
                SELECT AVG("last_yr") FROM "coaches" WHERE "l_plyf"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest last year with a yr plyf less than 0?`

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

CREATE TABLE "coaches" (
  "coach" text,
  "first_yr" real,
  "last_yr" real,
  "w_lpct" real,
  "g_500" real,
  "yr_plyf" real,
  "g_plyf" real,
  "w_plyf" real,
  "l_plyf" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest last year with a yr plyf less than 0?`:
```sql
                SELECT MIN("last_yr") FROM "coaches" WHERE "yr_plyf"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the To par of the Player with a Score of 69-70=139?`

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

CREATE TABLE "second_round" (
  "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 of the Player with a Score of 69-70=139?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "score"='69-70=139';
```
## Task
Generate a SQL query to answer the following question:
`What is Bob Gilder in Place T3's To par?`

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

CREATE TABLE "second_round" (
  "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 Bob Gilder in Place T3's To par?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t3' AND "player"='bob gilder';
```
## Task
Generate a SQL query to answer the following question:
`What is High Points, when Game is less than 82, when Location Attendance is "Quicken Loans Arena 20,562", and when High Rebounds is "Žydrūnas Ilgauskas (13)"?`

### 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 High Points, when Game is less than 82, when Location Attendance is "Quicken Loans Arena 20,562", and when High Rebounds is "Žydrūnas Ilgauskas (13)"?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "game"<82 AND "location_attendance"='quicken loans arena 20,562' AND "high_rebounds"='žydrūnas ilgauskas (13)';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Game, when High Assists is "Maurice Williams (8)"?`

### 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 lowest Game, when High Assists is "Maurice Williams (8)"?`:
```sql
                SELECT MIN("game") FROM "game_log" WHERE "high_assists"='maurice williams (8)';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Game, when Date is "April 12"?`

### 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 lowest Game, when Date is "April 12"?`:
```sql
                SELECT MIN("game") FROM "game_log" WHERE "date"='april 12';
```
## Task
Generate a SQL query to answer the following question:
`What is Winner, when Date is 5 Sep?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Winner, when Date is 5 Sep?`:
```sql
                SELECT "winner" FROM "race_calendar" WHERE "date"='5 sep';
```
## Task
Generate a SQL query to answer the following question:
`What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?`:
```sql
                SELECT "team" FROM "race_calendar" WHERE "circuit"='queensland raceway' AND "winner"='garth tander';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "team"='holden racing team' AND "circuit"='eastern creek raceway';
```
## Task
Generate a SQL query to answer the following question:
`What is Team, when Circuit is Phillip Island Grand Prix Circuit?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Team, when Circuit is Phillip Island Grand Prix Circuit?`:
```sql
                SELECT "team" FROM "race_calendar" WHERE "circuit"='phillip island grand prix circuit';
```
## Task
Generate a SQL query to answer the following question:
`What is Circuit, when Series is ASTC Round 4?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Circuit, when Series is ASTC Round 4?`:
```sql
                SELECT "circuit" FROM "race_calendar" WHERE "series"='astc round 4';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?`:
```sql
                SELECT COUNT("react") FROM "final" WHERE "name"='sean wroe' AND "lane">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?`:
```sql
                SELECT MAX("lane") FROM "final" WHERE "mark"='46.65' AND "react">0.251;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?`:
```sql
                SELECT MIN("react") FROM "final" WHERE "mark"='46.26 sb' AND "lane">6;
```
## Task
Generate a SQL query to answer the following question:
`What is Mark, when Lane is greater than 2, and when Country is Bahamas?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Mark, when Lane is greater than 2, and when Country is Bahamas?`:
```sql
                SELECT "mark" FROM "final" WHERE "lane">2 AND "country"='bahamas';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of the belarusian language?`

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

CREATE TABLE "language" (
  "language" text,
  "number" text,
  "percentage_pct" text,
  "males" text,
  "females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of the belarusian language?`:
```sql
                SELECT "number" FROM "language" WHERE "language"='belarusian';
```
## Task
Generate a SQL query to answer the following question:
`What is the number with an 80.62 percentage?`

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

CREATE TABLE "language" (
  "language" text,
  "number" text,
  "percentage_pct" text,
  "males" text,
  "females" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number with an 80.62 percentage?`:
```sql
                SELECT "number" FROM "language" WHERE "percentage_pct"='80.62';
```
## Task
Generate a SQL query to answer the following question:
`How many males have a percentage of 80.62?`

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

CREATE TABLE "language" (
  "language" text,
  "number" text,
  "percentage_pct" text,
  "males" text,
  "females" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many males have a percentage of 80.62?`:
```sql
                SELECT "males" FROM "language" WHERE "percentage_pct"='80.62';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?`

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

CREATE TABLE "players_in_the_nba" (
  "name" text,
  "wsu_year_s" text,
  "position" text,
  "team" text,
  "pro_year_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?`:
```sql
                SELECT "name" FROM "players_in_the_nba" WHERE "team"='new york knicks' AND "wsu_year_s"='1965-68';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when WSU Year(s) is 1981-82?`

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

CREATE TABLE "players_in_the_nba" (
  "name" text,
  "wsu_year_s" text,
  "position" text,
  "team" text,
  "pro_year_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when WSU Year(s) is 1981-82?`:
```sql
                SELECT "name" FROM "players_in_the_nba" WHERE "wsu_year_s"='1981-82';
```
## Task
Generate a SQL query to answer the following question:
`What is WSU Year(s), when Pro Year(s) is 1974-77?`

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

CREATE TABLE "players_in_the_nba" (
  "name" text,
  "wsu_year_s" text,
  "position" text,
  "team" text,
  "pro_year_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is WSU Year(s), when Pro Year(s) is 1974-77?`:
```sql
                SELECT "wsu_year_s" FROM "players_in_the_nba" WHERE "pro_year_s"='1974-77';
```
## Task
Generate a SQL query to answer the following question:
`What is Pro Year(s), when Team is Cincinnati Royals?`

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

CREATE TABLE "players_in_the_nba" (
  "name" text,
  "wsu_year_s" text,
  "position" text,
  "team" text,
  "pro_year_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pro Year(s), when Team is Cincinnati Royals?`:
```sql
                SELECT "pro_year_s" FROM "players_in_the_nba" WHERE "team"='cincinnati royals';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Team is Cincinnati Royals?`

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

CREATE TABLE "players_in_the_nba" (
  "name" text,
  "wsu_year_s" text,
  "position" text,
  "team" text,
  "pro_year_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Team is Cincinnati Royals?`:
```sql
                SELECT "position" FROM "players_in_the_nba" WHERE "team"='cincinnati royals';
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?`

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

CREATE TABLE "players_in_the_nba" (
  "name" text,
  "wsu_year_s" text,
  "position" text,
  "team" text,
  "pro_year_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?`:
```sql
                SELECT "name" FROM "players_in_the_nba" WHERE "team"='detroit pistons' AND "wsu_year_s"='1979-82';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Overallis less than 314, and when Pick is less than 8?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Overallis less than 314, and when Pick is less than 8?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "overall"<314 AND "pick"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10?`:
```sql
                SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "round">11 AND "pick">10;
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Overall is greater than 132, and when Round is 12?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Overall is greater than 132, and when Round is 12?`:
```sql
                SELECT "name" FROM "washington_redskins_draft_history" WHERE "overall">132 AND "round"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is College, when Pick is 20?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is College, when Pick is 20?`:
```sql
                SELECT "college" FROM "washington_redskins_draft_history" WHERE "pick"=20;
```
## Task
Generate a SQL query to answer the following question:
`What is average Overall, when Pick is 19?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is average Overall, when Pick is 19?`:
```sql
                SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "pick"=19;
```
## Task
Generate a SQL query to answer the following question:
`What is the average pick for Princeton after round 3?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average pick for Princeton after round 3?`:
```sql
                SELECT AVG("pick") FROM "draft_picks" WHERE "round">3 AND "college"='princeton';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest round Clark was in?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest round Clark was in?`:
```sql
                SELECT MIN("round") FROM "draft_picks" WHERE "college"='clark';
```
## Task
Generate a SQL query to answer the following question:
`What is the tie number when the home team was gillingham?`

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

CREATE TABLE "second_round" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tie number when the home team was gillingham?`:
```sql
                SELECT "tie_no" FROM "second_round" WHERE "home_team"='gillingham';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the home team was goole town?`

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

CREATE TABLE "second_round" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the home team was goole town?`:
```sql
                SELECT "score" FROM "second_round" WHERE "home_team"='goole town';
```
## Task
Generate a SQL query to answer the following question:
`What date had the home team as brentford?`

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

CREATE TABLE "second_round" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date had the home team as brentford?`:
```sql
                SELECT "date" FROM "second_round" WHERE "home_team"='brentford';
```
## Task
Generate a SQL query to answer the following question:
`What was the tie number when bradford park avenue was the away team?`

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

CREATE TABLE "second_round" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tie number when bradford park avenue was the away team?`:
```sql
                SELECT "tie_no" FROM "second_round" WHERE "away_team"='bradford park avenue';
```
## Task
Generate a SQL query to answer the following question:
`What shows for House 1950 when the Governors 1950 show governors 1995?`

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

CREATE TABLE "1950_1999" (
  "1950" real,
  "general_1950" text,
  "senate_1950" text,
  "house_1950" text,
  "governors_1950" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for House 1950 when the Governors 1950 show governors 1995?`:
```sql
                SELECT "house_1950" FROM "1950_1999" WHERE "governors_1950"='governors 1995';
```
## Task
Generate a SQL query to answer the following question:
`What shows for House 1950 when the General 1950 is general 1986?`

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

CREATE TABLE "1950_1999" (
  "1950" real,
  "general_1950" text,
  "senate_1950" text,
  "house_1950" text,
  "governors_1950" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for House 1950 when the General 1950 is general 1986?`:
```sql
                SELECT "house_1950" FROM "1950_1999" WHERE "general_1950"='general 1986';
```
## Task
Generate a SQL query to answer the following question:
`What is the Governors 1950 when the General 1950 is general 1979?`

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

CREATE TABLE "1950_1999" (
  "1950" real,
  "general_1950" text,
  "senate_1950" text,
  "house_1950" text,
  "governors_1950" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Governors 1950 when the General 1950 is general 1979?`:
```sql
                SELECT "governors_1950" FROM "1950_1999" WHERE "general_1950"='general 1979';
```
## Task
Generate a SQL query to answer the following question:
`What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?`

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

CREATE TABLE "1950_1999" (
  "1950" real,
  "general_1950" text,
  "senate_1950" text,
  "house_1950" text,
  "governors_1950" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?`:
```sql
                SELECT "house_1950" FROM "1950_1999" WHERE "1950"<1980 AND "governors_1950"='governors 1970';
```
## Task
Generate a SQL query to answer the following question:
`What's the average year for the good things happening album's single "lady lady lay"?`

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

CREATE TABLE "singles" (
  "year" real,
  "month" text,
  "single" text,
  "album" text,
  "record_label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average year for the good things happening album's single "lady lady lay"?`:
```sql
                SELECT AVG("year") FROM "singles" WHERE "album"='good things happening' AND "single"='\"lady lady lay\"';
```
## Task
Generate a SQL query to answer the following question:
`What album came out before 1975 with the dawn record label and the single "lady lady lay"?`

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

CREATE TABLE "singles" (
  "year" real,
  "month" text,
  "single" text,
  "album" text,
  "record_label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What album came out before 1975 with the dawn record label and the single "lady lady lay"?`:
```sql
                SELECT "album" FROM "singles" WHERE "year"<1975 AND "record_label"='dawn' AND "single"='\"lady lady lay\"';
```
## Task
Generate a SQL query to answer the following question:
`What's the earliest year listed for "where are you going to my love" from the album united we stand?`

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

CREATE TABLE "singles" (
  "year" real,
  "month" text,
  "single" text,
  "album" text,
  "record_label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the earliest year listed for "where are you going to my love" from the album united we stand?`:
```sql
                SELECT MIN("year") FROM "singles" WHERE "album"='united we stand' AND "single"='\"where are you going to my love\"';
```
## Task
Generate a SQL query to answer the following question:
`What month before 1973 is listed for the album united we stand?`

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

CREATE TABLE "singles" (
  "year" real,
  "month" text,
  "single" text,
  "album" text,
  "record_label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What month before 1973 is listed for the album united we stand?`:
```sql
                SELECT "month" FROM "singles" WHERE "year"<1973 AND "album"='united we stand';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the river found in Madhya Pradesh, India?`

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

CREATE TABLE "panchayatana" (
  "name_of_deity" text,
  "bhuta_tatwa" text,
  "name_of_the_stone_sila" text,
  "name_of_the_river" text,
  "name_of_the_state_where_found_in_india" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the river found in Madhya Pradesh, India?`:
```sql
                SELECT "name_of_the_river" FROM "panchayatana" WHERE "name_of_the_state_where_found_in_india"='madhya pradesh';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the deity that the state of Bihar was named after?`

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

CREATE TABLE "panchayatana" (
  "name_of_deity" text,
  "bhuta_tatwa" text,
  "name_of_the_stone_sila" text,
  "name_of_the_river" text,
  "name_of_the_state_where_found_in_india" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the deity that the state of Bihar was named after?`:
```sql
                SELECT "name_of_deity" FROM "panchayatana" WHERE "name_of_the_state_where_found_in_india"='bihar';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the diety for the river of sone?`

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

CREATE TABLE "panchayatana" (
  "name_of_deity" text,
  "bhuta_tatwa" text,
  "name_of_the_stone_sila" text,
  "name_of_the_river" text,
  "name_of_the_state_where_found_in_india" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the diety for the river of sone?`:
```sql
                SELECT "name_of_deity" FROM "panchayatana" WHERE "name_of_the_river"='sone';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the stone found in Andhra Pradesh, India?`

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

CREATE TABLE "panchayatana" (
  "name_of_deity" text,
  "bhuta_tatwa" text,
  "name_of_the_stone_sila" text,
  "name_of_the_river" text,
  "name_of_the_state_where_found_in_india" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the stone found in Andhra Pradesh, India?`:
```sql
                SELECT "name_of_the_stone_sila" FROM "panchayatana" WHERE "name_of_the_state_where_found_in_india"='andhra pradesh';
```
## Task
Generate a SQL query to answer the following question:
`What date was the game score 103-94?`

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

CREATE TABLE "round_11" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the game score 103-94?`:
```sql
                SELECT "date" FROM "round_11" WHERE "score"='103-94';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team that played home team of Perth Wildcats?`

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

CREATE TABLE "round_11" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away team that played home team of Perth Wildcats?`:
```sql
                SELECT "away_team" FROM "round_11" WHERE "home_team"='perth wildcats';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game that was played on 29 November at State Sports Centre?`

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

CREATE TABLE "round_11" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the game that was played on 29 November at State Sports Centre?`:
```sql
                SELECT "score" FROM "round_11" WHERE "date"='29 november' AND "venue"='state sports centre';
```
## Task
Generate a SQL query to answer the following question:
`What date did home team Gold Coast Blaze play?`

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

CREATE TABLE "round_11" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did home team Gold Coast Blaze play?`:
```sql
                SELECT "date" FROM "round_11" WHERE "home_team"='gold coast blaze';
```
## Task
Generate a SQL query to answer the following question:
`What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?`

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

CREATE TABLE "round_11" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?`:
```sql
                SELECT "report" FROM "round_11" WHERE "date"='29 november' AND "away_team"='melbourne tigers';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away team that played home team Perth Wildcats?`

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

CREATE TABLE "round_11" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away team that played home team Perth Wildcats?`:
```sql
                SELECT "away_team" FROM "round_11" WHERE "home_team"='perth wildcats';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play in week 11?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play in week 11?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`What day did they play in week 6?`

### 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 day did they play in week 6?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`Name the Date which has a Score of 3-1 and Attendances of 32 590?`

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

CREATE TABLE "allsvenskan_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Date which has a Score of 3-1 and Attendances of 32 590?`:
```sql
                SELECT "date" FROM "allsvenskan_2004" WHERE "score"='3-1' AND "attendance"='32 590';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue is on 2004-07-24?`

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

CREATE TABLE "allsvenskan_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue is on 2004-07-24?`:
```sql
                SELECT "venue" FROM "allsvenskan_2004" WHERE "date"='2004-07-24';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Venue of idrottsparken?`

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

CREATE TABLE "allsvenskan_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Venue of idrottsparken?`:
```sql
                SELECT "score" FROM "allsvenskan_2004" WHERE "venue"='idrottsparken';
```
## Task
Generate a SQL query to answer the following question:
`Which Comp is on 2004-10-17?`

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

CREATE TABLE "allsvenskan_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Comp is on 2004-10-17?`:
```sql
                SELECT "comp" FROM "allsvenskan_2004" WHERE "date"='2004-10-17';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has a Opponents of halmstad and a Score of 1-1?`

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

CREATE TABLE "allsvenskan_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has a Opponents of halmstad and a Score of 1-1?`:
```sql
                SELECT "venue" FROM "allsvenskan_2004" WHERE "opponents"='halmstad' AND "score"='1-1';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance that has a Venue of ryavallen?`

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

CREATE TABLE "allsvenskan_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance that has a Venue of ryavallen?`:
```sql
                SELECT "attendance" FROM "allsvenskan_2004" WHERE "venue"='ryavallen';
```