cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Who were the opponents in the final where the score in the final is 6–4, 7–6 2?`

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

CREATE TABLE "legends_over_45_doubles" (
  "outcome" text,
  "year" real,
  "championship" 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 `Who were the opponents in the final where the score in the final is 6–4, 7–6 2?`:
```sql
                SELECT "opponents_in_the_final" FROM "legends_over_45_doubles" WHERE "score_in_the_final"='6–4, 7–6 2';
```
## Task
Generate a SQL query to answer the following question:
`What was the partner count when the opponents in the final was forget leconte?`

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

CREATE TABLE "legends_over_45_doubles" (
  "outcome" text,
  "year" real,
  "championship" 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 `What was the partner count when the opponents in the final was forget leconte?`:
```sql
                SELECT COUNT("partner") FROM "legends_over_45_doubles" WHERE "opponents_in_the_final"='Forget Leconte';
```
## Task
Generate a SQL query to answer the following question:
`What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?`

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

CREATE TABLE "legends_over_45_doubles" (
  "outcome" text,
  "year" real,
  "championship" 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 `What was the year date when one of the opponents in the final was bahrami leconte and score in the final is 7–6 2 , 6–1?`:
```sql
                SELECT MIN("year") FROM "legends_over_45_doubles" WHERE "opponents_in_the_final"='Bahrami Leconte' AND "score_in_the_final"='7–6 2 , 6–1';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of year for score being  6–3, 6–2, 6–4`

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

CREATE TABLE "singles_26_19_titles_7_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of year for score being  6–3, 6–2, 6–4`:
```sql
                SELECT COUNT("year") FROM "singles_26_19_titles_7_runners_up" WHERE "score_in_the_final"='6–3, 6–2, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`Name the surface for 6–0, 6–3`

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

CREATE TABLE "singles_26_19_titles_7_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the surface for 6–0, 6–3`:
```sql
                SELECT "surface" FROM "singles_26_19_titles_7_runners_up" WHERE "score_in_the_final"='6–0, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Name the championship for peter mcnamara`

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

CREATE TABLE "singles_26_19_titles_7_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the championship for peter mcnamara`:
```sql
                SELECT "championship" FROM "singles_26_19_titles_7_runners_up" WHERE "opponent_in_the_final"='Peter McNamara';
```
## Task
Generate a SQL query to answer the following question:
`Name the championship for 1980 hard surface`

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

CREATE TABLE "singles_26_19_titles_7_runners_up" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the championship for 1980 hard surface`:
```sql
                SELECT "championship" FROM "singles_26_19_titles_7_runners_up" WHERE "year"=1980 AND "surface"='Hard';
```
## Task
Generate a SQL query to answer the following question:
`If the team is Billy Ballew Motorsports, what is the race time?`

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

CREATE TABLE "table1_2260452_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the team is Billy Ballew Motorsports, what is the race time?`:
```sql
                SELECT "race_time" FROM "table1_2260452_1" WHERE "team"='Billy Ballew Motorsports';
```
## Task
Generate a SQL query to answer the following question:
`What was the date if the driver was Robert Pressley?`

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

CREATE TABLE "table1_2260452_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date if the driver was Robert Pressley?`:
```sql
                SELECT "date" FROM "table1_2260452_1" WHERE "driver"='Robert Pressley';
```
## Task
Generate a SQL query to answer the following question:
`If the race time is 2:00:33, what is the average speed?`

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

CREATE TABLE "table1_2260452_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the race time is 2:00:33, what is the average speed?`:
```sql
                SELECT "average_speed_mph" FROM "table1_2260452_1" WHERE "race_time"='2:00:33';
```
## Task
Generate a SQL query to answer the following question:
`Who is every entry for 1981-82 when 1984-85 is Marci Drexler?`

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

CREATE TABLE "season_end_rankings" (
  "rank" real,
  "1980_81" text,
  "1981_82" text,
  "1982_83" text,
  "1983_84" text,
  "1984_85" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is every entry for 1981-82 when 1984-85 is Marci Drexler?`:
```sql
                SELECT "1981_82" FROM "season_end_rankings" WHERE "1984_85"='Marci Drexler';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for 1980-81 when 1984-85 is Liz Alvarado?`

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

CREATE TABLE "season_end_rankings" (
  "rank" real,
  "1980_81" text,
  "1981_82" text,
  "1982_83" text,
  "1983_84" text,
  "1984_85" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for 1980-81 when 1984-85 is Liz Alvarado?`:
```sql
                SELECT "1980_81" FROM "season_end_rankings" WHERE "1984_85"='Liz Alvarado';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for 1980-81 when 1983-84 is Caryn McKinney?`

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

CREATE TABLE "season_end_rankings" (
  "rank" real,
  "1980_81" text,
  "1981_82" text,
  "1982_83" text,
  "1983_84" text,
  "1984_85" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for 1980-81 when 1983-84 is Caryn McKinney?`:
```sql
                SELECT "1980_81" FROM "season_end_rankings" WHERE "1983_84"='Caryn McKinney';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for 1980-81 when 1983-84 is Heather McKay?`

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

CREATE TABLE "season_end_rankings" (
  "rank" real,
  "1980_81" text,
  "1981_82" text,
  "1982_83" text,
  "1983_84" text,
  "1984_85" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for 1980-81 when 1983-84 is Heather McKay?`:
```sql
                SELECT "1980_81" FROM "season_end_rankings" WHERE "1983_84"='Heather McKay';
```
## Task
Generate a SQL query to answer the following question:
`What is every entry for 1982-83 for rank 1?`

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

CREATE TABLE "season_end_rankings" (
  "rank" real,
  "1980_81" text,
  "1981_82" text,
  "1982_83" text,
  "1983_84" text,
  "1984_85" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every entry for 1982-83 for rank 1?`:
```sql
                SELECT "1982_83" FROM "season_end_rankings" WHERE "rank"=1;
```
## Task
Generate a SQL query to answer the following question:
`How many entries for 1983-84 when 1984-85 is Terri Gilreath?`

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

CREATE TABLE "season_end_rankings" (
  "rank" real,
  "1980_81" text,
  "1981_82" text,
  "1982_83" text,
  "1983_84" text,
  "1984_85" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries for 1983-84 when 1984-85 is Terri Gilreath?`:
```sql
                SELECT COUNT("1983_84") FROM "season_end_rankings" WHERE "1984_85"='Terri Gilreath';
```
## Task
Generate a SQL query to answer the following question:
`How many heights are listed for Jesse Holley in the WR position? `

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

CREATE TABLE "contestants" (
  "position" text,
  "name" text,
  "jersey_number" real,
  "age" real,
  "height" text,
  "weight" real,
  "college" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many heights are listed for Jesse Holley in the WR position? `:
```sql
                SELECT COUNT("height") FROM "contestants" WHERE "position"='WR' AND "name"='Jesse Holley';
```
## Task
Generate a SQL query to answer the following question:
`What is the result for Wisconsin? `

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

CREATE TABLE "contestants" (
  "position" text,
  "name" text,
  "jersey_number" real,
  "age" real,
  "height" text,
  "weight" real,
  "college" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result for Wisconsin? `:
```sql
                SELECT "result" FROM "contestants" WHERE "college"='Wisconsin';
```
## Task
Generate a SQL query to answer the following question:
`What is the result for Steve Gonzalez? `

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

CREATE TABLE "contestants" (
  "position" text,
  "name" text,
  "jersey_number" real,
  "age" real,
  "height" text,
  "weight" real,
  "college" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result for Steve Gonzalez? `:
```sql
                SELECT "result" FROM "contestants" WHERE "name"='Steve Gonzalez';
```
## Task
Generate a SQL query to answer the following question:
`What are the positions for Menlo College? `

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

CREATE TABLE "contestants" (
  "position" text,
  "name" text,
  "jersey_number" real,
  "age" real,
  "height" text,
  "weight" real,
  "college" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the positions for Menlo College? `:
```sql
                SELECT "position" FROM "contestants" WHERE "college"='Menlo College';
```
## Task
Generate a SQL query to answer the following question:
`If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?`

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

CREATE TABLE "table1_2263152_1" (
  "version" text,
  "release_date" text,
  "distribution_mechanism" text,
  "features" text,
  "security_issues" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?`:
```sql
                SELECT "features" FROM "table1_2263152_1" WHERE "security_issues"='98-004' AND "distribution_mechanism"='Microsoft website';
```
## Task
Generate a SQL query to answer the following question:
`With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?`

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

CREATE TABLE "table1_2263152_1" (
  "version" text,
  "release_date" text,
  "distribution_mechanism" text,
  "features" text,
  "security_issues" text
);
### SQL
Given the database schema, here is the SQL query that answers `With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?`:
```sql
                SELECT "version" FROM "table1_2263152_1" WHERE "security_issues"='98-004' AND "distribution_mechanism"='Microsoft website';
```
## Task
Generate a SQL query to answer the following question:
`If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number?`

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

CREATE TABLE "table1_2263152_1" (
  "version" text,
  "release_date" text,
  "distribution_mechanism" text,
  "features" text,
  "security_issues" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the security issues is 99-025 and the distribution mechanism is the Microsoft website, what is the release date total number?`:
```sql
                SELECT COUNT("release_date") FROM "table1_2263152_1" WHERE "security_issues"='99-025' AND "distribution_mechanism"='Microsoft website';
```
## Task
Generate a SQL query to answer the following question:
`With the version of 1.5a, what is the release date?`

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

CREATE TABLE "table1_2263152_1" (
  "version" text,
  "release_date" text,
  "distribution_mechanism" text,
  "features" text,
  "security_issues" text
);
### SQL
Given the database schema, here is the SQL query that answers `With the version of 1.5a, what is the release date?`:
```sql
                SELECT "release_date" FROM "table1_2263152_1" WHERE "version"='1.5a';
```
## Task
Generate a SQL query to answer the following question:
`If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?`

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

CREATE TABLE "table1_2263152_1" (
  "version" text,
  "release_date" text,
  "distribution_mechanism" text,
  "features" text,
  "security_issues" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?`:
```sql
                SELECT "version" FROM "table1_2263152_1" WHERE "features"='Service release' AND "distribution_mechanism"='Windows NT 4.0 Option Pack Microsoft Office 97';
```
## Task
Generate a SQL query to answer the following question:
`If the version is 1.5b, what is the distribution mechanism?`

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

CREATE TABLE "table1_2263152_1" (
  "version" text,
  "release_date" text,
  "distribution_mechanism" text,
  "features" text,
  "security_issues" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the version is 1.5b, what is the distribution mechanism?`:
```sql
                SELECT "distribution_mechanism" FROM "table1_2263152_1" WHERE "version"='1.5b';
```
## Task
Generate a SQL query to answer the following question:
`How many locations are listed for the winner Temple?`

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

CREATE TABLE "table1_22645714_5" (
  "conference" text,
  "regular_season_winner" text,
  "conference_player_of_the_year" text,
  "conference_tournament" text,
  "tournament_venue_city" text,
  "tournament_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations are listed for the winner Temple?`:
```sql
                SELECT COUNT("tournament_venue_city") FROM "table1_22645714_5" WHERE "tournament_winner"='Temple';
```
## Task
Generate a SQL query to answer the following question:
`How many locations are listed for the Big 12 Conference?`

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

CREATE TABLE "table1_22645714_5" (
  "conference" text,
  "regular_season_winner" text,
  "conference_player_of_the_year" text,
  "conference_tournament" text,
  "tournament_venue_city" text,
  "tournament_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations are listed for the Big 12 Conference?`:
```sql
                SELECT COUNT("tournament_venue_city") FROM "table1_22645714_5" WHERE "conference"='Big 12 Conference';
```
## Task
Generate a SQL query to answer the following question:
`Who had the best regular season in the contest won by Arkansas-Pine Bluff?`

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

CREATE TABLE "table1_22645714_5" (
  "conference" text,
  "regular_season_winner" text,
  "conference_player_of_the_year" text,
  "conference_tournament" text,
  "tournament_venue_city" text,
  "tournament_winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the best regular season in the contest won by Arkansas-Pine Bluff?`:
```sql
                SELECT "regular_season_winner" FROM "table1_22645714_5" WHERE "tournament_winner"='Arkansas-Pine Bluff';
```
## Task
Generate a SQL query to answer the following question:
`How old was the official with Chinese name  孫明揚?`

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

CREATE TABLE "table1_2263674_1" (
  "romanised_name" text,
  "chinese_name" text,
  "age_at_appointment" real,
  "portfolio" text,
  "prior_occupation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How old was the official with Chinese name  孫明揚?`:
```sql
                SELECT "age_at_appointment" FROM "table1_2263674_1" WHERE "chinese_name"='孫明揚';
```
## Task
Generate a SQL query to answer the following question:
`What's 梁愛詩's romanised name?`

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

CREATE TABLE "table1_2263674_1" (
  "romanised_name" text,
  "chinese_name" text,
  "age_at_appointment" real,
  "portfolio" text,
  "prior_occupation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's 梁愛詩's romanised name?`:
```sql
                SELECT "romanised_name" FROM "table1_2263674_1" WHERE "chinese_name"='梁愛詩';
```
## Task
Generate a SQL query to answer the following question:
`What's the romanised name of the official who was Secretary for health, welfare and food?`

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

CREATE TABLE "table1_2263674_1" (
  "romanised_name" text,
  "chinese_name" text,
  "age_at_appointment" real,
  "portfolio" text,
  "prior_occupation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the romanised name of the official who was Secretary for health, welfare and food?`:
```sql
                SELECT "romanised_name" FROM "table1_2263674_1" WHERE "portfolio"='Secretary for Health, Welfare and Food';
```
## Task
Generate a SQL query to answer the following question:
`What was Anthony Leung Kam-Chung previous position?`

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

CREATE TABLE "table1_2263674_1" (
  "romanised_name" text,
  "chinese_name" text,
  "age_at_appointment" real,
  "portfolio" text,
  "prior_occupation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Anthony Leung Kam-Chung previous position?`:
```sql
                SELECT "portfolio" FROM "table1_2263674_1" WHERE "romanised_name"='Anthony Leung Kam-chung';
```
## Task
Generate a SQL query to answer the following question:
`List all high rebound entries from May 11.`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `List all high rebound entries from May 11.`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "date"='May 11';
```
## Task
Generate a SQL query to answer the following question:
`How many games were there on May 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,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were there on May 1?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "date"='May 1';
```
## Task
Generate a SQL query to answer the following question:
`List all high assists in series 2-3.`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `List all high assists in series 2-3.`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "series"='2-3';
```
## Task
Generate a SQL query to answer the following question:
`How many games were played on May 11?`

### 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,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games were played on May 11?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "date"='May 11';
```
## Task
Generate a SQL query to answer the following question:
`Name the score for chicago bulls`

### 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 `Name the score for chicago bulls`:
```sql
                SELECT "score" FROM "game_log" WHERE "team"='Chicago Bulls';
```
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for 22-8`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location attendance for 22-8`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "record"='22-8';
```
## Task
Generate a SQL query to answer the following question:
`Name the high points for mo williams , lebron james , j.j. hickson (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,
  "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 `Name the high points for mo williams , lebron james , j.j. hickson (6)`:
```sql
                SELECT COUNT("high_points") FROM "game_log" WHERE "high_rebounds"='Mo Williams , LeBron James , J.J. Hickson (6)';
```
## Task
Generate a SQL query to answer the following question:
`Name the high assists for december 13`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high assists for december 13`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "date"='December 13';
```
## Task
Generate a SQL query to answer the following question:
`What value can you find under the column "august 21-22" and the row of June 11, 1983?`

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

CREATE TABLE "table1_22651355_3" (
  "june_10_11" text,
  "march_27_29" text,
  "january_15_16" text,
  "november_3" text,
  "august_21_22" text
);
### SQL
Given the database schema, here is the SQL query that answers `What value can you find under the column "august 21-22" and the row of June 11, 1983?`:
```sql
                SELECT "august_21_22" FROM "table1_22651355_3" WHERE "june_10_11"='June 11, 1983';
```
## Task
Generate a SQL query to answer the following question:
`What was the location and attendance for the game against the team with a 51-15 record with the Cavaliers?`

### 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 against the team with a 51-15 record with the Cavaliers?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "record"='51-15';
```
## Task
Generate a SQL query to answer the following question:
`How many scores are associated with a record of 27-9?`

### 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 `How many scores are associated with a record of 27-9?`:
```sql
                SELECT COUNT("score") FROM "game_log" WHERE "record"='27-9';
```
## Task
Generate a SQL query to answer the following question:
`How many games are associated with a record of 29-10?`

### 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 `How many games are associated with a record of 29-10?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "record"='29-10';
```
## Task
Generate a SQL query to answer the following question:
`Name the team for record 3-2`

### 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 `Name the team for record 3-2`:
```sql
                SELECT "team" FROM "game_log" WHERE "record"='3-2';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for lebron james , mo williams (21)`

### 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 `Name the date for lebron james , mo williams (21)`:
```sql
                SELECT "date" FROM "game_log" WHERE "high_points"='LeBron James , Mo Williams (21)';
```
## Task
Generate a SQL query to answer the following question:
`Name the high points for record 9-4`

### 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 `Name the high points for record 9-4`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "record"='9-4';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of date for l 85–86 (ot)`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of date for l 85–86 (ot)`:
```sql
                SELECT COUNT("date") FROM "game_log" WHERE "score"='L 85–86 (OT)';
```
## Task
Generate a SQL query to answer the following question:
`Name the network for 2007 total`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the network for 2007 total`:
```sql
                SELECT COUNT("network") FROM "2000s" WHERE "year"=2007;
```
## Task
Generate a SQL query to answer the following question:
`Name the analysts`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the analysts`:
```sql
                SELECT "s_analyst" FROM "2000s";
```
## Task
Generate a SQL query to answer the following question:
`What was the result for a partnering of Frederica Piedade?`

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

CREATE TABLE "doubles_8" (
  "edition" text,
  "round" text,
  "date" text,
  "partnering" text,
  "against" text,
  "surface" text,
  "opponents" text,
  "w_l" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for a partnering of Frederica Piedade?`:
```sql
                SELECT "result" FROM "doubles_8" WHERE "partnering"='Frederica Piedade';
```
## Task
Generate a SQL query to answer the following question:
`Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I?`

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

CREATE TABLE "doubles_8" (
  "edition" text,
  "round" text,
  "date" text,
  "partnering" text,
  "against" text,
  "surface" text,
  "opponents" text,
  "w_l" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I?`:
```sql
                SELECT "round" FROM "doubles_8" WHERE "w_l"='Loss' AND "edition"='2012 Fed Cup Europe/Africa Group I';
```
## Task
Generate a SQL query to answer the following question:
`Name the manufacturer for cale yarborough for 1984`

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

CREATE TABLE "table1_2266230_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the manufacturer for cale yarborough for 1984`:
```sql
                SELECT "manufacturer" FROM "table1_2266230_1" WHERE "driver"='Cale Yarborough' AND "year"='1984';
```
## Task
Generate a SQL query to answer the following question:
`Name the report for 2003`

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

CREATE TABLE "table1_2266230_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the report for 2003`:
```sql
                SELECT "report" FROM "table1_2266230_1" WHERE "year"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What is the date opened if thedistrict ID is 11901?`

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

CREATE TABLE "a" (
  "district_name" text,
  "dist_id" real,
  "isd" text,
  "county" text,
  "authorizing_agency" text,
  "date_opened" text,
  "services" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date opened if thedistrict ID is 11901?`:
```sql
                SELECT "date_opened" FROM "a" WHERE "dist_id"=11901;
```
## Task
Generate a SQL query to answer the following question:
`If the district name is the Academy of Flint, what is the authorizing agency?`

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

CREATE TABLE "a" (
  "district_name" text,
  "dist_id" real,
  "isd" text,
  "county" text,
  "authorizing_agency" text,
  "date_opened" text,
  "services" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the district name is the Academy of Flint, what is the authorizing agency?`:
```sql
                SELECT "authorizing_agency" FROM "a" WHERE "district_name"='Academy of Flint';
```
## Task
Generate a SQL query to answer the following question:
`If the district ID is 74907, what is the name of the district?`

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

CREATE TABLE "a" (
  "district_name" text,
  "dist_id" real,
  "isd" text,
  "county" text,
  "authorizing_agency" text,
  "date_opened" text,
  "services" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the district ID is 74907, what is the name of the district?`:
```sql
                SELECT "district_name" FROM "a" WHERE "dist_id"=74907;
```
## Task
Generate a SQL query to answer the following question:
`If the name of the district is the Charyl Stockwell Academy, what is the county name?`

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

CREATE TABLE "a" (
  "district_name" text,
  "dist_id" real,
  "isd" text,
  "county" text,
  "authorizing_agency" text,
  "date_opened" text,
  "services" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the name of the district is the Charyl Stockwell Academy, what is the county name?`:
```sql
                SELECT "county" FROM "a" WHERE "district_name"='Charyl Stockwell Academy';
```
## Task
Generate a SQL query to answer the following question:
`Who was the driver in 1986?`

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

CREATE TABLE "table1_2266976_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the driver in 1986?`:
```sql
                SELECT "driver" FROM "table1_2266976_1" WHERE "year"='1986';
```
## Task
Generate a SQL query to answer the following question:
`When was an average speed of 81.388 mph recorded?`

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

CREATE TABLE "table1_2266976_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was an average speed of 81.388 mph recorded?`:
```sql
                SELECT "date" FROM "table1_2266976_1" WHERE "average_speed_mph"='81.388';
```
## Task
Generate a SQL query to answer the following question:
`Who was the manufacturer in 1990?`

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

CREATE TABLE "table1_2266976_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the manufacturer in 1990?`:
```sql
                SELECT "manufacturer" FROM "table1_2266976_1" WHERE "year"='1990';
```
## Task
Generate a SQL query to answer the following question:
`Who was the manufacturer in the year when the race lasted 2:30:28?`

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

CREATE TABLE "table1_2266976_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the manufacturer in the year when the race lasted 2:30:28?`:
```sql
                SELECT "manufacturer" FROM "table1_2266976_1" WHERE "race_time"='2:30:28';
```
## Task
Generate a SQL query to answer the following question:
`What team competed in 2003?`

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

CREATE TABLE "table1_2266976_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team competed in 2003?`:
```sql
                SELECT "team" FROM "table1_2266976_1" WHERE "year"='2003';
```
## Task
Generate a SQL query to answer the following question:
`How long in miles (km) was the race that lasted 3:07:53?`

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

CREATE TABLE "table1_2266976_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long in miles (km) was the race that lasted 3:07:53?`:
```sql
                SELECT "miles_km" FROM "table1_2266976_1" WHERE "race_time"='3:07:53';
```
## Task
Generate a SQL query to answer the following question:
`Name the race name for june 6`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "length" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the race name for june 6`:
```sql
                SELECT "race_name" FROM "schedule_and_results" WHERE "date"='June 6';
```
## Task
Generate a SQL query to answer the following question:
`Name the location for trenton 300`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "length" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location for trenton 300`:
```sql
                SELECT "location" FROM "schedule_and_results" WHERE "race_name"='Trenton 300';
```
## Task
Generate a SQL query to answer the following question:
`Name the race name for rnd being 11`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "race_name" text,
  "length" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the race name for rnd being 11`:
```sql
                SELECT "race_name" FROM "schedule_and_results" WHERE "rnd"=11;
```
## Task
Generate a SQL query to answer the following question:
`What length was won by Roger McCluskey?`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "length" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `What length was won by Roger McCluskey?`:
```sql
                SELECT "length" FROM "schedule_and_results" WHERE "winning_driver"='Roger McCluskey';
```
## Task
Generate a SQL query to answer the following question:
`What rounds did Phoenix International Raceway host?`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "length" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `What rounds did Phoenix International Raceway host?`:
```sql
                SELECT "rnd" FROM "schedule_and_results" WHERE "track"='Phoenix International Raceway';
```
## Task
Generate a SQL query to answer the following question:
`What are the lengths hosted by Pocono International Raceway?`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "length" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lengths hosted by Pocono International Raceway?`:
```sql
                SELECT "length" FROM "schedule_and_results" WHERE "track"='Pocono International Raceway';
```
## Task
Generate a SQL query to answer the following question:
`What lengths did Phoenix International Raceway host?`

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

CREATE TABLE "schedule_and_results" (
  "rnd" real,
  "date" text,
  "length" text,
  "race_name" text,
  "track" text,
  "location" text,
  "pole_position" text,
  "winning_driver" text
);
### SQL
Given the database schema, here is the SQL query that answers `What lengths did Phoenix International Raceway host?`:
```sql
                SELECT "length" FROM "schedule_and_results" WHERE "track"='Phoenix International Raceway';
```
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for score being l 83–118 (ot)`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location attendance for score being l 83–118 (ot)`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "score"='L 83–118 (OT)';
```
## Task
Generate a SQL query to answer the following question:
`Name the high assists for december 9`

### 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 `Name the high assists for december 9`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "date"='December 9';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "combativity_award" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?`:
```sql
                SELECT COUNT("winner") FROM "classification_leadership" WHERE "team_classification"='Kelme-Costa Blanca' AND "combativity_award"='Jacky Durand';
```