cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many directors have vietnamese titles of Gate, Gate, Paragate?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "english_title" text,
  "vietnamese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many directors have vietnamese titles of Gate, Gate, Paragate?`:
```sql
                SELECT COUNT("director") FROM "submissions" WHERE "vietnamese_title"='Gate, gate, paragate';
```
## Task
Generate a SQL query to answer the following question:
`What is every ceremony year for the result of nominee?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "english_title" text,
  "vietnamese_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every ceremony year for the result of nominee?`:
```sql
                SELECT "year_ceremony" FROM "submissions" WHERE "result"='Nominee';
```
## Task
Generate a SQL query to answer the following question:
`Who was the pilot of max altitude of 55.9 miles?`

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

CREATE TABLE "table1_221315_3" (
  "pilot" text,
  "organization" text,
  "total_flights" real,
  "usaf_space_flights" real,
  "fai_space_flights" real,
  "max_mach" text,
  "max_speed_mph" real,
  "max_altitude_miles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the pilot of max altitude of 55.9 miles?`:
```sql
                SELECT "pilot" FROM "table1_221315_3" WHERE "max_altitude_miles"='55.9';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of fai space flights when max mach is 5.65?`

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

CREATE TABLE "table1_221315_3" (
  "pilot" text,
  "organization" text,
  "total_flights" real,
  "usaf_space_flights" real,
  "fai_space_flights" real,
  "max_mach" text,
  "max_speed_mph" real,
  "max_altitude_miles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of fai space flights when max mach is 5.65?`:
```sql
                SELECT MAX("fai_space_flights") FROM "table1_221315_3" WHERE "max_mach"='5.65';
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum altitude for Neil Armstrong?`

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

CREATE TABLE "table1_221315_3" (
  "pilot" text,
  "organization" text,
  "total_flights" real,
  "usaf_space_flights" real,
  "fai_space_flights" real,
  "max_mach" text,
  "max_speed_mph" real,
  "max_altitude_miles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum altitude for Neil Armstrong?`:
```sql
                SELECT "max_altitude_miles" FROM "table1_221315_3" WHERE "pilot"='Neil Armstrong';
```
## Task
Generate a SQL query to answer the following question:
`How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?`

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

CREATE TABLE "table1_221315_3" (
  "pilot" text,
  "organization" text,
  "total_flights" real,
  "usaf_space_flights" real,
  "fai_space_flights" real,
  "max_mach" text,
  "max_speed_mph" real,
  "max_altitude_miles" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?`:
```sql
                SELECT COUNT("max_speed_mph") FROM "table1_221315_3" WHERE "usaf_space_flights"=1 AND "total_flights"=34;
```
## Task
Generate a SQL query to answer the following question:
`What were all USAF space flights when the aximum speed was 3822?`

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

CREATE TABLE "table1_221315_3" (
  "pilot" text,
  "organization" text,
  "total_flights" real,
  "usaf_space_flights" real,
  "fai_space_flights" real,
  "max_mach" text,
  "max_speed_mph" real,
  "max_altitude_miles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were all USAF space flights when the aximum speed was 3822?`:
```sql
                SELECT "usaf_space_flights" FROM "table1_221315_3" WHERE "max_speed_mph"=3822;
```
## Task
Generate a SQL query to answer the following question:
`What was the max mach when the maximum speed was 3887?`

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

CREATE TABLE "table1_221315_3" (
  "pilot" text,
  "organization" text,
  "total_flights" real,
  "usaf_space_flights" real,
  "fai_space_flights" real,
  "max_mach" text,
  "max_speed_mph" real,
  "max_altitude_miles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the max mach when the maximum speed was 3887?`:
```sql
                SELECT "max_mach" FROM "table1_221315_3" WHERE "max_speed_mph"=3887;
```
## Task
Generate a SQL query to answer the following question:
`What is the record for the away leg in round 1 and aggregate 2-0?`

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

CREATE TABLE "european_record" (
  "season" text,
  "round" real,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for the away leg in round 1 and aggregate 2-0?`:
```sql
                SELECT "away_leg" FROM "european_record" WHERE "round"=1 AND "aggregate"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`Name the parishes for  beira baixa province`

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

CREATE TABLE "table1_221375_1" (
  "district" text,
  "municipalities" real,
  "parishes" real,
  "province_of_1936" text,
  "region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the parishes for  beira baixa province`:
```sql
                SELECT COUNT("parishes") FROM "table1_221375_1" WHERE "province_of_1936"='Beira Baixa Province';
```
## Task
Generate a SQL query to answer the following question:
`Name the most municipalities for alto alentejo province (partly ribatejo)`

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

CREATE TABLE "table1_221375_1" (
  "district" text,
  "municipalities" real,
  "parishes" real,
  "province_of_1936" text,
  "region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most municipalities for alto alentejo province (partly ribatejo)`:
```sql
                SELECT MAX("municipalities") FROM "table1_221375_1" WHERE "province_of_1936"='Alto Alentejo Province (partly Ribatejo)';
```
## Task
Generate a SQL query to answer the following question:
`Name province of 1936  viana do castelo`

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

CREATE TABLE "table1_221375_1" (
  "district" text,
  "municipalities" real,
  "parishes" real,
  "province_of_1936" text,
  "region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name province of 1936  viana do castelo`:
```sql
                SELECT "province_of_1936" FROM "table1_221375_1" WHERE "district"='Viana do Castelo';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the partner is Rafael Osuna?`

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

CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the partner is Rafael Osuna?`:
```sql
                SELECT "score" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "partner"='Rafael Osuna';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome of the game when the partner is Rafael Osuna?`

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

CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome of the game when the partner is Rafael Osuna?`:
```sql
                SELECT "outcome" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "partner"='Rafael Osuna';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface of the French Championships?`

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

CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface of the French Championships?`:
```sql
                SELECT "surface" FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "championship"='French Championships';
```
## Task
Generate a SQL query to answer the following question:
`How many outcomes were there for matches played with Chuck McKinley on grass in 1962?`

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

CREATE TABLE "doubles_9_finals_5_titles_4_runner_ups" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many outcomes were there for matches played with Chuck McKinley on grass in 1962?`:
```sql
                SELECT COUNT("outcome") FROM "doubles_9_finals_5_titles_4_runner_ups" WHERE "surface"='Grass' AND "partner"='Chuck McKinley' AND "year"=1962;
```
## Task
Generate a SQL query to answer the following question:
`What was the home leg score against partizani tirana?`

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

CREATE TABLE "european_record" (
  "season" real,
  "round" real,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home leg score against partizani tirana?`:
```sql
                SELECT "home_leg" FROM "european_record" WHERE "opponents"='Partizani Tirana';
```
## Task
Generate a SQL query to answer the following question:
`What round did they face fc st. gallen?`

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

CREATE TABLE "european_record" (
  "season" real,
  "round" real,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did they face fc st. gallen?`:
```sql
                SELECT COUNT("round") FROM "european_record" WHERE "opponents"='FC St. Gallen';
```
## Task
Generate a SQL query to answer the following question:
`What was the home leg score against fc schalke 04?`

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

CREATE TABLE "european_record" (
  "season" real,
  "round" real,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home leg score against fc schalke 04?`:
```sql
                SELECT "home_leg" FROM "european_record" WHERE "opponents"='FC Schalke 04';
```
## Task
Generate a SQL query to answer the following question:
`How many dfb-pokal did kevin-prince boateng have?`

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

CREATE TABLE "goalscorers" (
  "player" text,
  "bundesliga" real,
  "dfb_pokal" real,
  "uefa_intertoto_cup" real,
  "uefa_cup" real,
  "dfb_ligapokal" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many dfb-pokal did kevin-prince boateng have?`:
```sql
                SELECT COUNT("dfb_pokal") FROM "goalscorers" WHERE "player"='Kevin-Prince Boateng';
```
## Task
Generate a SQL query to answer the following question:
`Who is the head coach when Miami University is the championship game opponent?`

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

CREATE TABLE "conference_tournament_championships" (
  "tournament" real,
  "conference" text,
  "championship_game_opponent" text,
  "score" text,
  "location" text,
  "head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the head coach when Miami University is the championship game opponent?`:
```sql
                SELECT "head_coach" FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Miami University';
```
## Task
Generate a SQL query to answer the following question:
`What is the location when 2-1 is the score?`

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

CREATE TABLE "conference_tournament_championships" (
  "tournament" real,
  "conference" text,
  "championship_game_opponent" text,
  "score" text,
  "location" text,
  "head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location when 2-1 is the score?`:
```sql
                SELECT "location" FROM "conference_tournament_championships" WHERE "score"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the conference when Ferris State is the championship game opponent?`

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

CREATE TABLE "conference_tournament_championships" (
  "tournament" real,
  "conference" text,
  "championship_game_opponent" text,
  "score" text,
  "location" text,
  "head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the conference when Ferris State is the championship game opponent?`:
```sql
                SELECT "conference" FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Ferris State';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the 1999 tournament?`

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

CREATE TABLE "conference_tournament_championships" (
  "tournament" real,
  "conference" text,
  "championship_game_opponent" text,
  "score" text,
  "location" text,
  "head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the 1999 tournament?`:
```sql
                SELECT "location" FROM "conference_tournament_championships" WHERE "tournament"=1999;
```
## Task
Generate a SQL query to answer the following question:
`How many scores are there when the championship game opponent is Miami University?`

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

CREATE TABLE "conference_tournament_championships" (
  "tournament" real,
  "conference" text,
  "championship_game_opponent" text,
  "score" text,
  "location" text,
  "head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many scores are there when the championship game opponent is Miami University?`:
```sql
                SELECT COUNT("score") FROM "conference_tournament_championships" WHERE "championship_game_opponent"='Miami University';
```
## Task
Generate a SQL query to answer the following question:
`Who is the head coach for the score of 4-3?`

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

CREATE TABLE "conference_tournament_championships" (
  "tournament" real,
  "conference" text,
  "championship_game_opponent" text,
  "score" text,
  "location" text,
  "head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the head coach for the score of 4-3?`:
```sql
                SELECT "head_coach" FROM "conference_tournament_championships" WHERE "score"='4-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the bleeding time when the  platelet count is decreased or unaffected?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bleeding time when the  platelet count is decreased or unaffected?`:
```sql
                SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased or unaffected';
```
## Task
Generate a SQL query to answer the following question:
`What is the partial thromboplastin time when the condition  factor x deficiency as seen in amyloid purpura?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the partial thromboplastin time when the condition  factor x deficiency as seen in amyloid purpura?`:
```sql
                SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Factor X deficiency as seen in amyloid purpura';
```
## Task
Generate a SQL query to answer the following question:
`How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?`:
```sql
                SELECT COUNT("platelet_count") FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Prolonged' AND "bleeding_time"='Prolonged';
```
## Task
Generate a SQL query to answer the following question:
`What is the bleeding time for the disseminated intravascular coagulation condition?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bleeding time for the disseminated intravascular coagulation condition?`:
```sql
                SELECT COUNT("bleeding_time") FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Disseminated intravascular coagulation';
```
## Task
Generate a SQL query to answer the following question:
`What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?`:
```sql
                SELECT "partial_thromboplastin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Prolonged' AND "bleeding_time"='Prolonged';
```
## Task
Generate a SQL query to answer the following question:
`What is the platelet count when partial thromboplastin time and bleeding time are unaffected?`

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

CREATE TABLE "laboratory_findings_in_various_platelet_" (
  "condition" text,
  "prothrombin_time" text,
  "partial_thromboplastin_time" text,
  "bleeding_time" text,
  "platelet_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the platelet count when partial thromboplastin time and bleeding time are unaffected?`:
```sql
                SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='Unaffected' AND "bleeding_time"='Unaffected';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received?`

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

CREATE TABLE "new_zealand_tv2" (
  "episode_number" real,
  "title" text,
  "original_airing" text,
  "timeslot" text,
  "viewers" real,
  "top_50_ranking" real,
  "scripted_show_ranking" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received?`:
```sql
                SELECT MIN("top_50_ranking") FROM "new_zealand_tv2" WHERE "title"='The God-Why-Don''t-You-Love-Me Blues';
```
## Task
Generate a SQL query to answer the following question:
`Which episodes originally aired on April 19, 2010?`

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

CREATE TABLE "new_zealand_tv2" (
  "episode_number" real,
  "title" text,
  "original_airing" text,
  "timeslot" text,
  "viewers" real,
  "top_50_ranking" real,
  "scripted_show_ranking" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which episodes originally aired on April 19, 2010?`:
```sql
                SELECT "title" FROM "new_zealand_tv2" WHERE "original_airing"='April 19, 2010';
```
## Task
Generate a SQL query to answer the following question:
`The episode titled "Epiphany" received what scripted show ranking?`

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

CREATE TABLE "new_zealand_tv2" (
  "episode_number" real,
  "title" text,
  "original_airing" text,
  "timeslot" text,
  "viewers" real,
  "top_50_ranking" real,
  "scripted_show_ranking" real
);
### SQL
Given the database schema, here is the SQL query that answers `The episode titled "Epiphany" received what scripted show ranking?`:
```sql
                SELECT MIN("scripted_show_ranking") FROM "new_zealand_tv2" WHERE "title"='Epiphany';
```
## Task
Generate a SQL query to answer the following question:
`How many of the episodes in the top 50 rankings were originally aired on June 28, 2010?`

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

CREATE TABLE "new_zealand_tv2" (
  "episode_number" real,
  "title" text,
  "original_airing" text,
  "timeslot" text,
  "viewers" real,
  "top_50_ranking" real,
  "scripted_show_ranking" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the episodes in the top 50 rankings were originally aired on June 28, 2010?`:
```sql
                SELECT COUNT("top_50_ranking") FROM "new_zealand_tv2" WHERE "original_airing"='June 28, 2010';
```
## Task
Generate a SQL query to answer the following question:
`For the location of quezon city , metro manila what is the athletic nickname?`

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

CREATE TABLE "tertiary_institutions" (
  "institution" text,
  "location" text,
  "enrollment" text,
  "athletic_nickname" text,
  "school_colors" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the location of quezon city , metro manila what is the athletic nickname?`:
```sql
                SELECT "athletic_nickname" FROM "tertiary_institutions" WHERE "location"='Quezon City , Metro Manila';
```
## Task
Generate a SQL query to answer the following question:
`How many locations are there for the athletic nickname is blue crusaders?`

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

CREATE TABLE "tertiary_institutions" (
  "institution" text,
  "location" text,
  "enrollment" text,
  "athletic_nickname" text,
  "school_colors" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations are there for the athletic nickname is blue crusaders?`:
```sql
                SELECT COUNT("location") FROM "tertiary_institutions" WHERE "athletic_nickname"='Blue Crusaders';
```
## Task
Generate a SQL query to answer the following question:
`How many entries are shown for school colors for the location of naga , camarines sur?`

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

CREATE TABLE "tertiary_institutions" (
  "institution" text,
  "location" text,
  "enrollment" text,
  "athletic_nickname" text,
  "school_colors" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many entries are shown for school colors for the location of naga , camarines sur?`:
```sql
                SELECT COUNT("school_colors") FROM "tertiary_institutions" WHERE "location"='Naga , Camarines Sur';
```
## Task
Generate a SQL query to answer the following question:
`For the athletic nickname of golden knights how many entries are shown for enrollment?`

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

CREATE TABLE "tertiary_institutions" (
  "institution" text,
  "location" text,
  "enrollment" text,
  "athletic_nickname" text,
  "school_colors" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the athletic nickname of golden knights how many entries are shown for enrollment?`:
```sql
                SELECT COUNT("enrollment") FROM "tertiary_institutions" WHERE "athletic_nickname"='Golden Knights';
```
## Task
Generate a SQL query to answer the following question:
`What year was the ateneo de manila university founded?`

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

CREATE TABLE "tertiary_institutions" (
  "institution" text,
  "location" text,
  "enrollment" text,
  "athletic_nickname" text,
  "school_colors" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the ateneo de manila university founded?`:
```sql
                SELECT "founded" FROM "tertiary_institutions" WHERE "institution"='Ateneo de Manila University';
```
## Task
Generate a SQL query to answer the following question:
`What year was the athletic nickname blue crusaders founded?`

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

CREATE TABLE "tertiary_institutions" (
  "institution" text,
  "location" text,
  "enrollment" text,
  "athletic_nickname" text,
  "school_colors" text,
  "founded" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the athletic nickname blue crusaders founded?`:
```sql
                SELECT "founded" FROM "tertiary_institutions" WHERE "athletic_nickname"='Blue Crusaders';
```
## Task
Generate a SQL query to answer the following question:
`How many original airdates did season 20 have?`

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

CREATE TABLE "table1_22181917_2" (
  "series_num" real,
  "season_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 original airdates did season 20 have?`:
```sql
                SELECT COUNT("original_air_date") FROM "table1_22181917_2" WHERE "season_num"=20;
```
## Task
Generate a SQL query to answer the following question:
`Who directed the episode that was watched by 6.62 million U.S. viewers?`

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

CREATE TABLE "table1_22181917_2" (
  "series_num" real,
  "season_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 directed the episode that was watched by 6.62 million U.S. viewers?`:
```sql
                SELECT "directed_by" FROM "table1_22181917_2" WHERE "u_s_viewers_millions"='6.62';
```
## Task
Generate a SQL query to answer the following question:
`What is the production code for the episode with 8.56 million U.S. viewers?`

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

CREATE TABLE "table1_22181917_2" (
  "series_num" real,
  "season_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 `What is the production code for the episode with 8.56 million U.S. viewers?`:
```sql
                SELECT "production_code" FROM "table1_22181917_2" WHERE "u_s_viewers_millions"='8.56';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the episode that had 9.76 million U.S. viewers?`

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

CREATE TABLE "table1_22181917_2" (
  "series_num" real,
  "season_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 `What is the title of the episode that had 9.76 million U.S. viewers?`:
```sql
                SELECT "title" FROM "table1_22181917_2" WHERE "u_s_viewers_millions"='9.76';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the original airing on e4 May 2, 2010?`

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

CREATE TABLE "united_kingdom_channel_4" (
  "episode_number" real,
  "title" text,
  "original_airing_on_channel_4" text,
  "time_of_airing_on_channel_4" text,
  "original_airing_on_e4" text,
  "time_of_airing_on_e4" text,
  "position_in_channel_4s_ratings_a" text,
  "position_in_e4s_ratings_b" text,
  "total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the original airing on e4 May 2, 2010?`:
```sql
                SELECT "title" FROM "united_kingdom_channel_4" WHERE "original_airing_on_e4"='May 2, 2010';
```
## Task
Generate a SQL query to answer the following question:
`How many total viewers have April 21, 2010 as the original airing on channel 4?`

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

CREATE TABLE "united_kingdom_channel_4" (
  "episode_number" real,
  "title" text,
  "original_airing_on_channel_4" text,
  "time_of_airing_on_channel_4" text,
  "original_airing_on_e4" text,
  "time_of_airing_on_e4" text,
  "position_in_channel_4s_ratings_a" text,
  "position_in_e4s_ratings_b" text,
  "total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total viewers have April 21, 2010 as the original airing on channel 4?`:
```sql
                SELECT COUNT("total_viewers") FROM "united_kingdom_channel_4" WHERE "original_airing_on_channel_4"='April 21, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?`

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

CREATE TABLE "united_kingdom_channel_4" (
  "episode_number" real,
  "title" text,
  "original_airing_on_channel_4" text,
  "time_of_airing_on_channel_4" text,
  "original_airing_on_e4" text,
  "time_of_airing_on_e4" text,
  "position_in_channel_4s_ratings_a" text,
  "position_in_e4s_ratings_b" text,
  "total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?`:
```sql
                SELECT "position_in_e4s_ratings_b" FROM "united_kingdom_channel_4" WHERE "original_airing_on_channel_4"='June 30, 2010';
```
## Task
Generate a SQL query to answer the following question:
`When is the original airing on channel 4 with being alive as the title?`

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

CREATE TABLE "united_kingdom_channel_4" (
  "episode_number" real,
  "title" text,
  "original_airing_on_channel_4" text,
  "time_of_airing_on_channel_4" text,
  "original_airing_on_e4" text,
  "time_of_airing_on_e4" text,
  "position_in_channel_4s_ratings_a" text,
  "position_in_e4s_ratings_b" text,
  "total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `When is the original airing on channel 4 with being alive as the title?`:
```sql
                SELECT "original_airing_on_channel_4" FROM "united_kingdom_channel_4" WHERE "title"='Being Alive';
```
## Task
Generate a SQL query to answer the following question:
`How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?`

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

CREATE TABLE "united_kingdom_channel_4" (
  "episode_number" real,
  "title" text,
  "original_airing_on_channel_4" text,
  "time_of_airing_on_channel_4" text,
  "original_airing_on_e4" text,
  "time_of_airing_on_e4" text,
  "position_in_channel_4s_ratings_a" text,
  "position_in_e4s_ratings_b" text,
  "total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?`:
```sql
                SELECT COUNT("position_in_channel_4s_ratings_a") FROM "united_kingdom_channel_4" WHERE "original_airing_on_channel_4"='February 24, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What are all types where registration is HB-OPU?`

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

CREATE TABLE "references" (
  "type" text,
  "registration" text,
  "design" text,
  "construction" text,
  "service" text,
  "construction_date" text,
  "conformity_to_original_design" text,
  "interest" text,
  "number_existing_in_switzerland" text,
  "number_existing_worldwide" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all types where registration is HB-OPU?`:
```sql
                SELECT "type" FROM "references" WHERE "registration"='HB-OPU';
```
## Task
Generate a SQL query to answer the following question:
`What is every registration for the type of T 6 G?`

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

CREATE TABLE "references" (
  "type" text,
  "registration" text,
  "design" text,
  "construction" text,
  "service" text,
  "construction_date" text,
  "conformity_to_original_design" text,
  "interest" text,
  "number_existing_in_switzerland" text,
  "number_existing_worldwide" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every registration for the type of T 6 G?`:
```sql
                SELECT "registration" FROM "references" WHERE "type"='T 6 G';
```
## Task
Generate a SQL query to answer the following question:
`What is every construction date for the registration of HB-HOS?`

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

CREATE TABLE "references" (
  "type" text,
  "registration" text,
  "design" text,
  "construction" text,
  "service" text,
  "construction_date" text,
  "conformity_to_original_design" text,
  "interest" text,
  "number_existing_in_switzerland" text,
  "number_existing_worldwide" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every construction date for the registration of HB-HOS?`:
```sql
                SELECT "construction_date" FROM "references" WHERE "registration"='HB-HOS';
```
## Task
Generate a SQL query to answer the following question:
`What is every conformity to original design if the construction date is after 1945 and registration is HB-SAE?`

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

CREATE TABLE "references" (
  "type" text,
  "registration" text,
  "design" text,
  "construction" text,
  "service" text,
  "construction_date" text,
  "conformity_to_original_design" text,
  "interest" text,
  "number_existing_in_switzerland" text,
  "number_existing_worldwide" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every conformity to original design if the construction date is after 1945 and registration is HB-SAE?`:
```sql
                SELECT "conformity_to_original_design" FROM "references" WHERE "construction_date"='After 1945' AND "registration"='HB-SAE';
```
## Task
Generate a SQL query to answer the following question:
`What is every conformity to original design if registration is HB-DAI?`

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

CREATE TABLE "references" (
  "type" text,
  "registration" text,
  "design" text,
  "construction" text,
  "service" text,
  "construction_date" text,
  "conformity_to_original_design" text,
  "interest" text,
  "number_existing_in_switzerland" text,
  "number_existing_worldwide" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every conformity to original design if registration is HB-DAI?`:
```sql
                SELECT "conformity_to_original_design" FROM "references" WHERE "registration"='HB-DAI';
```
## Task
Generate a SQL query to answer the following question:
`What is the latest season number that Eric Tuchman directed? `

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

CREATE TABLE "episode_list" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "nbc_airdate" text,
  "code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest season number that Eric Tuchman directed? `:
```sql
                SELECT MAX("season_num") FROM "episode_list" WHERE "director"='Eric Tuchman';
```
## Task
Generate a SQL query to answer the following question:
`How man seasons have the air date of October 2, 2001? `

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

CREATE TABLE "episode_list" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "nbc_airdate" text,
  "code" real
);
### SQL
Given the database schema, here is the SQL query that answers `How man seasons have the air date of October 2, 2001? `:
```sql
                SELECT COUNT("season_num") FROM "episode_list" WHERE "nbc_airdate"='October 2, 2001';
```
## Task
Generate a SQL query to answer the following question:
`Who wrote, "The Last Dance"?`

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

CREATE TABLE "episode_list" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "nbc_airdate" text,
  "code" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote, "The Last Dance"?`:
```sql
                SELECT "writer_s" FROM "episode_list" WHERE "title"='\"The Last Dance\"';
```
## Task
Generate a SQL query to answer the following question:
`What was the report in the race where the winning team was Roush Fenway Racing? `

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

CREATE TABLE "table1_2220432_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the report in the race where the winning team was Roush Fenway Racing? `:
```sql
                SELECT "report" FROM "table1_2220432_1" WHERE "team"='Roush Fenway Racing';
```
## Task
Generate a SQL query to answer the following question:
`What was the miles (km) for the race that had an average speed of 136.117 MPH?`

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

CREATE TABLE "table1_2220432_1" (
  "year" real,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the miles (km) for the race that had an average speed of 136.117 MPH?`:
```sql
                SELECT "miles_km" FROM "table1_2220432_1" WHERE "average_speed_mph"='136.117';
```
## Task
Generate a SQL query to answer the following question:
`What are the miles when February 25 is the date?`

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

CREATE TABLE "table1_2226343_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the miles when February 25 is the date?`:
```sql
                SELECT "miles_km" FROM "table1_2226343_1" WHERE "date"='February 25';
```
## Task
Generate a SQL query to answer the following question:
`How many laps have an average speed of 141.911?`

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

CREATE TABLE "table1_2226343_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps have an average speed of 141.911?`:
```sql
                SELECT "laps" FROM "table1_2226343_1" WHERE "average_speed_mph"='141.911';
```
## Task
Generate a SQL query to answer the following question:
`Who is the manufacturer when 150.088 is the average speed (mph)?`

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

CREATE TABLE "table1_2226343_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the manufacturer when 150.088 is the average speed (mph)?`:
```sql
                SELECT "manufacturer" FROM "table1_2226343_1" WHERE "average_speed_mph"='150.088';
```
## Task
Generate a SQL query to answer the following question:
`Who is the manufacturer for the date of June 22?`

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

CREATE TABLE "table1_2226343_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the manufacturer for the date of June 22?`:
```sql
                SELECT "manufacturer" FROM "table1_2226343_1" WHERE "date"='June 22';
```
## Task
Generate a SQL query to answer the following question:
`How many laps have a race time of 3:31:24?`

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

CREATE TABLE "table1_2226343_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps have a race time of 3:31:24?`:
```sql
                SELECT "laps" FROM "table1_2226343_1" WHERE "race_time"='3:31:24';
```
## Task
Generate a SQL query to answer the following question:
`How many laps have an average speed  (mph) of 140.22?`

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

CREATE TABLE "table1_2226343_1" (
  "year" text,
  "date" text,
  "driver" text,
  "team" text,
  "manufacturer" text,
  "laps" text,
  "miles_km" text,
  "race_time" text,
  "average_speed_mph" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps have an average speed  (mph) of 140.22?`:
```sql
                SELECT "laps" FROM "table1_2226343_1" WHERE "average_speed_mph"='140.22';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the film with the original title of три летња дана?`

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

CREATE TABLE "fr_yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the film with the original title of три летња дана?`:
```sql
                SELECT "director" FROM "fr_yugoslavia" WHERE "original_title"='Три летња дана';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the film with the title three summer days?`

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

CREATE TABLE "fr_yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the film with the title three summer days?`:
```sql
                SELECT "director" FROM "fr_yugoslavia" WHERE "film_title_used_in_nomination"='Three Summer Days';
```