cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many people finished 9th?`

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

CREATE TABLE "series_2_2003" (
  "celebrity" text,
  "famous_for" text,
  "entered" text,
  "exited" text,
  "finished" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people finished 9th?`:
```sql
                SELECT COUNT("exited") FROM "series_2_2003" WHERE "finished"='9th';
```
## Task
Generate a SQL query to answer the following question:
`What was the least amount of camp mates?`

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

CREATE TABLE "series_details" (
  "series" text,
  "presenters" text,
  "start_date" text,
  "end_date" text,
  "days_in_camp" real,
  "camp_mates" real,
  "winner" text,
  "highest_viewers_millions" text,
  "lowest_viewers_millions" text,
  "average_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the least amount of camp mates?`:
```sql
                SELECT MIN("camp_mates") FROM "series_details";
```
## Task
Generate a SQL query to answer the following question:
`Who directed series #4 that was teleplayed by David Simon?`

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

CREATE TABLE "table1_14346353_1" (
  "series_num" real,
  "title" text,
  "story_by" text,
  "teleplay_by" text,
  "directed_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed series #4 that was teleplayed by David Simon?`:
```sql
                SELECT COUNT("directed_by") FROM "table1_14346353_1" WHERE "teleplay_by"='David Simon' AND "series_num"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the title of series #1?`

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

CREATE TABLE "table1_14346353_1" (
  "series_num" real,
  "title" text,
  "story_by" text,
  "teleplay_by" text,
  "directed_by" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of series #1?`:
```sql
                SELECT "title" FROM "table1_14346353_1" WHERE "series_num"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the finished place where exited is day 11?`

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

CREATE TABLE "table1_14345690_5" (
  "celebrity" text,
  "famous_for" text,
  "entered" text,
  "exited" text,
  "finished" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the finished place where exited is day 11?`:
```sql
                SELECT "finished" FROM "table1_14345690_5" WHERE "exited"='Day 11';
```
## Task
Generate a SQL query to answer the following question:
`Who is the famous for that finished 2nd?`

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

CREATE TABLE "table1_14345690_5" (
  "celebrity" text,
  "famous_for" text,
  "entered" text,
  "exited" text,
  "finished" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the famous for that finished 2nd?`:
```sql
                SELECT "famous_for" FROM "table1_14345690_5" WHERE "finished"='2nd';
```
## Task
Generate a SQL query to answer the following question:
`What is the famous for where the finished is 5th?`

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

CREATE TABLE "table1_14345690_5" (
  "celebrity" text,
  "famous_for" text,
  "entered" text,
  "exited" text,
  "finished" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the famous for where the finished is 5th?`:
```sql
                SELECT "famous_for" FROM "table1_14345690_5" WHERE "finished"='5th';
```
## Task
Generate a SQL query to answer the following question:
`What is the exited day where the celebrity is vic reeves?`

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

CREATE TABLE "table1_14345690_5" (
  "celebrity" text,
  "famous_for" text,
  "entered" text,
  "exited" text,
  "finished" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the exited day where the celebrity is vic reeves?`:
```sql
                SELECT "exited" FROM "table1_14345690_5" WHERE "celebrity"='Vic Reeves';
```
## Task
Generate a SQL query to answer the following question:
`what is the celebrity where the finished is 5th?`

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

CREATE TABLE "table1_14345690_5" (
  "celebrity" text,
  "famous_for" text,
  "entered" text,
  "exited" text,
  "finished" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the celebrity where the finished is 5th?`:
```sql
                SELECT "celebrity" FROM "table1_14345690_5" WHERE "finished"='5th';
```
## Task
Generate a SQL query to answer the following question:
`When was incumbent John Thomas Wilson first elected? `

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

CREATE TABLE "ohio" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" text,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was incumbent John Thomas Wilson first elected? `:
```sql
                SELECT "first_elected" FROM "ohio" WHERE "incumbent"='John Thomas Wilson';
```
## Task
Generate a SQL query to answer the following question:
`Who were the candidates in the election where John Beatty was the incumbent? `

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

CREATE TABLE "ohio" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" text,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the candidates in the election where John Beatty was the incumbent? `:
```sql
                SELECT "candidates" FROM "ohio" WHERE "incumbent"='John Beatty';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent in the Ohio 16 district? `

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

CREATE TABLE "ohio" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" text,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent in the Ohio 16 district? `:
```sql
                SELECT "incumbent" FROM "ohio" WHERE "district"='Ohio 16';
```
## Task
Generate a SQL query to answer the following question:
`What is the average for the team with n/a in 1992 and 37 in 1992-93?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average for the team with n/a in 1992 and 37 in 1992-93?`:
```sql
                SELECT "average" FROM "relegation" WHERE "1991_92"='N/A' AND "1992_93"='37';
```
## Task
Generate a SQL query to answer the following question:
`What is the result in 91-92 for the team with a 1.053 average?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result in 91-92 for the team with a 1.053 average?`:
```sql
                SELECT "1991_92" FROM "relegation" WHERE "average"='1.053';
```
## Task
Generate a SQL query to answer the following question:
`What is the 92'-93 result for the team with 55 in 91'-92?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 92'-93 result for the team with 55 in 91'-92?`:
```sql
                SELECT "1992_93" FROM "relegation" WHERE "1991_92"='55';
```
## Task
Generate a SQL query to answer the following question:
`What is the average for the team with 39 in 1991-92?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average for the team with 39 in 1991-92?`:
```sql
                SELECT "average" FROM "relegation" WHERE "1991_92"='39';
```
## Task
Generate a SQL query to answer the following question:
`Name the birth date for shirt number 7`

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

CREATE TABLE "team_roster_season_2012_13" (
  "shirt_no" real,
  "nationality" text,
  "player" text,
  "birth_date" text,
  "height" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the birth date for shirt number 7`:
```sql
                SELECT "birth_date" FROM "team_roster_season_2012_13" WHERE "shirt_no"=7;
```
## Task
Generate a SQL query to answer the following question:
`Name the maximum height for yury berezhko`

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

CREATE TABLE "team_roster_season_2012_13" (
  "shirt_no" real,
  "nationality" text,
  "player" text,
  "birth_date" text,
  "height" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the maximum height for yury berezhko`:
```sql
                SELECT MAX("height") FROM "team_roster_season_2012_13" WHERE "player"='Yury Berezhko';
```
## Task
Generate a SQL query to answer the following question:
`Name the least points where 1989-90 is 31`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1989_90" text,
  "1990_91" text,
  "1991_1992" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least points where 1989-90 is 31`:
```sql
                SELECT MIN("points") FROM "relegation" WHERE "1989_90"='31';
```
## Task
Generate a SQL query to answer the following question:
`Name the 1991-1992 for river plate`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1989_90" text,
  "1990_91" text,
  "1991_1992" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 1991-1992 for river plate`:
```sql
                SELECT "1991_1992" FROM "relegation" WHERE "team"='River Plate';
```
## Task
Generate a SQL query to answer the following question:
`Which models can perform flops(@ 200mhz) is 3.2`

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

CREATE TABLE "table1_1439045_5" (
  "model" text,
  "year" text,
  "die_size_mm_2_1" text,
  "config_core_2" text,
  "m_triangles_s_1" real,
  "m_pixel_s_1" real,
  "bus_width_bit" text,
  "direct_x" text,
  "open_gl" text,
  "open_gl_es" text,
  "gflops_200_m_hz" text,
  "frequency" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which models can perform flops(@ 200mhz) is 3.2`:
```sql
                SELECT "model" FROM "table1_1439045_5" WHERE "gflops_200_m_hz"='3.2';
```
## Task
Generate a SQL query to answer the following question:
`Which version of opengl is used by model sgx520?`

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

CREATE TABLE "table1_1439045_5" (
  "model" text,
  "year" text,
  "die_size_mm_2_1" text,
  "config_core_2" text,
  "m_triangles_s_1" real,
  "m_pixel_s_1" real,
  "bus_width_bit" text,
  "direct_x" text,
  "open_gl" text,
  "open_gl_es" text,
  "gflops_200_m_hz" text,
  "frequency" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which version of opengl is used by model sgx520?`:
```sql
                SELECT "open_gl_es" FROM "table1_1439045_5" WHERE "model"='SGX520';
```
## Task
Generate a SQL query to answer the following question:
`What is the die size(mm 2) for model sgx531?`

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

CREATE TABLE "table1_1439045_5" (
  "model" text,
  "year" text,
  "die_size_mm_2_1" text,
  "config_core_2" text,
  "m_triangles_s_1" real,
  "m_pixel_s_1" real,
  "bus_width_bit" text,
  "direct_x" text,
  "open_gl" text,
  "open_gl_es" text,
  "gflops_200_m_hz" text,
  "frequency" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the die size(mm 2) for model sgx531?`:
```sql
                SELECT "die_size_mm_2_1" FROM "table1_1439045_5" WHERE "model"='SGX531';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of 1991-92 for 1992-93 for 44`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of 1991-92 for 1992-93 for 44`:
```sql
                SELECT COUNT("1991_92") FROM "relegation" WHERE "1992_93"='44';
```
## Task
Generate a SQL query to answer the following question:
` Name the team for average 1.026 for 1991-92 being 40`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1991_92" text,
  "1992_93" text,
  "1993_94" real
);
### SQL
Given the database schema, here is the SQL query that answers ` Name the team for average 1.026 for 1991-92 being 40`:
```sql
                SELECT "team" FROM "relegation" WHERE "average"='1.026' AND "1991_92"='40';
```
## Task
Generate a SQL query to answer the following question:
`Name the economic class for punong barangay being antonio b. gangan`

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

CREATE TABLE "barangays" (
  "barangay" text,
  "population_2010" real,
  "economic_class" text,
  "land_area_in_sqm" real,
  "punong_barangay_term_2010_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the economic class for punong barangay being antonio b. gangan`:
```sql
                SELECT "economic_class" FROM "barangays" WHERE "punong_barangay_term_2010_2013"='Antonio B. Gangan';
```
## Task
Generate a SQL query to answer the following question:
`Name the economic class for arnold g. apalla`

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

CREATE TABLE "barangays" (
  "barangay" text,
  "population_2010" real,
  "economic_class" text,
  "land_area_in_sqm" real,
  "punong_barangay_term_2010_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the economic class for arnold g. apalla`:
```sql
                SELECT "economic_class" FROM "barangays" WHERE "punong_barangay_term_2010_2013"='Arnold G. Apalla';
```
## Task
Generate a SQL query to answer the following question:
`Name the economic class for artemoio m. baymosa`

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

CREATE TABLE "barangays" (
  "barangay" text,
  "population_2010" real,
  "economic_class" text,
  "land_area_in_sqm" real,
  "punong_barangay_term_2010_2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the economic class for artemoio m. baymosa`:
```sql
                SELECT "economic_class" FROM "barangays" WHERE "punong_barangay_term_2010_2013"='Artemoio M. Baymosa';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of 1stm when 2nd m is 125.5`

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

CREATE TABLE "kuopio" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_nt_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of 1stm when 2nd m is 125.5`:
```sql
                SELECT COUNT("1st_m") FROM "kuopio" WHERE "2nd_m"='125.5';
```
## Task
Generate a SQL query to answer the following question:
`Name the overall wc points rank for 2nd m for 122.5`

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

CREATE TABLE "kuopio" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_nt_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the overall wc points rank for 2nd m for 122.5`:
```sql
                SELECT "overall_wc_points_rank" FROM "kuopio" WHERE "2nd_m"='122.5';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of nationality is tom hilde`

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

CREATE TABLE "kuopio" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_nt_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of nationality is tom hilde`:
```sql
                SELECT COUNT("nationality") FROM "kuopio" WHERE "name"='Tom Hilde';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date (atv) of the episode "Recall to Service"?`

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

CREATE TABLE "table1_1439096_1" (
  "episode_no" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date_atv" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date (atv) of the episode "Recall to Service"?`:
```sql
                SELECT "original_air_date_atv" FROM "table1_1439096_1" WHERE "title"='\"Recall to Service\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director of the episode originally aired on 26 October 1969?`

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

CREATE TABLE "table1_1439096_1" (
  "episode_no" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date_atv" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director of the episode originally aired on 26 October 1969?`:
```sql
                SELECT "director" FROM "table1_1439096_1" WHERE "original_air_date_atv"='26 October 1969';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest production number?`

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

CREATE TABLE "table1_1439096_1" (
  "episode_no" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date_atv" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest production number?`:
```sql
                SELECT MIN("production_no") FROM "table1_1439096_1";
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode with the original air date of 28 September 1969?`

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

CREATE TABLE "table1_1439096_1" (
  "episode_no" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date_atv" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the episode with the original air date of 28 September 1969?`:
```sql
                SELECT "title" FROM "table1_1439096_1" WHERE "original_air_date_atv"='28 September 1969';
```
## Task
Generate a SQL query to answer the following question:
`What was the original air date (atv) of episode 1?`

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

CREATE TABLE "table1_1439096_1" (
  "episode_no" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date_atv" text,
  "production_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the original air date (atv) of episode 1?`:
```sql
                SELECT "original_air_date_atv" FROM "table1_1439096_1" WHERE "episode_no"=1;
```
## Task
Generate a SQL query to answer the following question:
`Who is shown for the 2nd (m) of 220.5?`

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

CREATE TABLE "planica" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is shown for the 2nd (m) of 220.5?`:
```sql
                SELECT "name" FROM "planica" WHERE "2nd_m"='220.5';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2nd (m) when the 1st (m) is 216.5?`

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

CREATE TABLE "planica" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2nd (m) when the 1st (m) is 216.5?`:
```sql
                SELECT "2nd_m" FROM "planica" WHERE "1st_m"='216.5';
```
## Task
Generate a SQL query to answer the following question:
`For the nationality of FIN and the points of 418.8 what is the overall wc points?`

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

CREATE TABLE "planica" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the nationality of FIN and the points of 418.8 what is the overall wc points?`:
```sql
                SELECT "overall_wc_points_rank" FROM "planica" WHERE "nationality"='FIN' AND "points"='418.8';
```
## Task
Generate a SQL query to answer the following question:
`What are the overall wc points for points of 397.2?`

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

CREATE TABLE "planica" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the overall wc points for points of 397.2?`:
```sql
                SELECT "overall_wc_points_rank" FROM "planica" WHERE "points"='397.2';
```
## Task
Generate a SQL query to answer the following question:
`What is shown for  2nd (m) if the is 1st (m) is 203.5?`

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

CREATE TABLE "planica" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is shown for  2nd (m) if the is 1st (m) is 203.5?`:
```sql
                SELECT "2nd_m" FROM "planica" WHERE "1st_m"='203.5';
```
## Task
Generate a SQL query to answer the following question:
`What are the overall wc points for 2nd (m) of 214.5?`

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

CREATE TABLE "planica" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the overall wc points for 2nd (m) of 214.5?`:
```sql
                SELECT "overall_wc_points_rank" FROM "planica" WHERE "2nd_m"='214.5';
```
## Task
Generate a SQL query to answer the following question:
`The competitor for FIN had how many overall WC points?`

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

CREATE TABLE "villach" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `The competitor for FIN had how many overall WC points?`:
```sql
                SELECT "overall_wc_points_rank" FROM "villach" WHERE "nationality"='FIN';
```
## Task
Generate a SQL query to answer the following question:
`How many full names are provided for the jumper whose 2nd jump was 96.0m?`

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

CREATE TABLE "villach" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many full names are provided for the jumper whose 2nd jump was 96.0m?`:
```sql
                SELECT COUNT("name") FROM "villach" WHERE "2nd_m"='96.0';
```
## Task
Generate a SQL query to answer the following question:
`What was the length of the jumper representing FIN, in meters?`

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

CREATE TABLE "villach" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the length of the jumper representing FIN, in meters?`:
```sql
                SELECT "1st_m" FROM "villach" WHERE "nationality"='FIN';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st(m) score for the Person who had a total points of 272.7`

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

CREATE TABLE "garmisch_partenkirchen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st(m) score for the Person who had a total points of 272.7`:
```sql
                SELECT "1st_m" FROM "garmisch_partenkirchen" WHERE "points"='272.7';
```
## Task
Generate a SQL query to answer the following question:
`How many total points did roman Koudelka have`

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

CREATE TABLE "garmisch_partenkirchen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" text,
  "2nd_m" text,
  "points" text,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total points did roman Koudelka have`:
```sql
                SELECT "overall_wc_points_rank" FROM "garmisch_partenkirchen" WHERE "name"='Roman Koudelka';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for week 12`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "time_et" text,
  "tv" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for week 12`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of date for shea stadium`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "time_et" text,
  "tv" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of date for shea stadium`:
```sql
                SELECT COUNT("date") FROM "schedule" WHERE "game_site"='Shea Stadium';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for astrodome`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "time_et" text,
  "tv" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for astrodome`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "game_site"='Astrodome';
```
## Task
Generate a SQL query to answer the following question:
`How many home team scores have a time of 4:40 PM?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" text,
  "date" text,
  "time" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many home team scores have a time of 4:40 PM?`:
```sql
                SELECT COUNT("home_team_score") FROM "round_1" WHERE "time"='4:40 PM';
```
## Task
Generate a SQL query to answer the following question:
`What stadiums had an attendance of 8,256?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" text,
  "date" text,
  "time" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What stadiums had an attendance of 8,256?`:
```sql
                SELECT "ground" FROM "round_1" WHERE "crowd"='8,256';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of attendees where the home team was Port Adelaide?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" text,
  "date" text,
  "time" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of attendees where the home team was Port Adelaide?`:
```sql
                SELECT COUNT("crowd") FROM "round_1" WHERE "home_team"='Port Adelaide';
```
## Task
Generate a SQL query to answer the following question:
`Which team did they play at Rich Stadium?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "kickoff_et" text,
  "tv" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team did they play at Rich Stadium?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "game_site"='Rich Stadium';
```
## Task
Generate a SQL query to answer the following question:
`What date did they play in Cleveland Municipal Stadium?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "kickoff_et" text,
  "tv" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did they play in Cleveland Municipal Stadium?`:
```sql
                SELECT "date" FROM "schedule" WHERE "game_site"='Cleveland Municipal Stadium';
```
## Task
Generate a SQL query to answer the following question:
`Name the year model for  4-cyl straight engine dohc 16v and 1.5 crdi`

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

CREATE TABLE "engines" (
  "model" text,
  "year_model" text,
  "engine" text,
  "cylinder_volume" text,
  "power" text,
  "torque" text,
  "fuel_system" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year model for  4-cyl straight engine dohc 16v and 1.5 crdi`:
```sql
                SELECT "year_model" FROM "engines" WHERE "engine"='4-cyl Straight engine DOHC 16V' AND "model"='1.5 CRDi';
```
## Task
Generate a SQL query to answer the following question:
`Name the year model for 1.3`

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

CREATE TABLE "engines" (
  "model" text,
  "year_model" text,
  "engine" text,
  "cylinder_volume" text,
  "power" text,
  "torque" text,
  "fuel_system" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year model for 1.3`:
```sql
                SELECT "year_model" FROM "engines" WHERE "model"='1.3';
```
## Task
Generate a SQL query to answer the following question:
`what is the minimum pos with clubs being 16`

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

CREATE TABLE "table1_14460937_2" (
  "pos" real,
  "member_association" text,
  "points_total_500" real,
  "clubs" text,
  "group_stage" real,
  "play_off" real,
  "afc_cup" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the minimum pos with clubs being 16`:
```sql
                SELECT MIN("pos") FROM "table1_14460937_2" WHERE "clubs"='16';
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum value for afc cup`

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

CREATE TABLE "table1_14460937_2" (
  "pos" real,
  "member_association" text,
  "points_total_500" real,
  "clubs" text,
  "group_stage" real,
  "play_off" real,
  "afc_cup" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum value for afc cup`:
```sql
                SELECT MAX("afc_cup") FROM "table1_14460937_2";
```
## Task
Generate a SQL query to answer the following question:
` how many pos with member association being china pr`

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

CREATE TABLE "table1_14460937_2" (
  "pos" real,
  "member_association" text,
  "points_total_500" real,
  "clubs" text,
  "group_stage" real,
  "play_off" real,
  "afc_cup" real
);
### SQL
Given the database schema, here is the SQL query that answers ` how many pos with member association being china pr`:
```sql
                SELECT COUNT("pos") FROM "table1_14460937_2" WHERE "member_association"='China PR';
```
## Task
Generate a SQL query to answer the following question:
` how many points (total 500) with pos being 11`

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

CREATE TABLE "table1_14460937_2" (
  "pos" real,
  "member_association" text,
  "points_total_500" real,
  "clubs" text,
  "group_stage" real,
  "play_off" real,
  "afc_cup" real
);
### SQL
Given the database schema, here is the SQL query that answers ` how many points (total 500) with pos being 11`:
```sql
                SELECT COUNT("points_total_500") FROM "table1_14460937_2" WHERE "pos"=11;
```
## Task
Generate a SQL query to answer the following question:
`How many points in 89/90 for the team with 55 in 87/88?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1987_88" text,
  "1988_89" text,
  "1989_90" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points in 89/90 for the team with 55 in 87/88?`:
```sql
                SELECT "1989_90" FROM "relegation" WHERE "1987_88"='55';
```
## Task
Generate a SQL query to answer the following question:
`How many points in 87/88 for racing de córdoba?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1987_88" text,
  "1988_89" text,
  "1989_90" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points in 87/88 for racing de córdoba?`:
```sql
                SELECT "1987_88" FROM "relegation" WHERE "team"='Racing de Córdoba';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of games played for deportivo español?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1987_88" text,
  "1988_89" text,
  "1989_90" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of games played for deportivo español?`:
```sql
                SELECT MIN("played") FROM "relegation" WHERE "team"='Deportivo Español';
```
## Task
Generate a SQL query to answer the following question:
`What is the average for the team with 34 in 88/89?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1987_88" text,
  "1988_89" text,
  "1989_90" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average for the team with 34 in 88/89?`:
```sql
                SELECT "average" FROM "relegation" WHERE "1988_89"='34';
```
## Task
Generate a SQL query to answer the following question:
`How many points total for san lorenzo?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1987_88" text,
  "1988_89" text,
  "1989_90" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points total for san lorenzo?`:
```sql
                SELECT COUNT("points") FROM "relegation" WHERE "team"='San Lorenzo';
```
## Task
Generate a SQL query to answer the following question:
`Name the telephone 052 for area km2  being 5.42`

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

CREATE TABLE "administrative_divisions" (
  "number" real,
  "name_of_administrative_unit" text,
  "telephone_052" text,
  "area_km_2" text,
  "population_people" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the telephone 052 for area km2  being 5.42`:
```sql
                SELECT "telephone_052" FROM "administrative_divisions" WHERE "area_km_2"='5.42';
```
## Task
Generate a SQL query to answer the following question:
`Name the population of people for area being 24.35`

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

CREATE TABLE "administrative_divisions" (
  "number" real,
  "name_of_administrative_unit" text,
  "telephone_052" text,
  "area_km_2" text,
  "population_people" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the population of people for area being 24.35`:
```sql
                SELECT "population_people" FROM "administrative_divisions" WHERE "area_km_2"='24.35';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of telephone 052 for 362.81`

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

CREATE TABLE "administrative_divisions" (
  "number" real,
  "name_of_administrative_unit" text,
  "telephone_052" text,
  "area_km_2" text,
  "population_people" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of telephone 052 for 362.81`:
```sql
                SELECT COUNT("telephone_052") FROM "administrative_divisions" WHERE "area_km_2"='362.81';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of administrative unit for number 4`

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

CREATE TABLE "administrative_divisions" (
  "number" real,
  "name_of_administrative_unit" text,
  "telephone_052" text,
  "area_km_2" text,
  "population_people" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of administrative unit for number 4`:
```sql
                SELECT "name_of_administrative_unit" FROM "administrative_divisions" WHERE "number"=4;
```
## Task
Generate a SQL query to answer the following question:
`Name the name of administrative unit for 3464 people`

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

CREATE TABLE "administrative_divisions" (
  "number" real,
  "name_of_administrative_unit" text,
  "telephone_052" text,
  "area_km_2" text,
  "population_people" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the name of administrative unit for 3464 people`:
```sql
                SELECT "name_of_administrative_unit" FROM "administrative_divisions" WHERE "population_people"=3464;
```
## Task
Generate a SQL query to answer the following question:
`How many of the cmdlets are the 2008 version?`

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

CREATE TABLE "snap_ins_and_hosts" (
  "application" text,
  "version" text,
  "cmdlets" text,
  "provider" text,
  "management_gui" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the cmdlets are the 2008 version?`:
```sql
                SELECT COUNT("cmdlets") FROM "snap_ins_and_hosts" WHERE "version"='2008';
```
## Task
Generate a SQL query to answer the following question:
`Which providers use exchange server?`

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

CREATE TABLE "snap_ins_and_hosts" (
  "application" text,
  "version" text,
  "cmdlets" text,
  "provider" text,
  "management_gui" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which providers use exchange server?`:
```sql
                SELECT "provider" FROM "snap_ins_and_hosts" WHERE "application"='Exchange Server';
```
## Task
Generate a SQL query to answer the following question:
`Which providers use version 2008?`

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

CREATE TABLE "snap_ins_and_hosts" (
  "application" text,
  "version" text,
  "cmdlets" text,
  "provider" text,
  "management_gui" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which providers use version 2008?`:
```sql
                SELECT "provider" FROM "snap_ins_and_hosts" WHERE "version"='2008';
```
## Task
Generate a SQL query to answer the following question:
`Which providers don't use exchange server?`

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

CREATE TABLE "snap_ins_and_hosts" (
  "application" text,
  "version" text,
  "cmdlets" text,
  "provider" text,
  "management_gui" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which providers don't use exchange server?`:
```sql
                SELECT "provider" FROM "snap_ins_and_hosts" WHERE "application"='Exchange Server';
```
## Task
Generate a SQL query to answer the following question:
`how many points did the team that scored 27 points in the 1987-88 season score?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1986_87" text,
  "1987_88" text,
  "1988_89" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many points did the team that scored 27 points in the 1987-88 season score?`:
```sql
                SELECT COUNT("played") FROM "relegation" WHERE "1987_88"='27';
```
## Task
Generate a SQL query to answer the following question:
`how many points  did the argentinos juniors team score during the 1986-87 season?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1986_87" text,
  "1987_88" text,
  "1988_89" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many points  did the argentinos juniors team score during the 1986-87 season?`:
```sql
                SELECT "1986_87" FROM "relegation" WHERE "team"='Argentinos Juniors';
```
## Task
Generate a SQL query to answer the following question:
`how many points did the team that scored 38 points in the 1986-87 season score during the  1988-89 season?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1986_87" text,
  "1987_88" text,
  "1988_89" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many points did the team that scored 38 points in the 1986-87 season score during the  1988-89 season?`:
```sql
                SELECT MIN("1988_89") FROM "relegation" WHERE "1986_87"='38';
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum number of matches played by a team?`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1986_87" text,
  "1987_88" text,
  "1988_89" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum number of matches played by a team?`:
```sql
                SELECT MAX("played") FROM "relegation";
```
## Task
Generate a SQL query to answer the following question:
`list the number of matches played by the teams that got an average of 1.079`

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

CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1986_87" text,
  "1987_88" text,
  "1988_89" real
);
### SQL
Given the database schema, here is the SQL query that answers `list the number of matches played by the teams that got an average of 1.079`:
```sql
                SELECT "1986_87" FROM "relegation" WHERE "average"='1.079';
```