cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What city held the game with a result of 1:0?`

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

CREATE TABLE "1966" (
  "date" text,
  "city" text,
  "opponent" text,
  "results" text,
  "type_of_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city held the game with a result of 1:0?`:
```sql
                SELECT "city" FROM "1966" WHERE "results"='1:0';
```
## Task
Generate a SQL query to answer the following question:
`What type of game had a result of 1:2?`

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

CREATE TABLE "1966" (
  "date" text,
  "city" text,
  "opponent" text,
  "results" text,
  "type_of_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of game had a result of 1:2?`:
```sql
                SELECT "type_of_game" FROM "1966" WHERE "results"='1:2';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game against Hungary?`

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

CREATE TABLE "1966" (
  "date" text,
  "city" text,
  "opponent" text,
  "results" text,
  "type_of_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game against Hungary?`:
```sql
                SELECT "results" FROM "1966" WHERE "opponent"='hungary';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Radio Edit Version remixed by?`

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

CREATE TABLE "official_versions" (
  "version" text,
  "length" text,
  "album" text,
  "remixed_by" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Radio Edit Version remixed by?`:
```sql
                SELECT "remixed_by" FROM "official_versions" WHERE "version"='radio edit';
```
## Task
Generate a SQL query to answer the following question:
`What was the Version prior to 1996?`

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

CREATE TABLE "official_versions" (
  "version" text,
  "length" text,
  "album" text,
  "remixed_by" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Version prior to 1996?`:
```sql
                SELECT "version" FROM "official_versions" WHERE "year"<1996;
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of Catalog 573 194-2?`

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

CREATE TABLE "release_history" (
  "date" text,
  "label" text,
  "region" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of Catalog 573 194-2?`:
```sql
                SELECT "date" FROM "release_history" WHERE "catalog"='573 194-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label of the release in CD Maxi Format?`

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

CREATE TABLE "release_history" (
  "date" text,
  "label" text,
  "region" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label of the release in CD Maxi Format?`:
```sql
                SELECT "label" FROM "release_history" WHERE "format"='cd maxi';
```
## Task
Generate a SQL query to answer the following question:
`What is the Catalog number of the CD Single?`

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

CREATE TABLE "release_history" (
  "date" text,
  "label" text,
  "region" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Catalog number of the CD Single?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "format"='cd single';
```
## Task
Generate a SQL query to answer the following question:
`Which Make has a Pos larger than 9?`

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

CREATE TABLE "mountain_dew_250" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Make has a Pos larger than 9?`:
```sql
                SELECT "make" FROM "mountain_dew_250" WHERE "pos">9;
```
## Task
Generate a SQL query to answer the following question:
`Which Pos has a Driver of brian scott (r)?`

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

CREATE TABLE "mountain_dew_250" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pos has a Driver of brian scott (r)?`:
```sql
                SELECT SUM("pos") FROM "mountain_dew_250" WHERE "driver"='brian scott (r)';
```
## Task
Generate a SQL query to answer the following question:
`How many Pos have a Driver of todd bodine, and a Car # larger than 30?`

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

CREATE TABLE "mountain_dew_250" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Pos have a Driver of todd bodine, and a Car # larger than 30?`:
```sql
                SELECT COUNT("pos") FROM "mountain_dew_250" WHERE "driver"='todd bodine' AND "car_num">30;
```
## Task
Generate a SQL query to answer the following question:
`Which Car # has a Make of toyota, and a Pos of 7?`

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

CREATE TABLE "mountain_dew_250" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Car # has a Make of toyota, and a Pos of 7?`:
```sql
                SELECT MAX("car_num") FROM "mountain_dew_250" WHERE "make"='toyota' AND "pos"=7;
```
## Task
Generate a SQL query to answer the following question:
`How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray?`

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

CREATE TABLE "track_listing" (
  "track_number" real,
  "title" text,
  "songwriter_s" text,
  "recording_date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray?`:
```sql
                SELECT COUNT("track_number") FROM "track_listing" WHERE "recording_date"='november 16, 1959' AND "title"='i couldn''t hear nobody pray';
```
## Task
Generate a SQL query to answer the following question:
`On what date was My Lord What a Mornin' recorded?`

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

CREATE TABLE "track_listing" (
  "track_number" real,
  "title" text,
  "songwriter_s" text,
  "recording_date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was My Lord What a Mornin' recorded?`:
```sql
                SELECT "recording_date" FROM "track_listing" WHERE "title"='my lord what a mornin''';
```
## Task
Generate a SQL query to answer the following question:
`What is the average track number 3:25 long and a title of Great Getting up Mornin'?`

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

CREATE TABLE "track_listing" (
  "track_number" real,
  "title" text,
  "songwriter_s" text,
  "recording_date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average track number 3:25 long and a title of Great Getting up Mornin'?`:
```sql
                SELECT AVG("track_number") FROM "track_listing" WHERE "time"='3:25' AND "title"='great getting up mornin''';
```
## Task
Generate a SQL query to answer the following question:
`WHich Date has a Record of 2–7–0–1?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Date has a Record of 2–7–0–1?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='2–7–0–1';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Visitor on march 16?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Visitor on march 16?`:
```sql
                SELECT "visitor" FROM "game_log" WHERE "date"='march 16';
```
## Task
Generate a SQL query to answer the following question:
`Which Record is on november 16?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record is on november 16?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='november 16';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home on december 10?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home on december 10?`:
```sql
                SELECT "home" FROM "game_log" WHERE "date"='december 10';
```
## Task
Generate a SQL query to answer the following question:
`WHich Score has a Date on november 11?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Score has a Date on november 11?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='november 11';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Date on december 18?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has a Date on december 18?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='december 18';
```
## Task
Generate a SQL query to answer the following question:
`What visitor has march 26 as the date?`

### 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 visitor has march 26 as the date?`:
```sql
                SELECT "visitor" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "date"='march 26';
```
## Task
Generate a SQL query to answer the following question:
`What visitor has detroit red wings as the home, and march 30 as the date?`

### 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 visitor has detroit red wings as the home, and march 30 as the date?`:
```sql
                SELECT "visitor" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "home"='detroit red wings' AND "date"='march 30';
```
## Task
Generate a SQL query to answer the following question:
`What record has chicago black hawks as the visitor and march 23 as the date?`

### 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 record has chicago black hawks as the visitor and march 23 as the date?`:
```sql
                SELECT "record" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "visitor"='chicago black hawks' AND "date"='march 23';
```
## Task
Generate a SQL query to answer the following question:
`What record has march 30 as the date?`

### 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 record has march 30 as the date?`:
```sql
                SELECT "record" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "date"='march 30';
```
## Task
Generate a SQL query to answer the following question:
`What is the unanimous result of the player from Michigan Dartmouth?`

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

CREATE TABLE "ncaa_consensus_all_american_team" (
  "position" text,
  "name" text,
  "school" text,
  "unanimous" text,
  "college_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the unanimous result of the player from Michigan Dartmouth?`:
```sql
                SELECT "unanimous" FROM "ncaa_consensus_all_american_team" WHERE "school"='michigan dartmouth';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player with a unanimous no result without a college hall of fame?`

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

CREATE TABLE "ncaa_consensus_all_american_team" (
  "position" text,
  "name" text,
  "school" text,
  "unanimous" text,
  "college_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player with a unanimous no result without a college hall of fame?`:
```sql
                SELECT "position" FROM "ncaa_consensus_all_american_team" WHERE "unanimous"='no' AND "college_hall_of_fame"='no';
```
## Task
Generate a SQL query to answer the following question:
`What is the school of the player with a college hall of fame nevers hof profile?`

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

CREATE TABLE "ncaa_consensus_all_american_team" (
  "position" text,
  "name" text,
  "school" text,
  "unanimous" text,
  "college_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the school of the player with a college hall of fame nevers hof profile?`:
```sql
                SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "college_hall_of_fame"='nevers hof profile';
```
## Task
Generate a SQL query to answer the following question:
`What is the school of the player who plays ends?`

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

CREATE TABLE "ncaa_consensus_all_american_team" (
  "position" text,
  "name" text,
  "school" text,
  "unanimous" text,
  "college_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the school of the player who plays ends?`:
```sql
                SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "position"='ends';
```
## Task
Generate a SQL query to answer the following question:
`What is the college hall of fame of the player who plays fullback?`

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

CREATE TABLE "ncaa_consensus_all_american_team" (
  "position" text,
  "name" text,
  "school" text,
  "unanimous" text,
  "college_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the college hall of fame of the player who plays fullback?`:
```sql
                SELECT "college_hall_of_fame" FROM "ncaa_consensus_all_american_team" WHERE "position"='fullback';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player from Dartmouth Ohio State?`

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

CREATE TABLE "ncaa_consensus_all_american_team" (
  "position" text,
  "name" text,
  "school" text,
  "unanimous" text,
  "college_hall_of_fame" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player from Dartmouth Ohio State?`:
```sql
                SELECT "position" FROM "ncaa_consensus_all_american_team" WHERE "school"='dartmouth ohio state';
```
## Task
Generate a SQL query to answer the following question:
`What is the English title of the film Directed by Jayme Monjardim?`

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

CREATE TABLE "submissions" (
  "year_ceremony" real,
  "original_title" text,
  "english_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English title of the film Directed by Jayme Monjardim?`:
```sql
                SELECT "english_title" FROM "submissions" WHERE "director"='jayme monjardim';
```
## Task
Generate a SQL query to answer the following question:
`What was the Director with a Ceremony of 2001?`

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

CREATE TABLE "submissions" (
  "year_ceremony" real,
  "original_title" text,
  "english_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Director with a Ceremony of 2001?`:
```sql
                SELECT "director" FROM "submissions" WHERE "year_ceremony"=2001;
```
## Task
Generate a SQL query to answer the following question:
`When have a Save of ||20,599||32-37?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "save" text
);
### SQL
Given the database schema, here is the SQL query that answers `When have a Save of ||20,599||32-37?`:
```sql
                SELECT "date" FROM "game_log" WHERE "save"='||20,599||32-37';
```
## Task
Generate a SQL query to answer the following question:
`Which Save is on June 15?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "save" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Save is on June 15?`:
```sql
                SELECT "save" FROM "game_log" WHERE "date"='june 15';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Opponent of Boston red sox and a Save of sager?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "save" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Opponent of Boston red sox and a Save of sager?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='boston red sox' AND "save"='sager';
```
## Task
Generate a SQL query to answer the following question:
`When has an Opponent of at Seattle mariners?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "save" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has an Opponent of at Seattle mariners?`:
```sql
                SELECT "date" FROM "game_log" WHERE "opponent"='at seattle mariners';
```
## Task
Generate a SQL query to answer the following question:
`When is the Save of Ayala and a Loss of Olivares`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "save" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is the Save of Ayala and a Loss of Olivares`:
```sql
                SELECT "date" FROM "game_log" WHERE "save"='ayala' AND "loss"='olivares';
```
## Task
Generate a SQL query to answer the following question:
`Which Tournament has a Partner of martín rodríguez?`

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

CREATE TABLE "doubles_champion_5" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tournament has a Partner of martín rodríguez?`:
```sql
                SELECT "tournament" FROM "doubles_champion_5" WHERE "partner"='martín rodríguez';
```
## Task
Generate a SQL query to answer the following question:
`How many Touchdowns have Field goals larger than 0?`

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

CREATE TABLE "michigan_89_beloit_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Touchdowns have Field goals larger than 0?`:
```sql
                SELECT COUNT("touchdowns") FROM "michigan_89_beloit_0" WHERE "field_goals">0;
```
## Task
Generate a SQL query to answer the following question:
`Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30?`

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

CREATE TABLE "michigan_89_beloit_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30?`:
```sql
                SELECT MAX("extra_points") FROM "michigan_89_beloit_0" WHERE "player"='herrnstein' AND "points"<30;
```
## Task
Generate a SQL query to answer the following question:
`Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?`

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

CREATE TABLE "michigan_89_beloit_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?`:
```sql
                SELECT MIN("touchdowns") FROM "michigan_89_beloit_0" WHERE "extra_points"<14 AND "player"='white' AND "points"<5;
```
## Task
Generate a SQL query to answer the following question:
`Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?`

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

CREATE TABLE "michigan_89_beloit_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?`:
```sql
                SELECT MIN("touchdowns") FROM "michigan_89_beloit_0" WHERE "points"=5 AND "field_goals">0;
```
## Task
Generate a SQL query to answer the following question:
`Which Points is the lowest one that has Touchdowns smaller than 1?`

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

CREATE TABLE "michigan_89_beloit_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points is the lowest one that has Touchdowns smaller than 1?`:
```sql
                SELECT MAX("points") FROM "michigan_89_beloit_0" WHERE "touchdowns"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Bowl in 2006?`

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

CREATE TABLE "bowl_games" (
  "season" real,
  "bowl_game" text,
  "result" text,
  "opponent" text,
  "stadium" text,
  "location" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Bowl in 2006?`:
```sql
                SELECT "location" FROM "bowl_games" WHERE "season"=2006;
```
## Task
Generate a SQL query to answer the following question:
`At what Location was the Attendance 70,283?`

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

CREATE TABLE "bowl_games" (
  "season" real,
  "bowl_game" text,
  "result" text,
  "opponent" text,
  "stadium" text,
  "location" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what Location was the Attendance 70,283?`:
```sql
                SELECT "location" FROM "bowl_games" WHERE "attendance"='70,283';
```
## Task
Generate a SQL query to answer the following question:
`What was the Bowl game in San Francisco, CA after 1968?`

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

CREATE TABLE "bowl_games" (
  "season" real,
  "bowl_game" text,
  "result" text,
  "opponent" text,
  "stadium" text,
  "location" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Bowl game in San Francisco, CA after 1968?`:
```sql
                SELECT "bowl_game" FROM "bowl_games" WHERE "season">1968 AND "location"='san francisco, ca';
```
## Task
Generate a SQL query to answer the following question:
`What team has a yamaha constructor with all rounds?`

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

CREATE TABLE "moto_gp_participants" (
  "team" text,
  "constructor" text,
  "motorcycle" text,
  "rider" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has a yamaha constructor with all rounds?`:
```sql
                SELECT "team" FROM "moto_gp_participants" WHERE "rounds"='all' AND "constructor"='yamaha';
```
## Task
Generate a SQL query to answer the following question:
`What rounds did rider Mika Kallio with a Ducati constructor have?`

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

CREATE TABLE "moto_gp_participants" (
  "team" text,
  "constructor" text,
  "motorcycle" text,
  "rider" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What rounds did rider Mika Kallio with a Ducati constructor have?`:
```sql
                SELECT "rounds" FROM "moto_gp_participants" WHERE "constructor"='ducati' AND "rider"='mika kallio';
```
## Task
Generate a SQL query to answer the following question:
`Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?`

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

CREATE TABLE "moto_gp_participants" (
  "team" text,
  "constructor" text,
  "motorcycle" text,
  "rider" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17?`:
```sql
                SELECT "rider" FROM "moto_gp_participants" WHERE "constructor"='honda' AND "team"='scot racing team' AND "rounds"='6-17';
```
## Task
Generate a SQL query to answer the following question:
`What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team?`

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

CREATE TABLE "moto_gp_participants" (
  "team" text,
  "constructor" text,
  "motorcycle" text,
  "rider" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team?`:
```sql
                SELECT "rounds" FROM "moto_gp_participants" WHERE "team"='ducati marlboro team' AND "rider"='mika kallio 1';
```
## Task
Generate a SQL query to answer the following question:
`What is the average week that there was a game with less than 18,517 fans attending and occurred on November 21, 1954?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average week that there was a game with less than 18,517 fans attending and occurred on November 21, 1954?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "attendance"<'18,517' AND "date"='november 21, 1954';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest week that had a game against the Pittsburgh Steelers with 22,597 fans in attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest week that had a game against the Pittsburgh Steelers with 22,597 fans in attendance?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "attendance"<'22,597' AND "opponent"='pittsburgh steelers';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent for the game taht was before week 5 on October 10, 1954?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent for the game taht was before week 5 on October 10, 1954?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"<5 AND "date"='october 10, 1954';
```
## Task
Generate a SQL query to answer the following question:
`What is the average attendance for the game that was after week 4 and on November 14, 1954?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average attendance for the game that was after week 4 and on November 14, 1954?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "week">4 AND "date"='november 14, 1954';
```
## Task
Generate a SQL query to answer the following question:
`After December 19, what is the Game number with a Record of 21–4–7?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `After December 19, what is the Game number with a Record of 21–4–7?`:
```sql
                SELECT COUNT("game") FROM "regular_season" WHERE "record"='21–4–7' AND "december">19;
```
## Task
Generate a SQL query to answer the following question:
`What were the Points in the game with a Score of 2–7?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the Points in the game with a Score of 2–7?`:
```sql
                SELECT SUM("points") FROM "regular_season" WHERE "score"='2–7';
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?`

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

CREATE TABLE "women" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1?`:
```sql
                SELECT MIN("bronze") FROM "women" WHERE "gold"<5 AND "rank"='6' AND "total">1;
```
## Task
Generate a SQL query to answer the following question:
`What's the Bronze cumulative number for less than 0 gold?`

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

CREATE TABLE "women" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Bronze cumulative number for less than 0 gold?`:
```sql
                SELECT SUM("bronze") FROM "women" WHERE "gold"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which average Lost has an Against larger than 19, and a Drawn smaller than 1?`

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

CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Lost has an Against larger than 19, and a Drawn smaller than 1?`:
```sql
                SELECT AVG("lost") FROM "torneio_rio_s_o_paulo" WHERE "against">19 AND "drawn"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa?`

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

CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa?`:
```sql
                SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "drawn"=3 AND "points">9 AND "team"='portuguesa';
```
## Task
Generate a SQL query to answer the following question:
`Which average Against has Points of 6, and a Played smaller than 9?`

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

CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Against has Points of 6, and a Played smaller than 9?`:
```sql
                SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "points"=6 AND "played"<9;
```
## Task
Generate a SQL query to answer the following question:
`Which average Points have a Position of 7, and a Lost smaller than 4?`

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

CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Points have a Position of 7, and a Lost smaller than 4?`:
```sql
                SELECT AVG("points") FROM "torneio_rio_s_o_paulo" WHERE "position"=7 AND "lost"<4;
```
## Task
Generate a SQL query to answer the following question:
`Which average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0?`

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

CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0?`:
```sql
                SELECT AVG("points") FROM "torneio_rio_s_o_paulo" WHERE "lost">2 AND "drawn">2 AND "difference"='0';
```
## Task
Generate a SQL query to answer the following question:
`Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden?`

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

CREATE TABLE "michigan_119_michigan_agricultural_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden?`:
```sql
                SELECT AVG("touchdowns") FROM "michigan_119_michigan_agricultural_0" WHERE "extra_points"=0 AND "points">5 AND "player"='curtis redden';
```
## Task
Generate a SQL query to answer the following question:
`How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?`

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

CREATE TABLE "michigan_119_michigan_agricultural_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?`:
```sql
                SELECT SUM("extra_points") FROM "michigan_119_michigan_agricultural_0" WHERE "touchdowns"=1 AND "player"='ross kidston' AND "points"<5;
```
## Task
Generate a SQL query to answer the following question:
`Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2?`

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

CREATE TABLE "michigan_119_michigan_agricultural_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2?`:
```sql
                SELECT MIN("points") FROM "michigan_119_michigan_agricultural_0" WHERE "extra_points"=0 AND "player"='curtis redden' AND "touchdowns"<2;
```
## Task
Generate a SQL query to answer the following question:
`Which Extra points is the lowest one that has a Player of ross kidston, and Points smaller than 5?`

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

CREATE TABLE "michigan_119_michigan_agricultural_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Extra points is the lowest one that has a Player of ross kidston, and Points smaller than 5?`:
```sql
                SELECT MIN("extra_points") FROM "michigan_119_michigan_agricultural_0" WHERE "player"='ross kidston' AND "points"<5;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have Touchdowns of 1, and a Field goals smaller than 0?`

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

CREATE TABLE "michigan_119_michigan_agricultural_0" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have Touchdowns of 1, and a Field goals smaller than 0?`:
```sql
                SELECT AVG("points") FROM "michigan_119_michigan_agricultural_0" WHERE "touchdowns"=1 AND "field_goals"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8?`

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

CREATE TABLE "ranking_movement" (
  "poll" text,
  "wk_1" text,
  "wk_2" text,
  "wk_3" text,
  "wk_4" text,
  "wk_5" text,
  "wk_6" text,
  "wk_7" text,
  "wk_8" real,
  "wk_9" real,
  "wk_10" real,
  "wk_11" real,
  "wk_13" real,
  "wk_14" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8?`:
```sql
                SELECT "poll" FROM "ranking_movement" WHERE "wk_10">2 AND "wk_2"='12' AND "wk_13"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?`

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

CREATE TABLE "ranking_movement" (
  "poll" text,
  "wk_1" text,
  "wk_2" text,
  "wk_3" text,
  "wk_4" text,
  "wk_5" text,
  "wk_6" text,
  "wk_7" text,
  "wk_8" real,
  "wk_9" real,
  "wk_10" real,
  "wk_11" real,
  "wk_13" real,
  "wk_14" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2?`:
```sql
                SELECT MAX("wk_9") FROM "ranking_movement" WHERE "wk_6"='7' AND "wk_10">2 AND "wk_7"='5' AND "wk_11"<2;
```
## Task
Generate a SQL query to answer the following question:
`What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?`

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

CREATE TABLE "ap_poll" (
  "week_2_sept_7" text,
  "week_3_sept_14" text,
  "week_4_sept_21" text,
  "week_5_sept_28" text,
  "week_6_oct_5" text,
  "week_7_oct_12" text,
  "week_10_nov_2" text,
  "week_12_nov_16" text,
  "week_14_nov_30" text,
  "week_15_dec_7" text,
  "week_16_final_jan_9" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?`:
```sql
                SELECT "week_5_sept_28" FROM "ap_poll" WHERE "week_10_nov_2"='maryland (6-2)';
```
## Task
Generate a SQL query to answer the following question:
`What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?`

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

CREATE TABLE "ap_poll" (
  "week_2_sept_7" text,
  "week_3_sept_14" text,
  "week_4_sept_21" text,
  "week_5_sept_28" text,
  "week_6_oct_5" text,
  "week_7_oct_12" text,
  "week_10_nov_2" text,
  "week_12_nov_16" text,
  "week_14_nov_30" text,
  "week_15_dec_7" text,
  "week_16_final_jan_9" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?`:
```sql
                SELECT "week_14_nov_30" FROM "ap_poll" WHERE "week_10_nov_2"='michigan state (8-2)';
```
## Task
Generate a SQL query to answer the following question:
`What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?`

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

CREATE TABLE "ap_poll" (
  "week_2_sept_7" text,
  "week_3_sept_14" text,
  "week_4_sept_21" text,
  "week_5_sept_28" text,
  "week_6_oct_5" text,
  "week_7_oct_12" text,
  "week_10_nov_2" text,
  "week_12_nov_16" text,
  "week_14_nov_30" text,
  "week_15_dec_7" text,
  "week_16_final_jan_9" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?`:
```sql
                SELECT "week_4_sept_21" FROM "ap_poll" WHERE "week_10_nov_2"='michigan state (8-2)';
```
## Task
Generate a SQL query to answer the following question:
`What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?`

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

CREATE TABLE "ap_poll" (
  "week_2_sept_7" text,
  "week_3_sept_14" text,
  "week_4_sept_21" text,
  "week_5_sept_28" text,
  "week_6_oct_5" text,
  "week_7_oct_12" text,
  "week_10_nov_2" text,
  "week_12_nov_16" text,
  "week_14_nov_30" text,
  "week_15_dec_7" text,
  "week_16_final_jan_9" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?`:
```sql
                SELECT "week_12_nov_16" FROM "ap_poll" WHERE "week_3_sept_14"='south florida (3-0)';
```
## Task
Generate a SQL query to answer the following question:
`What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)?`

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

CREATE TABLE "ap_poll" (
  "week_2_sept_7" text,
  "week_3_sept_14" text,
  "week_4_sept_21" text,
  "week_5_sept_28" text,
  "week_6_oct_5" text,
  "week_7_oct_12" text,
  "week_10_nov_2" text,
  "week_12_nov_16" text,
  "week_14_nov_30" text,
  "week_15_dec_7" text,
  "week_16_final_jan_9" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)?`:
```sql
                SELECT "week_7_oct_12" FROM "ap_poll" WHERE "week_12_nov_16"='oregon state (7-3)';
```
## Task
Generate a SQL query to answer the following question:
`What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?`

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

CREATE TABLE "ap_poll" (
  "week_2_sept_7" text,
  "week_3_sept_14" text,
  "week_4_sept_21" text,
  "week_5_sept_28" text,
  "week_6_oct_5" text,
  "week_7_oct_12" text,
  "week_10_nov_2" text,
  "week_12_nov_16" text,
  "week_14_nov_30" text,
  "week_15_dec_7" text,
  "week_16_final_jan_9" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?`:
```sql
                SELECT "week_3_sept_14" FROM "ap_poll" WHERE "week_7_oct_12"='georgia (5-1)';
```