cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1`

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

CREATE TABLE "cultural_events" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1`:
```sql
                SELECT MIN("rank") FROM "cultural_events" WHERE "silver"<1 AND "total">1 AND "bronze"<1;
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game in which the series was 1-4?`

### 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,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game in which the series was 1-4?`:
```sql
                SELECT "date" FROM "game_log" WHERE "series"='1-4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score that has a Home of montreal canadiens on april 11?`

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

CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" (
  "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 Score that has a Home of montreal canadiens on april 11?`:
```sql
                SELECT "score" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "home"='montreal canadiens' AND "date"='april 11';
```
## Task
Generate a SQL query to answer the following question:
`What is the Record on april 13?`

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

CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" (
  "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 Record on april 13?`:
```sql
                SELECT "record" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "date"='april 13';
```
## Task
Generate a SQL query to answer the following question:
`When is Home of chicago black hawks has a Record of 0–1?`

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

CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is Home of chicago black hawks has a Record of 0–1?`:
```sql
                SELECT "date" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "home"='chicago black hawks' AND "record"='0–1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date that chicago black hawks has a Record of 2–2?`

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

CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" (
  "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 Date that chicago black hawks has a Record of 2–2?`:
```sql
                SELECT "date" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "visitor"='chicago black hawks' AND "record"='2–2';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Score of 0–2?`

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

CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" (
  "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 Score of 0–2?`:
```sql
                SELECT "record" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "score"='0–2';
```
## Task
Generate a SQL query to answer the following question:
`Who is the visitor on April 5?`

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

CREATE TABLE "montreal_canadiens_3_chicago_black_hawks" (
  "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 April 5?`:
```sql
                SELECT "visitor" FROM "montreal_canadiens_3_chicago_black_hawks" WHERE "date"='april 5';
```
## Task
Generate a SQL query to answer the following question:
`What is the Team, when the Year is 2011?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "tackles" text,
  "solo" real,
  "sacks" real,
  "int_yds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Team, when the Year is 2011?`:
```sql
                SELECT "team" FROM "career_statistics" WHERE "year"='2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for INT YDS, when the Team is New Orleans Saints, and when the value for Sacks is greater than 0, and when the vale for Solo is 71?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "tackles" text,
  "solo" real,
  "sacks" real,
  "int_yds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for INT YDS, when the Team is New Orleans Saints, and when the value for Sacks is greater than 0, and when the vale for Solo is 71?`:
```sql
                SELECT "int_yds" FROM "career_statistics" WHERE "team"='new orleans saints' AND "sacks">0 AND "solo"=71;
```
## Task
Generate a SQL query to answer the following question:
`What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "tackles" text,
  "solo" real,
  "sacks" real,
  "int_yds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132?`:
```sql
                SELECT MIN("sacks") FROM "career_statistics" WHERE "team"='new orleans saints' AND "tackles"='132';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "tackles" text,
  "solo" real,
  "sacks" real,
  "int_yds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?`:
```sql
                SELECT "tackles" FROM "career_statistics" WHERE "solo">67 AND "sacks"<2 AND "int_yds">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?`

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

CREATE TABLE "career_statistics" (
  "year" text,
  "team" text,
  "tackles" text,
  "solo" real,
  "sacks" real,
  "int_yds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?`:
```sql
                SELECT COUNT("solo") FROM "career_statistics" WHERE "sacks"=2 AND "team"='new york jets';
```
## Task
Generate a SQL query to answer the following question:
`What is the outcome of the match with a score of 6–4, 6–1?`

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

CREATE TABLE "itf_circuit_singles_finals_7_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the outcome of the match with a score of 6–4, 6–1?`:
```sql
                SELECT "outcome" FROM "itf_circuit_singles_finals_7_6" WHERE "score"='6–4, 6–1';
```
## Task
Generate a SQL query to answer the following question:
`What date was the match on a clay surface against Andrea Hlaváčková?`

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

CREATE TABLE "itf_circuit_singles_finals_7_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the match on a clay surface against Andrea Hlaváčková?`:
```sql
                SELECT "date" FROM "itf_circuit_singles_finals_7_6" WHERE "surface"='clay' AND "opponent"='andrea hlaváčková';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the opponent at the Herceg Novi tournament?`

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

CREATE TABLE "itf_circuit_singles_finals_7_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the opponent at the Herceg Novi tournament?`:
```sql
                SELECT "opponent" FROM "itf_circuit_singles_finals_7_6" WHERE "tournament"='herceg novi';
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the game when the record was 50-32?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss of the game when the record was 50-32?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='50-32';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent with a result of l 14–6?`

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

CREATE TABLE "season_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 with a result of l 14–6?`:
```sql
                SELECT "opponent" FROM "season_schedule" WHERE "result"='l 14–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of all attendance on November 17, 1961?`

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

CREATE TABLE "season_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 sum of all attendance on November 17, 1961?`:
```sql
                SELECT SUM("attendance") FROM "season_schedule" WHERE "date"='november 17, 1961';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest attendance in week 5?`

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

CREATE TABLE "season_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 smallest attendance in week 5?`:
```sql
                SELECT MIN("attendance") FROM "season_schedule" WHERE "week"=5;
```
## Task
Generate a SQL query to answer the following question:
`Name the 3rd for season less than 4 and lost of 61`

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

CREATE TABLE "all_time_liga_acb_table" (
  "team" text,
  "season" real,
  "played" real,
  "lost" real,
  "1_st" text,
  "2_nd" text,
  "3_rd" text,
  "4_th" text,
  "debut" text,
  "since_last_app" text,
  "best" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 3rd for season less than 4 and lost of 61`:
```sql
                SELECT "3_rd" FROM "all_time_liga_acb_table" WHERE "season"<4 AND "lost"=61;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?`

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

CREATE TABLE "rugby_belgium_internationals_1986" (
  "first_game" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?`:
```sql
                SELECT SUM("played") FROM "rugby_belgium_internationals_1986" WHERE "first_game"<2000 AND "lost"<21 AND "drawn"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?`

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

CREATE TABLE "rugby_belgium_internationals_1986" (
  "first_game" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?`:
```sql
                SELECT MIN("played") FROM "rugby_belgium_internationals_1986" WHERE "drawn">0 AND "percentage"='12.50%' AND "lost"<3;
```
## Task
Generate a SQL query to answer the following question:
`What's the total value of សាមសិប?`

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

CREATE TABLE "numbers_from_30_90" (
  "value" real,
  "khmer" real,
  "word_form" text,
  "ungegn" text,
  "ala_lc" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total value of សាមសិប?`:
```sql
                SELECT SUM("value") FROM "numbers_from_30_90" WHERE "word_form"='សាមសិប';
```
## Task
Generate a SQL query to answer the following question:
`What can you say is the word from of sam sep?`

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

CREATE TABLE "numbers_from_30_90" (
  "value" real,
  "khmer" real,
  "word_form" text,
  "ungegn" text,
  "ala_lc" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `What can you say is the word from of sam sep?`:
```sql
                SELECT "word_form" FROM "numbers_from_30_90" WHERE "other"='sam sep';
```
## Task
Generate a SQL query to answer the following question:
`What is smallest Khmer valued less than 90 have a kau sip ALA-LC?`

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

CREATE TABLE "numbers_from_30_90" (
  "value" real,
  "khmer" real,
  "word_form" text,
  "ungegn" text,
  "ala_lc" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is smallest Khmer valued less than 90 have a kau sip ALA-LC?`:
```sql
                SELECT MIN("khmer") FROM "numbers_from_30_90" WHERE "ala_lc"='kau sip' AND "value"<90;
```
## Task
Generate a SQL query to answer the following question:
`How much is the total value of kau sĕb UNGEGN ?`

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

CREATE TABLE "numbers_from_30_90" (
  "value" real,
  "khmer" real,
  "word_form" text,
  "ungegn" text,
  "ala_lc" text,
  "other" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much is the total value of kau sĕb UNGEGN ?`:
```sql
                SELECT SUM("value") FROM "numbers_from_30_90" WHERE "ungegn"='kau sĕb';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of losses for the club cádiz cf?`

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

CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of losses for the club cádiz cf?`:
```sql
                SELECT MIN("losses") FROM "final_table" WHERE "club"='cádiz cf';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the artist with a Single / Pack of guitar hero track pack 1?`

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

CREATE TABLE "downloadable_content" (
  "year" real,
  "song_title" text,
  "artist" text,
  "master_recording" text,
  "release_date" text,
  "single_pack" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the artist with a Single / Pack of guitar hero track pack 1?`:
```sql
                SELECT "artist" FROM "downloadable_content" WHERE "single_pack"='guitar hero track pack 1';
```
## Task
Generate a SQL query to answer the following question:
`What was the record at the game that had a loss of Lemanczyk (0–1)?`

### 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,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record at the game that had a loss of Lemanczyk (0–1)?`:
```sql
                SELECT "record" FROM "game_log" WHERE "loss"='lemanczyk (0–1)';
```
## Task
Generate a SQL query to answer the following question:
`Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?`

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

CREATE TABLE "summary" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?`:
```sql
                SELECT "time" FROM "summary" WHERE "game">1 AND "location"='comiskey park (i)' AND "date"='october 9';
```
## Task
Generate a SQL query to answer the following question:
`Date of october 8 happened at what time?`

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

CREATE TABLE "summary" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Date of october 8 happened at what time?`:
```sql
                SELECT "time" FROM "summary" WHERE "date"='october 8';
```
## Task
Generate a SQL query to answer the following question:
`Game 1's sum of attendance is?`

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

CREATE TABLE "summary" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Game 1's sum of attendance is?`:
```sql
                SELECT SUM("attendance") FROM "summary" WHERE "game"=1;
```
## Task
Generate a SQL query to answer the following question:
`What was the finish of the winner of the 2000 Masters?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the finish of the winner of the 2000 Masters?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "year_s_won"='2000';
```
## Task
Generate a SQL query to answer the following question:
`For the player from Fiji, what was his finish?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the player from Fiji, what was his finish?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "country"='fiji';
```
## Task
Generate a SQL query to answer the following question:
`For the player finishing at +8, what is his nationality?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the player finishing at +8, what is his nationality?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "to_par"='+8';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game that had a record of 52–103?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game that had a record of 52–103?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='52–103';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game when the record was 53–104?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game when the record was 53–104?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='53–104';
```
## Task
Generate a SQL query to answer the following question:
`What was the record at the game that had a loss of Huffman (6–18)?`

### 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,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record at the game that had a loss of Huffman (6–18)?`:
```sql
                SELECT "record" FROM "game_log" WHERE "loss"='huffman (6–18)';
```
## Task
Generate a SQL query to answer the following question:
`for the 8:00 of kid nation what is at 10:00?`

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

CREATE TABLE "wednesday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `for the 8:00 of kid nation what is at 10:00?`:
```sql
                SELECT "10_00" FROM "wednesday" WHERE "8_00"='kid nation';
```
## Task
Generate a SQL query to answer the following question:
`for the 10:00 of the simple life what is the 9:00?`

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

CREATE TABLE "wednesday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `for the 10:00 of the simple life what is the 9:00?`:
```sql
                SELECT "9_00" FROM "wednesday" WHERE "10_00"='the simple life';
```
## Task
Generate a SQL query to answer the following question:
`for the 10:00 of le journal du soir what is the 9:00?`

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

CREATE TABLE "wednesday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `for the 10:00 of le journal du soir what is the 9:00?`:
```sql
                SELECT "9_00" FROM "wednesday" WHERE "10_00"='le journal du soir';
```
## Task
Generate a SQL query to answer the following question:
`for the 7:30 of access hollywood what is the 10:00?`

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

CREATE TABLE "wednesday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `for the 7:30 of access hollywood what is the 10:00?`:
```sql
                SELECT "10_00" FROM "wednesday" WHERE "7_30"='access hollywood';
```
## Task
Generate a SQL query to answer the following question:
`for the 9:00 of bionic woman what is the 8:30?`

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

CREATE TABLE "wednesday" (
  "7_00" text,
  "7_30" text,
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "10_00" text,
  "10_30" text
);
### SQL
Given the database schema, here is the SQL query that answers `for the 9:00 of bionic woman what is the 8:30?`:
```sql
                SELECT "8_30" FROM "wednesday" WHERE "9_00"='bionic woman';
```
## Task
Generate a SQL query to answer the following question:
`Which format is released on August 29, 1998?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which format is released on August 29, 1998?`:
```sql
                SELECT "format" FROM "release_history" WHERE "date"='august 29, 1998';
```
## Task
Generate a SQL query to answer the following question:
`What is the catalog number for the January 25, 1987 release?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the catalog number for the January 25, 1987 release?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "date"='january 25, 1987';
```
## Task
Generate a SQL query to answer the following question:
`Which format is released on May 27, 2009?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which format is released on May 27, 2009?`:
```sql
                SELECT "format" FROM "release_history" WHERE "date"='may 27, 2009';
```
## Task
Generate a SQL query to answer the following question:
`What is the catalog number of the May 27, 2009 release?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the catalog number of the May 27, 2009 release?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "date"='may 27, 2009';
```
## Task
Generate a SQL query to answer the following question:
`What is the release date of a CD with the catalog number ALCA-9206?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date of a CD with the catalog number ALCA-9206?`:
```sql
                SELECT "date" FROM "release_history" WHERE "format"='cd' AND "catalog"='alca-9206';
```
## Task
Generate a SQL query to answer the following question:
`What was the average of points with ranks smaller than 7 but with total point games of 113?`

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

CREATE TABLE "points" (
  "rank" real,
  "player" text,
  "years" text,
  "games" real,
  "ppg_avg" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average of points with ranks smaller than 7 but with total point games of 113?`:
```sql
                SELECT AVG("total_points") FROM "points" WHERE "games"=113 AND "rank"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the roll with an area of Waikaka?`

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

CREATE TABLE "gore_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the roll with an area of Waikaka?`:
```sql
                SELECT SUM("roll") FROM "gore_district" WHERE "area"='waikaka';
```
## Task
Generate a SQL query to answer the following question:
`What is the roll number for East Gore School?`

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

CREATE TABLE "gore_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the roll number for East Gore School?`:
```sql
                SELECT COUNT("roll") FROM "gore_district" WHERE "name"='east gore school';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest decile with 1-6 years and area of Maitland?`

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

CREATE TABLE "gore_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest decile with 1-6 years and area of Maitland?`:
```sql
                SELECT MIN("decile") FROM "gore_district" WHERE "years"='1-6' AND "area"='maitland';
```
## Task
Generate a SQL query to answer the following question:
`Which gender has 7-15 years?`

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

CREATE TABLE "gore_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which gender has 7-15 years?`:
```sql
                SELECT "gender" FROM "gore_district" WHERE "years"='7-15';
```
## Task
Generate a SQL query to answer the following question:
`What is the gender for Otama?`

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

CREATE TABLE "gore_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gender for Otama?`:
```sql
                SELECT "gender" FROM "gore_district" WHERE "area"='otama';
```
## Task
Generate a SQL query to answer the following question:
`What is the authority for roll of 96?`

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

CREATE TABLE "gore_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the authority for roll of 96?`:
```sql
                SELECT "authority" FROM "gore_district" WHERE "roll"=96;
```
## Task
Generate a SQL query to answer the following question:
`When is a Roll of 9?`

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

CREATE TABLE "southland_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `When is a Roll of 9?`:
```sql
                SELECT "years" FROM "southland_district" WHERE "roll"=9;
```
## Task
Generate a SQL query to answer the following question:
`What is the Area with 26 in Roll`

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

CREATE TABLE "southland_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Area with 26 in Roll`:
```sql
                SELECT "area" FROM "southland_district" WHERE "roll"=26;
```
## Task
Generate a SQL query to answer the following question:
`For nations with more than 6 silvers and more than 10 golds, what is the lowest total?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `For nations with more than 6 silvers and more than 10 golds, what is the lowest total?`:
```sql
                SELECT MIN("total") FROM "medal_table" WHERE "silver">6 AND "gold">10;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank for nations with more than 3 bronze medals and more than 36 total medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank for nations with more than 3 bronze medals and more than 36 total medals?`:
```sql
                SELECT MIN("rank") FROM "medal_table" WHERE "bronze">3 AND "total">36;
```
## Task
Generate a SQL query to answer the following question:
`Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals.`

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

CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals.`:
```sql
                SELECT MAX("bronze") FROM "medals_table" WHERE "silver">1 AND "gold"=1 AND "total"<4;
```
## Task
Generate a SQL query to answer the following question:
`What nation has the most bronze medals with over 11 total medals?`

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

CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What nation has the most bronze medals with over 11 total medals?`:
```sql
                SELECT MAX("bronze") FROM "medals_table" WHERE "total">11;
```
## Task
Generate a SQL query to answer the following question:
`How many silver medals does Cuba have?`

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

CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many silver medals does Cuba have?`:
```sql
                SELECT SUM("silver") FROM "medals_table" WHERE "nation"='cuba';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game that the Indianapolis Colts lost 24-14?`

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

CREATE TABLE "2000s_patriots_8_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game that the Indianapolis Colts lost 24-14?`:
```sql
                SELECT "location" FROM "2000s_patriots_8_6" WHERE "loser"='indianapolis colts' AND "result"='24-14';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the game that the Indianapolis Colts lost in 2004?`

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

CREATE TABLE "2000s_patriots_8_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the game that the Indianapolis Colts lost in 2004?`:
```sql
                SELECT "date" FROM "2000s_patriots_8_6" WHERE "loser"='indianapolis colts' AND "year"=2004;
```
## Task
Generate a SQL query to answer the following question:
`Which team won against the New England Patriots 40-21?`

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

CREATE TABLE "2000s_patriots_8_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team won against the New England Patriots 40-21?`:
```sql
                SELECT "winner" FROM "2000s_patriots_8_6" WHERE "loser"='new england patriots' AND "result"='40-21';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game played at Gillette Stadium with a score of 40-21?`

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

CREATE TABLE "2000s_patriots_8_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game played at Gillette Stadium with a score of 40-21?`:
```sql
                SELECT "date" FROM "2000s_patriots_8_6" WHERE "location"='gillette stadium' AND "result"='40-21';
```
## Task
Generate a SQL query to answer the following question:
`What year was the game that ended with a score of 24-14?`

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

CREATE TABLE "2000s_patriots_8_6" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the game that ended with a score of 24-14?`:
```sql
                SELECT AVG("year") FROM "2000s_patriots_8_6" WHERE "result"='24-14';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the 3-0 Win result?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the 3-0 Win result?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "result"='3-0 win';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game from 10 October 2009?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game from 10 October 2009?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "date"='10 october 2009';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the competition that has a score of 2-0?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the competition that has a score of 2-0?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "score"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`Which Men's singles has a Mixed doubles of kai abraham petra michalowsky?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "men_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Men's singles has a Mixed doubles of kai abraham petra michalowsky?`:
```sql
                SELECT "men_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='kai abraham petra michalowsky';
```
## Task
Generate a SQL query to answer the following question:
`Which women's doubles has a Year of 1992?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "men_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which women's doubles has a Year of 1992?`:
```sql
                SELECT "women_s_doubles" FROM "previous_winners" WHERE "year"='1992';
```
## Task
Generate a SQL query to answer the following question:
`Which year has a Men's doubles of marcus ellis peter mills?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "men_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year has a Men's doubles of marcus ellis peter mills?`:
```sql
                SELECT "year" FROM "previous_winners" WHERE "men_s_doubles"='marcus ellis peter mills';
```
## Task
Generate a SQL query to answer the following question:
`Name the visitor for home of dallas`

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

CREATE TABLE "april" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the visitor for home of dallas`:
```sql
                SELECT "visitor" FROM "april" WHERE "home"='dallas';
```
## Task
Generate a SQL query to answer the following question:
`Name the period for south korea with peak position of #1`

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

CREATE TABLE "chart_performance" (
  "country" text,
  "chart" text,
  "period" text,
  "peak_position" text,
  "sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period for south korea with peak position of #1`:
```sql
                SELECT "period" FROM "chart_performance" WHERE "country"='south korea' AND "peak_position"='#1';
```
## Task
Generate a SQL query to answer the following question:
`Name the period for south korea with peak position of #24`

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

CREATE TABLE "chart_performance" (
  "country" text,
  "chart" text,
  "period" text,
  "peak_position" text,
  "sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period for south korea with peak position of #24`:
```sql
                SELECT "period" FROM "chart_performance" WHERE "country"='south korea' AND "peak_position"='#24';
```
## Task
Generate a SQL query to answer the following question:
`Name the period for Chart of g-music j-pop/k-pop chart`

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

CREATE TABLE "chart_performance" (
  "country" text,
  "chart" text,
  "period" text,
  "peak_position" text,
  "sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period for Chart of g-music j-pop/k-pop chart`:
```sql
                SELECT "period" FROM "chart_performance" WHERE "chart"='g-music j-pop/k-pop chart';
```
## Task
Generate a SQL query to answer the following question:
`Name the sales with peak position of #24`

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

CREATE TABLE "chart_performance" (
  "country" text,
  "chart" text,
  "period" text,
  "peak_position" text,
  "sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sales with peak position of #24`:
```sql
                SELECT "sales" FROM "chart_performance" WHERE "peak_position"='#24';
```
## Task
Generate a SQL query to answer the following question:
`Which aggregate has ajax as the club?`

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

CREATE TABLE "european_record" (
  "round" text,
  "club" text,
  "home" text,
  "away" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which aggregate has ajax as the club?`:
```sql
                SELECT "aggregate" FROM "european_record" WHERE "club"='ajax';
```
## Task
Generate a SQL query to answer the following question:
`How many attended on march 1?`

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

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many attended on march 1?`:
```sql
                SELECT AVG("attendance") FROM "march" WHERE "date"='march 1';
```