cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`what are all played with a 3 dart avg is 92.06?`

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

CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "legs_won" real,
  "legs_lost" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `what are all played with a 3 dart avg is 92.06?`:
```sql
                SELECT "played" FROM "statistics" WHERE "3_dart_average"='92.06';
```
## Task
Generate a SQL query to answer the following question:
`Namw the minimum production code for 16.04 million viewers`

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

CREATE TABLE "table1_14845640_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Namw the minimum production code for 16.04 million viewers`:
```sql
                SELECT MIN("production_code") FROM "table1_14845640_1" WHERE "u_s_viewers_millions"='16.04';
```
## Task
Generate a SQL query to answer the following question:
`Name the written by for 16.32 million viewers`

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

CREATE TABLE "table1_14845640_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the written by for 16.32 million viewers`:
```sql
                SELECT "written_by" FROM "table1_14845640_1" WHERE "u_s_viewers_millions"='16.32';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of cuts made when her best finish is t4?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of cuts made when her best finish is t4?`:
```sql
                SELECT MAX("cuts_made") FROM "lpga_tour_career_summary" WHERE "best_finish"='T4';
```
## Task
Generate a SQL query to answer the following question:
`How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average?`:
```sql
                SELECT COUNT("earnings") FROM "lpga_tour_career_summary" WHERE "best_finish"='T2' AND "scoring_average"='71.25';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of cuts made when her best finish is t4?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of cuts made when her best finish is t4?`:
```sql
                SELECT MIN("cuts_made") FROM "lpga_tour_career_summary" WHERE "best_finish"='T4';
```
## Task
Generate a SQL query to answer the following question:
`How many years has she ranked 56 on the money list?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years has she ranked 56 on the money list?`:
```sql
                SELECT COUNT("year") FROM "lpga_tour_career_summary" WHERE "money_list_rank"='56';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of wins?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "3rd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of wins?`:
```sql
                SELECT MIN("wins") FROM "lpga_tour_career_summary";
```
## Task
Generate a SQL query to answer the following question:
`When steve gomer is the director who is the writer?`

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

CREATE TABLE "table1_14847258_1" (
  "series_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When steve gomer is the director who is the writer?`:
```sql
                SELECT "written_by" FROM "table1_14847258_1" WHERE "directed_by"='Steve Gomer';
```
## Task
Generate a SQL query to answer the following question:
`What is the air date for "there goes the bride"?`

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

CREATE TABLE "table1_14847258_1" (
  "series_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the air date for "there goes the bride"?`:
```sql
                SELECT "original_air_date" FROM "table1_14847258_1" WHERE "title"='\"There Goes the Bride\"';
```
## Task
Generate a SQL query to answer the following question:
`15.03 million u.s viewers seen what episode?`

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

CREATE TABLE "table1_14847258_1" (
  "series_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `15.03 million u.s viewers seen what episode?`:
```sql
                SELECT "title" FROM "table1_14847258_1" WHERE "u_s_viewers_millions"='15.03';
```
## Task
Generate a SQL query to answer the following question:
`Name the most 3 credits`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" real,
  "2_credits" real,
  "3_credits" real,
  "4_credits" real,
  "5_credits" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most 3 credits`:
```sql
                SELECT MIN("3_credits") FROM "deuces_wild";
```
## Task
Generate a SQL query to answer the following question:
`Name the least 2 credits for straight hand`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" real,
  "2_credits" real,
  "3_credits" real,
  "4_credits" real,
  "5_credits" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least 2 credits for straight hand`:
```sql
                SELECT MIN("2_credits") FROM "deuces_wild" WHERE "hand"='Straight';
```
## Task
Generate a SQL query to answer the following question:
`Name the least 2 credits for flush`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" real,
  "2_credits" real,
  "3_credits" real,
  "4_credits" real,
  "5_credits" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least 2 credits for flush`:
```sql
                SELECT MIN("2_credits") FROM "deuces_wild" WHERE "hand"='Flush';
```
## Task
Generate a SQL query to answer the following question:
`Name the hand for 1 credit 200`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" real,
  "2_credits" real,
  "3_credits" real,
  "4_credits" real,
  "5_credits" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the hand for 1 credit 200`:
```sql
                SELECT "hand" FROM "deuces_wild" WHERE "1_credit"=200;
```
## Task
Generate a SQL query to answer the following question:
`Name the most 1 credit for three of a kind`

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

CREATE TABLE "deuces_wild" (
  "hand" text,
  "1_credit" real,
  "2_credits" real,
  "3_credits" real,
  "4_credits" real,
  "5_credits" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most 1 credit for three of a kind`:
```sql
                SELECT MAX("1_credit") FROM "deuces_wild" WHERE "hand"='Three of a Kind';
```
## Task
Generate a SQL query to answer the following question:
`Name the points classification for mark renshaw and team csc`

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

CREATE TABLE "classification_leadership" (
  "stage_winner" text,
  "general_classification" text,
  "mountains_classification" text,
  "points_classification" text,
  "young_rider_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the points classification for mark renshaw and team csc`:
```sql
                SELECT "points_classification" FROM "classification_leadership" WHERE "general_classification"='Mark Renshaw' AND "team_classification"='Team CSC';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were released on DVD in the US on October 13, 2009?`

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

CREATE TABLE "table1_14855908_3" (
  "dvd_name" text,
  "episodes" real,
  "region_1_can" text,
  "region_1_us" text,
  "region_2_fr" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were released on DVD in the US on October 13, 2009?`:
```sql
                SELECT "episodes" FROM "table1_14855908_3" WHERE "region_1_us"='October 13, 2009';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were put out in Region 4 on March 4, 2010?`

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

CREATE TABLE "table1_14855908_3" (
  "dvd_name" text,
  "episodes" real,
  "region_1_can" text,
  "region_1_us" text,
  "region_2_fr" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were put out in Region 4 on March 4, 2010?`:
```sql
                SELECT MAX("episodes") FROM "table1_14855908_3" WHERE "region_4"='March 4, 2010';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes were released in the season 1 DVD?`

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

CREATE TABLE "table1_14855908_3" (
  "dvd_name" text,
  "episodes" real,
  "region_1_can" text,
  "region_1_us" text,
  "region_2_fr" text,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes were released in the season 1 DVD?`:
```sql
                SELECT MIN("episodes") FROM "table1_14855908_3" WHERE "dvd_name"='Season 1';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date for "runaway"?`

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

CREATE TABLE "table1_14857583_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date for "runaway"?`:
```sql
                SELECT "original_air_date" FROM "table1_14857583_1" WHERE "title"='\"Runaway\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the altitude of the explosion Hardtack Teak?`

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

CREATE TABLE "list_of_artificial_radiation_belts" (
  "explosion" text,
  "location" text,
  "date" text,
  "yield_approximate" text,
  "altitude_km" text,
  "nation_of_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the altitude of the explosion Hardtack Teak?`:
```sql
                SELECT "altitude_km" FROM "list_of_artificial_radiation_belts" WHERE "explosion"='Hardtack Teak';
```
## Task
Generate a SQL query to answer the following question:
`What was the altitude of the event on 1962-07-09?`

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

CREATE TABLE "list_of_artificial_radiation_belts" (
  "explosion" text,
  "location" text,
  "date" text,
  "yield_approximate" text,
  "altitude_km" text,
  "nation_of_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the altitude of the event on 1962-07-09?`:
```sql
                SELECT "altitude_km" FROM "list_of_artificial_radiation_belts" WHERE "date"='1962-07-09';
```
## Task
Generate a SQL query to answer the following question:
`What was the altitude of the yield of 1.4 megatons?`

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

CREATE TABLE "list_of_artificial_radiation_belts" (
  "explosion" text,
  "location" text,
  "date" text,
  "yield_approximate" text,
  "altitude_km" text,
  "nation_of_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the altitude of the yield of 1.4 megatons?`:
```sql
                SELECT "altitude_km" FROM "list_of_artificial_radiation_belts" WHERE "yield_approximate"='1.4 megatons';
```
## Task
Generate a SQL query to answer the following question:
`What was the yield of the K-4 explosion?`

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

CREATE TABLE "list_of_artificial_radiation_belts" (
  "explosion" text,
  "location" text,
  "date" text,
  "yield_approximate" text,
  "altitude_km" text,
  "nation_of_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the yield of the K-4 explosion?`:
```sql
                SELECT "yield_approximate" FROM "list_of_artificial_radiation_belts" WHERE "explosion"='K-4';
```
## Task
Generate a SQL query to answer the following question:
`What explosion had an altitude of 539 km?`

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

CREATE TABLE "list_of_artificial_radiation_belts" (
  "explosion" text,
  "location" text,
  "date" text,
  "yield_approximate" text,
  "altitude_km" text,
  "nation_of_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What explosion had an altitude of 539 km?`:
```sql
                SELECT "explosion" FROM "list_of_artificial_radiation_belts" WHERE "altitude_km"='539';
```
## Task
Generate a SQL query to answer the following question:
`List all opponents in the September 23, 1984 game?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `List all opponents in the September 23, 1984 game?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='September 23, 1984';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the game played on December 2, 1984?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the game played on December 2, 1984?`:
```sql
                SELECT "record" FROM "schedule" WHERE "date"='December 2, 1984';
```
## Task
Generate a SQL query to answer the following question:
`How many scores were there in week 11?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many scores were there in week 11?`:
```sql
                SELECT COUNT("record") FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest win for the team Nacional?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest win for the team Nacional?`:
```sql
                SELECT MAX("wins") FROM "torneo_apertura" WHERE "team"='Nacional';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest conceded value for the team 12 De Octubre?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest conceded value for the team 12 De Octubre?`:
```sql
                SELECT MIN("conceded") FROM "torneo_apertura" WHERE "team"='12 de Octubre';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest draws value with 21 points?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest draws value with 21 points?`:
```sql
                SELECT MIN("draws") FROM "torneo_apertura" WHERE "points"=21;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest loss for the Tacuary team?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest loss for the Tacuary team?`:
```sql
                SELECT MAX("losses") FROM "torneo_apertura" WHERE "team"='Tacuary';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the venue where the opponent scored 51?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "packers_points" real,
  "opponents" real,
  "first_downs" real,
  "record" text,
  "streak" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the venue where the opponent scored 51?`:
```sql
                SELECT "venue" FROM "schedule" WHERE "opponents"=51;
```
## Task
Generate a SQL query to answer the following question:
`How many first downs were there when the attendance was 13196?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "packers_points" real,
  "opponents" real,
  "first_downs" real,
  "record" text,
  "streak" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many first downs were there when the attendance was 13196?`:
```sql
                SELECT MIN("first_downs") FROM "schedule" WHERE "attendance"=13196;
```
## Task
Generate a SQL query to answer the following question:
`What was the site of the game against Buffalo Bills ?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the site of the game against Buffalo Bills ?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "opponent"='Buffalo Bills';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance in week 8?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance in week 8?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "week"=8;
```
## Task
Generate a SQL query to answer the following question:
`What was the date when the attendance was 63995`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date when the attendance was 63995`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"=63995;
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in week 4?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent in week 4?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=4;
```
## Task
Generate a SQL query to answer the following question:
`How many different skippers of the yacht City Index Leopard?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different skippers of the yacht City Index Leopard?`:
```sql
                SELECT COUNT("skipper") FROM "line_honours_results_top_10" WHERE "yacht"='City Index Leopard';
```
## Task
Generate a SQL query to answer the following question:
`What are all elapsed time amounts for yacht type Reichel Pugh 55?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all elapsed time amounts for yacht type Reichel Pugh 55?`:
```sql
                SELECT "elapsed_time_d_hh_mm_ss" FROM "line_honours_results_top_10" WHERE "yacht_type"='Reichel Pugh 55';
```
## Task
Generate a SQL query to answer the following question:
`What are all elapsed time for yacht type STP 65?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all elapsed time for yacht type STP 65?`:
```sql
                SELECT "elapsed_time_d_hh_mm_ss" FROM "line_honours_results_top_10" WHERE "yacht_type"='STP 65';
```
## Task
Generate a SQL query to answer the following question:
`If sail number is AUS 03, what are all associated race numbers?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `If sail number is AUS 03, what are all associated race numbers?`:
```sql
                SELECT "race_number" FROM "line_honours_results_top_10" WHERE "sail_number"='AUS 03';
```
## Task
Generate a SQL query to answer the following question:
`What are all values of LOA(metres) for an elapsed time of 2:17:01:05?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all values of LOA(metres) for an elapsed time of 2:17:01:05?`:
```sql
                SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='2:17:01:05';
```
## Task
Generate a SQL query to answer the following question:
`When the elapsed time is 2:14:12:49, what are all yachts associated with this value?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the elapsed time is 2:14:12:49, what are all yachts associated with this value?`:
```sql
                SELECT "yacht" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='2:14:12:49';
```
## Task
Generate a SQL query to answer the following question:
`In what location was the fastest time 1:37.071s?`

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

CREATE TABLE "women_kayak" (
  "distance" text,
  "event" text,
  "record" text,
  "athletes" text,
  "nationality" text,
  "year" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what location was the fastest time 1:37.071s?`:
```sql
                SELECT "location" FROM "women_kayak" WHERE "record"='1:37.071s';
```
## Task
Generate a SQL query to answer the following question:
`What are all the places where Birgit Fischer competed?`

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

CREATE TABLE "women_kayak" (
  "distance" text,
  "event" text,
  "record" text,
  "athletes" text,
  "nationality" text,
  "year" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the places where Birgit Fischer competed?`:
```sql
                SELECT "location" FROM "women_kayak" WHERE "athletes"='Birgit Fischer';
```
## Task
Generate a SQL query to answer the following question:
`What are the records when Elzbieta Urbanczik competed?`

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

CREATE TABLE "women_kayak" (
  "distance" text,
  "event" text,
  "record" text,
  "athletes" text,
  "nationality" text,
  "year" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the records when Elzbieta Urbanczik competed?`:
```sql
                SELECT "record" FROM "women_kayak" WHERE "athletes"='Elzbieta Urbanczik';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of wins for when points is 17`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of wins for when points is 17`:
```sql
                SELECT COUNT("wins") FROM "torneo_apertura" WHERE "points"=17;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of draws for when conceded is 25`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of draws for when conceded is 25`:
```sql
                SELECT COUNT("draws") FROM "torneo_apertura" WHERE "conceded"=25;
```
## Task
Generate a SQL query to answer the following question:
`Name the most conceded when draws is 5 and position is 1`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most conceded when draws is 5 and position is 1`:
```sql
                SELECT MAX("conceded") FROM "torneo_apertura" WHERE "draws"=5 AND "position"=1;
```
## Task
Generate a SQL query to answer the following question:
`What date was the episode with production code 176265 aired?`

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

CREATE TABLE "table1_14889988_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the episode with production code 176265 aired?`:
```sql
                SELECT "original_air_date" FROM "table1_14889988_1" WHERE "production_code"=176265;
```
## Task
Generate a SQL query to answer the following question:
`On what dates were episodes written by Robert Carlock aired?`

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

CREATE TABLE "table1_14889988_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what dates were episodes written by Robert Carlock aired?`:
```sql
                SELECT "original_air_date" FROM "table1_14889988_1" WHERE "written_by"='Robert Carlock';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for episode 229?`

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

CREATE TABLE "table1_14889988_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for episode 229?`:
```sql
                SELECT MAX("production_code") FROM "table1_14889988_1" WHERE "no_in_series"=229;
```
## Task
Generate a SQL query to answer the following question:
`What is the title for the episode written by Robert Carlock & Dana Klein Borkow?`

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

CREATE TABLE "table1_14889988_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title for the episode written by Robert Carlock & Dana Klein Borkow?`:
```sql
                SELECT "title" FROM "table1_14889988_1" WHERE "written_by"='Robert Carlock & Dana Klein Borkow';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode with the production code 176252?`

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

CREATE TABLE "table1_14889988_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode with the production code 176252?`:
```sql
                SELECT "directed_by" FROM "table1_14889988_1" WHERE "production_code"=176252;
```
## Task
Generate a SQL query to answer the following question:
`What date was the episode entitled "The One Where Ross is Fine" aired?`

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

CREATE TABLE "table1_14889988_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the episode entitled "The One Where Ross is Fine" aired?`:
```sql
                SELECT "original_air_date" FROM "table1_14889988_1" WHERE "title"='\"The One Where Ross is Fine\"';
```
## Task
Generate a SQL query to answer the following question:
`How many points when 15 is scored is considered the minimum?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points when 15 is scored is considered the minimum?`:
```sql
                SELECT MIN("points") FROM "torneo_clausura" WHERE "scored"=15;
```
## Task
Generate a SQL query to answer the following question:
`When a team wins 4, how much is the Maximum amount of points?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `When a team wins 4, how much is the Maximum amount of points?`:
```sql
                SELECT MAX("points") FROM "torneo_clausura" WHERE "wins"=4;
```
## Task
Generate a SQL query to answer the following question:
`How may draws did libertad have?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How may draws did libertad have?`:
```sql
                SELECT COUNT("draws") FROM "torneo_clausura" WHERE "team"='Libertad';
```
## Task
Generate a SQL query to answer the following question:
`Name the men doubles for els baert`

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

CREATE TABLE "national_junior_champions" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "men_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the men doubles for els baert`:
```sql
                SELECT "men_doubles" FROM "national_junior_champions" WHERE "womens_singles"='Els Baert';
```
## Task
Generate a SQL query to answer the following question:
`Name the men doubles for caroline persyn smids`

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

CREATE TABLE "national_junior_champions" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "men_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the men doubles for caroline persyn smids`:
```sql
                SELECT "men_doubles" FROM "national_junior_champions" WHERE "womens_doubles"='Caroline Persyn Smids';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of men doubles for 2007`

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

CREATE TABLE "national_junior_champions" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "men_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of men doubles for 2007`:
```sql
                SELECT COUNT("men_doubles") FROM "national_junior_champions" WHERE "year"=2007;
```
## Task
Generate a SQL query to answer the following question:
`Name the womens singles for  raina tzvetkova petya nedelcheva`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the womens singles for  raina tzvetkova petya nedelcheva`:
```sql
                SELECT "womens_singles" FROM "past_winners" WHERE "womens_doubles"='Raina Tzvetkova Petya Nedelcheva';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of years for womens doubles being  diana koleva emilia dimitrova and  jeliazko valkov`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of years for womens doubles being  diana koleva emilia dimitrova and  jeliazko valkov`:
```sql
                SELECT COUNT("year") FROM "past_winners" WHERE "womens_doubles"='Diana Koleva Emilia Dimitrova' AND "mens_singles"='Jeliazko Valkov';
```
## Task
Generate a SQL query to answer the following question:
`Name the mens singles for  jeliazko valkov dobrinka peneva`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mens singles for  jeliazko valkov dobrinka peneva`:
```sql
                SELECT "mens_singles" FROM "past_winners" WHERE "mixed_doubles"='Jeliazko Valkov Dobrinka Peneva';
```
## Task
Generate a SQL query to answer the following question:
`Name the mens singles for 1989`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mens singles for 1989`:
```sql
                SELECT "mens_singles" FROM "past_winners" WHERE "year"=1989;
```
## Task
Generate a SQL query to answer the following question:
`Name the year for victoria hristova neli nedialkova`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for victoria hristova neli nedialkova`:
```sql
                SELECT "year" FROM "past_winners" WHERE "womens_doubles"='Victoria Hristova Neli Nedialkova';
```
## Task
Generate a SQL query to answer the following question:
`Name the year for womens doubles being raina tzvetkova emilia dimitrova`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for womens doubles being raina tzvetkova emilia dimitrova`:
```sql
                SELECT "year" FROM "past_winners" WHERE "womens_doubles"='Raina Tzvetkova Emilia Dimitrova';
```
## Task
Generate a SQL query to answer the following question:
`WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?`:
```sql
                SELECT "mens_doubles" FROM "past_winners" WHERE "womens_doubles"='Piret Hamer Helen Reino';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?`:
```sql
                SELECT "mens_doubles" FROM "past_winners" WHERE "womens_doubles"='Helen Reino Kai-Riin Saluste';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?`:
```sql
                SELECT "mixed_doubles" FROM "past_winners" WHERE "womens_singles"='Kairi Viilup';
```
## Task
Generate a SQL query to answer the following question:
`HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?`:
```sql
                SELECT COUNT("year") FROM "past_winners" WHERE "mens_doubles"='Heiki Sorge Meelis Maiste';
```
## Task
Generate a SQL query to answer the following question:
`Name the womens doubles when mens doubles is charalambos kazilas stepan partemian`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the womens doubles when mens doubles is charalambos kazilas stepan partemian`:
```sql
                SELECT "womens_doubles" FROM "past_winners" WHERE "mens_doubles"='Charalambos Kazilas Stepan Partemian';
```
## Task
Generate a SQL query to answer the following question:
`Name the womens doubles when mixed doubles is potten ruth scott`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the womens doubles when mixed doubles is potten ruth scott`:
```sql
                SELECT "womens_doubles" FROM "past_winners" WHERE "mixed_doubles"='Potten Ruth Scott';
```