cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the CFL Team which has a Player of chris evraire?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the CFL Team which has a Player of chris evraire?`:
```sql
                SELECT "cfl_team" FROM "round_four" WHERE "player"='chris evraire';
```
## Task
Generate a SQL query to answer the following question:
`Name The Player who has a Pick # of 27?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name The Player who has a Pick # of 27?`:
```sql
                SELECT "player" FROM "round_four" WHERE "pick_num"=27;
```
## Task
Generate a SQL query to answer the following question:
`Name the Player who has a CFL Team of toronto?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Player who has a CFL Team of toronto?`:
```sql
                SELECT "player" FROM "round_four" WHERE "cfl_team"='toronto';
```
## Task
Generate a SQL query to answer the following question:
`Name the Pick # which has a Position of lb, and a CFL Team of winnipeg?`

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

CREATE TABLE "round_four" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Pick # which has a Position of lb, and a CFL Team of winnipeg?`:
```sql
                SELECT SUM("pick_num") FROM "round_four" WHERE "position"='lb' AND "cfl_team"='winnipeg';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "home"='detroit' AND "points">33;
```
## Task
Generate a SQL query to answer the following question:
`What was the location and attendance for the game on December 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 was the location and attendance for the game on December 12?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "date"='december 12';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281?`

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

CREATE TABLE "receiving" (
  "player" text,
  "attempts" real,
  "yards" real,
  "avg_yards" real,
  "long" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281?`:
```sql
                SELECT MIN("touchdowns") FROM "receiving" WHERE "player"='andrew glover' AND "yards">281;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?`

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

CREATE TABLE "receiving" (
  "player" text,
  "attempts" real,
  "yards" real,
  "avg_yards" real,
  "long" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?`:
```sql
                SELECT AVG("touchdowns") FROM "receiving" WHERE "yards"<293 AND "long">39;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Attempts, when Touchdowns is 6?`

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

CREATE TABLE "receiving" (
  "player" text,
  "attempts" real,
  "yards" real,
  "avg_yards" real,
  "long" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Attempts, when Touchdowns is 6?`:
```sql
                SELECT COUNT("attempts") FROM "receiving" WHERE "touchdowns"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Extra is Pentathlon?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Extra is Pentathlon?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "extra"='pentathlon';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Year, when Extra is Pentathlon?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Year, when Extra is Pentathlon?`:
```sql
                SELECT MAX("year") FROM "achievements" WHERE "extra"='pentathlon';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Year, when Result is 9th?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Year, when Result is 9th?`:
```sql
                SELECT SUM("year") FROM "achievements" WHERE "result"='9th';
```
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when Result is 2nd, and when Year is 2009?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tournament, when Result is 2nd, and when Year is 2009?`:
```sql
                SELECT "tournament" FROM "achievements" WHERE "result"='2nd' AND "year"=2009;
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Venue is Götzis , Austria?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Venue is Götzis , Austria?`:
```sql
                SELECT "result" FROM "achievements" WHERE "venue"='götzis , austria';
```
## Task
Generate a SQL query to answer the following question:
`What label does Germany have?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label does Germany have?`:
```sql
                SELECT "label" FROM "release_history" WHERE "region"='germany';
```
## Task
Generate a SQL query to answer the following question:
`What region has the Chrysalis label, and a Catalog of chr 1047?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What region has the Chrysalis label, and a Catalog of chr 1047?`:
```sql
                SELECT "region" FROM "release_history" WHERE "label"='chrysalis' AND "catalog"='chr 1047';
```
## Task
Generate a SQL query to answer the following question:
`When did the United Kingdom format a stereo LP?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the United Kingdom format a stereo LP?`:
```sql
                SELECT "date" FROM "release_history" WHERE "region"='united kingdom' AND "format"='stereo lp';
```
## Task
Generate a SQL query to answer the following question:
`What region goes along with January 1974?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What region goes along with January 1974?`:
```sql
                SELECT "region" FROM "release_history" WHERE "date"='january 1974';
```
## Task
Generate a SQL query to answer the following question:
`What is the label from 1973 that has a catalog number of l 35023?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the label from 1973 that has a catalog number of l 35023?`:
```sql
                SELECT "label" FROM "release_history" WHERE "date"='1973' AND "catalog"='l 35023';
```
## Task
Generate a SQL query to answer the following question:
`How many wins did the driver with 1 second and more than 12 races have?`

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

CREATE TABLE "season_by_season" (
  "driver" text,
  "points" real,
  "races" real,
  "wins" text,
  "second" text,
  "third" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins did the driver with 1 second and more than 12 races have?`:
```sql
                SELECT "wins" FROM "season_by_season" WHERE "second"='1' AND "races">12;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gp_gs" real,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Loss number when the Gain is less than 61 and the Avg/G is 6?`:
```sql
                SELECT MIN("loss") FROM "rushing" WHERE "gain"<61 AND "avg_g"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gp_gs" real,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34?`:
```sql
                SELECT SUM("avg_g") FROM "rushing" WHERE "loss"=0 AND "name"='dan dierking' AND "gain">34;
```
## Task
Generate a SQL query to answer the following question:
`Who was the visiting team on April 6?`

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

CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visiting team on April 6?`:
```sql
                SELECT "visitor" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "date"='april 6';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game that led to a 4-3 record?`

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

CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game that led to a 4-3 record?`:
```sql
                SELECT "date" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "record"='4-3';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team in the game that led to a 2-3 series record?`

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

CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team in the game that led to a 2-3 series record?`:
```sql
                SELECT "home" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "record"='2-3';
```
## Task
Generate a SQL query to answer the following question:
`Which home team had a score of 100-86?`

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

CREATE TABLE "round_22" (
  "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 `Which home team had a score of 100-86?`:
```sql
                SELECT "home_team" FROM "round_22" WHERE "score"='100-86';
```
## Task
Generate a SQL query to answer the following question:
`Which report corresponds to the State Sports Centre?`

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

CREATE TABLE "round_22" (
  "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 `Which report corresponds to the State Sports Centre?`:
```sql
                SELECT "report" FROM "round_22" WHERE "venue"='state sports centre';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team at the Win Entertainment Centre?`

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

CREATE TABLE "round_22" (
  "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 was the away team at the Win Entertainment Centre?`:
```sql
                SELECT "away_team" FROM "round_22" WHERE "venue"='win entertainment centre';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3?`:
```sql
                SELECT COUNT("gain") FROM "rushing" WHERE "name"='williams, jonathan' AND "loss">3;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the sum of Loss that has the Gain of 2646?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the sum of Loss that has the Gain of 2646?`:
```sql
                SELECT SUM("loss") FROM "rushing" WHERE "gain"=2646;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the sum of Gain that has the Name of kass, rob, and the Avg/g smaller than 1.9?`:
```sql
                SELECT SUM("gain") FROM "rushing" WHERE "name"='kass, rob' AND "avg_g"<1.9;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?`:
```sql
                SELECT MIN("long") FROM "rushing" WHERE "gain"=20 AND "loss"<0;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game at Cleveland Browns Stadium with an attendance of 65,995?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent_num" text,
  "result" text,
  "score" text,
  "attendance" real,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game at Cleveland Browns Stadium with an attendance of 65,995?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance">'65,995' AND "stadium"='cleveland browns stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest ERP W with a w216bo call sign?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest ERP W with a w216bo call sign?`:
```sql
                SELECT MAX("erp_w") FROM "translators" WHERE "call_sign"='w216bo';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Crowd has a Home team of port adelaide, and a Away team score of 11.10 (76)?`

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

CREATE TABLE "group_b" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Crowd has a Home team of port adelaide, and a Away team score of 11.10 (76)?`:
```sql
                SELECT "crowd" FROM "group_b" WHERE "home_team"='port adelaide' AND "away_team_score"='11.10 (76)';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Crowd has a Ground of subiaco oval?`

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

CREATE TABLE "group_b" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Crowd has a Ground of subiaco oval?`:
```sql
                SELECT SUM("crowd") FROM "group_b" WHERE "ground"='subiaco oval';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Ground has a Home team score of 13.14 (92)?`

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

CREATE TABLE "group_b" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Ground has a Home team score of 13.14 (92)?`:
```sql
                SELECT "ground" FROM "group_b" WHERE "home_team_score"='13.14 (92)';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Home team has a Home team score of 13.14 (92)?`

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

CREATE TABLE "group_b" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Home team has a Home team score of 13.14 (92)?`:
```sql
                SELECT "home_team" FROM "group_b" WHERE "home_team_score"='13.14 (92)';
```
## Task
Generate a SQL query to answer the following question:
`How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?`

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

CREATE TABLE "group_b" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?`:
```sql
                SELECT AVG("crowd") FROM "group_b" WHERE "date"='saturday, 29 january' AND "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`On which date after week 11 was the opponent the arizona cardinals?`

### 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 `On which date after week 11 was the opponent the arizona cardinals?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week">11 AND "opponent"='arizona cardinals';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance during week 15?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance during week 15?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=15;
```
## Task
Generate a SQL query to answer the following question:
`What was the lead with an alternate of li dongyan?`

### 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,
  "alternate" text,
  "events" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lead with an alternate of li dongyan?`:
```sql
                SELECT "lead" FROM "teams" WHERE "alternate"='li dongyan';
```
## Task
Generate a SQL query to answer the following question:
`Which lead had a season of 2007-08?`

### 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,
  "alternate" text,
  "events" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which lead had a season of 2007-08?`:
```sql
                SELECT "lead" FROM "teams" WHERE "season"='2007-08';
```
## Task
Generate a SQL query to answer the following question:
`Which lead had a season of 2009-10?`

### 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,
  "alternate" text,
  "events" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which lead had a season of 2009-10?`:
```sql
                SELECT "lead" FROM "teams" WHERE "season"='2009-10';
```
## Task
Generate a SQL query to answer the following question:
`Which Name has a Yes Saturday and a Yes Evening?`

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

CREATE TABLE "routes" (
  "name" text,
  "daytime" text,
  "evening" text,
  "saturday" text,
  "sunday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Name has a Yes Saturday and a Yes Evening?`:
```sql
                SELECT "name" FROM "routes" WHERE "saturday"='yes' AND "evening"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Name the Daytime which has Saturday of yes and a Name of exmouth?`

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

CREATE TABLE "routes" (
  "name" text,
  "daytime" text,
  "evening" text,
  "saturday" text,
  "sunday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Daytime which has Saturday of yes and a Name of exmouth?`:
```sql
                SELECT "daytime" FROM "routes" WHERE "saturday"='yes' AND "name"='exmouth';
```
## Task
Generate a SQL query to answer the following question:
`Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?`

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

CREATE TABLE "routes" (
  "name" text,
  "daytime" text,
  "evening" text,
  "saturday" text,
  "sunday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?`:
```sql
                SELECT "evening" FROM "routes" WHERE "sunday"='no' AND "name"='s. vidal/plant express';
```
## Task
Generate a SQL query to answer the following question:
`Name the Daytime which has a Name of exmouth?`

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

CREATE TABLE "routes" (
  "name" text,
  "daytime" text,
  "evening" text,
  "saturday" text,
  "sunday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Daytime which has a Name of exmouth?`:
```sql
                SELECT "daytime" FROM "routes" WHERE "name"='exmouth';
```
## Task
Generate a SQL query to answer the following question:
`Which Saturday has a Sunday of yes and a Evening of yes?`

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

CREATE TABLE "routes" (
  "name" text,
  "daytime" text,
  "evening" text,
  "saturday" text,
  "sunday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Saturday has a Sunday of yes and a Evening of yes?`:
```sql
                SELECT "saturday" FROM "routes" WHERE "sunday"='yes' AND "evening"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Which Saturday has a Name of confederation?`

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

CREATE TABLE "routes" (
  "name" text,
  "daytime" text,
  "evening" text,
  "saturday" text,
  "sunday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Saturday has a Name of confederation?`:
```sql
                SELECT "saturday" FROM "routes" WHERE "name"='confederation';
```
## Task
Generate a SQL query to answer the following question:
`What was the GP-GS for the 2009 season?`

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

CREATE TABLE "college" (
  "season" text,
  "gp_gs" text,
  "yards" text,
  "long" text,
  "avg_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the GP-GS for the 2009 season?`:
```sql
                SELECT "gp_gs" FROM "college" WHERE "season"='2009';
```
## Task
Generate a SQL query to answer the following question:
`Which GP-GS had a long of 17 and a season of total?`

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

CREATE TABLE "college" (
  "season" text,
  "gp_gs" text,
  "yards" text,
  "long" text,
  "avg_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which GP-GS had a long of 17 and a season of total?`:
```sql
                SELECT "gp_gs" FROM "college" WHERE "long"='17' AND "season"='total';
```
## Task
Generate a SQL query to answer the following question:
`Which Long has redshirt for its Avg/G?`

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

CREATE TABLE "college" (
  "season" text,
  "gp_gs" text,
  "yards" text,
  "long" text,
  "avg_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Long has redshirt for its Avg/G?`:
```sql
                SELECT "long" FROM "college" WHERE "avg_g"='redshirt';
```
## Task
Generate a SQL query to answer the following question:
`What was the Av/G of the 2009 season?`

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

CREATE TABLE "college" (
  "season" text,
  "gp_gs" text,
  "yards" text,
  "long" text,
  "avg_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Av/G of the 2009 season?`:
```sql
                SELECT "avg_g" FROM "college" WHERE "season"='2009';
```
## Task
Generate a SQL query to answer the following question:
`For the Avg/G of 5.9, what was the long?`

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

CREATE TABLE "college" (
  "season" text,
  "gp_gs" text,
  "yards" text,
  "long" text,
  "avg_g" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the Avg/G of 5.9, what was the long?`:
```sql
                SELECT "long" FROM "college" WHERE "avg_g"='5.9';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"?`

### 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 Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "high_points"='d. mckey (24)' AND "score"='l 96-105';
```
## Task
Generate a SQL query to answer the following question:
`What is High Rebounds, when Game is greater than 33, and when Score is "W 132-101"?`

### 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 Rebounds, when Game is greater than 33, and when Score is "W 132-101"?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "game">33 AND "score"='w 132-101';
```
## Task
Generate a SQL query to answer the following question:
`What is Team, when Game is "32"?`

### 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 Team, when Game is "32"?`:
```sql
                SELECT "team" FROM "game_log" WHERE "game"=32;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"?`

### 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 sum of Game, when High Points is "D. McKey (24)", and when Team is "@ Dallas Mavericks"?`:
```sql
                SELECT SUM("game") FROM "game_log" WHERE "high_points"='d. mckey (24)' AND "team"='@ dallas mavericks';
```
## Task
Generate a SQL query to answer the following question:
`Which Tournament has Opponents of marc lópez santiago ventura?`

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

CREATE TABLE "doubles_15" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tournament has Opponents of marc lópez santiago ventura?`:
```sql
                SELECT "tournament" FROM "doubles_15" WHERE "opponents"='marc lópez santiago ventura';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?`

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

CREATE TABLE "doubles_15" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?`:
```sql
                SELECT "opponents" FROM "doubles_15" WHERE "partnering"='alessandro motti' AND "date"='12 september 2005';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponents have a Score of 6–4, 6–3?`

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

CREATE TABLE "doubles_15" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponents have a Score of 6–4, 6–3?`:
```sql
                SELECT "opponents" FROM "doubles_15" WHERE "score"='6–4, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Which Tournament has a Surface of hard, and a Date of 24 september 2011?`

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

CREATE TABLE "doubles_15" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partnering" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tournament has a Surface of hard, and a Date of 24 september 2011?`:
```sql
                SELECT "tournament" FROM "doubles_15" WHERE "surface"='hard' AND "date"='24 september 2011';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did the match at GCF: Strength and Honor last?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did the match at GCF: Strength and Honor last?`:
```sql
                SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "event"='gcf: strength and honor';
```
## Task
Generate a SQL query to answer the following question:
`What is the total population for Saint-Antoine with an area squared of 6.43?`

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

CREATE TABLE "communities" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total population for Saint-Antoine with an area squared of 6.43?`:
```sql
                SELECT SUM("population") FROM "communities" WHERE "official_name"='saint-antoine' AND "area_km_2">6.43;
```
## Task
Generate a SQL query to answer the following question:
`What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?`

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

CREATE TABLE "communities" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?`:
```sql
                SELECT "status" FROM "communities" WHERE "population">930 AND "census_ranking"='1,769 of 5,008';
```
## Task
Generate a SQL query to answer the following question:
`How many games in February have a record of 40-15-5?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games in February have a record of 40-15-5?`:
```sql
                SELECT SUM("february") FROM "schedule_and_results" WHERE "record"='40-15-5';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25?`:
```sql
                SELECT MIN("game") FROM "schedule_and_results" WHERE "opponent"='minnesota north stars' AND "february"<25;
```
## Task
Generate a SQL query to answer the following question:
`How many games have the New York Islanders as an opponent before February 7?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have the New York Islanders as an opponent before February 7?`:
```sql
                SELECT SUM("game") FROM "schedule_and_results" WHERE "opponent"='new york islanders' AND "february"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest February date with a record of 37-13-4 in a game earlier than 54?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest February date with a record of 37-13-4 in a game earlier than 54?`:
```sql
                SELECT MIN("february") FROM "schedule_and_results" WHERE "record"='37-13-4' AND "game"<54;
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game when the record is 2-0?`

### 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,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game when the record is 2-0?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the average game number when the record is 4-1?`

### 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,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average game number when the record is 4-1?`:
```sql
                SELECT AVG("game") FROM "game_log" WHERE "record"='4-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the location and attendance of game 1?`

### 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,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location and attendance of game 1?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6?`

### 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,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game located in Madison Square Garden, when the team is Seattle and the game number is less than 6?`:
```sql
                SELECT "date" FROM "game_log" WHERE "location_attendance"='madison square garden' AND "game"<6 AND "team"='seattle';
```
## Task
Generate a SQL query to answer the following question:
`What is the location and attendance of the game when the score is 125-100?`

### 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,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location and attendance of the game when the score is 125-100?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "score"='125-100';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning driver in 1956?`

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

CREATE TABLE "results" (
  "year" text,
  "date" text,
  "circuit" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning driver in 1956?`:
```sql
                SELECT "winning_driver" FROM "results" WHERE "year"='1956';
```
## Task
Generate a SQL query to answer the following question:
`Which circuit did Peter Whitehead win?`

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

CREATE TABLE "results" (
  "year" text,
  "date" text,
  "circuit" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which circuit did Peter Whitehead win?`:
```sql
                SELECT "circuit" FROM "results" WHERE "winning_driver"='peter whitehead';
```
## Task
Generate a SQL query to answer the following question:
`What report did Jack Brabham win?`

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

CREATE TABLE "results" (
  "year" text,
  "date" text,
  "circuit" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What report did Jack Brabham win?`:
```sql
                SELECT "report" FROM "results" WHERE "winning_driver"='jack brabham';
```
## Task
Generate a SQL query to answer the following question:
`What year did Ferrari win the Kyalami circuit?`

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

CREATE TABLE "results" (
  "year" text,
  "date" text,
  "circuit" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did Ferrari win the Kyalami circuit?`:
```sql
                SELECT "year" FROM "results" WHERE "circuit"='kyalami' AND "winning_constructor"='ferrari';
```
## Task
Generate a SQL query to answer the following question:
`Which circuit did Jim Clark win in 1962?`

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

CREATE TABLE "results" (
  "year" text,
  "date" text,
  "circuit" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which circuit did Jim Clark win in 1962?`:
```sql
                SELECT "circuit" FROM "results" WHERE "winning_driver"='jim clark' AND "year"='1962';
```
## Task
Generate a SQL query to answer the following question:
`On what Date was the 2011 LG Cup Competittion?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date was the 2011 LG Cup Competittion?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "competition"='2011 lg cup';
```