cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many wins have conceded as 18?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins have conceded as 18?`:
```sql
                SELECT MAX("wins") FROM "torneo_clausura" WHERE "conceded"=18;
```
## Task
Generate a SQL query to answer the following question:
`How many draws occurred when 25 points were scored? `

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

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

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least number of poins for San Lorenzo? `:
```sql
                SELECT MIN("points") FROM "torneo_apertura" WHERE "team"='San Lorenzo';
```
## Task
Generate a SQL query to answer the following question:
`How many draws does 12 de Octubre  have? `

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many draws does 12 de Octubre  have? `:
```sql
                SELECT "draws" FROM "torneo_apertura" WHERE "team"='12 de Octubre';
```
## Task
Generate a SQL query to answer the following question:
`What is Inaba's maximum score?`

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

CREATE TABLE "table1_18595004_7" (
  "week_num" real,
  "dance_song" text,
  "inaba" real,
  "goodman" real,
  "tonioli" real,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Inaba's maximum score?`:
```sql
                SELECT MAX("inaba") FROM "table1_18595004_7";
```
## Task
Generate a SQL query to answer the following question:
`How many sets of marks does Tonioli get in week 3?`

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

CREATE TABLE "table1_18595004_7" (
  "week_num" real,
  "dance_song" text,
  "inaba" real,
  "goodman" real,
  "tonioli" real,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many sets of marks does Tonioli get in week 3?`:
```sql
                SELECT COUNT("tonioli") FROM "table1_18595004_7" WHERE "week_num"=3;
```
## Task
Generate a SQL query to answer the following question:
`When columbia, south carolina is the hometown what is the lowest age?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When columbia, south carolina is the hometown what is the lowest age?`:
```sql
                SELECT MIN("age") FROM "candidates" WHERE "hometown"='Columbia, South Carolina';
```
## Task
Generate a SQL query to answer the following question:
`When austin, texas is the hometown what is the lowest age?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When austin, texas is the hometown what is the lowest age?`:
```sql
                SELECT MIN("age") FROM "candidates" WHERE "hometown"='Austin, Texas';
```
## Task
Generate a SQL query to answer the following question:
`When stacy schneider is the candidate what are the results?`

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

CREATE TABLE "candidates" (
  "candidate" text,
  "background" text,
  "original_team" text,
  "age" real,
  "hometown" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When stacy schneider is the candidate what are the results?`:
```sql
                SELECT "result" FROM "candidates" WHERE "candidate"='Stacy Schneider';
```
## Task
Generate a SQL query to answer the following question:
`Which township is 35.766 sqmi?`

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

CREATE TABLE "o" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which township is 35.766 sqmi?`:
```sql
                SELECT "township" FROM "o" WHERE "land_sqmi"='35.766';
```
## Task
Generate a SQL query to answer the following question:
`What county is the township of Osborn in?`

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

CREATE TABLE "o" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What county is the township of Osborn in?`:
```sql
                SELECT "county" FROM "o" WHERE "township"='Osborn';
```
## Task
Generate a SQL query to answer the following question:
`What is the longitude with a latitude of 47.985154?`

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

CREATE TABLE "o" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the longitude with a latitude of 47.985154?`:
```sql
                SELECT "longitude" FROM "o" WHERE "latitude"='47.985154';
```
## Task
Generate a SQL query to answer the following question:
`How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0?`

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

CREATE TABLE "o" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0?`:
```sql
                SELECT "water_sqmi" FROM "o" WHERE "county"='Ramsey' AND "geo_id">3807159460.0;
```
## Task
Generate a SQL query to answer the following question:
`how many latitudes have 0.081 (sqmi) of water?`

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

CREATE TABLE "o" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many latitudes have 0.081 (sqmi) of water?`:
```sql
                SELECT COUNT("latitude") FROM "o" WHERE "water_sqmi"='0.081';
```
## Task
Generate a SQL query to answer the following question:
`what is the lowest geo id?`

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

CREATE TABLE "o" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the lowest geo id?`:
```sql
                SELECT MIN("geo_id") FROM "o";
```
## Task
Generate a SQL query to answer the following question:
`What is the geo ID for the township with 0.771 square miles of water?`

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

CREATE TABLE "j" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the geo ID for the township with 0.771 square miles of water?`:
```sql
                SELECT MAX("geo_id") FROM "j" WHERE "water_sqmi"='0.771';
```
## Task
Generate a SQL query to answer the following question:
`What is the geo id for Logan county?`

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

CREATE TABLE "j" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the geo id for Logan county?`:
```sql
                SELECT MAX("geo_id") FROM "j" WHERE "county"='Logan';
```
## Task
Generate a SQL query to answer the following question:
`How big is the land in square miles of Grand Forks county?`

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

CREATE TABLE "j" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How big is the land in square miles of Grand Forks county?`:
```sql
                SELECT "land_sqmi" FROM "j" WHERE "county"='Grand Forks';
```
## Task
Generate a SQL query to answer the following question:
`What is the geo id for Joliette?`

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

CREATE TABLE "j" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the geo id for Joliette?`:
```sql
                SELECT MAX("geo_id") FROM "j" WHERE "township"='Joliette';
```
## Task
Generate a SQL query to answer the following question:
`What was the lattitude for the area with 4.243 square miles of water?`

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

CREATE TABLE "j" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lattitude for the area with 4.243 square miles of water?`:
```sql
                SELECT "latitude" FROM "j" WHERE "water_sqmi"='4.243';
```
## Task
Generate a SQL query to answer the following question:
`What township is 28.597 square miles of land?`

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

CREATE TABLE "j" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What township is 28.597 square miles of land?`:
```sql
                SELECT "township" FROM "j" WHERE "land_sqmi"='28.597';
```
## Task
Generate a SQL query to answer the following question:
`Which township has a longitude of -98.741656?`

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

CREATE TABLE "l" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which township has a longitude of -98.741656?`:
```sql
                SELECT "township" FROM "l" WHERE "longitude"='-98.741656';
```
## Task
Generate a SQL query to answer the following question:
`What is the land (sqmi) in lansing township?`

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

CREATE TABLE "l" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the land (sqmi) in lansing township?`:
```sql
                SELECT "land_sqmi" FROM "l" WHERE "township"='Lansing';
```
## Task
Generate a SQL query to answer the following question:
`What is the geo id when water is 0.457?`

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

CREATE TABLE "l" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the geo id when water is 0.457?`:
```sql
                SELECT MIN("geo_id") FROM "l" WHERE "water_sqmi"='0.457';
```
## Task
Generate a SQL query to answer the following question:
`What is the geo id of the land at 35.999?`

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

CREATE TABLE "l" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the geo id of the land at 35.999?`:
```sql
                SELECT MAX("geo_id") FROM "l" WHERE "land_sqmi"='35.999';
```
## Task
Generate a SQL query to answer the following question:
`What is the land (sqmi) at geo id 3801947380?`

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

CREATE TABLE "l" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the land (sqmi) at geo id 3801947380?`:
```sql
                SELECT "land_sqmi" FROM "l" WHERE "geo_id"=3801947380;
```
## Task
Generate a SQL query to answer the following question:
`What is the population associated with latitude 48.676125?`

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

CREATE TABLE "m" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population associated with latitude 48.676125?`:
```sql
                SELECT MAX("pop_2010") FROM "m" WHERE "latitude"='48.676125';
```
## Task
Generate a SQL query to answer the following question:
`How many places associated with latitude 48.247662?`

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

CREATE TABLE "m" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many places associated with latitude 48.247662?`:
```sql
                SELECT COUNT("ansi_code") FROM "m" WHERE "latitude"='48.247662';
```
## Task
Generate a SQL query to answer the following question:
`What longitudes associated with a water (sqmi) area of 0.068?`

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

CREATE TABLE "m" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What longitudes associated with a water (sqmi) area of 0.068?`:
```sql
                SELECT "longitude" FROM "m" WHERE "water_sqmi"='0.068';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest ansi code?`

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

CREATE TABLE "m" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest ansi code?`:
```sql
                SELECT MIN("ansi_code") FROM "m";
```
## Task
Generate a SQL query to answer the following question:
`What county is associated with ansi code 1759686?`

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

CREATE TABLE "m" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What county is associated with ansi code 1759686?`:
```sql
                SELECT "county" FROM "m" WHERE "ansi_code"=1759686;
```
## Task
Generate a SQL query to answer the following question:
`What is the geo id for malcolm township?`

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

CREATE TABLE "m" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the geo id for malcolm township?`:
```sql
                SELECT COUNT("geo_id") FROM "m" WHERE "township"='Malcolm';
```
## Task
Generate a SQL query to answer the following question:
`What is the land area of Reed Township?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the land area of Reed Township?`:
```sql
                SELECT "land_sqmi" FROM "r" WHERE "township"='Reed';
```
## Task
Generate a SQL query to answer the following question:
`What is the township at longitude -100.680772?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the township at longitude -100.680772?`:
```sql
                SELECT "township" FROM "r" WHERE "longitude"='-100.680772';
```
## Task
Generate a SQL query to answer the following question:
`What is the ANSI code of the township where the area is 35.737 square miles?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ANSI code of the township where the area is 35.737 square miles?`:
```sql
                SELECT MIN("ansi_code") FROM "r" WHERE "land_sqmi"='35.737';
```
## Task
Generate a SQL query to answer the following question:
`What is the GEO ID of the township with area of 32.532 square miles?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the GEO ID of the township with area of 32.532 square miles?`:
```sql
                SELECT MAX("geo_id") FROM "r" WHERE "land_sqmi"='32.532';
```
## Task
Generate a SQL query to answer the following question:
`What township is 34.781 square miles?`

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

CREATE TABLE "r" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What township is 34.781 square miles?`:
```sql
                SELECT "township" FROM "r" WHERE "land_sqmi"='34.781';
```
## Task
Generate a SQL query to answer the following question:
`What longitude is tatman township?`

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

CREATE TABLE "t" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What longitude is tatman township?`:
```sql
                SELECT "longitude" FROM "t" WHERE "township"='Tatman';
```
## Task
Generate a SQL query to answer the following question:
`What is the land area (sqmi) for the township at longtidue 47.548602?`

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

CREATE TABLE "t" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the land area (sqmi) for the township at longtidue 47.548602?`:
```sql
                SELECT "land_sqmi" FROM "t" WHERE "latitude"='47.548602';
```
## Task
Generate a SQL query to answer the following question:
`How many ansi codes are there for longitude 46.415037?`

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

CREATE TABLE "t" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many ansi codes are there for longitude 46.415037?`:
```sql
                SELECT COUNT("ansi_code") FROM "t" WHERE "latitude"='46.415037';
```
## Task
Generate a SQL query to answer the following question:
`What is the water area (sqmi) for the township at latitude 48.423224?`

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

CREATE TABLE "t" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the water area (sqmi) for the township at latitude 48.423224?`:
```sql
                SELECT "water_sqmi" FROM "t" WHERE "latitude"='48.423224';
```
## Task
Generate a SQL query to answer the following question:
`How many ansi codes are there for latitude 48.142938?`

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

CREATE TABLE "t" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many ansi codes are there for latitude 48.142938?`:
```sql
                SELECT COUNT("ansi_code") FROM "t" WHERE "latitude"='48.142938';
```
## Task
Generate a SQL query to answer the following question:
`Name the township for kidder`

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

CREATE TABLE "h" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the township for kidder`:
```sql
                SELECT "township" FROM "h" WHERE "county"='Kidder';
```
## Task
Generate a SQL query to answer the following question:
`Name the latitude for  3810536900`

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

CREATE TABLE "h" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the latitude for  3810536900`:
```sql
                SELECT "latitude" FROM "h" WHERE "geo_id"=3810536900;
```
## Task
Generate a SQL query to answer the following question:
`Name the latitude for 3809935740`

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

CREATE TABLE "h" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the latitude for 3809935740`:
```sql
                SELECT "latitude" FROM "h" WHERE "geo_id"=3809935740;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of county for 90 population`

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

CREATE TABLE "h" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" text,
  "water_sqmi" text,
  "latitude" text,
  "longitude" text,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of county for 90 population`:
```sql
                SELECT COUNT("county") FROM "h" WHERE "pop_2010"=90;
```
## Task
Generate a SQL query to answer the following question:
`When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?`

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

CREATE TABLE "table1_18602462_21" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_64" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?`:
```sql
                SELECT "final_bronze_medal_match" FROM "table1_18602462_21" WHERE "quarterfinals"='Houdet ( FRA ) W 6-2, 6-1';
```
## Task
Generate a SQL query to answer the following question:
`When in round of 16 it was did not advance what was it in round of 32?`

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

CREATE TABLE "table1_18602462_21" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_64" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `When in round of 16 it was did not advance what was it in round of 32?`:
```sql
                SELECT "round_of_32" FROM "table1_18602462_21" WHERE "round_of_16"='Did not advance';
```
## Task
Generate a SQL query to answer the following question:
`When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event?`

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

CREATE TABLE "table1_18602462_21" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_64" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event?`:
```sql
                SELECT "event" FROM "table1_18602462_21" WHERE "final_bronze_medal_match"='Scheffers ( NED ) L 3-6, 1-6';
```
## Task
Generate a SQL query to answer the following question:
`When mixed quad singles is the event what is the final/bronze medal match?`

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

CREATE TABLE "table1_18602462_21" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_64" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `When mixed quad singles is the event what is the final/bronze medal match?`:
```sql
                SELECT "final_bronze_medal_match" FROM "table1_18602462_21" WHERE "event"='Mixed Quad Singles';
```
## Task
Generate a SQL query to answer the following question:
`When bas van erp was the athlete what was the quarterfinals?`

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

CREATE TABLE "table1_18602462_21" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_64" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `When bas van erp was the athlete what was the quarterfinals?`:
```sql
                SELECT "quarterfinals" FROM "table1_18602462_21" WHERE "athlete"='Bas van Erp';
```
## Task
Generate a SQL query to answer the following question:
`What is the semifinal result for Dorrie Timmermans-Van Hall?`

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

CREATE TABLE "table1_18602462_22" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the semifinal result for Dorrie Timmermans-Van Hall?`:
```sql
                SELECT "semifinals" FROM "table1_18602462_22" WHERE "athlete"='Dorrie Timmermans-Van Hall';
```
## Task
Generate a SQL query to answer the following question:
`What is the round of 16 result for Jiske Griffioen Esther Vergeer?`

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

CREATE TABLE "table1_18602462_22" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round of 16 result for Jiske Griffioen Esther Vergeer?`:
```sql
                SELECT "round_of_16" FROM "table1_18602462_22" WHERE "athlete"='Jiske Griffioen Esther Vergeer';
```
## Task
Generate a SQL query to answer the following question:
`The semifinal score of vergeer ( ned ) l 0-6, 1-6 follows a round of 16 result of what?`

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

CREATE TABLE "table1_18602462_22" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `The semifinal score of vergeer ( ned ) l 0-6, 1-6 follows a round of 16 result of what?`:
```sql
                SELECT "round_of_16" FROM "table1_18602462_22" WHERE "semifinals"='Vergeer ( NED ) L 0-6, 1-6';
```
## Task
Generate a SQL query to answer the following question:
`How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?`

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

CREATE TABLE "table1_18602462_22" (
  "athlete" text,
  "class" text,
  "event" text,
  "round_of_32" text,
  "round_of_16" text,
  "quarterfinals" text,
  "semifinals" text,
  "final_bronze_medal_match" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?`:
```sql
                SELECT COUNT("round_of_32") FROM "table1_18602462_22" WHERE "round_of_16"='Polidori ( ITA ) W 6-1, 3-6, 6-3';
```
## Task
Generate a SQL query to answer the following question:
`Name the maximum points for libertad`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the maximum points for libertad`:
```sql
                SELECT MAX("points") FROM "torneo_clausura" WHERE "team"='Libertad';
```
## Task
Generate a SQL query to answer the following question:
`Name the least wins for 5 losses`

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

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

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most draws`:
```sql
                SELECT MAX("draws") FROM "torneo_clausura";
```
## Task
Generate a SQL query to answer the following question:
`Name the least played`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least played`:
```sql
                SELECT MIN("played") FROM "torneo_clausura";
```
## Task
Generate a SQL query to answer the following question:
`When  cristina peña garzon is the contestant what is the geographical region?`

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

CREATE TABLE "delegates" (
  "province_community" text,
  "contestant" text,
  "age" real,
  "height" text,
  "hometown" text,
  "geographical_regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When  cristina peña garzon is the contestant what is the geographical region?`:
```sql
                SELECT "geographical_regions" FROM "delegates" WHERE "contestant"='Cristina Peña Garzon';
```
## Task
Generate a SQL query to answer the following question:
`When  1.79 is the height what is the geographical region?`

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

CREATE TABLE "delegates" (
  "province_community" text,
  "contestant" text,
  "age" real,
  "height" text,
  "hometown" text,
  "geographical_regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When  1.79 is the height what is the geographical region?`:
```sql
                SELECT "geographical_regions" FROM "delegates" WHERE "height"='1.79';
```
## Task
Generate a SQL query to answer the following question:
`When 1.67 is the height how many contestants are there?`

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

CREATE TABLE "delegates" (
  "province_community" text,
  "contestant" text,
  "age" real,
  "height" text,
  "hometown" text,
  "geographical_regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 1.67 is the height how many contestants are there?`:
```sql
                SELECT COUNT("contestant") FROM "delegates" WHERE "height"='1.67';
```
## Task
Generate a SQL query to answer the following question:
`When baoruco is the province, community what is the lowest age?`

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

CREATE TABLE "delegates" (
  "province_community" text,
  "contestant" text,
  "age" real,
  "height" text,
  "hometown" text,
  "geographical_regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When baoruco is the province, community what is the lowest age?`:
```sql
                SELECT MIN("age") FROM "delegates" WHERE "province_community"='Baoruco';
```
## Task
Generate a SQL query to answer the following question:
`When el cibao is the geographical region and the height is 1.80 who is the contestant?`

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

CREATE TABLE "delegates" (
  "province_community" text,
  "contestant" text,
  "age" real,
  "height" text,
  "hometown" text,
  "geographical_regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When el cibao is the geographical region and the height is 1.80 who is the contestant?`:
```sql
                SELECT "contestant" FROM "delegates" WHERE "height"='1.80' AND "geographical_regions"='El Cibao';
```
## Task
Generate a SQL query to answer the following question:
`When toronto is the hometown how many height measurements are there?`

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

CREATE TABLE "delegates" (
  "province_community" text,
  "contestant" text,
  "age" real,
  "height" text,
  "hometown" text,
  "geographical_regions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When toronto is the hometown how many height measurements are there?`:
```sql
                SELECT COUNT("height") FROM "delegates" WHERE "hometown"='Toronto';
```
## Task
Generate a SQL query to answer the following question:
`What is the 3rd place team for the year of 1955?`

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

CREATE TABLE "international_softball_league_1951_to_19" (
  "year" real,
  "1st_place_team" text,
  "2nd_place_team" text,
  "3rd_place_team" text,
  "4th_place_team" text,
  "host_location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 3rd place team for the year of 1955?`:
```sql
                SELECT "3rd_place_team" FROM "international_softball_league_1951_to_19" WHERE "year"=1955;
```
## Task
Generate a SQL query to answer the following question:
`How many years was the 2nd place team merchants, tampico, il?`

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

CREATE TABLE "international_softball_league_1951_to_19" (
  "year" real,
  "1st_place_team" text,
  "2nd_place_team" text,
  "3rd_place_team" text,
  "4th_place_team" text,
  "host_location" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years was the 2nd place team merchants, tampico, il?`:
```sql
                SELECT COUNT("year") FROM "international_softball_league_1951_to_19" WHERE "2nd_place_team"='Merchants, Tampico, IL';
```
## Task
Generate a SQL query to answer the following question:
`When mithuna is the   international alphabet of sanskrit transliteration what is the ruling planet?`

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

CREATE TABLE "r_i_zodiacal_signs" (
  "number" real,
  "sanskrit" text,
  "international_alphabet_of_sanskrit_transliteration" text,
  "sanskrit_gloss" text,
  "western_name" text,
  "greek" text,
  "gloss" text,
  "tattva_element" text,
  "quality" text,
  "ruling_planet" text
);
### SQL
Given the database schema, here is the SQL query that answers `When mithuna is the   international alphabet of sanskrit transliteration what is the ruling planet?`:
```sql
                SELECT "ruling_planet" FROM "r_i_zodiacal_signs" WHERE "international_alphabet_of_sanskrit_transliteration"='Mithuna';
```
## Task
Generate a SQL query to answer the following question:
`When Sagittarius is the wester name what is the sanskrit gloss?`

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

CREATE TABLE "r_i_zodiacal_signs" (
  "number" real,
  "sanskrit" text,
  "international_alphabet_of_sanskrit_transliteration" text,
  "sanskrit_gloss" text,
  "western_name" text,
  "greek" text,
  "gloss" text,
  "tattva_element" text,
  "quality" text,
  "ruling_planet" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Sagittarius is the wester name what is the sanskrit gloss?`:
```sql
                SELECT "sanskrit_gloss" FROM "r_i_zodiacal_signs" WHERE "western_name"='Sagittarius';
```
## Task
Generate a SQL query to answer the following question:
`When scorpion is the sankrit gloss how many qualities are there?`

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

CREATE TABLE "r_i_zodiacal_signs" (
  "number" real,
  "sanskrit" text,
  "international_alphabet_of_sanskrit_transliteration" text,
  "sanskrit_gloss" text,
  "western_name" text,
  "greek" text,
  "gloss" text,
  "tattva_element" text,
  "quality" text,
  "ruling_planet" text
);
### SQL
Given the database schema, here is the SQL query that answers `When scorpion is the sankrit gloss how many qualities are there?`:
```sql
                SELECT COUNT("quality") FROM "r_i_zodiacal_signs" WHERE "sanskrit_gloss"='scorpion';
```
## Task
Generate a SQL query to answer the following question:
`When धनुष is the sankrit how many western names are there?`

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

CREATE TABLE "r_i_zodiacal_signs" (
  "number" real,
  "sanskrit" text,
  "international_alphabet_of_sanskrit_transliteration" text,
  "sanskrit_gloss" text,
  "western_name" text,
  "greek" text,
  "gloss" text,
  "tattva_element" text,
  "quality" text,
  "ruling_planet" text
);
### SQL
Given the database schema, here is the SQL query that answers `When धनुष is the sankrit how many western names are there?`:
```sql
                SELECT COUNT("western_name") FROM "r_i_zodiacal_signs" WHERE "sanskrit"='धनुष';
```
## Task
Generate a SQL query to answer the following question:
`When kumbha is the international alphabet of sanskrit transliteration what is the gloss?`

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

CREATE TABLE "r_i_zodiacal_signs" (
  "number" real,
  "sanskrit" text,
  "international_alphabet_of_sanskrit_transliteration" text,
  "sanskrit_gloss" text,
  "western_name" text,
  "greek" text,
  "gloss" text,
  "tattva_element" text,
  "quality" text,
  "ruling_planet" text
);
### SQL
Given the database schema, here is the SQL query that answers `When kumbha is the international alphabet of sanskrit transliteration what is the gloss?`:
```sql
                SELECT "gloss" FROM "r_i_zodiacal_signs" WHERE "international_alphabet_of_sanskrit_transliteration"='Kumbha';
```
## Task
Generate a SQL query to answer the following question:
`When twins is the sankrit gloss what is the gloss?`

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

CREATE TABLE "r_i_zodiacal_signs" (
  "number" real,
  "sanskrit" text,
  "international_alphabet_of_sanskrit_transliteration" text,
  "sanskrit_gloss" text,
  "western_name" text,
  "greek" text,
  "gloss" text,
  "tattva_element" text,
  "quality" text,
  "ruling_planet" text
);
### SQL
Given the database schema, here is the SQL query that answers `When twins is the sankrit gloss what is the gloss?`:
```sql
                SELECT "gloss" FROM "r_i_zodiacal_signs" WHERE "sanskrit_gloss"='twins';
```
## Task
Generate a SQL query to answer the following question:
`In the film Mrs. Miniver, what is the actresses name?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "actor_actress" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the film Mrs. Miniver, what is the actresses name?`:
```sql
                SELECT "actor_actress" FROM "nominees" WHERE "film_title_used_in_nomination"='Mrs. Miniver';
```
## Task
Generate a SQL query to answer the following question:
`What year was Teresa Wright nominated best supporting actress?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "actor_actress" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Teresa Wright nominated best supporting actress?`:
```sql
                SELECT "year_ceremony" FROM "nominees" WHERE "actor_actress"='Teresa Wright' AND "category"='Best Supporting Actress';
```
## Task
Generate a SQL query to answer the following question:
`What category was the movie Working Girl nominated?`

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

CREATE TABLE "nominees" (
  "year_ceremony" text,
  "actor_actress" text,
  "category" text,
  "film_title_used_in_nomination" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What category was the movie Working Girl nominated?`:
```sql
                SELECT "category" FROM "nominees" WHERE "film_title_used_in_nomination"='Working Girl';
```