cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`who is the the candidates with district being mississippi 4`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the candidates with district being mississippi 4`:
```sql
                SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 4';
```
## Task
Generate a SQL query to answer the following question:
`who is  the incumbent for district mississippi 4`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is  the incumbent for district mississippi 4`:
```sql
                SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 4';
```
## Task
Generate a SQL query to answer the following question:
`what's the result with incumbent being bill g. lowrey`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the result with incumbent being bill g. lowrey`:
```sql
                SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Bill G. Lowrey';
```
## Task
Generate a SQL query to answer the following question:
`what's the district  with candidates being william madison whittington (d) unopposed`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the district  with candidates being william madison whittington (d) unopposed`:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='William Madison Whittington (D) Unopposed';
```
## Task
Generate a SQL query to answer the following question:
`What was the last year that incumbent joseph t. deal was first elected?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the last year that incumbent joseph t. deal was first elected?`:
```sql
                SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Joseph T. Deal';
```
## Task
Generate a SQL query to answer the following question:
`What year was someone first elected?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was someone first elected?`:
```sql
                SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e";
```
## Task
Generate a SQL query to answer the following question:
`What district does edward everett eslick represent?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What district does edward everett eslick represent?`:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Edward Everett Eslick';
```
## Task
Generate a SQL query to answer the following question:
`How many times was incumbent cordell hull first elected?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was incumbent cordell hull first elected?`:
```sql
                SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Cordell Hull';
```
## Task
Generate a SQL query to answer the following question:
`How many times was the election joseph w. byrns, sr. (d) unopposed?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the election joseph w. byrns, sr. (d) unopposed?`:
```sql
                SELECT COUNT("result") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Joseph W. Byrns, Sr. (D) Unopposed';
```
## Task
Generate a SQL query to answer the following question:
`What is the least first elected for jeff busby?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least first elected for jeff busby?`:
```sql
                SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Jeff Busby';
```
## Task
Generate a SQL query to answer the following question:
`What was the party for first elected 1923?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the party for first elected 1923?`:
```sql
                SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1923;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of result for mississippi 4?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of result for mississippi 4?`:
```sql
                SELECT COUNT("result") FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 4';
```
## Task
Generate a SQL query to answer the following question:
`what is the section where gordon lee ran`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the section where gordon lee ran`:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Gordon Lee';
```
## Task
Generate a SQL query to answer the following question:
`what section did frank park run in`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `what section did frank park run in`:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Frank Park';
```
## Task
Generate a SQL query to answer the following question:
`who won in the race in the section georgia 5`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `who won in the race in the section georgia 5`:
```sql
                SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 5';
```
## Task
Generate a SQL query to answer the following question:
`How many candidates won the election of john n. sandlin?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many candidates won the election of john n. sandlin?`:
```sql
                SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John N. Sandlin';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent in the election of henry garland dupré (d) unopposed?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent in the election of henry garland dupré (d) unopposed?`:
```sql
                SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Henry Garland Dupré (D) Unopposed';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when incumbent John R. Tyson was elected?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when incumbent John R. Tyson was elected?`:
```sql
                SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John R. Tyson';
```
## Task
Generate a SQL query to answer the following question:
`Name the result for william j. driver`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the result for william j. driver`:
```sql
                SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William J. Driver';
```
## Task
Generate a SQL query to answer the following question:
`Name the district for william j. driver `

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the district for william j. driver `:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William J. Driver';
```
## Task
Generate a SQL query to answer the following question:
`Name the lowest first elected for chester w. taylor`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the lowest first elected for chester w. taylor`:
```sql
                SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Chester W. Taylor';
```
## Task
Generate a SQL query to answer the following question:
`Who were the candidates when Henry Garland Dupré was incumbent?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the candidates when Henry Garland Dupré was incumbent?`:
```sql
                SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Henry Garland Dupré';
```
## Task
Generate a SQL query to answer the following question:
`How many candidates were there when Henry Garland Dupré was the incumbent? `

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many candidates were there when Henry Garland Dupré was the incumbent? `:
```sql
                SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Henry Garland Dupré';
```
## Task
Generate a SQL query to answer the following question:
`What district did James O'Connor belong to?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What district did James O'Connor belong to?`:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='James O''Connor';
```
## Task
Generate a SQL query to answer the following question:
`When did the episode titled "Winterland" air for the first time? `

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

CREATE TABLE "table1_13426649_1" (
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the episode titled "Winterland" air for the first time? `:
```sql
                SELECT "original_air_date" FROM "table1_13426649_1" WHERE "title"='\"Winterland\"';
```
## Task
Generate a SQL query to answer the following question:
`How many different original air dates did the episode number 6 have? `

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

CREATE TABLE "table1_13426649_1" (
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different original air dates did the episode number 6 have? `:
```sql
                SELECT COUNT("original_air_date") FROM "table1_13426649_1" WHERE "num"=6;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode with production code 1ANJ01?`

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

CREATE TABLE "table1_13426649_1" (
  "num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text,
  "u_s_viewers_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode with production code 1ANJ01?`:
```sql
                SELECT "written_by" FROM "table1_13426649_1" WHERE "production_code"='1ANJ01';
```
## Task
Generate a SQL query to answer the following question:
`What are the locations with a panthers mascot?`

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

CREATE TABLE "table1_13456202_1" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "mascot" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the locations with a panthers mascot?`:
```sql
                SELECT "location" FROM "table1_13456202_1" WHERE "mascot"='Panthers';
```
## Task
Generate a SQL query to answer the following question:
`What are the locations with an eagles macot?`

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

CREATE TABLE "table1_13456202_1" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "mascot" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the locations with an eagles macot?`:
```sql
                SELECT "location" FROM "table1_13456202_1" WHERE "mascot"='Eagles';
```
## Task
Generate a SQL query to answer the following question:
`How many teams have an eagles mascot?`

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

CREATE TABLE "table1_13456202_1" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "mascot" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams have an eagles mascot?`:
```sql
                SELECT COUNT("affiliation") FROM "table1_13456202_1" WHERE "mascot"='Eagles';
```
## Task
Generate a SQL query to answer the following question:
`How many teams have the titans as a mascot?`

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

CREATE TABLE "table1_13456202_1" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "mascot" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams have the titans as a mascot?`:
```sql
                SELECT COUNT("affiliation") FROM "table1_13456202_1" WHERE "mascot"='Titans';
```
## Task
Generate a SQL query to answer the following question:
`WHat year was north college hill high school founded?`

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

CREATE TABLE "table1_13456202_1" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "mascot" text,
  "division" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHat year was north college hill high school founded?`:
```sql
                SELECT MAX("founded") FROM "table1_13456202_1" WHERE "school"='North College Hill High School';
```
## Task
Generate a SQL query to answer the following question:
`Who was the incumbent when ran william b. oliver (d) unopposed?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the incumbent when ran william b. oliver (d) unopposed?`:
```sql
                SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "candidates"='William B. Oliver (D) Unopposed';
```
## Task
Generate a SQL query to answer the following question:
`Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%?  Answer: Democratic`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%?  Answer: Democratic`:
```sql
                SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Henry E. Barbour (R) 52.1% Henry Hawson (D) 47.9%';
```
## Task
Generate a SQL query to answer the following question:
`Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?`:
```sql
                SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='John I. Nolan (R) 87% Thomas F. Feeley (S) 13%';
```
## Task
Generate a SQL query to answer the following question:
`What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?`:
```sql
                SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "candidates"='John A. Elston (R) 88.4% Luella Twining (S) 11.6%';
```
## Task
Generate a SQL query to answer the following question:
`Which District was the incumbent Julius Kahn from?  Answer:  California 4th district`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which District was the incumbent Julius Kahn from?  Answer:  California 4th district`:
```sql
                SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Julius Kahn';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the election when Clarence F. Lea was the incumbent?`

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

CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the election when Clarence F. Lea was the incumbent?`:
```sql
                SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Clarence F. Lea';
```
## Task
Generate a SQL query to answer the following question:
`Which team played in game 20?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team played in game 20?`:
```sql
                SELECT "team" FROM "game_log" WHERE "game"=20;
```
## Task
Generate a SQL query to answer the following question:
`what's the height (ft) with name being leadenhall building`

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

CREATE TABLE "tallest_under_construction_buildings" (
  "rank" real,
  "name" text,
  "city" text,
  "region" text,
  "height_m" real,
  "height_ft" real,
  "floors" real,
  "estimated_completion" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the height (ft) with name being leadenhall building`:
```sql
                SELECT "height_ft" FROM "tallest_under_construction_buildings" WHERE "name"='Leadenhall Building';
```
## Task
Generate a SQL query to answer the following question:
`what's the height (ft) with name being 52-54 lime street`

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

CREATE TABLE "tallest_under_construction_buildings" (
  "rank" real,
  "name" text,
  "city" text,
  "region" text,
  "height_m" real,
  "height_ft" real,
  "floors" real,
  "estimated_completion" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the height (ft) with name being 52-54 lime street`:
```sql
                SELECT "height_ft" FROM "tallest_under_construction_buildings" WHERE "name"='52-54 Lime Street';
```
## Task
Generate a SQL query to answer the following question:
` how many city with name being providence tower`

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

CREATE TABLE "tallest_under_construction_buildings" (
  "rank" real,
  "name" text,
  "city" text,
  "region" text,
  "height_m" real,
  "height_ft" real,
  "floors" real,
  "estimated_completion" real
);
### SQL
Given the database schema, here is the SQL query that answers ` how many city with name being providence tower`:
```sql
                SELECT COUNT("city") FROM "tallest_under_construction_buildings" WHERE "name"='Providence Tower';
```
## Task
Generate a SQL query to answer the following question:
`What station has the call number K213cl`

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

CREATE TABLE "table1_134729_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What station has the call number K213cl`:
```sql
                SELECT "format" FROM "table1_134729_3" WHERE "call_sign"='K213CL';
```
## Task
Generate a SQL query to answer the following question:
`What market is Wessington Springs in`

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

CREATE TABLE "table1_134729_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What market is Wessington Springs in`:
```sql
                SELECT "target_city_market" FROM "table1_134729_3" WHERE "city_of_license"='Wessington Springs';
```
## Task
Generate a SQL query to answer the following question:
`What station owns Moody Bible Institute`

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

CREATE TABLE "table1_134729_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What station owns Moody Bible Institute`:
```sql
                SELECT "format" FROM "table1_134729_3" WHERE "owner"='Moody Bible Institute';
```
## Task
Generate a SQL query to answer the following question:
` how many date with score being w 113–87`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers ` how many date with score being w 113–87`:
```sql
                SELECT COUNT("date") FROM "game_log" WHERE "score"='W 113–87';
```
## Task
Generate a SQL query to answer the following question:
`what's the game with record being 29–3`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the game with record being 29–3`:
```sql
                SELECT "game" FROM "game_log" WHERE "record"='29–3';
```
## Task
Generate a SQL query to answer the following question:
`who is the the high rebounds with high assbeingts being scottie pippen (9)`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the high rebounds with high assbeingts being scottie pippen (9)`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Scottie Pippen (9)';
```
## Task
Generate a SQL query to answer the following question:
`who is the the high points with score being w 117–93`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the high points with score being w 117–93`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "score"='W 117–93';
```
## Task
Generate a SQL query to answer the following question:
`what's the record with date being january 13`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the record with date being january 13`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='January 13';
```
## Task
Generate a SQL query to answer the following question:
`what are all the record where date is january 21`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `what are all the record where date is january 21`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='January 21';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of Rapid City's Adult Contemporary station?`

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

CREATE TABLE "table1_134987_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of Rapid City's Adult Contemporary station?`:
```sql
                SELECT "name" FROM "table1_134987_3" WHERE "city_of_license"='Rapid City' AND "format"='Adult Contemporary';
```
## Task
Generate a SQL query to answer the following question:
`What are the market city/market(s) for Rapid City Alternative format?`

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

CREATE TABLE "table1_134987_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the market city/market(s) for Rapid City Alternative format?`:
```sql
                SELECT "target_city_market" FROM "table1_134987_3" WHERE "city_of_license"='Rapid City' AND "format"='Alternative';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for the Christian Kawz-fm Translator station?`

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

CREATE TABLE "table1_134987_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for the Christian Kawz-fm Translator station?`:
```sql
                SELECT "frequency" FROM "table1_134987_3" WHERE "format"='Christian KAWZ-FM translator';
```
## Task
Generate a SQL query to answer the following question:
`What is the target market for the station on 97.9 fm?`

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

CREATE TABLE "table1_134987_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the target market for the station on 97.9 fm?`:
```sql
                SELECT "target_city_market" FROM "table1_134987_3" WHERE "frequency"='97.9 FM';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of the Classic Country Krki-fm booster station?`

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

CREATE TABLE "table1_134987_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of the Classic Country Krki-fm booster station?`:
```sql
                SELECT "frequency" FROM "table1_134987_3" WHERE "format"='Classic Country KRKI-FM booster';
```
## Task
Generate a SQL query to answer the following question:
`What is the target market of the station with call sign KFXS?`

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

CREATE TABLE "table1_134987_3" (
  "frequency" text,
  "call_sign" text,
  "name" text,
  "format" text,
  "owner" text,
  "target_city_market" text,
  "city_of_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the target market of the station with call sign KFXS?`:
```sql
                SELECT "target_city_market" FROM "table1_134987_3" WHERE "call_sign"='KFXS';
```
## Task
Generate a SQL query to answer the following question:
`What year did the season finale have a total of 10.29 million viewers?`

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

CREATE TABLE "american_television_ratings" (
  "season" text,
  "timeslot" text,
  "season_premiere" text,
  "season_finale" text,
  "episodes" real,
  "tv_season" text,
  "ranking" text,
  "viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the season finale have a total of 10.29 million viewers?`:
```sql
                SELECT "season_finale" FROM "american_television_ratings" WHERE "viewers_in_millions"='10.29';
```
## Task
Generate a SQL query to answer the following question:
`In what TV season did the 3rd season air?`

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

CREATE TABLE "american_television_ratings" (
  "season" text,
  "timeslot" text,
  "season_premiere" text,
  "season_finale" text,
  "episodes" real,
  "tv_season" text,
  "ranking" text,
  "viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what TV season did the 3rd season air?`:
```sql
                SELECT "tv_season" FROM "american_television_ratings" WHERE "season"='3rd';
```
## Task
Generate a SQL query to answer the following question:
`How many rankings did the 5th season have?`

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

CREATE TABLE "american_television_ratings" (
  "season" text,
  "timeslot" text,
  "season_premiere" text,
  "season_finale" text,
  "episodes" real,
  "tv_season" text,
  "ranking" text,
  "viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rankings did the 5th season have?`:
```sql
                SELECT COUNT("ranking") FROM "american_television_ratings" WHERE "season"='5th';
```
## Task
Generate a SQL query to answer the following question:
`How many times did the 2nd season have a finale?`

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

CREATE TABLE "american_television_ratings" (
  "season" text,
  "timeslot" text,
  "season_premiere" text,
  "season_finale" text,
  "episodes" real,
  "tv_season" text,
  "ranking" text,
  "viewers_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the 2nd season have a finale?`:
```sql
                SELECT COUNT("season_finale") FROM "american_television_ratings" WHERE "season"='2nd';
```
## Task
Generate a SQL query to answer the following question:
` how many county with per capita income being $20,101`

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

CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
  "rank" real,
  "place" text,
  "county" text,
  "per_capita_income" text,
  "median_house_hold_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers ` how many county with per capita income being $20,101`:
```sql
                SELECT COUNT("county") FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$20,101';
```
## Task
Generate a SQL query to answer the following question:
`who is the the place with per capita income being $14,793`

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

CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
  "rank" real,
  "place" text,
  "county" text,
  "per_capita_income" text,
  "median_house_hold_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the place with per capita income being $14,793`:
```sql
                SELECT "place" FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$14,793';
```
## Task
Generate a SQL query to answer the following question:
`what's the number of households with per capita income being $16,820`

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

CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
  "rank" real,
  "place" text,
  "county" text,
  "per_capita_income" text,
  "median_house_hold_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the number of households with per capita income being $16,820`:
```sql
                SELECT "number_of_households" FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$16,820';
```
## Task
Generate a SQL query to answer the following question:
`what is the maximum rank with per capita income being $17,013`

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

CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
  "rank" real,
  "place" text,
  "county" text,
  "per_capita_income" text,
  "median_house_hold_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the maximum rank with per capita income being $17,013`:
```sql
                SELECT MAX("rank") FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$17,013';
```
## Task
Generate a SQL query to answer the following question:
`How old is Darryll Holland's horse`

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

CREATE TABLE "race_starters" (
  "saddle_cloth" real,
  "horse" text,
  "trainer" text,
  "jockey" text,
  "weight_kg" text,
  "barrier" real,
  "placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `How old is Darryll Holland's horse`:
```sql
                SELECT "barrier" FROM "race_starters" WHERE "jockey"='Darryll Holland';
```
## Task
Generate a SQL query to answer the following question:
`how many people work with N Rawiller`

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

CREATE TABLE "race_starters" (
  "saddle_cloth" real,
  "horse" text,
  "trainer" text,
  "jockey" text,
  "weight_kg" text,
  "barrier" real,
  "placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many people work with N Rawiller`:
```sql
                SELECT COUNT("trainer") FROM "race_starters" WHERE "jockey"='N Rawiller';
```
## Task
Generate a SQL query to answer the following question:
`How old is Daniel Morton`

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

CREATE TABLE "race_starters" (
  "saddle_cloth" real,
  "horse" text,
  "trainer" text,
  "jockey" text,
  "weight_kg" text,
  "barrier" real,
  "placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `How old is Daniel Morton`:
```sql
                SELECT MAX("barrier") FROM "race_starters" WHERE "trainer"='Daniel Morton';
```
## Task
Generate a SQL query to answer the following question:
`How many serial branches have radio electrial = rea-iv?`

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

CREATE TABLE "d_r" (
  "serial_branch" real,
  "seaman" text,
  "mechanical" text,
  "secretariat" text,
  "supply" text,
  "electrical" text,
  "radio_electrical" text,
  "regulating" text,
  "medical" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many serial branches have radio electrial = rea-iv?`:
```sql
                SELECT COUNT("serial_branch") FROM "d_r" WHERE "radio_electrical"='REA-IV';
```
## Task
Generate a SQL query to answer the following question:
`What are radio electricals when secretariat is wtr i?`

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

CREATE TABLE "d_r" (
  "serial_branch" real,
  "seaman" text,
  "mechanical" text,
  "secretariat" text,
  "supply" text,
  "electrical" text,
  "radio_electrical" text,
  "regulating" text,
  "medical" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are radio electricals when secretariat is wtr i?`:
```sql
                SELECT "radio_electrical" FROM "d_r" WHERE "secretariat"='WTR I';
```
## Task
Generate a SQL query to answer the following question:
`What are electricals where secretariat is po(w)?`

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

CREATE TABLE "d_r" (
  "serial_branch" real,
  "seaman" text,
  "mechanical" text,
  "secretariat" text,
  "supply" text,
  "electrical" text,
  "radio_electrical" text,
  "regulating" text,
  "medical" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are electricals where secretariat is po(w)?`:
```sql
                SELECT "electrical" FROM "d_r" WHERE "secretariat"='PO(W)';
```
## Task
Generate a SQL query to answer the following question:
`What mechanical has lpm regulation?`

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

CREATE TABLE "d_r" (
  "serial_branch" real,
  "seaman" text,
  "mechanical" text,
  "secretariat" text,
  "supply" text,
  "electrical" text,
  "radio_electrical" text,
  "regulating" text,
  "medical" text
);
### SQL
Given the database schema, here is the SQL query that answers `What mechanical has lpm regulation?`:
```sql
                SELECT "mechanical" FROM "d_r" WHERE "regulating"='LPM';
```
## Task
Generate a SQL query to answer the following question:
`How many branches have radio electrical=hon s lt(r)?`

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

CREATE TABLE "d_r" (
  "serial_branch" real,
  "seaman" text,
  "mechanical" text,
  "secretariat" text,
  "supply" text,
  "electrical" text,
  "radio_electrical" text,
  "regulating" text,
  "medical" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many branches have radio electrical=hon s lt(r)?`:
```sql
                SELECT COUNT("serial_branch") FROM "d_r" WHERE "radio_electrical"='Hon S Lt(R)';
```
## Task
Generate a SQL query to answer the following question:
`Who regulates radio electrical = lren?`

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

CREATE TABLE "d_r" (
  "serial_branch" real,
  "seaman" text,
  "mechanical" text,
  "secretariat" text,
  "supply" text,
  "electrical" text,
  "radio_electrical" text,
  "regulating" text,
  "medical" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who regulates radio electrical = lren?`:
```sql
                SELECT "regulating" FROM "d_r" WHERE "radio_electrical"='LREN';
```