cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Who are the reporters for the year of 1984?`

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

CREATE TABLE "1980s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the reporters for the year of 1984?`:
```sql
                SELECT "reporters" FROM "1980s" WHERE "year"=1984;
```
## Task
Generate a SQL query to answer the following question:
`How many trophy presentations where in the year 1987?`

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

CREATE TABLE "1980s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many trophy presentations where in the year 1987?`:
```sql
                SELECT COUNT("trophy_presentation") FROM "1980s" WHERE "year"=1987;
```
## Task
Generate a SQL query to answer the following question:
`In which year were howard cosell and jack whitaker reporters and s analyst is bill hartack?`

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

CREATE TABLE "1980s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which year were howard cosell and jack whitaker reporters and s analyst is bill hartack?`:
```sql
                SELECT MIN("year") FROM "1980s" WHERE "reporters"='Howard Cosell and Jack Whitaker' AND "s_analyst"='Bill Hartack';
```
## Task
Generate a SQL query to answer the following question:
`Who is the race caller when jim mckay and al michaels were s hosts in the year 1987?`

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

CREATE TABLE "1980s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the race caller when jim mckay and al michaels were s hosts in the year 1987?`:
```sql
                SELECT "race_caller" FROM "1980s" WHERE "s_host"='Jim McKay and Al Michaels' AND "year"=1987;
```
## Task
Generate a SQL query to answer the following question:
`Name the host for  john rotz and howard cosell`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the host for  john rotz and howard cosell`:
```sql
                SELECT "s_host" FROM "1970s" WHERE "s_analyst"='John Rotz and Howard Cosell';
```
## Task
Generate a SQL query to answer the following question:
`Name the race caller for jim mckay and howard cosell`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the race caller for jim mckay and howard cosell`:
```sql
                SELECT "race_caller" FROM "1970s" WHERE "s_host"='Jim McKay' AND "reporters"='Howard Cosell';
```
## Task
Generate a SQL query to answer the following question:
`Name the race caller for jim mckay and howard cosell and eddie arcaro`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the race caller for jim mckay and howard cosell and eddie arcaro`:
```sql
                SELECT "race_caller" FROM "1970s" WHERE "trophy_presentation"='Jim McKay and Howard Cosell' AND "reporters"='Howard Cosell' AND "s_analyst"='Eddie Arcaro';
```
## Task
Generate a SQL query to answer the following question:
`Name the reporters for dave johnson for  eddie arcaro and howard cosell`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the reporters for dave johnson for  eddie arcaro and howard cosell`:
```sql
                SELECT "reporters" FROM "1970s" WHERE "race_caller"='Dave Johnson' AND "s_analyst"='Eddie Arcaro and Howard Cosell';
```
## Task
Generate a SQL query to answer the following question:
`Name the reporters for howard cosell`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the reporters for howard cosell`:
```sql
                SELECT "reporters" FROM "1970s" WHERE "s_analyst"='Howard Cosell';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of reporters for  heywood hale broun`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of reporters for  heywood hale broun`:
```sql
                SELECT COUNT("reporters") FROM "1970s" WHERE "s_analyst"='Heywood Hale Broun';
```
## Task
Generate a SQL query to answer the following question:
`Which province has an elevation of 4550? `

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

CREATE TABLE "by_elevation" (
  "num" real,
  "district" text,
  "province" text,
  "region" text,
  "ubigeo" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which province has an elevation of 4550? `:
```sql
                SELECT "province" FROM "by_elevation" WHERE "elevation_m"=4550;
```
## Task
Generate a SQL query to answer the following question:
`Which province is in the district of San Antonio de Chuca? `

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

CREATE TABLE "by_elevation" (
  "num" real,
  "district" text,
  "province" text,
  "region" text,
  "ubigeo" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which province is in the district of San Antonio de Chuca? `:
```sql
                SELECT "province" FROM "by_elevation" WHERE "district"='San Antonio de Chuca';
```
## Task
Generate a SQL query to answer the following question:
`How many elevations are listed for Paratia? `

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

CREATE TABLE "by_elevation" (
  "num" real,
  "district" text,
  "province" text,
  "region" text,
  "ubigeo" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many elevations are listed for Paratia? `:
```sql
                SELECT COUNT("elevation_m") FROM "by_elevation" WHERE "district"='Paratia';
```
## Task
Generate a SQL query to answer the following question:
`What province is in the district of Condoroma? `

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

CREATE TABLE "by_elevation" (
  "num" real,
  "district" text,
  "province" text,
  "region" text,
  "ubigeo" real,
  "elevation_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `What province is in the district of Condoroma? `:
```sql
                SELECT "province" FROM "by_elevation" WHERE "district"='Condoroma';
```
## Task
Generate a SQL query to answer the following question:
`Name the reporters for 2003`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the reporters for 2003`:
```sql
                SELECT "reporters" FROM "2000s" WHERE "year"=2003;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number for race caller for bob costas and charlsie cantey`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number for race caller for bob costas and charlsie cantey`:
```sql
                SELECT COUNT("race_caller") FROM "2000s" WHERE "trophy_presentation"='Bob Costas and Charlsie Cantey';
```
## Task
Generate a SQL query to answer the following question:
`Who is the race caller for the year 1994?`

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

CREATE TABLE "1990s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the race caller for the year 1994?`:
```sql
                SELECT "race_caller" FROM "1990s" WHERE "year"=1994;
```
## Task
Generate a SQL query to answer the following question:
`How many reporters for the year 1993?`

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

CREATE TABLE "1990s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many reporters for the year 1993?`:
```sql
                SELECT COUNT("reporters") FROM "1990s" WHERE "year"=1993;
```
## Task
Generate a SQL query to answer the following question:
`What were the starting odds for the opening odds of 2-1?`

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

CREATE TABLE "the_field" (
  "post" real,
  "horse_name" text,
  "trainer" text,
  "jockey" text,
  "opening_odds" text,
  "starting_odds" text,
  "finishing_pos" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the starting odds for the opening odds of 2-1?`:
```sql
                SELECT "starting_odds" FROM "the_field" WHERE "opening_odds"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`Who was the jockey with opening odds of 4-1?`

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

CREATE TABLE "the_field" (
  "post" real,
  "horse_name" text,
  "trainer" text,
  "jockey" text,
  "opening_odds" text,
  "starting_odds" text,
  "finishing_pos" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the jockey with opening odds of 4-1?`:
```sql
                SELECT "jockey" FROM "the_field" WHERE "opening_odds"='4-1';
```
## Task
Generate a SQL query to answer the following question:
`HOw many jockeys had eoin harty as a trainer`

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

CREATE TABLE "the_field" (
  "post" real,
  "horse_name" text,
  "trainer" text,
  "jockey" text,
  "opening_odds" text,
  "starting_odds" text,
  "finishing_pos" real
);
### SQL
Given the database schema, here is the SQL query that answers `HOw many jockeys had eoin harty as a trainer`:
```sql
                SELECT COUNT("jockey") FROM "the_field" WHERE "trainer"='Eoin Harty';
```
## Task
Generate a SQL query to answer the following question:
`Which post had the horse named chocolate candy?`

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

CREATE TABLE "the_field" (
  "post" real,
  "horse_name" text,
  "trainer" text,
  "jockey" text,
  "opening_odds" text,
  "starting_odds" text,
  "finishing_pos" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which post had the horse named chocolate candy?`:
```sql
                SELECT "post" FROM "the_field" WHERE "horse_name"='Chocolate Candy';
```
## Task
Generate a SQL query to answer the following question:
`What is every date successor seated for the Virginia 11th District?`

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

CREATE TABLE "table1_225199_4" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is every date successor seated for the Virginia 11th District?`:
```sql
                SELECT "date_successor_seated" FROM "table1_225199_4" WHERE "district"='Virginia 11th';
```
## Task
Generate a SQL query to answer the following question:
`Name the successor for not filled this congress`

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

CREATE TABLE "table1_225200_4" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the successor for not filled this congress`:
```sql
                SELECT "successor" FROM "table1_225200_4" WHERE "date_successor_seated"='Not filled this congress';
```
## Task
Generate a SQL query to answer the following question:
`Name the district for  rep. warren r. davis died during previous congress`

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

CREATE TABLE "table1_225200_4" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the district for  rep. warren r. davis died during previous congress`:
```sql
                SELECT "district" FROM "table1_225200_4" WHERE "reason_for_change"='Rep. Warren R. Davis died during previous congress';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of reason for change for not filled this congress`

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

CREATE TABLE "table1_225200_4" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of reason for change for not filled this congress`:
```sql
                SELECT COUNT("reason_for_change") FROM "table1_225200_4" WHERE "date_successor_seated"='Not filled this congress';
```
## Task
Generate a SQL query to answer the following question:
`Name the vacator for resigned february 26, 1836 because of ill health`

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

CREATE TABLE "table1_225200_4" (
  "district" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_successor_seated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the vacator for resigned february 26, 1836 because of ill health`:
```sql
                SELECT "vacator" FROM "table1_225200_4" WHERE "reason_for_change"='Resigned February 26, 1836 because of ill health';
```
## Task
Generate a SQL query to answer the following question:
`Name the vacator for failure to elect`

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

CREATE TABLE "table1_225205_3" (
  "state_class" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_of_successors_formal_installation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the vacator for failure to elect`:
```sql
                SELECT "vacator" FROM "table1_225205_3" WHERE "reason_for_change"='Failure to elect';
```
## Task
Generate a SQL query to answer the following question:
`Name the state class for  iowa admitted to the union december 28, 1846`

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

CREATE TABLE "table1_225205_3" (
  "state_class" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_of_successors_formal_installation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the state class for  iowa admitted to the union december 28, 1846`:
```sql
                SELECT "state_class" FROM "table1_225205_3" WHERE "reason_for_change"='Iowa admitted to the Union December 28, 1846';
```
## Task
Generate a SQL query to answer the following question:
`Who was the vacator when the reason for change was failure to elect?`

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

CREATE TABLE "table1_225206_3" (
  "state_class" text,
  "vacator" text,
  "reason_for_change" text,
  "successor" text,
  "date_of_successors_formal_installation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the vacator when the reason for change was failure to elect?`:
```sql
                SELECT "vacator" FROM "table1_225206_3" WHERE "reason_for_change"='Failure to elect';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of nat for total g of 6`

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

CREATE TABLE "squad_stats" (
  "player" text,
  "nat" text,
  "pos" text,
  "l_apps" real,
  "l_g" real,
  "c_apps" real,
  "c_g" real,
  "total_apps" real,
  "total_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of nat for total g of 6`:
```sql
                SELECT COUNT("nat") FROM "squad_stats" WHERE "total_g"=6;
```
## Task
Generate a SQL query to answer the following question:
`Name the l g for rubio`

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

CREATE TABLE "squad_stats" (
  "player" text,
  "nat" text,
  "pos" text,
  "l_apps" real,
  "l_g" real,
  "c_apps" real,
  "c_g" real,
  "total_apps" real,
  "total_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the l g for rubio`:
```sql
                SELECT "l_g" FROM "squad_stats" WHERE "player"='Rubio';
```
## Task
Generate a SQL query to answer the following question:
`Name the least total apaps for txema`

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

CREATE TABLE "squad_stats" (
  "player" text,
  "nat" text,
  "pos" text,
  "l_apps" real,
  "l_g" real,
  "c_apps" real,
  "c_g" real,
  "total_apps" real,
  "total_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least total apaps for txema`:
```sql
                SELECT MIN("total_apps") FROM "squad_stats" WHERE "player"='Txema';
```
## Task
Generate a SQL query to answer the following question:
`when administrative centre is egilsstaðir, what is the pop./ km²?`

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

CREATE TABLE "overview_of_the_regions" (
  "num" real,
  "name" text,
  "name_english" text,
  "population_2008_07_01" real,
  "area_km" real,
  "pop_km" text,
  "iso_3166_2" text,
  "administrative_centre" text
);
### SQL
Given the database schema, here is the SQL query that answers `when administrative centre is egilsstaðir, what is the pop./ km²?`:
```sql
                SELECT COUNT("pop_km") FROM "overview_of_the_regions" WHERE "administrative_centre"='Egilsstaðir';
```
## Task
Generate a SQL query to answer the following question:
`when the name is southern region, what is the administrative centre?`

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

CREATE TABLE "overview_of_the_regions" (
  "num" real,
  "name" text,
  "name_english" text,
  "population_2008_07_01" real,
  "area_km" real,
  "pop_km" text,
  "iso_3166_2" text,
  "administrative_centre" text
);
### SQL
Given the database schema, here is the SQL query that answers `when the name is southern region, what is the administrative centre?`:
```sql
                SELECT "administrative_centre" FROM "overview_of_the_regions" WHERE "name_english"='Southern Region';
```
## Task
Generate a SQL query to answer the following question:
`when the area (km²) is 22721, what is the pop./ km²?`

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

CREATE TABLE "overview_of_the_regions" (
  "num" real,
  "name" text,
  "name_english" text,
  "population_2008_07_01" real,
  "area_km" real,
  "pop_km" text,
  "iso_3166_2" text,
  "administrative_centre" text
);
### SQL
Given the database schema, here is the SQL query that answers `when the area (km²) is 22721, what is the pop./ km²?`:
```sql
                SELECT "pop_km" FROM "overview_of_the_regions" WHERE "area_km"=22721;
```
## Task
Generate a SQL query to answer the following question:
`What is the max pop of 2008 for selfoss?`

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

CREATE TABLE "overview_of_the_regions" (
  "num" real,
  "name" text,
  "name_english" text,
  "population_2008_07_01" real,
  "area_km" real,
  "pop_km" text,
  "iso_3166_2" text,
  "administrative_centre" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the max pop of 2008 for selfoss?`:
```sql
                SELECT MAX("population_2008_07_01") FROM "overview_of_the_regions" WHERE "administrative_centre"='Selfoss';
```
## Task
Generate a SQL query to answer the following question:
`When the # is 4, what is the pop./ km²?`

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

CREATE TABLE "overview_of_the_regions" (
  "num" real,
  "name" text,
  "name_english" text,
  "population_2008_07_01" real,
  "area_km" real,
  "pop_km" text,
  "iso_3166_2" text,
  "administrative_centre" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the # is 4, what is the pop./ km²?`:
```sql
                SELECT "pop_km" FROM "overview_of_the_regions" WHERE "num"=4;
```
## Task
Generate a SQL query to answer the following question:
`Name the player for l apps for 17`

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

CREATE TABLE "squad_stats" (
  "player" text,
  "nat" text,
  "pos" text,
  "l_apps" real,
  "l_g" real,
  "c_apps" real,
  "c_g" real,
  "total_apps" real,
  "total_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the player for l apps for 17`:
```sql
                SELECT "player" FROM "squad_stats" WHERE "l_apps"=17;
```
## Task
Generate a SQL query to answer the following question:
`Name the least total apps for jaime`

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

CREATE TABLE "squad_stats" (
  "player" text,
  "nat" text,
  "pos" text,
  "l_apps" real,
  "l_g" real,
  "c_apps" real,
  "c_g" real,
  "total_apps" real,
  "total_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least total apps for jaime`:
```sql
                SELECT MIN("total_apps") FROM "squad_stats" WHERE "player"='Jaime';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of lg for cg is larger than 1.0 for c apps is 3`

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

CREATE TABLE "squad_stats" (
  "player" text,
  "nat" text,
  "pos" text,
  "l_apps" real,
  "l_g" real,
  "c_apps" real,
  "c_g" real,
  "total_apps" real,
  "total_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of lg for cg is larger than 1.0 for c apps is 3`:
```sql
                SELECT COUNT("l_g") FROM "squad_stats" WHERE "c_g">1.0 AND "c_apps"=3;
```
## Task
Generate a SQL query to answer the following question:
`If the runner-up is [[|]] 151/8 (50.0 overs), what were the results?`

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

CREATE TABLE "table1_22577693_1" (
  "details" text,
  "host_nation_s" text,
  "final_venue" text,
  "winner" text,
  "result" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the runner-up is [[|]] 151/8 (50.0 overs), what were the results?`:
```sql
                SELECT "result" FROM "table1_22577693_1" WHERE "runner_up"='[[|]] 151/8 (50.0 overs)';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?`

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

CREATE TABLE "table1_22577693_1" (
  "details" text,
  "host_nation_s" text,
  "final_venue" text,
  "winner" text,
  "result" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?`:
```sql
                SELECT "host_nation_s" FROM "table1_22577693_1" WHERE "winner"='Hong Kong 207/6 (47.1 overs)';
```
## Task
Generate a SQL query to answer the following question:
`If the winner is Hong Kong 207/6 (47.1 overs), what is the name of the hosting nation?`

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

CREATE TABLE "table1_22577693_1" (
  "details" text,
  "host_nation_s" text,
  "final_venue" text,
  "winner" text,
  "result" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the winner is Hong Kong 207/6 (47.1 overs), what is the name of the hosting nation?`:
```sql
                SELECT "host_nation_s" FROM "table1_22577693_1" WHERE "winner"='Hong Kong 207/6 (47.1 overs)';
```
## Task
Generate a SQL query to answer the following question:
`If the results are Kuwait won by 72 runs scorecard, what are the details?`

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

CREATE TABLE "table1_22577693_1" (
  "details" text,
  "host_nation_s" text,
  "final_venue" text,
  "winner" text,
  "result" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the results are Kuwait won by 72 runs scorecard, what are the details?`:
```sql
                SELECT "details" FROM "table1_22577693_1" WHERE "result"='Kuwait won by 72 runs Scorecard';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner if the final venue is Kowloon Cricket Club?`

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

CREATE TABLE "table1_22577693_1" (
  "details" text,
  "host_nation_s" text,
  "final_venue" text,
  "winner" text,
  "result" text,
  "runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner if the final venue is Kowloon Cricket Club?`:
```sql
                SELECT "winner" FROM "table1_22577693_1" WHERE "final_venue"='Kowloon Cricket Club';
```
## Task
Generate a SQL query to answer the following question:
`How many u.s. viewers (million) have a series # 83?`

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

CREATE TABLE "table1_22570439_1" (
  "series_num" real,
  "season_num" real,
  "episode_title" text,
  "written_by" text,
  "directed_by" text,
  "u_s_viewers_millions" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many u.s. viewers (million) have a series # 83?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_22570439_1" WHERE "series_num"=83;
```
## Task
Generate a SQL query to answer the following question:
`How many u.s. viewers (millions) have 5 as the season #?`

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

CREATE TABLE "table1_22570439_1" (
  "series_num" real,
  "season_num" real,
  "episode_title" text,
  "written_by" text,
  "directed_by" text,
  "u_s_viewers_millions" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many u.s. viewers (millions) have 5 as the season #?`:
```sql
                SELECT "u_s_viewers_millions" FROM "table1_22570439_1" WHERE "season_num"=5;
```
## Task
Generate a SQL query to answer the following question:
`How many written by have wendey stanzler as the director?`

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

CREATE TABLE "table1_22570439_1" (
  "series_num" real,
  "season_num" real,
  "episode_title" text,
  "written_by" text,
  "directed_by" text,
  "u_s_viewers_millions" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many written by have wendey stanzler as the director?`:
```sql
                SELECT COUNT("written_by") FROM "table1_22570439_1" WHERE "directed_by"='Wendey Stanzler';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date where tracy poust & jon kinnally was written by?`

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

CREATE TABLE "table1_22570439_1" (
  "series_num" real,
  "season_num" real,
  "episode_title" text,
  "written_by" text,
  "directed_by" text,
  "u_s_viewers_millions" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date where tracy poust & jon kinnally was written by?`:
```sql
                SELECT "original_air_date" FROM "table1_22570439_1" WHERE "written_by"='Tracy Poust & Jon Kinnally';
```
## Task
Generate a SQL query to answer the following question:
`Who is the written by when mark worthington is the director?`

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

CREATE TABLE "table1_22570439_1" (
  "series_num" real,
  "season_num" real,
  "episode_title" text,
  "written_by" text,
  "directed_by" text,
  "u_s_viewers_millions" text,
  "original_air_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the written by when mark worthington is the director?`:
```sql
                SELECT "written_by" FROM "table1_22570439_1" WHERE "directed_by"='Mark Worthington';
```
## Task
Generate a SQL query to answer the following question:
`Who got the best male record when best female mc is tino baby & 5'6"?`

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

CREATE TABLE "rebel_army_radio_awards_2010" (
  "best_male_mc" text,
  "best_female_mc" text,
  "best_male_artist" text,
  "best_female_artist" text,
  "best_male_lyricist" text,
  "best_female_lyricist" text,
  "best_male_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who got the best male record when best female mc is tino baby & 5'6"?`:
```sql
                SELECT "best_male_record" FROM "rebel_army_radio_awards_2010" WHERE "best_female_mc"='Tino Baby & 5''6\"';
```
## Task
Generate a SQL query to answer the following question:
`In 1976, who was the reporter for the Belmont Stakes?`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1976, who was the reporter for the Belmont Stakes?`:
```sql
                SELECT "reporters" FROM "1970s" WHERE "year"=1976;
```
## Task
Generate a SQL query to answer the following question:
`Who called the race in 1978?`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who called the race in 1978?`:
```sql
                SELECT "race_caller" FROM "1970s" WHERE "year"=1978;
```
## Task
Generate a SQL query to answer the following question:
`For the race called by Marshall Cassidy, who was the host?`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the race called by Marshall Cassidy, who was the host?`:
```sql
                SELECT "s_host" FROM "1970s" WHERE "race_caller"='Marshall Cassidy';
```
## Task
Generate a SQL query to answer the following question:
`Who were the reporters for the 1977 Belmont Stakes?`

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

CREATE TABLE "1970s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the reporters for the 1977 Belmont Stakes?`:
```sql
                SELECT "reporters" FROM "1970s" WHERE "year"=1977;
```
## Task
Generate a SQL query to answer the following question:
`Who called the race in 1998? `

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

CREATE TABLE "1990s" (
  "year" real,
  "network" text,
  "race_caller" text,
  "s_host" text,
  "s_analyst" text,
  "reporters" text,
  "trophy_presentation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who called the race in 1998? `:
```sql
                SELECT "race_caller" FROM "1990s" WHERE "year"=1998;
```
## Task
Generate a SQL query to answer the following question:
`Who was ranked in the same position in 1991-1992 as Drew Kachtik in 1993-1994?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "1990_1991" text,
  "1991_1992" text,
  "1992_1993" text,
  "1993_1994" text,
  "1994_1995" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was ranked in the same position in 1991-1992 as Drew Kachtik in 1993-1994?`:
```sql
                SELECT "1991_1992" FROM "rankings_at_season_s_end" WHERE "1993_1994"='Drew Kachtik';
```
## Task
Generate a SQL query to answer the following question:
`Who was ranked in the same position in 1991-1992 as Tim Doyle in 1994-1995?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "1990_1991" text,
  "1991_1992" text,
  "1992_1993" text,
  "1993_1994" text,
  "1994_1995" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was ranked in the same position in 1991-1992 as Tim Doyle in 1994-1995?`:
```sql
                SELECT "1991_1992" FROM "rankings_at_season_s_end" WHERE "1994_1995"='Tim Doyle';
```
## Task
Generate a SQL query to answer the following question:
`In what position was Mike Ray ranked in 1993-1994?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "1990_1991" text,
  "1991_1992" text,
  "1992_1993" text,
  "1993_1994" text,
  "1994_1995" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what position was Mike Ray ranked in 1993-1994?`:
```sql
                SELECT MIN("position") FROM "rankings_at_season_s_end" WHERE "1993_1994"='Mike Ray';
```
## Task
Generate a SQL query to answer the following question:
`Who was ranked in the same position in 1990-1991 as Andy Roberts in 1993-1994? `

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "1990_1991" text,
  "1991_1992" text,
  "1992_1993" text,
  "1993_1994" text,
  "1994_1995" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was ranked in the same position in 1990-1991 as Andy Roberts in 1993-1994? `:
```sql
                SELECT "1990_1991" FROM "rankings_at_season_s_end" WHERE "1993_1994"='Andy Roberts';
```
## Task
Generate a SQL query to answer the following question:
`Who was ranked in the same position in 1990-1991 as Drew Kachtik in 1993-1994? `

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "1990_1991" text,
  "1991_1992" text,
  "1992_1993" text,
  "1993_1994" text,
  "1994_1995" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was ranked in the same position in 1990-1991 as Drew Kachtik in 1993-1994? `:
```sql
                SELECT "1990_1991" FROM "rankings_at_season_s_end" WHERE "1993_1994"='Drew Kachtik';
```
## Task
Generate a SQL query to answer the following question:
`What position was Drew Kachtik ranked at in 1993-1994? `

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "1990_1991" text,
  "1991_1992" text,
  "1992_1993" text,
  "1993_1994" text,
  "1994_1995" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position was Drew Kachtik ranked at in 1993-1994? `:
```sql
                SELECT MAX("position") FROM "rankings_at_season_s_end" WHERE "1993_1994"='Drew Kachtik';
```
## Task
Generate a SQL query to answer the following question:
`who was position 3 in 2007-2008?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "2005_2006" text,
  "2006_2007" text,
  "2007_2008" text,
  "2008_2009" text,
  "2009_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `who was position 3 in 2007-2008?`:
```sql
                SELECT "2007_2008" FROM "rankings_at_season_s_end" WHERE "position"=3;
```
## Task
Generate a SQL query to answer the following question:
`what is the total number of 2006-2007 and 2007-2008 for jack huczek?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "2005_2006" text,
  "2006_2007" text,
  "2007_2008" text,
  "2008_2009" text,
  "2009_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total number of 2006-2007 and 2007-2008 for jack huczek?`:
```sql
                SELECT COUNT("2006_2007") FROM "rankings_at_season_s_end" WHERE "2007_2008"='Jack Huczek';
```
## Task
Generate a SQL query to answer the following question:
`what isthe total number of seasons for chris crowther?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "2005_2006" text,
  "2006_2007" text,
  "2007_2008" text,
  "2008_2009" text,
  "2009_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `what isthe total number of seasons for chris crowther?`:
```sql
                SELECT COUNT("2009_2010") FROM "rankings_at_season_s_end" WHERE "2006_2007"='Chris Crowther';
```
## Task
Generate a SQL query to answer the following question:
`what is the position for chris crowther in 2006-2007?`

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

CREATE TABLE "rankings_at_season_s_end" (
  "position" real,
  "2005_2006" text,
  "2006_2007" text,
  "2007_2008" text,
  "2008_2009" text,
  "2009_2010" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the position for chris crowther in 2006-2007?`:
```sql
                SELECT "position" FROM "rankings_at_season_s_end" WHERE "2006_2007"='Chris Crowther';
```
## Task
Generate a SQL query to answer the following question:
`What was the standing when goal against were 279? `

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "winning_pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the standing when goal against were 279? `:
```sql
                SELECT "standing" FROM "season_by_season_results" WHERE "goals_against"=279;
```
## Task
Generate a SQL query to answer the following question:
`What is the winning pct % if the goal for are 229? `

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "winning_pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the winning pct % if the goal for are 229? `:
```sql
                SELECT "winning_pct_pct" FROM "season_by_season_results" WHERE "goals_for"=229;
```
## Task
Generate a SQL query to answer the following question:
`What was the winning % when there were 322 goals? `

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "won" real,
  "lost" real,
  "tied" real,
  "points" real,
  "winning_pct_pct" text,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning % when there were 322 goals? `:
```sql
                SELECT "winning_pct_pct" FROM "season_by_season_results" WHERE "goals_for"=322;
```
## Task
Generate a SQL query to answer the following question:
`Name the year for willie goggin`

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

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for willie goggin`:
```sql
                SELECT "year" FROM "wins_7" WHERE "runner_s_up"='Willie Goggin';
```
## Task
Generate a SQL query to answer the following question:
`Name the margin for 4 shot deficit`

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

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the margin for 4 shot deficit`:
```sql
                SELECT "margin" FROM "wins_7" WHERE "54_holes"='4 shot deficit';
```
## Task
Generate a SQL query to answer the following question:
`Name the winning score for pga championship`

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

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winning score for pga championship`:
```sql
                SELECT "winning_score" FROM "wins_7" WHERE "championship"='PGA Championship';
```
## Task
Generate a SQL query to answer the following question:
`Name the runners up for 1 shot deficit`

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

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the runners up for 1 shot deficit`:
```sql
                SELECT "runner_s_up" FROM "wins_7" WHERE "54_holes"='1 shot deficit';
```
## Task
Generate a SQL query to answer the following question:
`Name the least year for walter hagen`

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

CREATE TABLE "wins_7" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least year for walter hagen`:
```sql
                SELECT MIN("year") FROM "wins_7" WHERE "runner_s_up"='Walter Hagen';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the final where one of the opponents in the final was fitzgerald vilas?`

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

CREATE TABLE "legends_over_45_doubles" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the final where one of the opponents in the final was fitzgerald vilas?`:
```sql
                SELECT "score_in_the_final" FROM "legends_over_45_doubles" WHERE "opponents_in_the_final"='Fitzgerald Vilas';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface for the  opponents in the final with fitzgerald vilas?`

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

CREATE TABLE "legends_over_45_doubles" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface for the  opponents in the final with fitzgerald vilas?`:
```sql
                SELECT "surface" FROM "legends_over_45_doubles" WHERE "opponents_in_the_final"='Fitzgerald Vilas';
```