cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the LOA for the Simonis Voogd Maxi? `

### 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 for the Simonis Voogd Maxi? `:
```sql
                SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "yacht_type"='Simonis Voogd Maxi';
```
## Task
Generate a SQL query to answer the following question:
`In what position did skipper Mark Richards place? `

### 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 `In what position did skipper Mark Richards place? `:
```sql
                SELECT "position" FROM "line_honours_results_top_10" WHERE "skipper"='Mark Richards';
```
## Task
Generate a SQL query to answer the following question:
`What is the yacht type of Icap Leopard? `

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the yacht type of Icap Leopard? `:
```sql
                SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "yacht"='ICAP Leopard';
```
## Task
Generate a SQL query to answer the following question:
`How many elapsed times were posted for the yacht with 27.38 LOA meters? `

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many elapsed times were posted for the yacht with 27.38 LOA meters? `:
```sql
                SELECT COUNT("elapsed_time_d_hh_mm_ss") FROM "line_honours_results_top_10" WHERE "loa_metres"='27.38';
```
## Task
Generate a SQL query to answer the following question:
`what skipper has the sail number aus60000? `

### 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 skipper has the sail number aus60000? `:
```sql
                SELECT "skipper" FROM "line_honours_results_top_10" WHERE "sail_number"='AUS60000';
```
## Task
Generate a SQL query to answer the following question:
`Who was the aggressive rider when the winner was luis león sánchez?`

### 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,
  "mountains_classification" text,
  "sprint_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "aggressive_rider" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the aggressive rider when the winner was luis león sánchez?`:
```sql
                SELECT "aggressive_rider" FROM "classification_leadership" WHERE "winner"='Luis León Sánchez';
```
## Task
Generate a SQL query to answer the following question:
`Who was the aggressive rider when the sprint classification was  andré greipel and mountains classification was timothy roe?`

### 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,
  "mountains_classification" text,
  "sprint_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "aggressive_rider" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the aggressive rider when the sprint classification was  andré greipel and mountains classification was timothy roe?`:
```sql
                SELECT "aggressive_rider" FROM "classification_leadership" WHERE "sprint_classification"='André Greipel' AND "mountains_classification"='Timothy Roe';
```
## Task
Generate a SQL query to answer the following question:
`What was the stage when the winner was luis león sánchez?`

### 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,
  "mountains_classification" text,
  "sprint_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "aggressive_rider" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the stage when the winner was luis león sánchez?`:
```sql
                SELECT "stage" FROM "classification_leadership" WHERE "winner"='Luis León Sánchez';
```
## Task
Generate a SQL query to answer the following question:
`What was the young rider classification when manuel cardoso 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,
  "mountains_classification" text,
  "sprint_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "aggressive_rider" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the young rider classification when manuel cardoso was the winner?`:
```sql
                SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Manuel Cardoso';
```
## Task
Generate a SQL query to answer the following question:
`How many winners were there for stage 5?`

### 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,
  "mountains_classification" text,
  "sprint_classification" text,
  "young_rider_classification" text,
  "team_classification" text,
  "aggressive_rider" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many winners were there for stage 5?`:
```sql
                SELECT COUNT("winner") FROM "classification_leadership" WHERE "stage"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the 2007 population of Gigmoto?`

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

CREATE TABLE "subdivisions" (
  "municipality" text,
  "no_of_barangays" real,
  "area_hectares" real,
  "population_2007" real,
  "population_2010" real,
  "pop_density_per_km_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2007 population of Gigmoto?`:
```sql
                SELECT COUNT("population_2007") FROM "subdivisions" WHERE "municipality"='Gigmoto';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2010 population of the municipality with 31 barangays?`

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

CREATE TABLE "subdivisions" (
  "municipality" text,
  "no_of_barangays" real,
  "area_hectares" real,
  "population_2007" real,
  "population_2010" real,
  "pop_density_per_km_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2010 population of the municipality with 31 barangays?`:
```sql
                SELECT "population_2010" FROM "subdivisions" WHERE "no_of_barangays"=31;
```
## Task
Generate a SQL query to answer the following question:
`What is the population density of Caramoran?`

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

CREATE TABLE "subdivisions" (
  "municipality" text,
  "no_of_barangays" real,
  "area_hectares" real,
  "population_2007" real,
  "population_2010" real,
  "pop_density_per_km_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population density of Caramoran?`:
```sql
                SELECT "pop_density_per_km_2" FROM "subdivisions" WHERE "municipality"='Caramoran';
```
## Task
Generate a SQL query to answer the following question:
`What municipality has a 130.6 pupulation density?`

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

CREATE TABLE "subdivisions" (
  "municipality" text,
  "no_of_barangays" real,
  "area_hectares" real,
  "population_2007" real,
  "population_2010" real,
  "pop_density_per_km_2" text
);
### SQL
Given the database schema, here is the SQL query that answers `What municipality has a 130.6 pupulation density?`:
```sql
                SELECT "municipality" FROM "subdivisions" WHERE "pop_density_per_km_2"='130.6';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of S Barangay for Paracale?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "no_of_s_barangay" real,
  "area_km" text,
  "population_2007" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of S Barangay for Paracale?`:
```sql
                SELECT "no_of_s_barangay" FROM "municipalities" WHERE "municipality"='Paracale';
```
## Task
Generate a SQL query to answer the following question:
`What is the municipality that has an area of exactly 199.35 sq. km?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "no_of_s_barangay" real,
  "area_km" text,
  "population_2007" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the municipality that has an area of exactly 199.35 sq. km?`:
```sql
                SELECT "municipality" FROM "municipalities" WHERE "area_km"='199.35';
```
## Task
Generate a SQL query to answer the following question:
`What is the municipality that has an area of exactly 214.44 sq. km?`

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

CREATE TABLE "municipalities" (
  "municipality" text,
  "no_of_s_barangay" real,
  "area_km" text,
  "population_2007" real,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the municipality that has an area of exactly 214.44 sq. km?`:
```sql
                SELECT "municipality" FROM "municipalities" WHERE "area_km"='214.44';
```
## Task
Generate a SQL query to answer the following question:
`Name the 3rd person pl for  тонэн ~ тонэныд`

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

CREATE TABLE "table1_25574050_7" (
  "case" text,
  "1st_pers_sing" text,
  "2nd_pers_sing" text,
  "3rd_pers_sing" text,
  "1st_pers_pl" text,
  "2nd_pers_pl" text,
  "3rd_pers_pl" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 3rd person pl for  тонэн ~ тонэныд`:
```sql
                SELECT "3rd_pers_pl" FROM "table1_25574050_7" WHERE "2nd_pers_sing"='тонэн ~ тонэныд';
```
## Task
Generate a SQL query to answer the following question:
`Name the 1st person pl for тонэ`

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

CREATE TABLE "table1_25574050_7" (
  "case" text,
  "1st_pers_sing" text,
  "2nd_pers_sing" text,
  "3rd_pers_sing" text,
  "1st_pers_pl" text,
  "2nd_pers_pl" text,
  "3rd_pers_pl" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 1st person pl for тонэ`:
```sql
                SELECT "1st_pers_pl" FROM "table1_25574050_7" WHERE "2nd_pers_sing"='тонэ';
```
## Task
Generate a SQL query to answer the following question:
`Name the 3rd pers pl for dative`

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

CREATE TABLE "table1_25574050_7" (
  "case" text,
  "1st_pers_sing" text,
  "2nd_pers_sing" text,
  "3rd_pers_sing" text,
  "1st_pers_pl" text,
  "2nd_pers_pl" text,
  "3rd_pers_pl" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 3rd pers pl for dative`:
```sql
                SELECT "3rd_pers_pl" FROM "table1_25574050_7" WHERE "case"='dative';
```
## Task
Generate a SQL query to answer the following question:
`When fr2.0 9 is the series who is the winning team?`

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

CREATE TABLE "race_calendar" (
  "circuit" text,
  "location" text,
  "date" text,
  "series" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `When fr2.0 9 is the series who is the winning team?`:
```sql
                SELECT "winning_team" FROM "race_calendar" WHERE "series"='FR2.0 9';
```
## Task
Generate a SQL query to answer the following question:
`When fairuz fauzy is the winning driver what is the date?`

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

CREATE TABLE "race_calendar" (
  "circuit" text,
  "location" text,
  "date" text,
  "series" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `When fairuz fauzy is the winning driver what is the date?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "winning_driver"='Fairuz Fauzy';
```
## Task
Generate a SQL query to answer the following question:
`When emt 9 is the series what is the date?`

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

CREATE TABLE "race_calendar" (
  "circuit" text,
  "location" text,
  "date" text,
  "series" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `When emt 9 is the series what is the date?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "series"='EMT 9';
```
## Task
Generate a SQL query to answer the following question:
`what are all the state/nation where the race number is 36`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `what are all the state/nation where the race number is 36`:
```sql
                SELECT "state_country" FROM "line_honours_results_top_10" WHERE "race_number"='36';
```
## Task
Generate a SQL query to answer the following question:
`What State/Country is Sean Langman the skipper?`

### 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 State/Country is Sean Langman the skipper?`:
```sql
                SELECT "state_country" FROM "line_honours_results_top_10" WHERE "skipper"='Sean Langman';
```
## Task
Generate a SQL query to answer the following question:
`What yacht type is involved where Bob Oatley is the skipper?`

### 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 yacht type is involved where Bob Oatley is the skipper?`:
```sql
                SELECT "yacht_type" FROM "line_honours_results_top_10" WHERE "skipper"='Bob Oatley';
```
## Task
Generate a SQL query to answer the following question:
`How many races was Loki in?`

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

CREATE TABLE "line_honours_results_top_10" (
  "position" real,
  "race_number" text,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many races was Loki in?`:
```sql
                SELECT COUNT("race_number") FROM "line_honours_results_top_10" WHERE "yacht"='Loki';
```
## Task
Generate a SQL query to answer the following question:
`What were the LOA (metres) for the yacht where the skipper was Jez Fanstone?`

### 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,
  "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 were the LOA (metres) for the yacht where the skipper was Jez Fanstone?`:
```sql
                SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "skipper"='Jez Fanstone';
```
## Task
Generate a SQL query to answer the following question:
`Who was the skipper of the yacht with an elapsed time of 3:07:39:33?`

### 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,
  "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 `Who was the skipper of the yacht with an elapsed time of 3:07:39:33?`:
```sql
                SELECT "skipper" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:07:39:33';
```
## Task
Generate a SQL query to answer the following question:
`What was the elapsed time for the yacht that was a Farr 65 type?`

### 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,
  "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 elapsed time for the yacht that was a Farr 65 type?`:
```sql
                SELECT "elapsed_time_d_hh_mm_ss" FROM "line_honours_results_top_10" WHERE "yacht_type"='Farr 65';
```
## Task
Generate a SQL query to answer the following question:
`What is the sail number of the yacht that had an elapsed time of 2:22:30:42?`

### 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,
  "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 is the sail number of the yacht that had an elapsed time of 2:22:30:42?`:
```sql
                SELECT "sail_number" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='2:22:30:42';
```
## Task
Generate a SQL query to answer the following question:
`What state/country was the yacht that had an elapsed time of 3:04:06:38 from?`

### 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,
  "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 state/country was the yacht that had an elapsed time of 3:04:06:38 from?`:
```sql
                SELECT "state_country" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='3:04:06:38';
```
## Task
Generate a SQL query to answer the following question:
`What state/country was the yacht from that had 15.79 LOA (metres)? `

### 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,
  "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 state/country was the yacht from that had 15.79 LOA (metres)? `:
```sql
                SELECT "state_country" FROM "line_honours_results_top_10" WHERE "loa_metres"='15.79';
```
## Task
Generate a SQL query to answer the following question:
`What is Matt Allen's sail number?`

### 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,
  "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 is Matt Allen's sail number?`:
```sql
                SELECT "sail_number" FROM "line_honours_results_top_10" WHERE "skipper"='Matt Allen';
```
## Task
Generate a SQL query to answer the following question:
`What is the state that the boat is from that finished in 2:15:14:06?`

### 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,
  "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 is the state that the boat is from that finished in 2:15:14:06?`:
```sql
                SELECT "state_country" FROM "line_honours_results_top_10" WHERE "elapsed_time_d_hh_mm_ss"='2:15:14:06';
```
## Task
Generate a SQL query to answer the following question:
`What is the LOA of Brindabella?`

### 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,
  "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 is the LOA of Brindabella?`:
```sql
                SELECT "loa_metres" FROM "line_honours_results_top_10" WHERE "yacht"='Brindabella';
```
## Task
Generate a SQL query to answer the following question:
`What the is the state that the boat is from with LOA of 19.50?`

### 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,
  "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 the is the state that the boat is from with LOA of 19.50?`:
```sql
                SELECT "state_country" FROM "line_honours_results_top_10" WHERE "loa_metres"='19.50';
```
## Task
Generate a SQL query to answer the following question:
`How many states is Grant Wharington from?`

### 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,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many states is Grant Wharington from?`:
```sql
                SELECT COUNT("state_country") FROM "line_honours_results_top_10" WHERE "skipper"='Grant Wharington';
```
## Task
Generate a SQL query to answer the following question:
`How many times are provided for the boat with LOA of 20.49?`

### 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,
  "sail_number" text,
  "yacht" text,
  "state_country" text,
  "yacht_type" text,
  "loa_metres" text,
  "skipper" text,
  "elapsed_time_d_hh_mm_ss" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times are provided for the boat with LOA of 20.49?`:
```sql
                SELECT COUNT("elapsed_time_d_hh_mm_ss") FROM "line_honours_results_top_10" WHERE "loa_metres"='20.49';
```
## Task
Generate a SQL query to answer the following question:
`The date first lit is 1853 total number of current status.`

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

CREATE TABLE "list_of_lighthouses_in_the_philippines" (
  "lighthouse" text,
  "location" text,
  "province_city" text,
  "date_first_lit" text,
  "tower_height_in_ft_m" text,
  "focal_plane_in_ft_m" text,
  "current_status" text,
  "current_condition_description" text
);
### SQL
Given the database schema, here is the SQL query that answers `The date first lit is 1853 total number of current status.`:
```sql
                SELECT COUNT("current_status") FROM "list_of_lighthouses_in_the_philippines" WHERE "date_first_lit"='1853';
```
## Task
Generate a SQL query to answer the following question:
`Location for focal plane in ft (m) is naidi hills, basco.`

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

CREATE TABLE "list_of_lighthouses_in_the_philippines" (
  "lighthouse" text,
  "location" text,
  "province_city" text,
  "date_first_lit" text,
  "tower_height_in_ft_m" text,
  "focal_plane_in_ft_m" text,
  "current_status" text,
  "current_condition_description" text
);
### SQL
Given the database schema, here is the SQL query that answers `Location for focal plane in ft (m) is naidi hills, basco.`:
```sql
                SELECT "focal_plane_in_ft_m" FROM "list_of_lighthouses_in_the_philippines" WHERE "location"='Naidi Hills, Basco';
```
## Task
Generate a SQL query to answer the following question:
`Focal plane in ft (m) is 43ft (13.1m) is the first date lit.`

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

CREATE TABLE "list_of_lighthouses_in_the_philippines" (
  "lighthouse" text,
  "location" text,
  "province_city" text,
  "date_first_lit" text,
  "tower_height_in_ft_m" text,
  "focal_plane_in_ft_m" text,
  "current_status" text,
  "current_condition_description" text
);
### SQL
Given the database schema, here is the SQL query that answers `Focal plane in ft (m) is 43ft (13.1m) is the first date lit.`:
```sql
                SELECT "date_first_lit" FROM "list_of_lighthouses_in_the_philippines" WHERE "focal_plane_in_ft_m"='43ft (13.1m)';
```
## Task
Generate a SQL query to answer the following question:
`The province/city corregidor island (2) is where the lighthouse is located. `

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

CREATE TABLE "list_of_lighthouses_in_the_philippines" (
  "lighthouse" text,
  "location" text,
  "province_city" text,
  "date_first_lit" text,
  "tower_height_in_ft_m" text,
  "focal_plane_in_ft_m" text,
  "current_status" text,
  "current_condition_description" text
);
### SQL
Given the database schema, here is the SQL query that answers `The province/city corregidor island (2) is where the lighthouse is located. `:
```sql
                SELECT "province_city" FROM "list_of_lighthouses_in_the_philippines" WHERE "lighthouse"='Corregidor Island (2)';
```
## Task
Generate a SQL query to answer the following question:
`Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).`

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

CREATE TABLE "list_of_lighthouses_in_the_philippines" (
  "lighthouse" text,
  "location" text,
  "province_city" text,
  "date_first_lit" text,
  "tower_height_in_ft_m" text,
  "focal_plane_in_ft_m" text,
  "current_status" text,
  "current_condition_description" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).`:
```sql
                SELECT "focal_plane_in_ft_m" FROM "list_of_lighthouses_in_the_philippines" WHERE "tower_height_in_ft_m"='46ft (14.0m)';
```
## Task
Generate a SQL query to answer the following question:
`What are the number in series of the pieces directed by Win Phelps and which number in season is 11?`

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

CREATE TABLE "table1_25604014_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the number in series of the pieces directed by Win Phelps and which number in season is 11?`:
```sql
                SELECT "no_in_series" FROM "table1_25604014_6" WHERE "directed_by"='Win Phelps' AND "no_in_season"=11;
```
## Task
Generate a SQL query to answer the following question:
`What are the titles of the pieces that are number 2 in season?`

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

CREATE TABLE "table1_25604014_6" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the titles of the pieces that are number 2 in season?`:
```sql
                SELECT "title" FROM "table1_25604014_6" WHERE "no_in_season"=2;
```
## Task
Generate a SQL query to answer the following question:
`Who directed "sperminator"?`

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

CREATE TABLE "table1_25604014_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed "sperminator"?`:
```sql
                SELECT "directed_by" FROM "table1_25604014_4" WHERE "title"='\"Sperminator\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote "to live and diet in L.A."?`

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

CREATE TABLE "table1_25604014_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote "to live and diet in L.A."?`:
```sql
                SELECT "written_by" FROM "table1_25604014_4" WHERE "title"='\"To Live and Diet in L.A.\"';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode "victor/victorious"?`

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

CREATE TABLE "table1_25604014_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode "victor/victorious"?`:
```sql
                SELECT "written_by" FROM "table1_25604014_4" WHERE "title"='\"Victor/Victorious\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for the episode directed by Sam weisman?`

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

CREATE TABLE "table1_25604014_4" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production code for the episode directed by Sam weisman?`:
```sql
                SELECT "production_code" FROM "table1_25604014_4" WHERE "directed_by"='Sam Weisman';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote episode number 81 in the series?`

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

CREATE TABLE "table1_25604014_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote episode number 81 in the series?`:
```sql
                SELECT "written_by" FROM "table1_25604014_5" WHERE "no_in_series"=81;
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date for "ex-wives and videotapes"?`

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

CREATE TABLE "table1_25604014_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date for "ex-wives and videotapes"?`:
```sql
                SELECT "original_air_date" FROM "table1_25604014_5" WHERE "title"='\"Ex-Wives and Videotapes\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date for "one rat, one ranger"?`

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

CREATE TABLE "table1_25604014_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date for "one rat, one ranger"?`:
```sql
                SELECT "original_air_date" FROM "table1_25604014_5" WHERE "title"='\"One Rat, One Ranger\"';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes directed by david carson?`

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

CREATE TABLE "table1_25604014_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes directed by david carson?`:
```sql
                SELECT COUNT("no_in_season") FROM "table1_25604014_5" WHERE "directed_by"='David Carson';
```
## Task
Generate a SQL query to answer the following question:
`Who direcred the episode with production code 7d03?`

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

CREATE TABLE "table1_25604014_5" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who direcred the episode with production code 7d03?`:
```sql
                SELECT "directed_by" FROM "table1_25604014_5" WHERE "production_code"='7D03';
```
## Task
Generate a SQL query to answer the following question:
`In what settlement is the population 1114?`

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

CREATE TABLE "list_of_cities_towns_and_villages_in_voj" (
  "settlement" text,
  "cyrillic_name" text,
  "type" text,
  "population_2011" real,
  "largest_ethnic_group_2002" text,
  "dominant_religion_2002" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what settlement is the population 1114?`:
```sql
                SELECT "settlement" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "population_2011"=1114;
```
## Task
Generate a SQL query to answer the following question:
`What type is the settlement of Lok? `

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

CREATE TABLE "list_of_cities_towns_and_villages_in_voj" (
  "settlement" text,
  "cyrillic_name" text,
  "type" text,
  "population_2011" real,
  "largest_ethnic_group_2002" text,
  "dominant_religion_2002" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type is the settlement of Lok? `:
```sql
                SELECT "type" FROM "list_of_cities_towns_and_villages_in_voj" WHERE "settlement"='Lok';
```
## Task
Generate a SQL query to answer the following question:
`How many populations are listed for mladenovo? `

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

CREATE TABLE "table1_2562572_12" (
  "settlement" text,
  "cyrillic_name_other_names" text,
  "type" text,
  "population_2011" real,
  "largest_ethnic_group_2002" text,
  "dominant_religion_2002" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many populations are listed for mladenovo? `:
```sql
                SELECT COUNT("population_2011") FROM "table1_2562572_12" WHERE "settlement"='Mladenovo';
```
## Task
Generate a SQL query to answer the following question:
`What is the dominate religion in the location with a population of 4831? `

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

CREATE TABLE "table1_2562572_12" (
  "settlement" text,
  "cyrillic_name_other_names" text,
  "type" text,
  "population_2011" real,
  "largest_ethnic_group_2002" text,
  "dominant_religion_2002" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the dominate religion in the location with a population of 4831? `:
```sql
                SELECT "dominant_religion_2002" FROM "table1_2562572_12" WHERE "population_2011"=4831;
```
## Task
Generate a SQL query to answer the following question:
`What type of institution is San Diego Christian college? `

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "type" text,
  "joined" real,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of institution is San Diego Christian college? `:
```sql
                SELECT "type" FROM "current_members" WHERE "institution"='San Diego Christian College';
```
## Task
Generate a SQL query to answer the following question:
`What is the enrollment for the hawks? `

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

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

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

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

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

CREATE TABLE "current_members" (
  "institution" text,
  "location" text,
  "type" text,
  "joined" real,
  "enrollment" real,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the institution nicknamed Lions? `:
```sql
                SELECT "location" FROM "current_members" WHERE "nickname"='Lions';
```
## Task
Generate a SQL query to answer the following question:
`How many 2011 populations have a Cyrillic name of футог?`

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

CREATE TABLE "list_of_urban_settlements_in_vojvodina" (
  "urban_settlement" text,
  "cyrillic_name" text,
  "city_municipality" text,
  "district" text,
  "population_1991" real,
  "population_2002" real,
  "population_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many 2011 populations have a Cyrillic name of футог?`:
```sql
                SELECT COUNT("population_2011") FROM "list_of_urban_settlements_in_vojvodina" WHERE "cyrillic_name"='Футог';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of 2002 populations having a 2011 population of exactly 5399?`

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

CREATE TABLE "list_of_urban_settlements_in_vojvodina" (
  "urban_settlement" text,
  "cyrillic_name" text,
  "city_municipality" text,
  "district" text,
  "population_1991" real,
  "population_2002" real,
  "population_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of 2002 populations having a 2011 population of exactly 5399?`:
```sql
                SELECT COUNT("population_2002") FROM "list_of_urban_settlements_in_vojvodina" WHERE "population_2011"=5399;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of 1991 populations named Bečej?`

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

CREATE TABLE "list_of_urban_settlements_in_vojvodina" (
  "urban_settlement" text,
  "cyrillic_name" text,
  "city_municipality" text,
  "district" text,
  "population_1991" real,
  "population_2002" real,
  "population_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of 1991 populations named Bečej?`:
```sql
                SELECT COUNT("population_1991") FROM "list_of_urban_settlements_in_vojvodina" WHERE "city_municipality"='Bečej';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1991 population for the urban settlement named Bački Jarak?`

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

CREATE TABLE "list_of_urban_settlements_in_vojvodina" (
  "urban_settlement" text,
  "cyrillic_name" text,
  "city_municipality" text,
  "district" text,
  "population_1991" real,
  "population_2002" real,
  "population_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1991 population for the urban settlement named Bački Jarak?`:
```sql
                SELECT "population_1991" FROM "list_of_urban_settlements_in_vojvodina" WHERE "urban_settlement"='Bački Jarak';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of 2011 populations having a 2002 population of 29449?`

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

CREATE TABLE "list_of_urban_settlements_in_vojvodina" (
  "urban_settlement" text,
  "cyrillic_name" text,
  "city_municipality" text,
  "district" text,
  "population_1991" real,
  "population_2002" real,
  "population_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of 2011 populations having a 2002 population of 29449?`:
```sql
                SELECT COUNT("population_2011") FROM "list_of_urban_settlements_in_vojvodina" WHERE "population_2002"=29449;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of cities/municipalities having an urban settlement of Srbobran?`

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

CREATE TABLE "list_of_urban_settlements_in_vojvodina" (
  "urban_settlement" text,
  "cyrillic_name" text,
  "city_municipality" text,
  "district" text,
  "population_1991" real,
  "population_2002" real,
  "population_2011" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of cities/municipalities having an urban settlement of Srbobran?`:
```sql
                SELECT COUNT("city_municipality") FROM "list_of_urban_settlements_in_vojvodina" WHERE "urban_settlement"='Srbobran';
```
## Task
Generate a SQL query to answer the following question:
`When town is the type what is the settlement?`

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

CREATE TABLE "table1_2562572_25" (
  "settlement" text,
  "cyrillic_name_other_names" text,
  "type" text,
  "population_2011" real,
  "largest_ethnic_group_2002" text,
  "dominant_religion_2002" text
);
### SQL
Given the database schema, here is the SQL query that answers `When town is the type what is the settlement?`:
```sql
                SELECT "settlement" FROM "table1_2562572_25" WHERE "type"='town';
```
## Task
Generate a SQL query to answer the following question:
`When оџаци is the cyrillic name other names what is the type?`

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

CREATE TABLE "table1_2562572_25" (
  "settlement" text,
  "cyrillic_name_other_names" text,
  "type" text,
  "population_2011" real,
  "largest_ethnic_group_2002" text,
  "dominant_religion_2002" text
);
### SQL
Given the database schema, here is the SQL query that answers `When оџаци is the cyrillic name other names what is the type?`:
```sql
                SELECT "type" FROM "table1_2562572_25" WHERE "cyrillic_name_other_names"='Оџаци';
```