cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Tell me what the notes are for South Australia `

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

CREATE TABLE "table1_1000181_1" (
  "state_territory" text,
  "text_background_colour" text,
  "format" text,
  "current_slogan" text,
  "current_series" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me what the notes are for South Australia `:
```sql
                SELECT "notes" FROM "table1_1000181_1" WHERE "current_slogan"='SOUTH AUSTRALIA';
```
## Task
Generate a SQL query to answer the following question:
`What is the current series where the new series began in June 2011?`

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

CREATE TABLE "table1_1000181_1" (
  "state_territory" text,
  "text_background_colour" text,
  "format" text,
  "current_slogan" text,
  "current_series" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current series where the new series began in June 2011?`:
```sql
                SELECT "current_series" FROM "table1_1000181_1" WHERE "notes"='New series began in June 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the format for South Australia?`

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

CREATE TABLE "table1_1000181_1" (
  "state_territory" text,
  "text_background_colour" text,
  "format" text,
  "current_slogan" text,
  "current_series" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the format for South Australia?`:
```sql
                SELECT "format" FROM "table1_1000181_1" WHERE "state_territory"='South Australia';
```
## Task
Generate a SQL query to answer the following question:
`Name the background colour for the Australian Capital Territory`

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

CREATE TABLE "table1_1000181_1" (
  "state_territory" text,
  "text_background_colour" text,
  "format" text,
  "current_slogan" text,
  "current_series" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the background colour for the Australian Capital Territory`:
```sql
                SELECT "text_background_colour" FROM "table1_1000181_1" WHERE "state_territory"='Australian Capital Territory';
```
## Task
Generate a SQL query to answer the following question:
`how many times is the fuel propulsion is cng?`

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

CREATE TABLE "fleet" (
  "order_year" text,
  "manufacturer" text,
  "model" text,
  "fleet_series_quantity" text,
  "powertrain_engine_transmission" text,
  "fuel_propulsion" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is the fuel propulsion is cng?`:
```sql
                SELECT COUNT("fleet_series_quantity") FROM "fleet" WHERE "fuel_propulsion"='CNG';
```
## Task
Generate a SQL query to answer the following question:
`what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)?`

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

CREATE TABLE "fleet" (
  "order_year" text,
  "manufacturer" text,
  "model" text,
  "fleet_series_quantity" text,
  "powertrain_engine_transmission" text,
  "fuel_propulsion" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)?`:
```sql
                SELECT "fuel_propulsion" FROM "fleet" WHERE "fleet_series_quantity"='310-329 (20)';
```
## Task
Generate a SQL query to answer the following question:
`who is the manufacturer for the order year 1998?`

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

CREATE TABLE "fleet" (
  "order_year" text,
  "manufacturer" text,
  "model" text,
  "fleet_series_quantity" text,
  "powertrain_engine_transmission" text,
  "fuel_propulsion" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the manufacturer for the order year 1998?`:
```sql
                SELECT "manufacturer" FROM "fleet" WHERE "order_year"='1998';
```
## Task
Generate a SQL query to answer the following question:
`how many times is the model ge40lfr?`

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

CREATE TABLE "fleet" (
  "order_year" text,
  "manufacturer" text,
  "model" text,
  "fleet_series_quantity" text,
  "powertrain_engine_transmission" text,
  "fuel_propulsion" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is the model ge40lfr?`:
```sql
                SELECT COUNT("manufacturer") FROM "fleet" WHERE "model"='GE40LFR';
```
## Task
Generate a SQL query to answer the following question:
`how many times is the fleet series (quantity) is 468-473 (6)?`

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

CREATE TABLE "fleet" (
  "order_year" text,
  "manufacturer" text,
  "model" text,
  "fleet_series_quantity" text,
  "powertrain_engine_transmission" text,
  "fuel_propulsion" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is the fleet series (quantity) is 468-473 (6)?`:
```sql
                SELECT COUNT("order_year") FROM "fleet" WHERE "fleet_series_quantity"='468-473 (6)';
```
## Task
Generate a SQL query to answer the following question:
`what is the powertrain (engine/transmission) when the order year is 2000?`

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

CREATE TABLE "fleet" (
  "order_year" text,
  "manufacturer" text,
  "model" text,
  "fleet_series_quantity" text,
  "powertrain_engine_transmission" text,
  "fuel_propulsion" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the powertrain (engine/transmission) when the order year is 2000?`:
```sql
                SELECT "powertrain_engine_transmission" FROM "fleet" WHERE "order_year"='2000';
```
## Task
Generate a SQL query to answer the following question:
`What if the description of a ch-47d chinook?`

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

CREATE TABLE "disk_loading_comparison" (
  "aircraft" text,
  "description" text,
  "max_gross_weight" text,
  "total_disk_area" text,
  "max_disk_loading" text
);
### SQL
Given the database schema, here is the SQL query that answers `What if the description of a ch-47d chinook?`:
```sql
                SELECT "description" FROM "disk_loading_comparison" WHERE "aircraft"='CH-47D Chinook';
```
## Task
Generate a SQL query to answer the following question:
`What is the max gross weight of the Robinson R-22?`

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

CREATE TABLE "disk_loading_comparison" (
  "aircraft" text,
  "description" text,
  "max_gross_weight" text,
  "total_disk_area" text,
  "max_disk_loading" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the max gross weight of the Robinson R-22?`:
```sql
                SELECT "max_gross_weight" FROM "disk_loading_comparison" WHERE "aircraft"='Robinson R-22';
```
## Task
Generate a SQL query to answer the following question:
`What school did player number 6 come from?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did player number 6 come from?`:
```sql
                SELECT "school_club_team" FROM "a" WHERE "no"='6';
```
## Task
Generate a SQL query to answer the following question:
`What school did the player that has been in Toronto from 2012-present come from?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did the player that has been in Toronto from 2012-present come from?`:
```sql
                SELECT "school_club_team" FROM "a" WHERE "years_in_toronto"='2012-present';
```
## Task
Generate a SQL query to answer the following question:
`What school did the player that has been in Toronto from 2010-2012 go to?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did the player that has been in Toronto from 2010-2012 go to?`:
```sql
                SELECT "school_club_team" FROM "a" WHERE "years_in_toronto"='2010-2012';
```
## Task
Generate a SQL query to answer the following question:
`What position did the player from Baylor play?`

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

CREATE TABLE "a" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did the player from Baylor play?`:
```sql
                SELECT "position" FROM "a" WHERE "school_club_team"='Baylor';
```
## Task
Generate a SQL query to answer the following question:
`Who played in the Toronto Raptors from 1995-96?`

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

CREATE TABLE "o" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played in the Toronto Raptors from 1995-96?`:
```sql
                SELECT "player" FROM "o" WHERE "years_in_toronto"='1995-96';
```
## Task
Generate a SQL query to answer the following question:
`Which number was Patrick O'Bryant?`

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

CREATE TABLE "o" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which number was Patrick O'Bryant?`:
```sql
                SELECT "no" FROM "o" WHERE "player"='Patrick O''Bryant';
```
## Task
Generate a SQL query to answer the following question:
`What school did Patrick O'Bryant play for?`

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

CREATE TABLE "o" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did Patrick O'Bryant play for?`:
```sql
                SELECT "school_club_team" FROM "o" WHERE "player"='Patrick O''Bryant';
```
## Task
Generate a SQL query to answer the following question:
`How many number does Fordham school have?`

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

CREATE TABLE "o" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many number does Fordham school have?`:
```sql
                SELECT COUNT("no") FROM "o" WHERE "school_club_team"='Fordham';
```
## Task
Generate a SQL query to answer the following question:
`Which school was in Toronto in 2001-02?`

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

CREATE TABLE "o" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school was in Toronto in 2001-02?`:
```sql
                SELECT "school_club_team" FROM "o" WHERE "years_in_toronto"='2001-02';
```
## Task
Generate a SQL query to answer the following question:
`Which school did the player that played 2004-05 attend?`

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

CREATE TABLE "w" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school did the player that played 2004-05 attend?`:
```sql
                SELECT "school_club_team" FROM "w" WHERE "years_in_toronto"='2004-05';
```
## Task
Generate a SQL query to answer the following question:
`Which position does Loren Woods play?`

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

CREATE TABLE "w" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position does Loren Woods play?`:
```sql
                SELECT "position" FROM "w" WHERE "player"='Loren Woods';
```
## Task
Generate a SQL query to answer the following question:
`What number is the player that played 1998-2001`

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

CREATE TABLE "w" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number is the player that played 1998-2001`:
```sql
                SELECT MIN("no") FROM "w" WHERE "years_in_toronto"='1998-2001';
```
## Task
Generate a SQL query to answer the following question:
`Which country is the player that went to Georgetown from?`

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

CREATE TABLE "w" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country is the player that went to Georgetown from?`:
```sql
                SELECT "nationality" FROM "w" WHERE "school_club_team"='Georgetown';
```
## Task
Generate a SQL query to answer the following question:
`Which school did Herb Williams go to?`

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

CREATE TABLE "w" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school did Herb Williams go to?`:
```sql
                SELECT "school_club_team" FROM "w" WHERE "player"='Herb Williams';
```
## Task
Generate a SQL query to answer the following question:
`When did the player from Hawaii play for Toronto?`

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

CREATE TABLE "c" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the player from Hawaii play for Toronto?`:
```sql
                SELECT "years_in_toronto" FROM "c" WHERE "school_club_team"='Hawaii';
```
## Task
Generate a SQL query to answer the following question:
`During what period did Dell Curry play for Toronto?`

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

CREATE TABLE "c" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what period did Dell Curry play for Toronto?`:
```sql
                SELECT "years_in_toronto" FROM "c" WHERE "player"='Dell Curry';
```
## Task
Generate a SQL query to answer the following question:
`What's the number of the player from Boise State?`

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

CREATE TABLE "c" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the number of the player from Boise State?`:
```sql
                SELECT "no" FROM "c" WHERE "school_club_team"='Boise State';
```
## Task
Generate a SQL query to answer the following question:
`What's Dell Curry nationality?`

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

CREATE TABLE "c" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's Dell Curry nationality?`:
```sql
                SELECT "nationality" FROM "c" WHERE "player"='Dell Curry';
```
## Task
Generate a SQL query to answer the following question:
`which player is from georgia`

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

CREATE TABLE "g" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `which player is from georgia`:
```sql
                SELECT "player" FROM "g" WHERE "school_club_team"='Georgia';
```
## Task
Generate a SQL query to answer the following question:
`what school is rudy gay from`

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

CREATE TABLE "g" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `what school is rudy gay from`:
```sql
                SELECT "school_club_team" FROM "g" WHERE "player"='Rudy Gay';
```
## Task
Generate a SQL query to answer the following question:
`what nationality is the player who played from 1997-98`

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

CREATE TABLE "g" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `what nationality is the player who played from 1997-98`:
```sql
                SELECT "nationality" FROM "g" WHERE "years_in_toronto"='1997-98';
```
## Task
Generate a SQL query to answer the following question:
`what position did the player from connecticut play`

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

CREATE TABLE "g" (
  "player" text,
  "no" real,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `what position did the player from connecticut play`:
```sql
                SELECT "position" FROM "g" WHERE "school_club_team"='Connecticut';
```
## Task
Generate a SQL query to answer the following question:
`During which years was Marcus Banks in Toronto?`

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

CREATE TABLE "b" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which years was Marcus Banks in Toronto?`:
```sql
                SELECT "years_in_toronto" FROM "b" WHERE "player"='Marcus Banks';
```
## Task
Generate a SQL query to answer the following question:
`Which positions were in Toronto in 2004?`

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

CREATE TABLE "b" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which positions were in Toronto in 2004?`:
```sql
                SELECT "position" FROM "b" WHERE "years_in_toronto"='2004';
```
## Task
Generate a SQL query to answer the following question:
`What nationality is the player Muggsy Bogues?`

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

CREATE TABLE "b" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality is the player Muggsy Bogues?`:
```sql
                SELECT "nationality" FROM "b" WHERE "player"='Muggsy Bogues';
```
## Task
Generate a SQL query to answer the following question:
`What years was the player Lonny Baxter in Toronto?`

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

CREATE TABLE "b" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years was the player Lonny Baxter in Toronto?`:
```sql
                SELECT "years_in_toronto" FROM "b" WHERE "player"='Lonny Baxter';
```
## Task
Generate a SQL query to answer the following question:
`How many players were with the school or club team La Salle?`

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

CREATE TABLE "b" (
  "player" text,
  "no" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many players were with the school or club team La Salle?`:
```sql
                SELECT COUNT("player") FROM "b" WHERE "school_club_team"='La Salle';
```
## Task
Generate a SQL query to answer the following question:
`When the scoring rank was 117, what was the best finish?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the scoring rank was 117, what was the best finish?`:
```sql
                SELECT "best_finish" FROM "lpga_tour_career_summary" WHERE "scoring_rank"='117';
```
## Task
Generate a SQL query to answer the following question:
`When the best finish was T69, how many people came in 2nd?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the best finish was T69, how many people came in 2nd?`:
```sql
                SELECT "2nd" FROM "lpga_tour_career_summary" WHERE "best_finish"='T69';
```
## Task
Generate a SQL query to answer the following question:
`How many wins were there when the money list rank was 183?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins were there when the money list rank was 183?`:
```sql
                SELECT COUNT("wins") FROM "lpga_tour_career_summary" WHERE "money_list_rank"='183';
```
## Task
Generate a SQL query to answer the following question:
`When the money list rank was n/a, what was the scoring average?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the money list rank was n/a, what was the scoring average?`:
```sql
                SELECT "scoring_average" FROM "lpga_tour_career_summary" WHERE "money_list_rank"='n/a';
```
## Task
Generate a SQL query to answer the following question:
`What time was the highest for 2nd finishers?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "tournaments_played" real,
  "cuts_made" real,
  "wins" real,
  "2nd" real,
  "top_10s" real,
  "best_finish" text,
  "earnings" real,
  "money_list_rank" text,
  "scoring_average" text,
  "scoring_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was the highest for 2nd finishers?`:
```sql
                SELECT MAX("2nd") FROM "lpga_tour_career_summary";
```
## Task
Generate a SQL query to answer the following question:
`When did the Metrostars have their first Rookie of the Year winner?`

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

CREATE TABLE "winners" (
  "season" real,
  "player" text,
  "position" text,
  "nationality" text,
  "team" text,
  "draft_pick_num" text,
  "draft_class" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the Metrostars have their first Rookie of the Year winner?`:
```sql
                SELECT MIN("season") FROM "winners" WHERE "team"='MetroStars';
```
## Task
Generate a SQL query to answer the following question:
`What college did the Rookie of the Year from the Columbus Crew attend?`

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

CREATE TABLE "winners" (
  "season" real,
  "player" text,
  "position" text,
  "nationality" text,
  "team" text,
  "draft_pick_num" text,
  "draft_class" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did the Rookie of the Year from the Columbus Crew attend?`:
```sql
                SELECT "college" FROM "winners" WHERE "team"='Columbus Crew';
```
## Task
Generate a SQL query to answer the following question:
`How many teams had a #1 draft pick that won the Rookie of the Year Award?`

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

CREATE TABLE "winners" (
  "season" real,
  "player" text,
  "position" text,
  "nationality" text,
  "team" text,
  "draft_pick_num" text,
  "draft_class" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many teams had a #1 draft pick that won the Rookie of the Year Award?`:
```sql
                SELECT COUNT("team") FROM "winners" WHERE "draft_pick_num"='1';
```
## Task
Generate a SQL query to answer the following question:
`What position did the #10 draft pick play?`

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

CREATE TABLE "winners" (
  "season" real,
  "player" text,
  "position" text,
  "nationality" text,
  "team" text,
  "draft_pick_num" text,
  "draft_class" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did the #10 draft pick play?`:
```sql
                SELECT "position" FROM "winners" WHERE "draft_pick_num"='10';
```
## Task
Generate a SQL query to answer the following question:
`what's the years played with singles w-l of 3–2`

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

CREATE TABLE "squad_members" (
  "player" text,
  "years_played" text,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the years played with singles w-l of 3–2`:
```sql
                SELECT "years_played" FROM "squad_members" WHERE "singles_w_l"='3–2';
```
## Task
Generate a SQL query to answer the following question:
`what's the doubles w-l for player seol jae-min (none)`

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

CREATE TABLE "squad_members" (
  "player" text,
  "years_played" text,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the doubles w-l for player seol jae-min (none)`:
```sql
                SELECT "doubles_w_l" FROM "squad_members" WHERE "player"='Seol Jae-Min (none)';
```
## Task
Generate a SQL query to answer the following question:
`what's the singles w-l for kim doo-hwan`

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

CREATE TABLE "squad_members" (
  "player" text,
  "years_played" text,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the singles w-l for kim doo-hwan`:
```sql
                SELECT "singles_w_l" FROM "squad_members" WHERE "player"='Kim Doo-Hwan';
```
## Task
Generate a SQL query to answer the following question:
`what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1`

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

CREATE TABLE "squad_members" (
  "player" text,
  "years_played" text,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1`:
```sql
                SELECT COUNT("singles_w_l") FROM "squad_members" WHERE "doubles_w_l"='0–0' AND "total_w_l"='3–1';
```
## Task
Generate a SQL query to answer the following question:
`what's the doubles w-l with years played value of 1 (1968)`

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

CREATE TABLE "squad_members" (
  "player" text,
  "years_played" text,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the doubles w-l with years played value of 1 (1968)`:
```sql
                SELECT "doubles_w_l" FROM "squad_members" WHERE "years_played"='1 (1968)';
```
## Task
Generate a SQL query to answer the following question:
`what years are played for player  im chung-yang`

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

CREATE TABLE "squad_members" (
  "player" text,
  "years_played" text,
  "total_w_l" text,
  "singles_w_l" text,
  "doubles_w_l" text
);
### SQL
Given the database schema, here is the SQL query that answers `what years are played for player  im chung-yang`:
```sql
                SELECT "years_played" FROM "squad_members" WHERE "player"='Im Chung-Yang';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the 375 crest length?`

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

CREATE TABLE "see_also" (
  "name" text,
  "canton" text,
  "height_meters" real,
  "crest_length_meters" real,
  "type" text,
  "year_of_construction" real,
  "name_of_the_lake" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the 375 crest length?`:
```sql
                SELECT "name" FROM "see_also" WHERE "crest_length_meters"=375;
```
## Task
Generate a SQL query to answer the following question:
`What is year of construction of spitallamm?`

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

CREATE TABLE "see_also" (
  "name" text,
  "canton" text,
  "height_meters" real,
  "crest_length_meters" real,
  "type" text,
  "year_of_construction" real,
  "name_of_the_lake" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is year of construction of spitallamm?`:
```sql
                SELECT MIN("year_of_construction") FROM "see_also" WHERE "name"='Spitallamm';
```
## Task
Generate a SQL query to answer the following question:
`What is the canton of grande dixence?`

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

CREATE TABLE "see_also" (
  "name" text,
  "canton" text,
  "height_meters" real,
  "crest_length_meters" real,
  "type" text,
  "year_of_construction" real,
  "name_of_the_lake" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the canton of grande dixence?`:
```sql
                SELECT "canton" FROM "see_also" WHERE "name"='Grande Dixence';
```
## Task
Generate a SQL query to answer the following question:
`What is the name where lago di luzzone is?`

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

CREATE TABLE "see_also" (
  "name" text,
  "canton" text,
  "height_meters" real,
  "crest_length_meters" real,
  "type" text,
  "year_of_construction" real,
  "name_of_the_lake" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name where lago di luzzone is?`:
```sql
                SELECT "name" FROM "see_also" WHERE "name_of_the_lake"='Lago di Luzzone';
```
## Task
Generate a SQL query to answer the following question:
`What is the  guardian mātṛkā for the guardian whose consort is Svāhā?`

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

CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the  guardian mātṛkā for the guardian whose consort is Svāhā?`:
```sql
                SELECT "guardian_m_t_k" FROM "names_and_attributes" WHERE "consort"='Svāhā';
```
## Task
Generate a SQL query to answer the following question:
`Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?`

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

CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?`:
```sql
                SELECT "direction" FROM "names_and_attributes" WHERE "mantra"='Oṃ Yaṃ Vāyuve Namaḥ';
```
## Task
Generate a SQL query to answer the following question:
`What weapon is used by the guardian whose consort is śacī?`

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

CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);
### SQL
Given the database schema, here is the SQL query that answers `What weapon is used by the guardian whose consort is śacī?`:
```sql
                SELECT "weapon" FROM "names_and_attributes" WHERE "consort"='Śacī';
```
## Task
Generate a SQL query to answer the following question:
`What are the directions for the guardian whose weapon is khaḍga (sword)?`

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

CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the directions for the guardian whose weapon is khaḍga (sword)?`:
```sql
                SELECT "direction" FROM "names_and_attributes" WHERE "weapon"='Khaḍga (sword)';
```
## Task
Generate a SQL query to answer the following question:
`What are the weapons used by guardians for the direction East?`

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

CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the weapons used by guardians for the direction East?`:
```sql
                SELECT "weapon" FROM "names_and_attributes" WHERE "direction"='East';
```
## Task
Generate a SQL query to answer the following question:
`What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?`

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

CREATE TABLE "names_and_attributes" (
  "name" text,
  "direction" text,
  "mantra" text,
  "weapon" text,
  "consort" text,
  "graha_planet" text,
  "guardian_m_t_k" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?`:
```sql
                SELECT "direction" FROM "names_and_attributes" WHERE "graha_planet"='Bṛhaspati (Jupiter)';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of chapters listed for the fraternity with a headquarters in Austin, Texas?`

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

CREATE TABLE "members" (
  "member" text,
  "headquarters" text,
  "classification" text,
  "chapters" real,
  "founded" text,
  "uccfs" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of chapters listed for the fraternity with a headquarters in Austin, Texas?`:
```sql
                SELECT MAX("chapters") FROM "members" WHERE "classification"='Fraternity' AND "headquarters"='Austin, Texas';
```
## Task
Generate a SQL query to answer the following question:
`What are the members listed with the sorority classification`

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

CREATE TABLE "members" (
  "member" text,
  "headquarters" text,
  "classification" text,
  "chapters" real,
  "founded" text,
  "uccfs" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the members listed with the sorority classification`:
```sql
                SELECT "member" FROM "members" WHERE "classification"='Sorority';
```
## Task
Generate a SQL query to answer the following question:
`Name the member that has 12 chapters`

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

CREATE TABLE "members" (
  "member" text,
  "headquarters" text,
  "classification" text,
  "chapters" real,
  "founded" text,
  "uccfs" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the member that has 12 chapters`:
```sql
                SELECT "member" FROM "members" WHERE "chapters"=12;
```
## Task
Generate a SQL query to answer the following question:
`Where is the headquarters of Alpha Nu Omega`

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

CREATE TABLE "members" (
  "member" text,
  "headquarters" text,
  "classification" text,
  "chapters" real,
  "founded" text,
  "uccfs" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the headquarters of Alpha Nu Omega`:
```sql
                SELECT "headquarters" FROM "members" WHERE "member"='Alpha Nu Omega';
```
## Task
Generate a SQL query to answer the following question:
`what is the number of relapsing fever when malaria is 3000`

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

CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
  "year" text,
  "typhus" real,
  "typhoid_fever" real,
  "relapsing_fever" real,
  "smallpox" real,
  "malaria" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of relapsing fever when malaria is 3000`:
```sql
                SELECT MIN("relapsing_fever") FROM "incidence_of_disease_in_russian_empire_a" WHERE "malaria"='3000';
```
## Task
Generate a SQL query to answer the following question:
`what is the typhoid fever number for the year 1934`

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

CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
  "year" text,
  "typhus" real,
  "typhoid_fever" real,
  "relapsing_fever" real,
  "smallpox" real,
  "malaria" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the typhoid fever number for the year 1934`:
```sql
                SELECT "typhoid_fever" FROM "incidence_of_disease_in_russian_empire_a" WHERE "year"='1934';
```
## Task
Generate a SQL query to answer the following question:
`What are all the typhus number when smallpox is 4`

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

CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
  "year" text,
  "typhus" real,
  "typhoid_fever" real,
  "relapsing_fever" real,
  "smallpox" real,
  "malaria" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the typhus number when smallpox is 4`:
```sql
                SELECT "typhus" FROM "incidence_of_disease_in_russian_empire_a" WHERE "smallpox"=4;
```
## Task
Generate a SQL query to answer the following question:
`what is the number of smallpox when typhoid fever is 293`

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

CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
  "year" text,
  "typhus" real,
  "typhoid_fever" real,
  "relapsing_fever" real,
  "smallpox" real,
  "malaria" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of smallpox when typhoid fever is 293`:
```sql
                SELECT MAX("smallpox") FROM "incidence_of_disease_in_russian_empire_a" WHERE "typhoid_fever"=293;
```
## Task
Generate a SQL query to answer the following question:
`what is the typhoid fever number for the year 1929`

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

CREATE TABLE "incidence_of_disease_in_russian_empire_a" (
  "year" text,
  "typhus" real,
  "typhoid_fever" real,
  "relapsing_fever" real,
  "smallpox" real,
  "malaria" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the typhoid fever number for the year 1929`:
```sql
                SELECT "typhoid_fever" FROM "incidence_of_disease_in_russian_empire_a" WHERE "year"='1929';
```
## Task
Generate a SQL query to answer the following question:
`How many schools are in Bloomington, IN?`

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

CREATE TABLE "current_members" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many schools are in Bloomington, IN?`:
```sql
                SELECT COUNT("founded") FROM "current_members" WHERE "location"='Bloomington, IN';
```
## Task
Generate a SQL query to answer the following question:
`How many of the schools are designated private/Presbyterian?`

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

CREATE TABLE "current_members" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the schools are designated private/Presbyterian?`:
```sql
                SELECT COUNT("location") FROM "current_members" WHERE "affiliation"='Private/Presbyterian';
```
## Task
Generate a SQL query to answer the following question:
`In what year was Lindenwood University founded?`

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

CREATE TABLE "current_members" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was Lindenwood University founded?`:
```sql
                SELECT MIN("founded") FROM "current_members" WHERE "school"='Lindenwood University';
```
## Task
Generate a SQL query to answer the following question:
`How many of the schools listed are in Ames, IA?`

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

CREATE TABLE "current_members" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many of the schools listed are in Ames, IA?`:
```sql
                SELECT COUNT("primary_conference") FROM "current_members" WHERE "location"='Ames, IA';
```
## Task
Generate a SQL query to answer the following question:
`What is the capital (endonym) where Douglas is the Capital (exonym)?`

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

CREATE TABLE "table1_1008653_9" (
  "country_exonym" text,
  "capital_exonym" text,
  "country_endonym" text,
  "capital_endonym" text,
  "official_or_native_language_s_alphabet_script" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the capital (endonym) where Douglas is the Capital (exonym)?`:
```sql
                SELECT "capital_endonym" FROM "table1_1008653_9" WHERE "capital_exonym"='Douglas';
```
## Task
Generate a SQL query to answer the following question:
`How many countries (endonym) has the capital (endonym) of Jakarta?`

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

CREATE TABLE "table1_1008653_9" (
  "country_exonym" text,
  "capital_exonym" text,
  "country_endonym" text,
  "capital_endonym" text,
  "official_or_native_language_s_alphabet_script" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many countries (endonym) has the capital (endonym) of Jakarta?`:
```sql
                SELECT COUNT("country_endonym") FROM "table1_1008653_9" WHERE "capital_endonym"='Jakarta';
```