cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the finish for patani`

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

CREATE TABLE "table1_16976547_2" (
  "cycle_no" text,
  "air_dates" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the finish for patani`:
```sql
                SELECT "finish" FROM "table1_16976547_2" WHERE "eliminated"='Patani';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of immunity for cycle number of 13`

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

CREATE TABLE "table1_16976547_2" (
  "cycle_no" text,
  "air_dates" text,
  "reward" text,
  "immunity" text,
  "eliminated" text,
  "vote" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of immunity for cycle number of 13`:
```sql
                SELECT COUNT("immunity") FROM "table1_16976547_2" WHERE "cycle_no"='13';
```
## Task
Generate a SQL query to answer the following question:
`For the NBC network, what was the new/returning/same network status?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the NBC network, what was the new/returning/same network status?`:
```sql
                SELECT "new_returning_same_network" FROM "programs_returning_during_2000" WHERE "previous_network"='NBC';
```
## Task
Generate a SQL query to answer the following question:
`Which show was sent to syndication for its new/returning/same network.`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which show was sent to syndication for its new/returning/same network.`:
```sql
                SELECT "show" FROM "programs_returning_during_2000" WHERE "new_returning_same_network"='Syndication';
```
## Task
Generate a SQL query to answer the following question:
`What is the new/returning/same network name for This Week in Baseball?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the new/returning/same network name for This Week in Baseball?`:
```sql
                SELECT "new_returning_same_network" FROM "programs_returning_during_2000" WHERE "show"='This Week in Baseball';
```
## Task
Generate a SQL query to answer the following question:
`Which show as previously on The Family Channel?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which show as previously on The Family Channel?`:
```sql
                SELECT "show" FROM "programs_returning_during_2000" WHERE "previous_network"='The Family Channel';
```
## Task
Generate a SQL query to answer the following question:
`Did the name change for the program last aired in 1958?`

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

CREATE TABLE "programs_returning_during_2000" (
  "show" text,
  "last_aired" real,
  "previous_network" text,
  "retitled_as_same" text,
  "new_returning_same_network" text,
  "returning" text
);
### SQL
Given the database schema, here is the SQL query that answers `Did the name change for the program last aired in 1958?`:
```sql
                SELECT "retitled_as_same" FROM "programs_returning_during_2000" WHERE "last_aired"=1958;
```
## Task
Generate a SQL query to answer the following question:
`What was the rating of the episode with an overall ranking of 190?`

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

CREATE TABLE "u_s_nielsen_ratings" (
  "episode_number" real,
  "episode" text,
  "rating" text,
  "share" real,
  "rating_share_18_49" text,
  "viewers_millions" text,
  "rank_overall" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rating of the episode with an overall ranking of 190?`:
```sql
                SELECT "rating" FROM "u_s_nielsen_ratings" WHERE "rank_overall"='190';
```
## Task
Generate a SQL query to answer the following question:
`What was the rating of episode titled "110"?`

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

CREATE TABLE "u_s_nielsen_ratings" (
  "episode_number" real,
  "episode" text,
  "rating" text,
  "share" real,
  "rating_share_18_49" text,
  "viewers_millions" text,
  "rank_overall" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rating of episode titled "110"?`:
```sql
                SELECT "rating" FROM "u_s_nielsen_ratings" WHERE "episode"='\"110\"';
```
## Task
Generate a SQL query to answer the following question:
`How much were the shares during the episode "113"?`

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

CREATE TABLE "u_s_nielsen_ratings" (
  "episode_number" real,
  "episode" text,
  "rating" text,
  "share" real,
  "rating_share_18_49" text,
  "viewers_millions" text,
  "rank_overall" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much were the shares during the episode "113"?`:
```sql
                SELECT MAX("share") FROM "u_s_nielsen_ratings" WHERE "episode"='\"113\"';
```
## Task
Generate a SQL query to answer the following question:
`How many were the shares when the viewers reached 3.11 million?`

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

CREATE TABLE "u_s_nielsen_ratings" (
  "episode_number" real,
  "episode" text,
  "rating" text,
  "share" real,
  "rating_share_18_49" text,
  "viewers_millions" text,
  "rank_overall" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many were the shares when the viewers reached 3.11 million?`:
```sql
                SELECT COUNT("share") FROM "u_s_nielsen_ratings" WHERE "viewers_millions"='3.11';
```
## Task
Generate a SQL query to answer the following question:
`Name the saka era for malayalam മിഥുനം`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the saka era for malayalam മിഥുനം`:
```sql
                SELECT "saka_era" FROM "comparative_table_showing_corresponding_" WHERE "in_malayalam"='മിഥുനം';
```
## Task
Generate a SQL query to answer the following question:
`Name the months in the malayalam era for കുംഭം`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the months in the malayalam era for കുംഭം`:
```sql
                SELECT "months_in_malayalam_era" FROM "comparative_table_showing_corresponding_" WHERE "in_malayalam"='കുംഭം';
```
## Task
Generate a SQL query to answer the following question:
`Name the sign of zodiac for chithirai`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sign of zodiac for chithirai`:
```sql
                SELECT "sign_of_zodiac" FROM "comparative_table_showing_corresponding_" WHERE "tamil_calendar"='Chithirai';
```
## Task
Generate a SQL query to answer the following question:
`Name the saka era for sign of zodiac being pisces`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the saka era for sign of zodiac being pisces`:
```sql
                SELECT "saka_era" FROM "comparative_table_showing_corresponding_" WHERE "sign_of_zodiac"='Pisces';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of gregorian calenda rof gemini`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of gregorian calenda rof gemini`:
```sql
                SELECT COUNT("gregorian_calendar") FROM "comparative_table_showing_corresponding_" WHERE "sign_of_zodiac"='Gemini';
```
## Task
Generate a SQL query to answer the following question:
`For High Assists of Raymond Felton (12), who were the High rebounds?`

### 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 `For High Assists of Raymond Felton (12), who were the High rebounds?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Raymond Felton (12)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the team Philadelphia?`

### 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 `On what date was the team Philadelphia?`:
```sql
                SELECT "date" FROM "game_log" WHERE "team"='Philadelphia';
```
## Task
Generate a SQL query to answer the following question:
`Who was the high rebound for the high assists of d. j. augustin (8)?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the high rebound for the high assists of d. j. augustin (8)?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='D. J. Augustin (8)';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score of the game with gerald wallace (14) as the High Rebound?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score of the game with gerald wallace (14) as the High Rebound?`:
```sql
                SELECT "record" FROM "game_log" WHERE "high_rebounds"='Gerald Wallace (14)';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score in game 15? `

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score in game 15? `:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=15;
```
## Task
Generate a SQL query to answer the following question:
`Who had the most assists and how many did they have in the game against Miami? `

### 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 the most assists and how many did they have in the game against Miami? `:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "team"='Miami';
```
## Task
Generate a SQL query to answer the following question:
`Name the location attendance for game 55`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the location attendance for game 55`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=55;
```
## Task
Generate a SQL query to answer the following question:
`Who got the game high rebounds in game 46?`

### 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 got the game high rebounds in game 46?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "game"=46;
```
## Task
Generate a SQL query to answer the following question:
`How many scores are listed for game 37?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many scores are listed for game 37?`:
```sql
                SELECT COUNT("score") FROM "game_log" WHERE "game"=37;
```
## Task
Generate a SQL query to answer the following question:
`What date was the opposing team Milwaukee?`

### 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 date was the opposing team Milwaukee?`:
```sql
                SELECT "date" FROM "game_log" WHERE "team"='Milwaukee';
```
## Task
Generate a SQL query to answer the following question:
`What is the pressure in ultra high vacuum?`

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

CREATE TABLE "mean_free_path_in_kinetic_theory" (
  "vacuum_range" text,
  "pressure_in_h_pa_mbar" text,
  "molecules_cm_3" text,
  "molecules_m_3" text,
  "mean_free_path" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pressure in ultra high vacuum?`:
```sql
                SELECT "pressure_in_h_pa_mbar" FROM "mean_free_path_in_kinetic_theory" WHERE "vacuum_range"='Ultra high vacuum';
```
## Task
Generate a SQL query to answer the following question:
`what is the nightly rank where the episode number production number is 06 1-06?`

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

CREATE TABLE "ratings" (
  "episode_number_production_number" text,
  "title" text,
  "sydney" real,
  "melbourne" real,
  "brisbane" real,
  "adelaide" real,
  "perth" real,
  "total" real,
  "weekly_rank" text,
  "nightly_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the nightly rank where the episode number production number is 06 1-06?`:
```sql
                SELECT COUNT("nightly_rank") FROM "ratings" WHERE "episode_number_production_number"='06 1-06';
```
## Task
Generate a SQL query to answer the following question:
`what is the number of weekly rank where the total is 1980000?`

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

CREATE TABLE "ratings" (
  "episode_number_production_number" text,
  "title" text,
  "sydney" real,
  "melbourne" real,
  "brisbane" real,
  "adelaide" real,
  "perth" real,
  "total" real,
  "weekly_rank" text,
  "nightly_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of weekly rank where the total is 1980000?`:
```sql
                SELECT COUNT("weekly_rank") FROM "ratings" WHERE "total"=1980000;
```
## Task
Generate a SQL query to answer the following question:
`Name the high assists for 70 game`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high assists for 70 game`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "game"=70;
```
## Task
Generate a SQL query to answer the following question:
`Name the pe̍h-ōe-jī  for 前金區`

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

CREATE TABLE "subdivisions" (
  "no" real,
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" text,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pe̍h-ōe-jī  for 前金區`:
```sql
                SELECT "pe_h_e_j" FROM "subdivisions" WHERE "chinese"='前金區';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of villages for mituo`

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

CREATE TABLE "subdivisions" (
  "no" real,
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" text,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of villages for mituo`:
```sql
                SELECT "no_of_villages" FROM "subdivisions" WHERE "hanyu"='Mituo';
```
## Task
Generate a SQL query to answer the following question:
`Name the number where population 2010 is 171906`

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

CREATE TABLE "subdivisions" (
  "no" real,
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" text,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number where population 2010 is 171906`:
```sql
                SELECT "no" FROM "subdivisions" WHERE "population_2010"=171906;
```
## Task
Generate a SQL query to answer the following question:
`Name the tongyong for chinese of  湖內區`

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

CREATE TABLE "subdivisions" (
  "no" real,
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" text,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tongyong for chinese of  湖內區`:
```sql
                SELECT "tongyong" FROM "subdivisions" WHERE "chinese"='湖內區';
```
## Task
Generate a SQL query to answer the following question:
`Name the tongyong for qiaotou`

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

CREATE TABLE "subdivisions" (
  "no" real,
  "hanyu" text,
  "tongyong" text,
  "pe_h_e_j" text,
  "chinese" text,
  "area_km" text,
  "no_of_villages" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the tongyong for qiaotou`:
```sql
                SELECT COUNT("tongyong") FROM "subdivisions" WHERE "hanyu"='Qiaotou';
```
## Task
Generate a SQL query to answer the following question:
`How many pixels would be found in a hardware colour of 8?`

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

CREATE TABLE "table1_1701371_2" (
  "graphics_mode" real,
  "char_cells" text,
  "pixels" text,
  "hardware_colours" real,
  "used_kb" real,
  "map" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many pixels would be found in a hardware colour of 8?`:
```sql
                SELECT "pixels" FROM "table1_1701371_2" WHERE "hardware_colours"=8;
```
## Task
Generate a SQL query to answer the following question:
`If hardware colours is 8 what would the char cells be?`

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

CREATE TABLE "table1_1701371_2" (
  "graphics_mode" real,
  "char_cells" text,
  "pixels" text,
  "hardware_colours" real,
  "used_kb" real,
  "map" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `If hardware colours is 8 what would the char cells be?`:
```sql
                SELECT "char_cells" FROM "table1_1701371_2" WHERE "hardware_colours"=8;
```
## Task
Generate a SQL query to answer the following question:
`Name the year for le confessional`

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

CREATE TABLE "table1_17025328_1" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for le confessional`:
```sql
                SELECT "year_ceremony" FROM "table1_17025328_1" WHERE "original_title"='Le Confessional';
```
## Task
Generate a SQL query to answer the following question:
`Name the year for les portes tournantes`

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

CREATE TABLE "table1_17025328_1" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for les portes tournantes`:
```sql
                SELECT "year_ceremony" FROM "table1_17025328_1" WHERE "original_title"='Les portes tournantes';
```
## Task
Generate a SQL query to answer the following question:
`How many values are in the PF cell when Jennifer Jones is skip?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many values are in the PF cell when Jennifer Jones is skip?`:
```sql
                SELECT COUNT("pf") FROM "standings" WHERE "skip"='Jennifer Jones';
```
## Task
Generate a SQL query to answer the following question:
`How many points for did the team with Shannon Kleibrink as skip score?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points for did the team with Shannon Kleibrink as skip score?`:
```sql
                SELECT MAX("pf") FROM "standings" WHERE "skip"='Shannon Kleibrink';
```
## Task
Generate a SQL query to answer the following question:
`Of the teams that lost 5 games, what is the highest number of wins?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Of the teams that lost 5 games, what is the highest number of wins?`:
```sql
                SELECT MAX("w") FROM "standings" WHERE "l"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of ends lost?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of ends lost?`:
```sql
                SELECT MAX("ends_lost") FROM "standings";
```
## Task
Generate a SQL query to answer the following question:
`How many values are in the ends won cell corresponding to a PA of 39?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many values are in the ends won cell corresponding to a PA of 39?`:
```sql
                SELECT COUNT("ends_won") FROM "standings" WHERE "pa"=39;
```
## Task
Generate a SQL query to answer the following question:
`When the skip is Glenn Howard, what the minimum PF?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the skip is Glenn Howard, what the minimum PF?`:
```sql
                SELECT MIN("pf") FROM "standings" WHERE "skip"='Glenn Howard';
```
## Task
Generate a SQL query to answer the following question:
`Who was Alberta's skip when the shot pct was 88?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Alberta's skip when the shot pct was 88?`:
```sql
                SELECT "skip" FROM "standings" WHERE "shot_pct"=88 AND "province"='Alberta';
```
## Task
Generate a SQL query to answer the following question:
`What is the top Points Allowed?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the top Points Allowed?`:
```sql
                SELECT MAX("pa") FROM "standings";
```
## Task
Generate a SQL query to answer the following question:
`When the blank ends at 1, what is the PA?`

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

CREATE TABLE "standings" (
  "province" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the blank ends at 1, what is the PA?`:
```sql
                SELECT COUNT("pa") FROM "standings" WHERE "blank_ends"=1;
```
## Task
Generate a SQL query to answer the following question:
`How many times did the team play charlotte?`

### 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 times did the team play charlotte?`:
```sql
                SELECT COUNT("record") FROM "game_log" WHERE "team"='Charlotte';
```
## Task
Generate a SQL query to answer the following question:
`What day did the team play charlotte?`

### 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 day did the team play charlotte?`:
```sql
                SELECT "date" FROM "game_log" WHERE "team"='Charlotte';
```
## Task
Generate a SQL query to answer the following question:
`When was the game with score l 99–107 (ot)`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the game with score l 99–107 (ot)`:
```sql
                SELECT "date" FROM "game_log" WHERE "score"='L 99–107 (OT)';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game with record 20–23 and how many people attended it`

### 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 was the game with record 20–23 and how many people attended it`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "record"='20–23';
```
## Task
Generate a SQL query to answer the following question:
`Who scored highest rebounds high points is charlie villanueva (32)`

### 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 scored highest rebounds high points is charlie villanueva (32)`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Charlie Villanueva (32)';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of game 46`

### 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 score of game 46`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=46;
```
## Task
Generate a SQL query to answer the following question:
`Who scored the high points on the date November 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 `Who scored the high points on the date November 2?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='November 2';
```
## Task
Generate a SQL query to answer the following question:
`In how many locations did Game 13 take place?`

### 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 `In how many locations did Game 13 take place?`:
```sql
                SELECT COUNT("location_attendance") FROM "game_log" WHERE "game"=13;
```
## Task
Generate a SQL query to answer the following question:
`Where was the game that took place in November 21 located and how many attended?`

### 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 was the game that took place in November 21 located and how many attended?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "date"='November 21';
```
## Task
Generate a SQL query to answer the following question:
`Name the high reobounds for april 7`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the high reobounds for april 7`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "date"='April 7';
```
## Task
Generate a SQL query to answer the following question:
`How many games was game 43?`

### 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 was game 43?`:
```sql
                SELECT COUNT("record") FROM "game_log" WHERE "game"=43;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of high rebounds for february 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 `Name the total number of high rebounds for february 10`:
```sql
                SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='February 10';
```
## Task
Generate a SQL query to answer the following question:
`Name the record for december 6`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the record for december 6`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='December 6';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score in game 38?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score in game 38?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=38;
```
## Task
Generate a SQL query to answer the following question:
`Who did the Trail Blazers play on January 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 `Who did the Trail Blazers play on January 2?`:
```sql
                SELECT "team" FROM "game_log" WHERE "date"='January 2';
```
## Task
Generate a SQL query to answer the following question:
`On how many dates did the Timberwolves play Phoenix? `

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

CREATE TABLE "table1_17058226_10" (
  "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 `On how many dates did the Timberwolves play Phoenix? `:
```sql
                SELECT COUNT("date") FROM "table1_17058226_10" WHERE "team"='Phoenix';
```
## Task
Generate a SQL query to answer the following question:
`What was the Timberwolves' record on April 3? `

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

CREATE TABLE "table1_17058226_10" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Timberwolves' record on April 3? `:
```sql
                SELECT "record" FROM "table1_17058226_10" WHERE "date"='April 3';
```
## Task
Generate a SQL query to answer the following question:
`Where are all of Utah's games held and how many have attended?`

### 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 are all of Utah's games held and how many have attended?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "team"='Utah';
```
## Task
Generate a SQL query to answer the following question:
`Who performed all the high rebounds when craig smith (4) was the lead for high assists?`

### 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 performed all the high rebounds when craig smith (4) was the lead for high assists?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Craig Smith (4)';
```
## Task
Generate a SQL query to answer the following question:
`Who had all the high rebounds when kevin love (20) scored the highest points?`

### 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 all the high rebounds when kevin love (20) scored the highest points?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Kevin Love (20)';
```
## Task
Generate a SQL query to answer the following question:
`What opposing team was playing when sebastian telfair (7) had the highest assists?`

### 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 opposing team was playing when sebastian telfair (7) had the highest assists?`:
```sql
                SELECT "team" FROM "game_log" WHERE "high_assists"='Sebastian Telfair (7)';
```
## Task
Generate a SQL query to answer the following question:
`Name the score for january 26`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the score for january 26`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='January 26';
```
## Task
Generate a SQL query to answer the following question:
`Who did the high points in the game played on April 12?`

### 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 did the high points in the game played on April 12?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='April 12';
```
## Task
Generate a SQL query to answer the following question:
`What is the constructor when the Q1 order is 4?`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "no" real,
  "driver" text,
  "constructor" text,
  "q1_order" real,
  "q1_time" text,
  "q1_pos" real,
  "q1_q2_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the constructor when the Q1 order is 4?`:
```sql
                SELECT "constructor" FROM "qualifying" WHERE "q1_order"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the Q1 order for Felipe Massa?`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "no" real,
  "driver" text,
  "constructor" text,
  "q1_order" real,
  "q1_time" text,
  "q1_pos" real,
  "q1_q2_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Q1 order for Felipe Massa?`:
```sql
                SELECT MAX("q1_order") FROM "qualifying" WHERE "driver"='Felipe Massa';
```
## Task
Generate a SQL query to answer the following question:
`What is the Q1 time for the driver with Q1 order of 6?`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "no" real,
  "driver" text,
  "constructor" text,
  "q1_order" real,
  "q1_time" text,
  "q1_pos" real,
  "q1_q2_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Q1 time for the driver with Q1 order of 6?`:
```sql
                SELECT "q1_time" FROM "qualifying" WHERE "q1_order"=6;
```
## Task
Generate a SQL query to answer the following question:
`How many Q1 figures are given for Alexander Wurz?`

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

CREATE TABLE "qualifying" (
  "pos" text,
  "no" real,
  "driver" text,
  "constructor" text,
  "q1_order" real,
  "q1_time" text,
  "q1_pos" real,
  "q1_q2_time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Q1 figures are given for Alexander Wurz?`:
```sql
                SELECT COUNT("q1_order") FROM "qualifying" WHERE "driver"='Alexander Wurz';
```
## Task
Generate a SQL query to answer the following question:
`Who all had the most assists in game 12?`

### 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 all had the most assists in game 12?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "game"=12;
```