cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What are all names for the position FS?`

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

CREATE TABLE "norfolk_state" (
  "position" text,
  "number" real,
  "name" text,
  "height" text,
  "weight" text,
  "class" text,
  "hometown" text,
  "games" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are all names for the position FS?`:
```sql
                SELECT "name" FROM "norfolk_state" WHERE "position"='FS';
```
## Task
Generate a SQL query to answer the following question:
`Name the call sign for the 17 physical`

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

CREATE TABLE "table1_14623167_1" (
  "virtual" real,
  "physical" real,
  "call_sign" text,
  "branding" text,
  "network" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the call sign for the 17 physical`:
```sql
                SELECT "call_sign" FROM "table1_14623167_1" WHERE "physical"=17;
```
## Task
Generate a SQL query to answer the following question:
`Name the branding for forum communications`

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

CREATE TABLE "table1_14623167_1" (
  "virtual" real,
  "physical" real,
  "call_sign" text,
  "branding" text,
  "network" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the branding for forum communications`:
```sql
                SELECT "branding" FROM "table1_14623167_1" WHERE "owner"='Forum Communications';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of branding for 31 physical`

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

CREATE TABLE "table1_14623167_1" (
  "virtual" real,
  "physical" real,
  "call_sign" text,
  "branding" text,
  "network" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of branding for 31 physical`:
```sql
                SELECT COUNT("branding") FROM "table1_14623167_1" WHERE "physical"=31;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of virtual for NBC`

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

CREATE TABLE "table1_14623167_1" (
  "virtual" real,
  "physical" real,
  "call_sign" text,
  "branding" text,
  "network" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of virtual for NBC`:
```sql
                SELECT COUNT("virtual") FROM "table1_14623167_1" WHERE "network"='NBC';
```
## Task
Generate a SQL query to answer the following question:
`Name the virtual for Fox`

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

CREATE TABLE "table1_14623167_1" (
  "virtual" real,
  "physical" real,
  "call_sign" text,
  "branding" text,
  "network" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the virtual for Fox`:
```sql
                SELECT COUNT("virtual") FROM "table1_14623167_1" WHERE "network"='Fox';
```
## Task
Generate a SQL query to answer the following question:
`Name the owners for prairie public`

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

CREATE TABLE "table1_14623167_1" (
  "virtual" real,
  "physical" real,
  "call_sign" text,
  "branding" text,
  "network" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the owners for prairie public`:
```sql
                SELECT COUNT("owner") FROM "table1_14623167_1" WHERE "branding"='Prairie Public';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of class aaa for 2006-07`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of class aaa for 2006-07`:
```sql
                SELECT COUNT("class_aaa") FROM "individual" WHERE "school_year"='2006-07';
```
## Task
Generate a SQL query to answer the following question:
`Name the class aaaa for menard`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the class aaaa for menard`:
```sql
                SELECT "class_aaaa" FROM "individual" WHERE "class_a"='Menard';
```
## Task
Generate a SQL query to answer the following question:
`Name the school year for class aaaa for wichita falls`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the school year for class aaaa for wichita falls`:
```sql
                SELECT "school_year" FROM "individual" WHERE "class_aaaa"='Wichita Falls';
```
## Task
Generate a SQL query to answer the following question:
`Name the class a for carthage`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the class a for carthage`:
```sql
                SELECT "class_a" FROM "individual" WHERE "class_aaaa"='Carthage';
```
## Task
Generate a SQL query to answer the following question:
`What is the original title of europe for dummies?`

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

CREATE TABLE "table1_14631909_1" (
  "year" real,
  "category" text,
  "english_title" text,
  "original_title" text,
  "author" text,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original title of europe for dummies?`:
```sql
                SELECT "original_title" FROM "table1_14631909_1" WHERE "english_title"='Europe for Dummies';
```
## Task
Generate a SQL query to answer the following question:
`What is the English version of Mariusz Szczygieł book?`

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

CREATE TABLE "table1_14631909_1" (
  "year" real,
  "category" text,
  "english_title" text,
  "original_title" text,
  "author" text,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English version of Mariusz Szczygieł book?`:
```sql
                SELECT "english_title" FROM "table1_14631909_1" WHERE "author"='Mariusz Szczygieł';
```
## Task
Generate a SQL query to answer the following question:
`who is the the pole position with date being august 10`

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

CREATE TABLE "races" (
  "rnd" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the pole position with date being august 10`:
```sql
                SELECT "pole_position" FROM "races" WHERE "date"='August 10';
```
## Task
Generate a SQL query to answer the following question:
` how many winning team with circuit being road america`

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

CREATE TABLE "races" (
  "rnd" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many winning team with circuit being road america`:
```sql
                SELECT COUNT("winning_team") FROM "races" WHERE "circuit"='Road America';
```
## Task
Generate a SQL query to answer the following question:
`who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200`

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

CREATE TABLE "races" (
  "rnd" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200`:
```sql
                SELECT "winning_driver" FROM "races" WHERE "pole_position"='Paul Tracy' AND "race_name"='Miller Genuine Draft 200';
```
## Task
Generate a SQL query to answer the following question:
`who is the the pole position with rnd being 16`

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

CREATE TABLE "races" (
  "rnd" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the pole position with rnd being 16`:
```sql
                SELECT "pole_position" FROM "races" WHERE "rnd"=16;
```
## Task
Generate a SQL query to answer the following question:
`what's the race name with date being september 7`

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

CREATE TABLE "races" (
  "rnd" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the race name with date being september 7`:
```sql
                SELECT "race_name" FROM "races" WHERE "date"='September 7';
```
## Task
Generate a SQL query to answer the following question:
`what's the circuit with rnd being 5`

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

CREATE TABLE "races" (
  "rnd" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_team" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the circuit with rnd being 5`:
```sql
                SELECT "circuit" FROM "races" WHERE "rnd"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of appearances where the most recent final result is 1999, beat Genk 3-1?`

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

CREATE TABLE "performance_by_club" (
  "team" text,
  "num_appearances" real,
  "years_won_in_bold" text,
  "num_wins" real,
  "num_runner_up" real,
  "most_recent_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of appearances where the most recent final result is 1999, beat Genk 3-1?`:
```sql
                SELECT COUNT("num_appearances") FROM "performance_by_club" WHERE "most_recent_final"='1999, beat Genk 3-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of runner-up results for the years (won in bold) 1984, 2010?`

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

CREATE TABLE "performance_by_club" (
  "team" text,
  "num_appearances" real,
  "years_won_in_bold" text,
  "num_wins" real,
  "num_runner_up" real,
  "most_recent_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of runner-up results for the years (won in bold) 1984, 2010?`:
```sql
                SELECT MAX("num_runner_up") FROM "performance_by_club" WHERE "years_won_in_bold"='1984, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What is the most recent final result for the years (won in bold) 1979?`

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

CREATE TABLE "performance_by_club" (
  "team" text,
  "num_appearances" real,
  "years_won_in_bold" text,
  "num_wins" real,
  "num_runner_up" real,
  "most_recent_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most recent final result for the years (won in bold) 1979?`:
```sql
                SELECT "most_recent_final" FROM "performance_by_club" WHERE "years_won_in_bold"='1979';
```
## Task
Generate a SQL query to answer the following question:
`what's the title with original air date being september23,1995`

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

CREATE TABLE "table1_14637853_3" (
  "no_in_series" real,
  "title" text,
  "written_by" text,
  "directed_by" text,
  "original_air_date" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the title with original air date being september23,1995`:
```sql
                SELECT "title" FROM "table1_14637853_3" WHERE "original_air_date"='September23,1995';
```
## Task
Generate a SQL query to answer the following question:
`who wrote with original air date being september23,1995`

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

CREATE TABLE "table1_14637853_3" (
  "no_in_series" real,
  "title" text,
  "written_by" text,
  "directed_by" text,
  "original_air_date" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `who wrote with original air date being september23,1995`:
```sql
                SELECT "written_by" FROM "table1_14637853_3" WHERE "original_air_date"='September23,1995';
```
## Task
Generate a SQL query to answer the following question:
`who directed with original air date being november18,1995`

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

CREATE TABLE "table1_14637853_3" (
  "no_in_series" real,
  "title" text,
  "written_by" text,
  "directed_by" text,
  "original_air_date" text,
  "tv_broadcast" text
);
### SQL
Given the database schema, here is the SQL query that answers `who directed with original air date being november18,1995`:
```sql
                SELECT "directed_by" FROM "table1_14637853_3" WHERE "original_air_date"='November18,1995';
```
## Task
Generate a SQL query to answer the following question:
`What percentages of social democratic correspond to a 5.5% left bloc?`

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

CREATE TABLE "116_seats_needed_for_a_majority" (
  "date_released" text,
  "polling_institute" text,
  "socialist" text,
  "social_democratic" text,
  "peoples_party" text,
  "green_communist" text,
  "left_bloc" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentages of social democratic correspond to a 5.5% left bloc?`:
```sql
                SELECT "social_democratic" FROM "116_seats_needed_for_a_majority" WHERE "left_bloc"='5.5%';
```
## Task
Generate a SQL query to answer the following question:
`When was there 8.9% Green-Communist?`

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

CREATE TABLE "116_seats_needed_for_a_majority" (
  "date_released" text,
  "polling_institute" text,
  "socialist" text,
  "social_democratic" text,
  "peoples_party" text,
  "green_communist" text,
  "left_bloc" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was there 8.9% Green-Communist?`:
```sql
                SELECT "date_released" FROM "116_seats_needed_for_a_majority" WHERE "green_communist"='8.9%';
```
## Task
Generate a SQL query to answer the following question:
`How many socialists correspond to a 7.5% People's Party?`

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

CREATE TABLE "116_seats_needed_for_a_majority" (
  "date_released" text,
  "polling_institute" text,
  "socialist" text,
  "social_democratic" text,
  "peoples_party" text,
  "green_communist" text,
  "left_bloc" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many socialists correspond to a 7.5% People's Party?`:
```sql
                SELECT COUNT("socialist") FROM "116_seats_needed_for_a_majority" WHERE "peoples_party"='7.5%';
```
## Task
Generate a SQL query to answer the following question:
`What are all percentages of Left Block when there is a 28.7% Social Democratic?`

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

CREATE TABLE "116_seats_needed_for_a_majority" (
  "date_released" text,
  "polling_institute" text,
  "socialist" text,
  "social_democratic" text,
  "peoples_party" text,
  "green_communist" text,
  "left_bloc" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all percentages of Left Block when there is a 28.7% Social Democratic?`:
```sql
                SELECT "left_bloc" FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='28.7%';
```
## Task
Generate a SQL query to answer the following question:
`If Socialist is at 46.1%, what are all percentages for social democratic?`

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

CREATE TABLE "116_seats_needed_for_a_majority" (
  "date_released" text,
  "polling_institute" text,
  "socialist" text,
  "social_democratic" text,
  "peoples_party" text,
  "green_communist" text,
  "left_bloc" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Socialist is at 46.1%, what are all percentages for social democratic?`:
```sql
                SELECT "social_democratic" FROM "116_seats_needed_for_a_majority" WHERE "socialist"='46.1%';
```
## Task
Generate a SQL query to answer the following question:
`How many percentages of Left Bloc correspond to a 32.1% Social Democratic?`

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

CREATE TABLE "116_seats_needed_for_a_majority" (
  "date_released" text,
  "polling_institute" text,
  "socialist" text,
  "social_democratic" text,
  "peoples_party" text,
  "green_communist" text,
  "left_bloc" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many percentages of Left Bloc correspond to a 32.1% Social Democratic?`:
```sql
                SELECT COUNT("left_bloc") FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='32.1%';
```
## Task
Generate a SQL query to answer the following question:
`What is the NFL team of the player whose college is Minnesota?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NFL team of the player whose college is Minnesota?`:
```sql
                SELECT "nfl_team" FROM "nfl_draft" WHERE "college"='Minnesota';
```
## Task
Generate a SQL query to answer the following question:
`What college did the defensive back attend?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did the defensive back attend?`:
```sql
                SELECT "college" FROM "nfl_draft" WHERE "position"='Defensive Back';
```
## Task
Generate a SQL query to answer the following question:
`What is the pick number of the player whose college is Florida State?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick number of the player whose college is Florida State?`:
```sql
                SELECT "pick_num" FROM "nfl_draft" WHERE "college"='Florida State';
```
## Task
Generate a SQL query to answer the following question:
`How many colleges did pick number 269 attend?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many colleges did pick number 269 attend?`:
```sql
                SELECT COUNT("college") FROM "nfl_draft" WHERE "pick_num"=269;
```
## Task
Generate a SQL query to answer the following question:
`How many picks played Tight end?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many picks played Tight end?`:
```sql
                SELECT COUNT("pick_num") FROM "nfl_draft" WHERE "position"='Tight End';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player whose college is Western Kentucky?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player whose college is Western Kentucky?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "college"='Western Kentucky';
```
## Task
Generate a SQL query to answer the following question:
`What position does Robert Brooks play?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does Robert Brooks play?`:
```sql
                SELECT COUNT("position") FROM "nfl_draft" WHERE "player"='Robert Brooks';
```
## Task
Generate a SQL query to answer the following question:
`Which team does Robert Brooks play with?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team does Robert Brooks play with?`:
```sql
                SELECT "nfl_team" FROM "nfl_draft" WHERE "player"='Robert Brooks';
```
## Task
Generate a SQL query to answer the following question:
`Which team picked from South Carolina college?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team picked from South Carolina college?`:
```sql
                SELECT "nfl_team" FROM "nfl_draft" WHERE "college"='South Carolina';
```
## Task
Generate a SQL query to answer the following question:
`Which college was the wide receiver whose pick was less than 130.0 picked from?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college was the wide receiver whose pick was less than 130.0 picked from?`:
```sql
                SELECT "college" FROM "nfl_draft" WHERE "position"='Wide Receiver' AND "pick_num"<130.0;
```
## Task
Generate a SQL query to answer the following question:
`What position(s) does the player drafted #34 play?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position(s) does the player drafted #34 play?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "pick_num"=34;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest pick number?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest pick number?`:
```sql
                SELECT MAX("pick_num") FROM "nfl_draft";
```
## Task
Generate a SQL query to answer the following question:
`What number picked were players from arizona state picked?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number picked were players from arizona state picked?`:
```sql
                SELECT "pick_num" FROM "nfl_draft" WHERE "college"='Arizona State';
```
## Task
Generate a SQL query to answer the following question:
`What NFL team does player keith woodside play for?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What NFL team does player keith woodside play for?`:
```sql
                SELECT "nfl_team" FROM "nfl_draft" WHERE "player"='Keith Woodside';
```
## Task
Generate a SQL query to answer the following question:
`what's the player with college being penn state`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the player with college being penn state`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "college"='Penn State';
```
## Task
Generate a SQL query to answer the following question:
`what's the position with college being usc`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the position with college being usc`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "college"='USC';
```
## Task
Generate a SQL query to answer the following question:
` how many college with player being rich voltzke`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many college with player being rich voltzke`:
```sql
                SELECT COUNT("college") FROM "nfl_draft" WHERE "player"='Rich Voltzke';
```
## Task
Generate a SQL query to answer the following question:
`what's the college with position being placekicker`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the college with position being placekicker`:
```sql
                SELECT "college" FROM "nfl_draft" WHERE "position"='Placekicker';
```
## Task
Generate a SQL query to answer the following question:
`who is the the player where pick # is 64`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the player where pick # is 64`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "pick_num"=64;
```
## Task
Generate a SQL query to answer the following question:
`What day were the Denver Broncos the opponent?`

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

CREATE TABLE "table1_14655917_1" (
  "week" real,
  "date" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What day were the Denver Broncos the opponent?`:
```sql
                SELECT "date" FROM "table1_14655917_1" WHERE "opponent"='Denver Broncos';
```
## Task
Generate a SQL query to answer the following question:
`What day was the oppenent the detroit lions?`

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

CREATE TABLE "table1_14655917_1" (
  "week" real,
  "date" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What day was the oppenent the detroit lions?`:
```sql
                SELECT "date" FROM "table1_14655917_1" WHERE "opponent"='Detroit Lions';
```
## Task
Generate a SQL query to answer the following question:
`List the record of 0-1 from the table?`

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

CREATE TABLE "schedule" (
  "week" real,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `List the record of 0-1 from the table?`:
```sql
                SELECT "week" FROM "schedule" WHERE "record"='0-1';
```
## Task
Generate a SQL query to answer the following question:
`Type the record details if any result has L 3-6 in it?`

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

CREATE TABLE "schedule" (
  "week" real,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Type the record details if any result has L 3-6 in it?`:
```sql
                SELECT "record" FROM "schedule" WHERE "result"='L 3-6';
```
## Task
Generate a SQL query to answer the following question:
`Find the least value of attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Find the least value of attendance?`:
```sql
                SELECT MIN("attendance") FROM "schedule";
```
## Task
Generate a SQL query to answer the following question:
`type the attendance for playing with tampa bay buccaneers?`

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

CREATE TABLE "schedule" (
  "week" real,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `type the attendance for playing with tampa bay buccaneers?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='Tampa Bay Buccaneers';
```
## Task
Generate a SQL query to answer the following question:
`How many times was obamacare: fed/ state/ partnership  recorded for Louisiana?`

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

CREATE TABLE "table_of_federal_taxation_and_spending_b" (
  "rank" real,
  "state" text,
  "revenue_millions" text,
  "population" real,
  "revenue_per_capita" text,
  "spending_millions" text,
  "spending_per_capita" text,
  "net_contribution_per_capita" text,
  "presidential_majority_2000_2004" text,
  "presidential_majority_2008" text,
  "presidential_majority_2012" text,
  "obamacare_fed_state_partnership" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was obamacare: fed/ state/ partnership  recorded for Louisiana?`:
```sql
                SELECT COUNT("obamacare_fed_state_partnership") FROM "table_of_federal_taxation_and_spending_b" WHERE "state"='Louisiana';
```
## Task
Generate a SQL query to answer the following question:
`How many numbers were recorded under revenue when revenue per capita was $6,126?`

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

CREATE TABLE "table_of_federal_taxation_and_spending_b" (
  "rank" real,
  "state" text,
  "revenue_millions" text,
  "population" real,
  "revenue_per_capita" text,
  "spending_millions" text,
  "spending_per_capita" text,
  "net_contribution_per_capita" text,
  "presidential_majority_2000_2004" text,
  "presidential_majority_2008" text,
  "presidential_majority_2012" text,
  "obamacare_fed_state_partnership" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many numbers were recorded under revenue when revenue per capita was $6,126?`:
```sql
                SELECT COUNT("revenue_millions") FROM "table_of_federal_taxation_and_spending_b" WHERE "revenue_per_capita"='$6,126';
```
## Task
Generate a SQL query to answer the following question:
`How many times was presidential majority 2000/2004 recorded  when obamacare: fed/ state/ partnership was Utah shop?`

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

CREATE TABLE "table_of_federal_taxation_and_spending_b" (
  "rank" real,
  "state" text,
  "revenue_millions" text,
  "population" real,
  "revenue_per_capita" text,
  "spending_millions" text,
  "spending_per_capita" text,
  "net_contribution_per_capita" text,
  "presidential_majority_2000_2004" text,
  "presidential_majority_2008" text,
  "presidential_majority_2012" text,
  "obamacare_fed_state_partnership" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was presidential majority 2000/2004 recorded  when obamacare: fed/ state/ partnership was Utah shop?`:
```sql
                SELECT COUNT("presidential_majority_2000_2004") FROM "table_of_federal_taxation_and_spending_b" WHERE "obamacare_fed_state_partnership"='Utah shop';
```
## Task
Generate a SQL query to answer the following question:
`What was the spending per capita when the revenue per capita was $7,755?`

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

CREATE TABLE "table_of_federal_taxation_and_spending_b" (
  "rank" real,
  "state" text,
  "revenue_millions" text,
  "population" real,
  "revenue_per_capita" text,
  "spending_millions" text,
  "spending_per_capita" text,
  "net_contribution_per_capita" text,
  "presidential_majority_2000_2004" text,
  "presidential_majority_2008" text,
  "presidential_majority_2012" text,
  "obamacare_fed_state_partnership" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the spending per capita when the revenue per capita was $7,755?`:
```sql
                SELECT "spending_per_capita" FROM "table_of_federal_taxation_and_spending_b" WHERE "revenue_per_capita"='$7,755';
```
## Task
Generate a SQL query to answer the following question:
`What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?`

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

CREATE TABLE "table_of_federal_taxation_and_spending_b" (
  "rank" real,
  "state" text,
  "revenue_millions" text,
  "population" real,
  "revenue_per_capita" text,
  "spending_millions" text,
  "spending_per_capita" text,
  "net_contribution_per_capita" text,
  "presidential_majority_2000_2004" text,
  "presidential_majority_2008" text,
  "presidential_majority_2012" text,
  "obamacare_fed_state_partnership" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?`:
```sql
                SELECT "presidential_majority_2000_2004" FROM "table_of_federal_taxation_and_spending_b" WHERE "presidential_majority_2012"='Non-voting';
```
## Task
Generate a SQL query to answer the following question:
`How many times was revenue in millions recorded when the spending per capita was $6,736?`

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

CREATE TABLE "table_of_federal_taxation_and_spending_b" (
  "rank" real,
  "state" text,
  "revenue_millions" text,
  "population" real,
  "revenue_per_capita" text,
  "spending_millions" text,
  "spending_per_capita" text,
  "net_contribution_per_capita" text,
  "presidential_majority_2000_2004" text,
  "presidential_majority_2008" text,
  "presidential_majority_2012" text,
  "obamacare_fed_state_partnership" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was revenue in millions recorded when the spending per capita was $6,736?`:
```sql
                SELECT COUNT("revenue_millions") FROM "table_of_federal_taxation_and_spending_b" WHERE "spending_per_capita"='$6,736';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest number of DVDs?`

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

CREATE TABLE "table1_1467951_4" (
  "dvd_name" text,
  "ep_no" real,
  "dvd_no" real,
  "release_date" real,
  "additional_information" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest number of DVDs?`:
```sql
                SELECT MAX("dvd_no") FROM "table1_1467951_4";
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of episodes?`

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

CREATE TABLE "table1_1467951_4" (
  "dvd_name" text,
  "ep_no" real,
  "dvd_no" real,
  "release_date" real,
  "additional_information" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of episodes?`:
```sql
                SELECT MAX("ep_no") FROM "table1_1467951_4";
```
## Task
Generate a SQL query to answer the following question:
`What is the most recent release date?`

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

CREATE TABLE "table1_1467951_4" (
  "dvd_name" text,
  "ep_no" real,
  "dvd_no" real,
  "release_date" real,
  "additional_information" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most recent release date?`:
```sql
                SELECT MAX("release_date") FROM "table1_1467951_4";
```
## Task
Generate a SQL query to answer the following question:
`How many release dates does volume 4 DVD have?`

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

CREATE TABLE "table1_1467951_4" (
  "dvd_name" text,
  "ep_no" real,
  "dvd_no" real,
  "release_date" real,
  "additional_information" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many release dates does volume 4 DVD have?`:
```sql
                SELECT COUNT("release_date") FROM "table1_1467951_4" WHERE "dvd_name"='Volume 4';
```
## Task
Generate a SQL query to answer the following question:
`what is the arrival time for no. 14?`

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

CREATE TABLE "running_timetables" (
  "no" real,
  "station_code" text,
  "station" text,
  "arrival" text,
  "departure" text,
  "kilometers" real,
  "day" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the arrival time for no. 14?`:
```sql
                SELECT "arrival" FROM "running_timetables" WHERE "no"=14;
```
## Task
Generate a SQL query to answer the following question:
`what is the arrival time where the station code is awy?`

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

CREATE TABLE "running_timetables" (
  "no" real,
  "station_code" text,
  "station" text,
  "arrival" text,
  "departure" text,
  "kilometers" real,
  "day" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the arrival time where the station code is awy?`:
```sql
                SELECT "arrival" FROM "running_timetables" WHERE "station_code"='AWY';
```
## Task
Generate a SQL query to answer the following question:
`what amount of stations have station code is awy?`

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

CREATE TABLE "running_timetables" (
  "no" real,
  "station_code" text,
  "station" text,
  "arrival" text,
  "departure" text,
  "kilometers" real,
  "day" real
);
### SQL
Given the database schema, here is the SQL query that answers `what amount of stations have station code is awy?`:
```sql
                SELECT COUNT("station") FROM "running_timetables" WHERE "station_code"='AWY';
```
## Task
Generate a SQL query to answer the following question:
`what is the arrival time where station code is pnvl?`

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

CREATE TABLE "running_timetables" (
  "no" real,
  "station_code" text,
  "station" text,
  "arrival" text,
  "departure" text,
  "kilometers" real,
  "day" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the arrival time where station code is pnvl?`:
```sql
                SELECT "arrival" FROM "running_timetables" WHERE "station_code"='PNVL';
```
## Task
Generate a SQL query to answer the following question:
`Which stations had volume of 5088 in 2004-05?`

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

CREATE TABLE "table1_1470706_1" (
  "station_name" text,
  "2002_03" real,
  "2004_05" real,
  "2005_06" real,
  "2006_07" real,
  "2007_08" real,
  "2008_09" real,
  "2009_10" real,
  "2010_11" real,
  "2011_12" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which stations had volume of 5088 in 2004-05?`:
```sql
                SELECT "station_name" FROM "table1_1470706_1" WHERE "2004_05"=5088;
```
## Task
Generate a SQL query to answer the following question:
`How many stations in 2011-12 had volume of 11580 in 2008-09?`

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

CREATE TABLE "table1_1470706_1" (
  "station_name" text,
  "2002_03" real,
  "2004_05" real,
  "2005_06" real,
  "2006_07" real,
  "2007_08" real,
  "2008_09" real,
  "2009_10" real,
  "2010_11" real,
  "2011_12" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many stations in 2011-12 had volume of 11580 in 2008-09?`:
```sql
                SELECT COUNT("2011_12") FROM "table1_1470706_1" WHERE "2008_09"=11580;
```
## Task
Generate a SQL query to answer the following question:
`What was the least volume recorded in 2011-12 when 2008-09 had 21652?`

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

CREATE TABLE "table1_1470706_1" (
  "station_name" text,
  "2002_03" real,
  "2004_05" real,
  "2005_06" real,
  "2006_07" real,
  "2007_08" real,
  "2008_09" real,
  "2009_10" real,
  "2010_11" real,
  "2011_12" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the least volume recorded in 2011-12 when 2008-09 had 21652?`:
```sql
                SELECT MIN("2011_12") FROM "table1_1470706_1" WHERE "2008_09"=21652;
```
## Task
Generate a SQL query to answer the following question:
`How many years was the total 402?`

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

CREATE TABLE "most_official_appearances" (
  "ranking" real,
  "nationality" text,
  "name" text,
  "position" text,
  "years" text,
  "league" real,
  "cup" real,
  "europe" real,
  "others" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many years was the total 402?`:
```sql
                SELECT COUNT("years") FROM "most_official_appearances" WHERE "total"=402;
```
## Task
Generate a SQL query to answer the following question:
`Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella?`:
```sql
                SELECT "young_rider_classification" FROM "classification_leadership" WHERE "mountains_classification"='Emanuele Sella' AND "stage"=9;
```
## Task
Generate a SQL query to answer the following question:
`Who is the general classification leader for stage 3?`

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

CREATE TABLE "classification_leadership" (
  "stage" real,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the general classification leader for stage 3?`:
```sql
                SELECT "general_classification" FROM "classification_leadership" WHERE "stage"=3;
```