cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the drainage basin when the reservoir suface is 6.14?`

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

CREATE TABLE "see_also" (
  "reservoir" text,
  "basin" text,
  "location" text,
  "type" text,
  "height_m" text,
  "length_along_the_top_m" text,
  "drainage_basin_km" text,
  "reservoir_surface_ha" text,
  "volume_hm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drainage basin when the reservoir suface is 6.14?`:
```sql
                SELECT "drainage_basin_km" FROM "see_also" WHERE "reservoir_surface_ha"='6.14';
```
## Task
Generate a SQL query to answer the following question:
`What is the volume when the resrvoir is Tanes?`

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

CREATE TABLE "see_also" (
  "reservoir" text,
  "basin" text,
  "location" text,
  "type" text,
  "height_m" text,
  "length_along_the_top_m" text,
  "drainage_basin_km" text,
  "reservoir_surface_ha" text,
  "volume_hm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the volume when the resrvoir is Tanes?`:
```sql
                SELECT "volume_hm" FROM "see_also" WHERE "reservoir"='Tanes';
```
## Task
Generate a SQL query to answer the following question:
`are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition`

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

CREATE TABLE "table1_2869843_1" (
  "model" text,
  "in" text,
  "mm" text,
  "caliber" text,
  "standard" real,
  "w_sleeve" text,
  "black" text,
  "olive_drab" text,
  "bi_tone" text,
  "dark_earth" text
);
### SQL
Given the database schema, here is the SQL query that answers `are there bi-tone is there's no olive drab and the caliber is 9×19mm parabellum and model is xdm 5.25 competition`:
```sql
                SELECT "bi_tone" FROM "table1_2869843_1" WHERE "olive_drab"='No' AND "caliber"='9×19mm Parabellum' AND "model"='XDM 5.25 Competition';
```
## Task
Generate a SQL query to answer the following question:
`What is the family of the constellation that has lyncis /ˈlɪnsɨs/ as genitive?`

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

CREATE TABLE "modern_constellations" (
  "constellation" text,
  "iau_abbreviation" text,
  "other_abbreviation" text,
  "genitive" text,
  "family" text,
  "origin" text,
  "meaning" text,
  "brightest_star" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the family of the constellation that has lyncis /ˈlɪnsɨs/ as genitive?`:
```sql
                SELECT "family" FROM "modern_constellations" WHERE "genitive"='Lyncis /ˈlɪnsɨs/';
```
## Task
Generate a SQL query to answer the following question:
`What is the origin of the constellation that can be abbreviated to tele?`

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

CREATE TABLE "modern_constellations" (
  "constellation" text,
  "iau_abbreviation" text,
  "other_abbreviation" text,
  "genitive" text,
  "family" text,
  "origin" text,
  "meaning" text,
  "brightest_star" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the origin of the constellation that can be abbreviated to tele?`:
```sql
                SELECT "origin" FROM "modern_constellations" WHERE "other_abbreviation"='Tele';
```
## Task
Generate a SQL query to answer the following question:
`What is the other abbreviation of the constellation that has β trianguli as its brightest star?`

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

CREATE TABLE "modern_constellations" (
  "constellation" text,
  "iau_abbreviation" text,
  "other_abbreviation" text,
  "genitive" text,
  "family" text,
  "origin" text,
  "meaning" text,
  "brightest_star" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the other abbreviation of the constellation that has β trianguli as its brightest star?`:
```sql
                SELECT "other_abbreviation" FROM "modern_constellations" WHERE "brightest_star"='β Trianguli';
```
## Task
Generate a SQL query to answer the following question:
`What is the brightest star of the constellation that means archer?`

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

CREATE TABLE "modern_constellations" (
  "constellation" text,
  "iau_abbreviation" text,
  "other_abbreviation" text,
  "genitive" text,
  "family" text,
  "origin" text,
  "meaning" text,
  "brightest_star" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the brightest star of the constellation that means archer?`:
```sql
                SELECT "brightest_star" FROM "modern_constellations" WHERE "meaning"='archer';
```
## Task
Generate a SQL query to answer the following question:
`What is the other abbreviation of the constellation that has hydrae /ˈhaɪdriː/ as genitive?`

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

CREATE TABLE "modern_constellations" (
  "constellation" text,
  "iau_abbreviation" text,
  "other_abbreviation" text,
  "genitive" text,
  "family" text,
  "origin" text,
  "meaning" text,
  "brightest_star" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the other abbreviation of the constellation that has hydrae /ˈhaɪdriː/ as genitive?`:
```sql
                SELECT "other_abbreviation" FROM "modern_constellations" WHERE "genitive"='Hydrae /ˈhaɪdriː/';
```
## Task
Generate a SQL query to answer the following question:
`What is the meaning of the constellation that has puppis /ˈpʌpɨs/ as genitive?`

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

CREATE TABLE "modern_constellations" (
  "constellation" text,
  "iau_abbreviation" text,
  "other_abbreviation" text,
  "genitive" text,
  "family" text,
  "origin" text,
  "meaning" text,
  "brightest_star" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the meaning of the constellation that has puppis /ˈpʌpɨs/ as genitive?`:
```sql
                SELECT "meaning" FROM "modern_constellations" WHERE "genitive"='Puppis /ˈpʌpɨs/';
```
## Task
Generate a SQL query to answer the following question:
`How many track numbers were called song 2?`

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

CREATE TABLE "out_of_the_blue_discography" (
  "track_no" real,
  "track" text,
  "original_artist" text,
  "soloist_s" text,
  "vocal_percussionist" text,
  "arranger_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many track numbers were called song 2?`:
```sql
                SELECT COUNT("track_no") FROM "out_of_the_blue_discography" WHERE "track"='Song 2';
```
## Task
Generate a SQL query to answer the following question:
`Who was the vocal percussionist when stevie wonder was the original artist?`

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

CREATE TABLE "out_of_the_blue_discography" (
  "track_no" real,
  "track" text,
  "original_artist" text,
  "soloist_s" text,
  "vocal_percussionist" text,
  "arranger_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the vocal percussionist when stevie wonder was the original artist?`:
```sql
                SELECT "vocal_percussionist" FROM "out_of_the_blue_discography" WHERE "original_artist"='Stevie Wonder';
```
## Task
Generate a SQL query to answer the following question:
`What track name had Terry Tamm as the soloist?`

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

CREATE TABLE "out_of_the_blue_discography" (
  "track_no" real,
  "track" text,
  "original_artist" text,
  "soloist_s" text,
  "vocal_percussionist" text,
  "arranger_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What track name had Terry Tamm as the soloist?`:
```sql
                SELECT "track" FROM "out_of_the_blue_discography" WHERE "soloist_s"='Terry Tamm';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game that had a result of Army 16, SMU 14?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "matchups_results" text,
  "attendance" real,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game that had a result of Army 16, SMU 14?`:
```sql
                SELECT "date" FROM "bowl_games" WHERE "matchups_results"='Army 16, SMU 14';
```
## Task
Generate a SQL query to answer the following question:
`What was the city whose stadium is Gerald J. Ford Stadium?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "matchups_results" text,
  "attendance" real,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the city whose stadium is Gerald J. Ford Stadium?`:
```sql
                SELECT "city" FROM "bowl_games" WHERE "stadium"='Gerald J. Ford Stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is every category wise when the multi lane is 677?`

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

CREATE TABLE "width_wise_details_of_government_roads_a" (
  "sl_no" real,
  "category_wise" text,
  "single_lane" real,
  "intermediate_lane" real,
  "double_lane" real,
  "multi_lane" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is every category wise when the multi lane is 677?`:
```sql
                SELECT "category_wise" FROM "width_wise_details_of_government_roads_a" WHERE "multi_lane"=677;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest value for multi lane if category wise is major district roads?`

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

CREATE TABLE "width_wise_details_of_government_roads_a" (
  "sl_no" real,
  "category_wise" text,
  "single_lane" real,
  "intermediate_lane" real,
  "double_lane" real,
  "multi_lane" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest value for multi lane if category wise is major district roads?`:
```sql
                SELECT MAX("multi_lane") FROM "width_wise_details_of_government_roads_a" WHERE "category_wise"='Major district roads';
```
## Task
Generate a SQL query to answer the following question:
`What is the least total?`

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

CREATE TABLE "width_wise_details_of_government_roads_a" (
  "sl_no" real,
  "category_wise" text,
  "single_lane" real,
  "intermediate_lane" real,
  "double_lane" real,
  "multi_lane" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least total?`:
```sql
                SELECT MIN("total") FROM "width_wise_details_of_government_roads_a";
```
## Task
Generate a SQL query to answer the following question:
`What are the years of TeBe career for the players whose league matches are exactly 163?`

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

CREATE TABLE "players" (
  "player" text,
  "nation" text,
  "te_be_career" text,
  "league_matches" real,
  "league_goals" real,
  "cup_matches" real,
  "cup_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the years of TeBe career for the players whose league matches are exactly 163?`:
```sql
                SELECT "te_be_career" FROM "players" WHERE "league_matches"=163;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of league goals for players with 10 league matches and a TeBe career of 2003?`

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

CREATE TABLE "players" (
  "player" text,
  "nation" text,
  "te_be_career" text,
  "league_matches" real,
  "league_goals" real,
  "cup_matches" real,
  "cup_goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of league goals for players with 10 league matches and a TeBe career of 2003?`:
```sql
                SELECT "league_goals" FROM "players" WHERE "league_matches"=10 AND "te_be_career"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?`

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

CREATE TABLE "table1_28742659_2" (
  "first_air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?`:
```sql
                SELECT "eliminated" FROM "table1_28742659_2" WHERE "finish"='15th Voted Out 9th Jury Member Day 46';
```
## Task
Generate a SQL query to answer the following question:
`What is listed in reward when the finish is listed at 13th voted out 6th jury Member Day 43?`

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

CREATE TABLE "table1_28742659_2" (
  "first_air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed in reward when the finish is listed at 13th voted out 6th jury Member Day 43?`:
```sql
                SELECT "reward" FROM "table1_28742659_2" WHERE "finish"='13th Voted Out 6th Jury Member Day 43';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of immunity when the finish is 3rd voted out day 9?`

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

CREATE TABLE "table1_28742659_2" (
  "first_air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of immunity when the finish is 3rd voted out day 9?`:
```sql
                SELECT "immunity" FROM "table1_28742659_2" WHERE "finish"='3rd Voted Out Day 9';
```
## Task
Generate a SQL query to answer the following question:
`What is the vote number when immunity listed as David and reward is listed as none?`

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

CREATE TABLE "table1_28742659_2" (
  "first_air_date" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the vote number when immunity listed as David and reward is listed as none?`:
```sql
                SELECT "vote" FROM "table1_28742659_2" WHERE "immunity"='David' AND "reward"='None';
```
## Task
Generate a SQL query to answer the following question:
`what is the united fc wehre pifa colaba is maratha united?`

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

CREATE TABLE "division_two" (
  "athens_xi" text,
  "pifa_colaba_fc_u_17" text,
  "tata_power" text,
  "dadar_xi_b" text,
  "idbi" text,
  "world_network_services" text,
  "united_fc" text,
  "good_shepherd" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the united fc wehre pifa colaba is maratha united?`:
```sql
                SELECT "united_fc" FROM "division_two" WHERE "pifa_colaba_fc_u_17"='Maratha United';
```
## Task
Generate a SQL query to answer the following question:
`what is the united fc where pifa colaba is sporting options?`

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

CREATE TABLE "division_two" (
  "athens_xi" text,
  "pifa_colaba_fc_u_17" text,
  "tata_power" text,
  "dadar_xi_b" text,
  "idbi" text,
  "world_network_services" text,
  "united_fc" text,
  "good_shepherd" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the united fc where pifa colaba is sporting options?`:
```sql
                SELECT "united_fc" FROM "division_two" WHERE "pifa_colaba_fc_u_17"='Sporting Options';
```
## Task
Generate a SQL query to answer the following question:
`what is the dadar xi b where pifa colaba is sporting options?`

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

CREATE TABLE "division_two" (
  "athens_xi" text,
  "pifa_colaba_fc_u_17" text,
  "tata_power" text,
  "dadar_xi_b" text,
  "idbi" text,
  "world_network_services" text,
  "united_fc" text,
  "good_shepherd" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the dadar xi b where pifa colaba is sporting options?`:
```sql
                SELECT "dadar_xi_b" FROM "division_two" WHERE "pifa_colaba_fc_u_17"='Sporting Options';
```
## Task
Generate a SQL query to answer the following question:
`what is the athens xi where dada xi b is strikers fc?`

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

CREATE TABLE "division_two" (
  "athens_xi" text,
  "pifa_colaba_fc_u_17" text,
  "tata_power" text,
  "dadar_xi_b" text,
  "idbi" text,
  "world_network_services" text,
  "united_fc" text,
  "good_shepherd" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the athens xi where dada xi b is strikers fc?`:
```sql
                SELECT "athens_xi" FROM "division_two" WHERE "dadar_xi_b"='Strikers FC';
```
## Task
Generate a SQL query to answer the following question:
`what is the dadar xi b where the good shepherd is sea liner fc?`

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

CREATE TABLE "division_two" (
  "athens_xi" text,
  "pifa_colaba_fc_u_17" text,
  "tata_power" text,
  "dadar_xi_b" text,
  "idbi" text,
  "world_network_services" text,
  "united_fc" text,
  "good_shepherd" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the dadar xi b where the good shepherd is sea liner fc?`:
```sql
                SELECT "dadar_xi_b" FROM "division_two" WHERE "good_shepherd"='Sea Liner FC';
```
## Task
Generate a SQL query to answer the following question:
`What is the Record at School of Tom O'Brien's team?`

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

CREATE TABLE "coaches" (
  "team" text,
  "head_coach" text,
  "years_at_school" real,
  "overall_record" text,
  "record_at_school" text,
  "acc_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record at School of Tom O'Brien's team?`:
```sql
                SELECT "record_at_school" FROM "coaches" WHERE "head_coach"='Tom O''Brien';
```
## Task
Generate a SQL query to answer the following question:
`How many values were used to express the years at school of the Maryland team?`

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

CREATE TABLE "coaches" (
  "team" text,
  "head_coach" text,
  "years_at_school" real,
  "overall_record" text,
  "record_at_school" text,
  "acc_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values were used to express the years at school of the Maryland team?`:
```sql
                SELECT COUNT("years_at_school") FROM "coaches" WHERE "team"='Maryland';
```
## Task
Generate a SQL query to answer the following question:
`What is the record in the atlantic coast conference for the Miami team?`

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

CREATE TABLE "coaches" (
  "team" text,
  "head_coach" text,
  "years_at_school" real,
  "overall_record" text,
  "record_at_school" text,
  "acc_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record in the atlantic coast conference for the Miami team?`:
```sql
                SELECT "acc_record" FROM "coaches" WHERE "team"='Miami';
```
## Task
Generate a SQL query to answer the following question:
`How many values reflect the overall record of the team coached by Frank Beamer?`

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

CREATE TABLE "coaches" (
  "team" text,
  "head_coach" text,
  "years_at_school" real,
  "overall_record" text,
  "record_at_school" text,
  "acc_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values reflect the overall record of the team coached by Frank Beamer?`:
```sql
                SELECT COUNT("overall_record") FROM "coaches" WHERE "head_coach"='Frank Beamer';
```
## Task
Generate a SQL query to answer the following question:
`what type over school is Clemson?`

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

CREATE TABLE "member_schools" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "joined_acc" real,
  "school_type" text,
  "acc_football_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `what type over school is Clemson?`:
```sql
                SELECT "school_type" FROM "member_schools" WHERE "institution"='Clemson';
```
## Task
Generate a SQL query to answer the following question:
`what year did north carolina institution join the acc?`

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

CREATE TABLE "member_schools" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "joined_acc" real,
  "school_type" text,
  "acc_football_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `what year did north carolina institution join the acc?`:
```sql
                SELECT MAX("joined_acc") FROM "member_schools" WHERE "institution"='North Carolina';
```
## Task
Generate a SQL query to answer the following question:
`how many acc football titles have been won by the institution nicknamed tar heels?`

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

CREATE TABLE "member_schools" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "joined_acc" real,
  "school_type" text,
  "acc_football_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many acc football titles have been won by the institution nicknamed tar heels?`:
```sql
                SELECT "acc_football_titles" FROM "member_schools" WHERE "nickname"='Tar Heels';
```
## Task
Generate a SQL query to answer the following question:
`what type of school is the institution nicknamed seminoles?`

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

CREATE TABLE "member_schools" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "joined_acc" real,
  "school_type" text,
  "acc_football_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `what type of school is the institution nicknamed seminoles?`:
```sql
                SELECT "school_type" FROM "member_schools" WHERE "nickname"='Seminoles';
```
## Task
Generate a SQL query to answer the following question:
`when did the institution at chapel hill, North carolina join acc?`

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

CREATE TABLE "member_schools" (
  "institution" text,
  "nickname" text,
  "location" text,
  "founded" real,
  "joined_acc" real,
  "school_type" text,
  "acc_football_titles" real
);
### SQL
Given the database schema, here is the SQL query that answers `when did the institution at chapel hill, North carolina join acc?`:
```sql
                SELECT "joined_acc" FROM "member_schools" WHERE "location"='Chapel Hill, North Carolina';
```
## Task
Generate a SQL query to answer the following question:
`What were the supersonics record at game 2?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the supersonics record at game 2?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the most amount of games played this season?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most amount of games played this season?`:
```sql
                SELECT MAX("game") FROM "game_log";
```
## Task
Generate a SQL query to answer the following question:
`Who had highest assists in game against Utah?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had highest assists in game against Utah?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "team"='Utah';
```
## Task
Generate a SQL query to answer the following question:
`In the North Central region, what are the regional page #'s?`

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

CREATE TABLE "tbm_regions" (
  "region_name" text,
  "state_name" text,
  "region_num" real,
  "page_count" real,
  "regional_page_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the North Central region, what are the regional page #'s?`:
```sql
                SELECT "regional_page_num" FROM "tbm_regions" WHERE "region_name"='North Central';
```
## Task
Generate a SQL query to answer the following question:
`What states have a regional page # of 1, 5-7, 9-11, 13-15?`

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

CREATE TABLE "tbm_regions" (
  "region_name" text,
  "state_name" text,
  "region_num" real,
  "page_count" real,
  "regional_page_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `What states have a regional page # of 1, 5-7, 9-11, 13-15?`:
```sql
                SELECT "state_name" FROM "tbm_regions" WHERE "regional_page_num"='1, 5-7, 9-11, 13-15';
```
## Task
Generate a SQL query to answer the following question:
`Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?`

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

CREATE TABLE "tbm_regions" (
  "region_name" text,
  "state_name" text,
  "region_num" real,
  "page_count" real,
  "regional_page_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?`:
```sql
                SELECT "region_name" FROM "tbm_regions" WHERE "regional_page_num"='1-3, 5-7, 9-11, 13-15';
```
## Task
Generate a SQL query to answer the following question:
`In Ca/Nv, what are all of the regional page #s?`

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

CREATE TABLE "tbm_regions" (
  "region_name" text,
  "state_name" text,
  "region_num" real,
  "page_count" real,
  "regional_page_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Ca/Nv, what are all of the regional page #s?`:
```sql
                SELECT "regional_page_num" FROM "tbm_regions" WHERE "state_name"='CA/NV';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of 2nd places for Tajikistan?`

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

CREATE TABLE "region_rank_by_number_of_wins" (
  "region_represented" text,
  "first_place" real,
  "second_place" real,
  "third_place" real,
  "total_top_3_placements" real,
  "first_place_winning_year_s_if_applicable" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of 2nd places for Tajikistan?`:
```sql
                SELECT MAX("second_place") FROM "region_rank_by_number_of_wins" WHERE "region_represented"='Tajikistan';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum number of 1st places for the country with exactly 1 third place?`

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

CREATE TABLE "region_rank_by_number_of_wins" (
  "region_represented" text,
  "first_place" real,
  "second_place" real,
  "third_place" real,
  "total_top_3_placements" real,
  "first_place_winning_year_s_if_applicable" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum number of 1st places for the country with exactly 1 third place?`:
```sql
                SELECT MAX("first_place") FROM "region_rank_by_number_of_wins" WHERE "third_place"=1;
```
## Task
Generate a SQL query to answer the following question:
`How many values of total top 3 placements does Taiwan have?`

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

CREATE TABLE "region_rank_by_number_of_wins" (
  "region_represented" text,
  "first_place" real,
  "second_place" real,
  "third_place" real,
  "total_top_3_placements" real,
  "first_place_winning_year_s_if_applicable" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many values of total top 3 placements does Taiwan have?`:
```sql
                SELECT COUNT("total_top_3_placements") FROM "region_rank_by_number_of_wins" WHERE "region_represented"='Taiwan';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the country when the ioc code is mas?`

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

CREATE TABLE "table1_2879165_1" (
  "ioc_code" text,
  "country" text,
  "network_station" text,
  "television_station" text,
  "radio_station" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the country when the ioc code is mas?`:
```sql
                SELECT "country" FROM "table1_2879165_1" WHERE "ioc_code"='MAS';
```
## Task
Generate a SQL query to answer the following question:
`What is the ioc code when the country is listed as Singapore?`

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

CREATE TABLE "table1_2879165_1" (
  "ioc_code" text,
  "country" text,
  "network_station" text,
  "television_station" text,
  "radio_station" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ioc code when the country is listed as Singapore?`:
```sql
                SELECT "ioc_code" FROM "table1_2879165_1" WHERE "country"='Singapore';
```
## Task
Generate a SQL query to answer the following question:
`What is listed in Network station when the country is Brunei?`

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

CREATE TABLE "table1_2879165_1" (
  "ioc_code" text,
  "country" text,
  "network_station" text,
  "television_station" text,
  "radio_station" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed in Network station when the country is Brunei?`:
```sql
                SELECT COUNT("network_station") FROM "table1_2879165_1" WHERE "country"='Brunei';
```
## Task
Generate a SQL query to answer the following question:
`How many television station listing have a radio station as lao national radio?`

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

CREATE TABLE "table1_2879165_1" (
  "ioc_code" text,
  "country" text,
  "network_station" text,
  "television_station" text,
  "radio_station" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many television station listing have a radio station as lao national radio?`:
```sql
                SELECT COUNT("television_station") FROM "table1_2879165_1" WHERE "radio_station"='Lao National Radio';
```
## Task
Generate a SQL query to answer the following question:
`How many television station listings have a ioc code as mas?`

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

CREATE TABLE "table1_2879165_1" (
  "ioc_code" text,
  "country" text,
  "network_station" text,
  "television_station" text,
  "radio_station" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many television station listings have a ioc code as mas?`:
```sql
                SELECT COUNT("television_station") FROM "table1_2879165_1" WHERE "ioc_code"='MAS';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "the diaper incident"?`

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

CREATE TABLE "table1_28768925_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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "the diaper incident"?`:
```sql
                SELECT "written_by" FROM "table1_28768925_1" WHERE "title"='\"The Diaper Incident\"';
```
## Task
Generate a SQL query to answer the following question:
`Who directed "the diaper incident"?`

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

CREATE TABLE "table1_28768925_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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed "the diaper incident"?`:
```sql
                SELECT "directed_by" FROM "table1_28768925_1" WHERE "title"='\"The Diaper Incident\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode 27 in the series that was directed by Wendey Stanzler?`

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

CREATE TABLE "table1_28768925_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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode 27 in the series that was directed by Wendey Stanzler?`:
```sql
                SELECT "written_by" FROM "table1_28768925_1" WHERE "directed_by"='Wendey Stanzler' AND "no_in_series"=27;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of episode 43 in the series?`

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

CREATE TABLE "table1_28768925_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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of episode 43 in the series?`:
```sql
                SELECT "title" FROM "table1_28768925_1" WHERE "no_in_series"=43;
```
## Task
Generate a SQL query to answer the following question:
`What date did the episode that had 8.84 million u.s. viewers originally air?`

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

CREATE TABLE "table1_28768925_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_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the episode that had 8.84 million u.s. viewers originally air?`:
```sql
                SELECT "original_air_date" FROM "table1_28768925_1" WHERE "u_s_viewers_million"='8.84';
```
## Task
Generate a SQL query to answer the following question:
`How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "high_assists"='Earl Watson (11)' AND "location_attendance"='KeyArena 16,841';
```
## Task
Generate a SQL query to answer the following question:
`What is the record listed when the high assists is earl watson (6)?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record listed when the high assists is earl watson (6)?`:
```sql
                SELECT "record" FROM "game_log" WHERE "high_assists"='Earl Watson (6)';
```
## Task
Generate a SQL query to answer the following question:
`Where is the location  attendance when the date is January 9?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the location  attendance when the date is January 9?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "date"='January 9';
```
## Task
Generate a SQL query to answer the following question:
`What is listed in hight points when the high rebounds is listed as Nick Collison (10)?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed in hight points when the high rebounds is listed as Nick Collison (10)?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='Nick Collison (10)';
```
## Task
Generate a SQL query to answer the following question:
`What is listed in game when the location attendance is listed as Keyarena 16,841?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed in game when the location attendance is listed as Keyarena 16,841?`:
```sql
                SELECT MAX("game") FROM "game_log" WHERE "location_attendance"='KeyArena 16,841';
```
## Task
Generate a SQL query to answer the following question:
`What was the airdate of the episode of production code 214?`

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

CREATE TABLE "table1_28787871_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" 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 was the airdate of the episode of production code 214?`:
```sql
                SELECT "original_air_date" FROM "table1_28787871_3" WHERE "production_code"=214;
```
## Task
Generate a SQL query to answer the following question:
`How many numbers in the season have an air date of June 3, 2012?`

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

CREATE TABLE "table1_28787871_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" 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 `How many numbers in the season have an air date of June 3, 2012?`:
```sql
                SELECT COUNT("no_in_season") FROM "table1_28787871_3" WHERE "original_air_date"='June 3, 2012';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest production code of the episodes having a US viewership of exactly 2.3?`

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

CREATE TABLE "table1_28787871_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" 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 highest production code of the episodes having a US viewership of exactly 2.3?`:
```sql
                SELECT MAX("production_code") FROM "table1_28787871_3" WHERE "u_s_viewers_millions"='2.3';
```
## Task
Generate a SQL query to answer the following question:
`How many millions of US viewers watched the episode titled "Happy Howl-o-ween"?`

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

CREATE TABLE "table1_28787871_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" 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 `How many millions of US viewers watched the episode titled "Happy Howl-o-ween"?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_28787871_3" WHERE "title"='\"Happy Howl-O-Ween\"';
```
## Task
Generate a SQL query to answer the following question:
`When the number of wickets is 29, what was the economy?`

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

CREATE TABLE "bowling_averages" (
  "player" text,
  "county" text,
  "balls" real,
  "wickets" real,
  "average" text,
  "economy" text,
  "bbi" text,
  "4wi" real,
  "5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the number of wickets is 29, what was the economy?`:
```sql
                SELECT "economy" FROM "bowling_averages" WHERE "wickets"=29;
```
## Task
Generate a SQL query to answer the following question:
`How many wickets was there when the economy was 3.64?`

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

CREATE TABLE "bowling_averages" (
  "player" text,
  "county" text,
  "balls" real,
  "wickets" real,
  "average" text,
  "economy" text,
  "bbi" text,
  "4wi" real,
  "5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wickets was there when the economy was 3.64?`:
```sql
                SELECT "wickets" FROM "bowling_averages" WHERE "economy"='3.64';
```
## Task
Generate a SQL query to answer the following question:
`What is the average of all the wickets that were 27?`

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

CREATE TABLE "bowling_averages" (
  "player" text,
  "county" text,
  "balls" real,
  "wickets" real,
  "average" text,
  "economy" text,
  "bbi" text,
  "4wi" real,
  "5wi" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average of all the wickets that were 27?`:
```sql
                SELECT "average" FROM "bowling_averages" WHERE "wickets"=27;
```
## Task
Generate a SQL query to answer the following question:
`Which branding has the callsign of DXGH?`

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

CREATE TABLE "dzrh_nationwide" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "station_type" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which branding has the callsign of DXGH?`:
```sql
                SELECT "branding" FROM "dzrh_nationwide" WHERE "callsign"='DXGH';
```
## Task
Generate a SQL query to answer the following question:
`What type of station is within the 972khz frequency?`

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

CREATE TABLE "dzrh_nationwide" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "station_type" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of station is within the 972khz frequency?`:
```sql
                SELECT "station_type" FROM "dzrh_nationwide" WHERE "frequency"='972kHz';
```
## Task
Generate a SQL query to answer the following question:
`What types of stations are located in Cebu?`

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

CREATE TABLE "dzrh_nationwide" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "station_type" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What types of stations are located in Cebu?`:
```sql
                SELECT "station_type" FROM "dzrh_nationwide" WHERE "location"='Cebu';
```
## Task
Generate a SQL query to answer the following question:
`Where are all the 1485khz frequency located?`

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

CREATE TABLE "dzrh_nationwide" (
  "branding" text,
  "callsign" text,
  "frequency" text,
  "power_k_w" text,
  "station_type" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where are all the 1485khz frequency located?`:
```sql
                SELECT "location" FROM "dzrh_nationwide" WHERE "frequency"='1485kHz';
```