cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the description of the license for GNU GPL v2 or Ruby license?`

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

CREATE TABLE "table1_25474825_1" (
  "software" text,
  "description" text,
  "platform" text,
  "license" text,
  "developer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the description of the license for GNU GPL v2 or Ruby license?`:
```sql
                SELECT "description" FROM "table1_25474825_1" WHERE "license"='GNU GPL v2 or Ruby license';
```
## Task
Generate a SQL query to answer the following question:
`What is the license that is described as a tool for designing and executing workflows?`

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

CREATE TABLE "table1_25474825_1" (
  "software" text,
  "description" text,
  "platform" text,
  "license" text,
  "developer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the license that is described as a tool for designing and executing workflows?`:
```sql
                SELECT "license" FROM "table1_25474825_1" WHERE "description"='Tool for designing and executing workflows';
```
## Task
Generate a SQL query to answer the following question:
`What is the description of the intact software?`

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

CREATE TABLE "table1_25474825_1" (
  "software" text,
  "description" text,
  "platform" text,
  "license" text,
  "developer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the description of the intact software?`:
```sql
                SELECT "description" FROM "table1_25474825_1" WHERE "software"='IntAct';
```
## Task
Generate a SQL query to answer the following question:
`What user had a max demand charge of 1,100 and a unit/time range of h-2: off-peak (22:30-05:30)?`

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

CREATE TABLE "revised_electricity_tariffs_effective_fr" (
  "user" text,
  "unit_k_wh_time_range" text,
  "tariff_rs_k_wh" text,
  "fixed_charge_rs_k_wh" text,
  "fuel_adjustment_charge_pct_of_total_energy_charge" text,
  "max_demand_charge_rs_k_va" text
);
### SQL
Given the database schema, here is the SQL query that answers `What user had a max demand charge of 1,100 and a unit/time range of h-2: off-peak (22:30-05:30)?`:
```sql
                SELECT "user" FROM "revised_electricity_tariffs_effective_fr" WHERE "max_demand_charge_rs_k_va"='1,100' AND "unit_k_wh_time_range"='H-2: Off-peak (22:30-05:30)';
```
## Task
Generate a SQL query to answer the following question:
`What is the fixed charge for the user who had a tariff of 11.30?`

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

CREATE TABLE "revised_electricity_tariffs_effective_fr" (
  "user" text,
  "unit_k_wh_time_range" text,
  "tariff_rs_k_wh" text,
  "fixed_charge_rs_k_wh" text,
  "fuel_adjustment_charge_pct_of_total_energy_charge" text,
  "max_demand_charge_rs_k_va" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fixed charge for the user who had a tariff of 11.30?`:
```sql
                SELECT "fixed_charge_rs_k_wh" FROM "revised_electricity_tariffs_effective_fr" WHERE "tariff_rs_k_wh"='11.30';
```
## Task
Generate a SQL query to answer the following question:
`What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?`

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

CREATE TABLE "revised_electricity_tariffs_effective_fr" (
  "user" text,
  "unit_k_wh_time_range" text,
  "tariff_rs_k_wh" text,
  "fixed_charge_rs_k_wh" text,
  "fuel_adjustment_charge_pct_of_total_energy_charge" text,
  "max_demand_charge_rs_k_va" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?`:
```sql
                SELECT "fixed_charge_rs_k_wh" FROM "revised_electricity_tariffs_effective_fr" WHERE "unit_k_wh_time_range"='I-2: Peak (18:30-22:30)';
```
## Task
Generate a SQL query to answer the following question:
`What was the max demand charge for the user with a tariff of 8.85?`

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

CREATE TABLE "revised_electricity_tariffs_effective_fr" (
  "user" text,
  "unit_k_wh_time_range" text,
  "tariff_rs_k_wh" text,
  "fixed_charge_rs_k_wh" text,
  "fuel_adjustment_charge_pct_of_total_energy_charge" text,
  "max_demand_charge_rs_k_va" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the max demand charge for the user with a tariff of 8.85?`:
```sql
                SELECT "max_demand_charge_rs_k_va" FROM "revised_electricity_tariffs_effective_fr" WHERE "tariff_rs_k_wh"='8.85';
```
## Task
Generate a SQL query to answer the following question:
`How many picks are there with an affiliation is the University of California Norcal Lamorinda United?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many picks are there with an affiliation is the University of California Norcal Lamorinda United?`:
```sql
                SELECT COUNT("pick_num") FROM "round_two" WHERE "affiliation"='University of California NorCal Lamorinda United';
```
## Task
Generate a SQL query to answer the following question:
`What team does Seth Sinovic play for?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team does Seth Sinovic play for?`:
```sql
                SELECT "mls_team" FROM "round_two" WHERE "player"='Seth Sinovic';
```
## Task
Generate a SQL query to answer the following question:
`How many players have an affiliation with University of Maryland?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players have an affiliation with University of Maryland?`:
```sql
                SELECT COUNT("player") FROM "round_two" WHERE "affiliation"='University of Maryland';
```
## Task
Generate a SQL query to answer the following question:
`in what round types did the opponent come from south africa?`

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

CREATE TABLE "fed_cup_doubles_performances_10" (
  "edition" real,
  "zone" text,
  "round" text,
  "against" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "outcome" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `in what round types did the opponent come from south africa?`:
```sql
                SELECT "round" FROM "fed_cup_doubles_performances_10" WHERE "against"='South Africa';
```
## Task
Generate a SQL query to answer the following question:
`How did the match end when she played with caroline wozniacki?`

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

CREATE TABLE "fed_cup_doubles_performances_10" (
  "edition" real,
  "zone" text,
  "round" text,
  "against" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "outcome" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How did the match end when she played with caroline wozniacki?`:
```sql
                SELECT "outcome" FROM "fed_cup_doubles_performances_10" WHERE "partner"='Caroline Wozniacki';
```
## Task
Generate a SQL query to answer the following question:
`When was the University founded that joined in 1978?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was the University founded that joined in 1978?`:
```sql
                SELECT MAX("founded") FROM "current_members" WHERE "joined"=1978;
```
## Task
Generate a SQL query to answer the following question:
`When was Piedmont College founded?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was Piedmont College founded?`:
```sql
                SELECT MAX("founded") FROM "current_members" WHERE "institution"='Piedmont College';
```
## Task
Generate a SQL query to answer the following question:
`When were the Avenging Angels founded?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `When were the Avenging Angels founded?`:
```sql
                SELECT MAX("founded") FROM "current_members" WHERE "nickname"='Avenging Angels';
```
## Task
Generate a SQL query to answer the following question:
`What institution joined in 1988?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real
);
### SQL
Given the database schema, here is the SQL query that answers `What institution joined in 1988?`:
```sql
                SELECT "institution" FROM "current_members" WHERE "joined"=1988;
```
## Task
Generate a SQL query to answer the following question:
`What location is nicknamed the 49ers?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location is nicknamed the 49ers?`:
```sql
                SELECT "location" FROM "former_members" WHERE "nickname"='49ers';
```
## Task
Generate a SQL query to answer the following question:
`Where is the University of North Carolina at Greensboro located?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the University of North Carolina at Greensboro located?`:
```sql
                SELECT "location" FROM "former_members" WHERE "institution"='University of North Carolina at Greensboro';
```
## Task
Generate a SQL query to answer the following question:
`Name the hypotenuse for vertices 月山泛 δymf`

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

CREATE TABLE "triangles_and_their_sides" (
  "number" real,
  "name" text,
  "vertices" text,
  "hypotenuse_0_c" text,
  "vertical_0_b" text,
  "horizontal_0_a" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the hypotenuse for vertices 月山泛 δymf`:
```sql
                SELECT "hypotenuse_0_c" FROM "triangles_and_their_sides" WHERE "vertices"='月山泛 ΔYMF';
```
## Task
Generate a SQL query to answer the following question:
`Name the vertical  for 边 bian`

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

CREATE TABLE "triangles_and_their_sides" (
  "number" real,
  "name" text,
  "vertices" text,
  "hypotenuse_0_c" text,
  "vertical_0_b" text,
  "horizontal_0_a" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the vertical  for 边 bian`:
```sql
                SELECT "vertical_0_b" FROM "triangles_and_their_sides" WHERE "name"='边 BIAN';
```
## Task
Generate a SQL query to answer the following question:
`Name the horizontal 0 for 通 tong`

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

CREATE TABLE "triangles_and_their_sides" (
  "number" real,
  "name" text,
  "vertices" text,
  "hypotenuse_0_c" text,
  "vertical_0_b" text,
  "horizontal_0_a" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the horizontal 0 for 通 tong`:
```sql
                SELECT "horizontal_0_a" FROM "triangles_and_their_sides" WHERE "name"='通 TONG';
```
## Task
Generate a SQL query to answer the following question:
`Name the horizontal 0 for  明弦（ry日月）`

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

CREATE TABLE "triangles_and_their_sides" (
  "number" real,
  "name" text,
  "vertices" text,
  "hypotenuse_0_c" text,
  "vertical_0_b" text,
  "horizontal_0_a" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the horizontal 0 for  明弦（ry日月）`:
```sql
                SELECT "horizontal_0_a" FROM "triangles_and_their_sides" WHERE "hypotenuse_0_c"='明弦（RY日月）';
```
## Task
Generate a SQL query to answer the following question:
`Name the vertical for 明勾（ys月南）`

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

CREATE TABLE "triangles_and_their_sides" (
  "number" real,
  "name" text,
  "vertices" text,
  "hypotenuse_0_c" text,
  "vertical_0_b" text,
  "horizontal_0_a" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the vertical for 明勾（ys月南）`:
```sql
                SELECT "vertical_0_b" FROM "triangles_and_their_sides" WHERE "horizontal_0_a"='明勾（YS月南）';
```
## Task
Generate a SQL query to answer the following question:
`Name the horizontal number for number 10`

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

CREATE TABLE "triangles_and_their_sides" (
  "number" real,
  "name" text,
  "vertices" text,
  "hypotenuse_0_c" text,
  "vertical_0_b" text,
  "horizontal_0_a" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the horizontal number for number 10`:
```sql
                SELECT COUNT("horizontal_0_a") FROM "triangles_and_their_sides" WHERE "number"=10;
```
## Task
Generate a SQL query to answer the following question:
`How many teams drafted players from the University of Maryland?`

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

CREATE TABLE "table1_25518547_3" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams drafted players from the University of Maryland?`:
```sql
                SELECT COUNT("mls_team") FROM "table1_25518547_3" WHERE "affiliation"='University of Maryland';
```
## Task
Generate a SQL query to answer the following question:
`What MLS team drafted samuel appiah?`

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

CREATE TABLE "table1_25518547_3" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What MLS team drafted samuel appiah?`:
```sql
                SELECT "mls_team" FROM "table1_25518547_3" WHERE "player"='Samuel Appiah';
```
## Task
Generate a SQL query to answer the following question:
`What player was drafted by the philadelphia union?`

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

CREATE TABLE "table1_25518547_3" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player was drafted by the philadelphia union?`:
```sql
                SELECT "player" FROM "table1_25518547_3" WHERE "mls_team"='Philadelphia Union';
```
## Task
Generate a SQL query to answer the following question:
`This institution nicknamed Fightin' engineers was founded on what year?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `This institution nicknamed Fightin' engineers was founded on what year?`:
```sql
                SELECT "founded" FROM "current_members" WHERE "nickname"='Fightin'' Engineers';
```
## Task
Generate a SQL query to answer the following question:
`How many inputs joined this institution located in Franklin, Indiana?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many inputs joined this institution located in Franklin, Indiana?`:
```sql
                SELECT COUNT("joined") FROM "current_members" WHERE "location"='Franklin, Indiana';
```
## Task
Generate a SQL query to answer the following question:
`How many times this institution was founded that was nicknamed Beavers?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times this institution was founded that was nicknamed Beavers?`:
```sql
                SELECT COUNT("founded") FROM "current_members" WHERE "nickname"='Beavers';
```
## Task
Generate a SQL query to answer the following question:
`How many joined this Private/Church of God institution?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many joined this Private/Church of God institution?`:
```sql
                SELECT "joined" FROM "current_members" WHERE "type"='Private/Church of God';
```
## Task
Generate a SQL query to answer the following question:
`How many joined Manchester University?`

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "nickname" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many joined Manchester University?`:
```sql
                SELECT "joined" FROM "current_members" WHERE "institution"='Manchester University';
```
## Task
Generate a SQL query to answer the following question:
`What circuit was the Clipsal 500 on?`

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

CREATE TABLE "table1_25531112_2" (
  "rd" text,
  "event" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "championship" text,
  "challenge" text,
  "production" text
);
### SQL
Given the database schema, here is the SQL query that answers `What circuit was the Clipsal 500 on?`:
```sql
                SELECT "circuit" FROM "table1_25531112_2" WHERE "event"='Clipsal 500';
```
## Task
Generate a SQL query to answer the following question:
`Who made the challenge on the Albert Park Grand Prix Circuit?`

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

CREATE TABLE "table1_25531112_2" (
  "rd" text,
  "event" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "championship" text,
  "challenge" text,
  "production" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who made the challenge on the Albert Park Grand Prix Circuit?`:
```sql
                SELECT "challenge" FROM "table1_25531112_2" WHERE "circuit"='Albert Park Grand Prix Circuit';
```
## Task
Generate a SQL query to answer the following question:
`In what round was the circuit Eastern Creek Raceway?`

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

CREATE TABLE "table1_25531112_2" (
  "rd" text,
  "event" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "championship" text,
  "challenge" text,
  "production" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what round was the circuit Eastern Creek Raceway?`:
```sql
                SELECT "rd" FROM "table1_25531112_2" WHERE "circuit"='Eastern Creek Raceway';
```
## Task
Generate a SQL query to answer the following question:
`Who made the challenge in the Australian Grand Prix?`

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

CREATE TABLE "table1_25531112_2" (
  "rd" text,
  "event" text,
  "circuit" text,
  "city_state" text,
  "date" text,
  "championship" text,
  "challenge" text,
  "production" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who made the challenge in the Australian Grand Prix?`:
```sql
                SELECT "challenge" FROM "table1_25531112_2" WHERE "event"='Australian Grand Prix';
```
## Task
Generate a SQL query to answer the following question:
`Who is the shirt sponsor of the team with an average squad age of 25.46?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_manufacturer" text,
  "shirt_sponsor" text,
  "average_squad_age" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the shirt sponsor of the team with an average squad age of 25.46?`:
```sql
                SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "average_squad_age"='25.46';
```
## Task
Generate a SQL query to answer the following question:
`Who is the shirt sponsor for FC Bunyodkor?`

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_manufacturer" text,
  "shirt_sponsor" text,
  "average_squad_age" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the shirt sponsor for FC Bunyodkor?`:
```sql
                SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "team"='FC Bunyodkor';
```
## Task
Generate a SQL query to answer the following question:
`What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas? `

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_manufacturer" text,
  "shirt_sponsor" text,
  "average_squad_age" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas? `:
```sql
                SELECT "average_squad_age" FROM "personnel_and_kits" WHERE "shirt_sponsor"='Sho''rtan Gaz Mahsulot' AND "kit_manufacturer"='Adidas';
```
## Task
Generate a SQL query to answer the following question:
`Who is the captain of the team whose kit manufacturer is Nike? `

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_manufacturer" text,
  "shirt_sponsor" text,
  "average_squad_age" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the captain of the team whose kit manufacturer is Nike? `:
```sql
                SELECT "captain" FROM "personnel_and_kits" WHERE "kit_manufacturer"='Nike';
```
## Task
Generate a SQL query to answer the following question:
`Who is the manager of FK Andijan? `

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

CREATE TABLE "personnel_and_kits" (
  "team" text,
  "manager" text,
  "captain" text,
  "kit_manufacturer" text,
  "shirt_sponsor" text,
  "average_squad_age" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the manager of FK Andijan? `:
```sql
                SELECT "manager" FROM "personnel_and_kits" WHERE "team"='FK Andijan';
```
## Task
Generate a SQL query to answer the following question:
`Name the year for open cup did not qualify and national final`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for open cup did not qualify and national final`:
```sql
                SELECT COUNT("year") FROM "year_by_year" WHERE "open_cup"='Did not qualify' AND "playoffs"='National Final';
```
## Task
Generate a SQL query to answer the following question:
`Name the league for 2000`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the league for 2000`:
```sql
                SELECT "league" FROM "year_by_year" WHERE "year"=2000;
```
## Task
Generate a SQL query to answer the following question:
`Name the league for conference finals`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the league for conference finals`:
```sql
                SELECT "league" FROM "year_by_year" WHERE "playoffs"='Conference Finals';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode that was written by Bill Lawrence? `

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

CREATE TABLE "table1_25547943_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the episode that was written by Bill Lawrence? `:
```sql
                SELECT "directed_by" FROM "table1_25547943_1" WHERE "written_by"='Bill Lawrence';
```
## Task
Generate a SQL query to answer the following question:
`Name the series result for season being 1998`

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

CREATE TABLE "series" (
  "series" real,
  "season" text,
  "played_in" text,
  "first_match" text,
  "tests_played_sched" text,
  "tests_won_by_australia" real,
  "tests_won_by_england" real,
  "tests_drawn" real,
  "series_result" text,
  "holder_at_series_end" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the series result for season being 1998`:
```sql
                SELECT "series_result" FROM "series" WHERE "season"='1998';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of tests won by australia for series 10`

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

CREATE TABLE "series" (
  "series" real,
  "season" text,
  "played_in" text,
  "first_match" text,
  "tests_played_sched" text,
  "tests_won_by_australia" real,
  "tests_won_by_england" real,
  "tests_drawn" real,
  "series_result" text,
  "holder_at_series_end" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of tests won by australia for series 10`:
```sql
                SELECT COUNT("tests_won_by_australia") FROM "series" WHERE "series"=10;
```
## Task
Generate a SQL query to answer the following question:
`How many winners were there when the mountains classification was not awarded? `

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "combination_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many winners were there when the mountains classification was not awarded? `:
```sql
                SELECT COUNT("winner") FROM "classification_leadership" WHERE "mountains_classification"='not awarded';
```
## Task
Generate a SQL query to answer the following question:
`Who was awarded mountains classifications when Mikel Nieve was the winner? `

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "combination_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was awarded mountains classifications when Mikel Nieve was the winner? `:
```sql
                SELECT "mountains_classification" FROM "classification_leadership" WHERE "winner"='Mikel Nieve';
```
## Task
Generate a SQL query to answer the following question:
`Who was awarded mountains classification when Alessandro petacchi won? `

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "combination_classification" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was awarded mountains classification when Alessandro petacchi won? `:
```sql
                SELECT "mountains_classification" FROM "classification_leadership" WHERE "winner"='Alessandro Petacchi';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for he episode titled "my best friend's baby's baby and my baby's baby"`

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

CREATE TABLE "table1_25548213_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for he episode titled "my best friend's baby's baby and my baby's baby"`:
```sql
                SELECT MIN("production_code") FROM "table1_25548213_1" WHERE "title"='\"My Best Friend''s Baby''s Baby and My Baby''s Baby\"';
```
## Task
Generate a SQL query to answer the following question:
`List the number of episodes directed by linda mendoza.`

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

CREATE TABLE "table1_25548213_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the number of episodes directed by linda mendoza.`:
```sql
                SELECT COUNT("production_code") FROM "table1_25548213_1" WHERE "directed_by"='Linda Mendoza';
```
## Task
Generate a SQL query to answer the following question:
`How many million viewers watch the episode that kevin biegel & aseem batra wrote?`

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

CREATE TABLE "table1_25548213_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many million viewers watch the episode that kevin biegel & aseem batra wrote?`:
```sql
                SELECT "u_s_viewers_million" FROM "table1_25548213_1" WHERE "written_by"='Kevin Biegel & Aseem Batra';
```
## Task
Generate a SQL query to answer the following question:
`What is the series number that had 5.31 million viewers?`

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

CREATE TABLE "table1_25548213_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the series number that had 5.31 million viewers?`:
```sql
                SELECT MAX("series_num") FROM "table1_25548213_1" WHERE "u_s_viewers_million"='5.31';
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the episode that bill lawrence directed?`

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

CREATE TABLE "table1_25548213_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the episode that bill lawrence directed?`:
```sql
                SELECT "title" FROM "table1_25548213_1" WHERE "directed_by"='Bill Lawrence';
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the episode that had 4.65 million viewers?`

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

CREATE TABLE "table1_25548213_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_million" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the episode that had 4.65 million viewers?`:
```sql
                SELECT "title" FROM "table1_25548213_1" WHERE "u_s_viewers_million"='4.65';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date of the episode titled "My Hard Labor"?`

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

CREATE TABLE "table1_25548505_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date of the episode titled "My Hard Labor"?`:
```sql
                SELECT "original_air_date" FROM "table1_25548505_1" WHERE "title"='\"My Hard Labor\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code of the episode directed by Michael McDonald?`

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

CREATE TABLE "table1_25548505_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code of the episode directed by Michael McDonald?`:
```sql
                SELECT "production_code" FROM "table1_25548505_1" WHERE "directed_by"='Michael McDonald';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date of the episode that had 5.30 million U.S. viewers? `

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

CREATE TABLE "table1_25548505_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date of the episode that had 5.30 million U.S. viewers? `:
```sql
                SELECT "original_air_date" FROM "table1_25548505_1" WHERE "u_s_viewers_millions"='5.30';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode directed by Linda Mendoza?`

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

CREATE TABLE "table1_25548505_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode directed by Linda Mendoza?`:
```sql
                SELECT "title" FROM "table1_25548505_1" WHERE "directed_by"='Linda Mendoza';
```
## Task
Generate a SQL query to answer the following question:
`What are all the political types where area is 155.77?`

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

CREATE TABLE "political" (
  "city_municipality" text,
  "type" text,
  "no_of_barangays" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" real,
  "income_class" text,
  "zip_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the political types where area is 155.77?`:
```sql
                SELECT "type" FROM "political" WHERE "area_km"='155.77';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum number of barangays where the type is component city?`

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

CREATE TABLE "political" (
  "city_municipality" text,
  "type" text,
  "no_of_barangays" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" real,
  "income_class" text,
  "zip_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum number of barangays where the type is component city?`:
```sql
                SELECT MIN("no_of_barangays") FROM "political" WHERE "type"='Component City';
```
## Task
Generate a SQL query to answer the following question:
`What city/municipality has area of 176.40?`

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

CREATE TABLE "political" (
  "city_municipality" text,
  "type" text,
  "no_of_barangays" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" real,
  "income_class" text,
  "zip_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What city/municipality has area of 176.40?`:
```sql
                SELECT "city_municipality" FROM "political" WHERE "area_km"='176.40';
```
## Task
Generate a SQL query to answer the following question:
`What is the area where population in 2010 is 38062?`

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

CREATE TABLE "political" (
  "city_municipality" text,
  "type" text,
  "no_of_barangays" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" real,
  "income_class" text,
  "zip_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the area where population in 2010 is 38062?`:
```sql
                SELECT "area_km" FROM "political" WHERE "population_2010"=38062;
```
## Task
Generate a SQL query to answer the following question:
`What is the population density where area is 48.67?`

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

CREATE TABLE "political" (
  "city_municipality" text,
  "type" text,
  "no_of_barangays" real,
  "population_2010" real,
  "area_km" text,
  "pop_density_per_km" real,
  "income_class" text,
  "zip_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population density where area is 48.67?`:
```sql
                SELECT COUNT("pop_density_per_km") FROM "political" WHERE "area_km"='48.67';
```
## Task
Generate a SQL query to answer the following question:
`What couple averaged 21.0?`

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

CREATE TABLE "average_chart" (
  "rank_by_average" real,
  "competition_finish" real,
  "couple" text,
  "total" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What couple averaged 21.0?`:
```sql
                SELECT "couple" FROM "average_chart" WHERE "average"='21.0';
```
## Task
Generate a SQL query to answer the following question:
`What was the number of dances for the competition finish of 3?`

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

CREATE TABLE "average_chart" (
  "rank_by_average" real,
  "competition_finish" real,
  "couple" text,
  "total" real,
  "number_of_dances" real,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the number of dances for the competition finish of 3?`:
```sql
                SELECT MAX("number_of_dances") FROM "average_chart" WHERE "competition_finish"=3;
```
## Task
Generate a SQL query to answer the following question:
`What was his minimum number wins in a single year?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was his minimum number wins in a single year?`:
```sql
                SELECT MIN("wins") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`In which series was his position NC† ?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which series was his position NC† ?`:
```sql
                SELECT "series" FROM "career_summary" WHERE "position"='NC†';
```
## Task
Generate a SQL query to answer the following question:
`What was his position when he garnered 38 points?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was his position when he garnered 38 points?`:
```sql
                SELECT "position" FROM "career_summary" WHERE "points"='38';
```
## Task
Generate a SQL query to answer the following question:
`What was the sail number of Two True?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the sail number of Two True?`:
```sql
                SELECT "sail_number" FROM "handicap_results_top_10" WHERE "yacht"='Two True';
```
## Task
Generate a SQL query to answer the following question:
`What was Swish's corrected time?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Swish's corrected time?`:
```sql
                SELECT "corrected_time_d_hh_mm_ss" FROM "handicap_results_top_10" WHERE "yacht"='Swish';
```
## Task
Generate a SQL query to answer the following question:
`What yacht did Andrew Saies sail on?`

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

CREATE TABLE "handicap_results_top_10" (
  "position" real,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "corrected_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What yacht did Andrew Saies sail on?`:
```sql
                SELECT "yacht" FROM "handicap_results_top_10" WHERE "skipper"='Andrew Saies';
```
## Task
Generate a SQL query to answer the following question:
`What was the LOA when the elapsed time was 3:06:41:37?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the LOA when the elapsed time was 3:06:41:37?`:
```sql
                SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:06:41:37';
```