cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is California State University, Hayward's new conference for Western Collegiate Lacrosse?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "tenure" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is California State University, Hayward's new conference for Western Collegiate Lacrosse?`:
```sql
                SELECT "new_conference" FROM "former_members" WHERE "institution"='California State University, Hayward';
```
## Task
Generate a SQL query to answer the following question:
`Which new conference is the Toreros Western Collegiate Lacrosse team playing in?`

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

CREATE TABLE "former_members" (
  "institution" text,
  "location" text,
  "team_nickname" text,
  "tenure" text,
  "new_conference" text,
  "new_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which new conference is the Toreros Western Collegiate Lacrosse team playing in?`:
```sql
                SELECT "new_conference" FROM "former_members" WHERE "team_nickname"='Toreros';
```
## Task
Generate a SQL query to answer the following question:
`In Ascot (UK), what was the result?`

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

CREATE TABLE "2006_07_season_as_a_five_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Ascot (UK), what was the result?`:
```sql
                SELECT "result" FROM "2006_07_season_as_a_five_year_old" WHERE "venue"='Ascot (UK)';
```
## Task
Generate a SQL query to answer the following question:
`How many different jockeys ran on 17 Feb 2007?`

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

CREATE TABLE "2006_07_season_as_a_five_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different jockeys ran on 17 Feb 2007?`:
```sql
                SELECT COUNT("jockey") FROM "2006_07_season_as_a_five_year_old" WHERE "date"='17 Feb 2007';
```
## Task
Generate a SQL query to answer the following question:
`How many venues were used on 10 Mar 2007?`

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

CREATE TABLE "2006_07_season_as_a_five_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many venues were used on 10 Mar 2007?`:
```sql
                SELECT "venue" FROM "2006_07_season_as_a_five_year_old" WHERE "date"='10 Mar 2007';
```
## Task
Generate a SQL query to answer the following question:
`How many jockeys are listed running at the Sir Rupert Clarke Stakes?`

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

CREATE TABLE "2006_07_season_as_a_five_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many jockeys are listed running at the Sir Rupert Clarke Stakes?`:
```sql
                SELECT COUNT("jockey") FROM "2006_07_season_as_a_five_year_old" WHERE "race"='Sir Rupert Clarke Stakes';
```
## Task
Generate a SQL query to answer the following question:
`How many venues had a race called the Australia Stakes?`

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

CREATE TABLE "2006_07_season_as_a_five_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many venues had a race called the Australia Stakes?`:
```sql
                SELECT COUNT("venue") FROM "2006_07_season_as_a_five_year_old" WHERE "race"='Australia Stakes';
```
## Task
Generate a SQL query to answer the following question:
`Where was the 1400 m held?`

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

CREATE TABLE "2004_05_season_as_a_three_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the 1400 m held?`:
```sql
                SELECT "venue" FROM "2004_05_season_as_a_three_year_old" WHERE "distance"='1400 m';
```
## Task
Generate a SQL query to answer the following question:
`What is the group name when 3yo hcp restricted maiden was raced?`

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

CREATE TABLE "2004_05_season_as_a_three_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the group name when 3yo hcp restricted maiden was raced?`:
```sql
                SELECT "group" FROM "2004_05_season_as_a_three_year_old" WHERE "race"='3yo Hcp Restricted Maiden';
```
## Task
Generate a SQL query to answer the following question:
`When did the 55 kg participant race?`

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

CREATE TABLE "2004_05_season_as_a_three_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" text,
  "jockey" text,
  "winner_2nd" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did the 55 kg participant race?`:
```sql
                SELECT "date" FROM "2004_05_season_as_a_three_year_old" WHERE "weight_kg"='55';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of weeks for 50073 attendance`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of weeks for 50073 attendance`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "attendance"=50073;
```
## Task
Generate a SQL query to answer the following question:
`Name the result for milwaukee county stadium`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the result for milwaukee county stadium`:
```sql
                SELECT "result" FROM "schedule" WHERE "game_site"='Milwaukee County Stadium';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the game was played at Cleveland Municipal Stadium?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the game was played at Cleveland Municipal Stadium?`:
```sql
                SELECT "record" FROM "schedule" WHERE "game_site"='Cleveland Municipal Stadium';
```
## Task
Generate a SQL query to answer the following question:
`What was the game date in week 13?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the game date in week 13?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=13;
```
## Task
Generate a SQL query to answer the following question:
`Where did the team play the Detroit Lions?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the team play the Detroit Lions?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "opponent"='Detroit Lions';
```
## Task
Generate a SQL query to answer the following question:
`What week of the season did the date December 2, 1962 fall on?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What week of the season did the date December 2, 1962 fall on?`:
```sql
                SELECT "week" FROM "schedule" WHERE "date"='December 2, 1962';
```
## Task
Generate a SQL query to answer the following question:
`what is the result for October 14, 1956?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the result for October 14, 1956?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='October 14, 1956';
```
## Task
Generate a SQL query to answer the following question:
`Name the game site for week 6`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the game site for week 6`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`Name the number  of weeks for san francisco 49ers`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number  of weeks for san francisco 49ers`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "opponent"='San Francisco 49ers';
```
## Task
Generate a SQL query to answer the following question:
`Name the most attendance for game site for los angeles memorial coliseum`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most attendance for game site for los angeles memorial coliseum`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "game_site"='Los Angeles Memorial Coliseum';
```
## Task
Generate a SQL query to answer the following question:
`what's the result with record being 0–1`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the result with record being 0–1`:
```sql
                SELECT "result" FROM "schedule" WHERE "record"='0–1';
```
## Task
Generate a SQL query to answer the following question:
`what's the game site with result being l 24–34`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `what's the game site with result being l 24–34`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "result"='L 24–34';
```
## Task
Generate a SQL query to answer the following question:
` how many result with date being october 25, 1964`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers ` how many result with date being october 25, 1964`:
```sql
                SELECT COUNT("result") FROM "schedule" WHERE "date"='October 25, 1964';
```
## Task
Generate a SQL query to answer the following question:
` how many opponent with date being october 25, 1964`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers ` how many opponent with date being october 25, 1964`:
```sql
                SELECT COUNT("opponent") FROM "schedule" WHERE "date"='October 25, 1964';
```
## Task
Generate a SQL query to answer the following question:
`Name the population 2010 census for population 2000 census of 920599`

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

CREATE TABLE "municipalities" (
  "administrative_division" text,
  "area_km" text,
  "population_2000_census" real,
  "population_2010_census" real,
  "population_density_2010_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the population 2010 census for population 2000 census of 920599`:
```sql
                SELECT "population_2010_census" FROM "municipalities" WHERE "population_2000_census"=920599;
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of population 2000 census for mesquita`

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

CREATE TABLE "municipalities" (
  "administrative_division" text,
  "area_km" text,
  "population_2000_census" real,
  "population_2010_census" real,
  "population_density_2010_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of population 2000 census for mesquita`:
```sql
                SELECT COUNT("population_2000_census") FROM "municipalities" WHERE "administrative_division"='Mesquita';
```
## Task
Generate a SQL query to answer the following question:
`Name the population 2000 census for 77 area`

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

CREATE TABLE "municipalities" (
  "administrative_division" text,
  "area_km" text,
  "population_2000_census" real,
  "population_2010_census" real,
  "population_density_2010_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the population 2000 census for 77 area`:
```sql
                SELECT "population_2000_census" FROM "municipalities" WHERE "area_km"='77';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of area where population density 2010 for 514`

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

CREATE TABLE "municipalities" (
  "administrative_division" text,
  "area_km" text,
  "population_2000_census" real,
  "population_2010_census" real,
  "population_density_2010_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of area where population density 2010 for 514`:
```sql
                SELECT COUNT("area_km") FROM "municipalities" WHERE "population_density_2010_km"=514;
```
## Task
Generate a SQL query to answer the following question:
`Name the number of population density 2010 for duque de caxias`

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

CREATE TABLE "municipalities" (
  "administrative_division" text,
  "area_km" text,
  "population_2000_census" real,
  "population_2010_census" real,
  "population_density_2010_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of population density 2010 for duque de caxias`:
```sql
                SELECT COUNT("population_density_2010_km") FROM "municipalities" WHERE "administrative_division"='Duque de Caxias';
```
## Task
Generate a SQL query to answer the following question:
`Name the administrative division for 95391`

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

CREATE TABLE "municipalities" (
  "administrative_division" text,
  "area_km" text,
  "population_2000_census" real,
  "population_2010_census" real,
  "population_density_2010_km" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the administrative division for 95391`:
```sql
                SELECT "administrative_division" FROM "municipalities" WHERE "population_2010_census"=95391;
```
## Task
Generate a SQL query to answer the following question:
`How many losses did 12 de Octubre have ? `

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses did 12 de Octubre have ? `:
```sql
                SELECT MIN("losses") FROM "torneo_clausura" WHERE "team"='12 de Octubre';
```
## Task
Generate a SQL query to answer the following question:
`Name the santee sisseton for morning`

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

CREATE TABLE "table1_1499791_2" (
  "english_gloss" text,
  "santee_sisseton" text,
  "yankton_yanktonai" text,
  "northern_lakota" text,
  "southern_lakota" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the santee sisseton for morning`:
```sql
                SELECT "santee_sisseton" FROM "table1_1499791_2" WHERE "english_gloss"='morning';
```
## Task
Generate a SQL query to answer the following question:
`Name the southern lakota for morning`

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

CREATE TABLE "table1_1499791_2" (
  "english_gloss" text,
  "santee_sisseton" text,
  "yankton_yanktonai" text,
  "northern_lakota" text,
  "southern_lakota" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the southern lakota for morning`:
```sql
                SELECT "southern_lakota" FROM "table1_1499791_2" WHERE "english_gloss"='morning';
```
## Task
Generate a SQL query to answer the following question:
`Name the southern lakota for wakȟáŋyeža`

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

CREATE TABLE "table1_1499791_2" (
  "english_gloss" text,
  "santee_sisseton" text,
  "yankton_yanktonai" text,
  "northern_lakota" text,
  "southern_lakota" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the southern lakota for wakȟáŋyeža`:
```sql
                SELECT "southern_lakota" FROM "table1_1499791_2" WHERE "yankton_yanktonai"='wakȟáŋyeža';
```
## Task
Generate a SQL query to answer the following question:
`Name the english gloss for naháŋȟčiŋ`

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

CREATE TABLE "table1_1499791_2" (
  "english_gloss" text,
  "santee_sisseton" text,
  "yankton_yanktonai" text,
  "northern_lakota" text,
  "southern_lakota" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the english gloss for naháŋȟčiŋ`:
```sql
                SELECT "english_gloss" FROM "table1_1499791_2" WHERE "southern_lakota"='naháŋȟčiŋ';
```
## Task
Generate a SQL query to answer the following question:
`Name the santee sisseton for híŋhaŋna`

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

CREATE TABLE "table1_1499791_2" (
  "english_gloss" text,
  "santee_sisseton" text,
  "yankton_yanktonai" text,
  "northern_lakota" text,
  "southern_lakota" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the santee sisseton for híŋhaŋna`:
```sql
                SELECT COUNT("santee_sisseton") FROM "table1_1499791_2" WHERE "yankton_yanktonai"='híŋhaŋna';
```
## Task
Generate a SQL query to answer the following question:
`Name the yankton yanktonai for wičháša`

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

CREATE TABLE "table1_1499791_2" (
  "english_gloss" text,
  "santee_sisseton" text,
  "yankton_yanktonai" text,
  "northern_lakota" text,
  "southern_lakota" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the yankton yanktonai for wičháša`:
```sql
                SELECT "yankton_yanktonai" FROM "table1_1499791_2" WHERE "southern_lakota"='wičháša';
```
## Task
Generate a SQL query to answer the following question:
`What was the last round the team drafted?`

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

CREATE TABLE "table1_14999879_2" (
  "round" real,
  "choice" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the last round the team drafted?`:
```sql
                SELECT MAX("round") FROM "table1_14999879_2";
```
## Task
Generate a SQL query to answer the following question:
`What college did steve justice attend?`

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

CREATE TABLE "table1_14999879_2" (
  "round" real,
  "choice" real,
  "player" text,
  "position" text,
  "height" text,
  "weight" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did steve justice attend?`:
```sql
                SELECT "college" FROM "table1_14999879_2" WHERE "player"='Steve Justice';
```
## Task
Generate a SQL query to answer the following question:
`How may women doubles winner were there when Philippe Aulner was mens singles winner?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `How may women doubles winner were there when Philippe Aulner was mens singles winner?`:
```sql
                SELECT COUNT("womens_doubles") FROM "past_winners" WHERE "mens_singles"='Philippe Aulner';
```
## Task
Generate a SQL query to answer the following question:
`How many mixed doubles were won in 1996?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many mixed doubles were won in 1996?`:
```sql
                SELECT COUNT("mixed_doubles") FROM "past_winners" WHERE "year"=1996;
```
## Task
Generate a SQL query to answer the following question:
`who is the the womens doubles with mens doubles being reinhold pum karl buchart and mixed doubles being hermann fröhlich lore voit`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the womens doubles with mens doubles being reinhold pum karl buchart and mixed doubles being hermann fröhlich lore voit`:
```sql
                SELECT "womens_doubles" FROM "past_winners" WHERE "mens_doubles"='Reinhold Pum Karl Buchart' AND "mixed_doubles"='Hermann Fröhlich Lore Voit';
```
## Task
Generate a SQL query to answer the following question:
`who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser`:
```sql
                SELECT "womens_doubles" FROM "past_winners" WHERE "mens_doubles"='Leopold Bauer Alfred Kohlhauser';
```
## Task
Generate a SQL query to answer the following question:
`who is the the mixed doubles with mens singles being peter moritz`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the mixed doubles with mens singles being peter moritz`:
```sql
                SELECT "mixed_doubles" FROM "past_winners" WHERE "mens_singles"='Peter Moritz';
```
## Task
Generate a SQL query to answer the following question:
`who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner`:
```sql
                SELECT "mens_doubles" FROM "past_winners" WHERE "mens_singles"='Jürgen Koch' AND "womens_singles"='Sabine Ploner';
```
## Task
Generate a SQL query to answer the following question:
`who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0`:
```sql
                SELECT "womens_singles" FROM "past_winners" WHERE "mixed_doubles"='Bernd Frohnwieser Hilde Themel' AND "year"<1959.0;
```
## Task
Generate a SQL query to answer the following question:
`How many mixed doubles were there in the year that Olga Koseli won the women's singles?`

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

CREATE TABLE "past_winners" (
  "year" real,
  "mens_singles" text,
  "womens_singles" text,
  "mens_doubles" text,
  "womens_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many mixed doubles were there in the year that Olga Koseli won the women's singles?`:
```sql
                SELECT COUNT("mixed_doubles") FROM "past_winners" WHERE "womens_singles"='Olga Koseli';
```
## Task
Generate a SQL query to answer the following question:
`What is the # for the episode with viewing figures of 7.02 million ?`

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

CREATE TABLE "table1_15026994_5" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the # for the episode with viewing figures of 7.02 million ?`:
```sql
                SELECT MAX("num") FROM "table1_15026994_5" WHERE "viewing_figure"='7.02 million';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank for puerto rico?`

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

CREATE TABLE "top_15_countries_by_tally" (
  "rank" real,
  "country" text,
  "miss_universe" real,
  "1st_runner_up" real,
  "2nd_runner_up" real,
  "3rd_runner_up" real,
  "4th_runner_up" real,
  "semifinalists" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank for puerto rico?`:
```sql
                SELECT MIN("rank") FROM "top_15_countries_by_tally" WHERE "country"='Puerto Rico';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rank for the country with 6 2nd runner ups?`

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

CREATE TABLE "top_15_countries_by_tally" (
  "rank" real,
  "country" text,
  "miss_universe" real,
  "1st_runner_up" real,
  "2nd_runner_up" real,
  "3rd_runner_up" real,
  "4th_runner_up" real,
  "semifinalists" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rank for the country with 6 2nd runner ups?`:
```sql
                SELECT MAX("rank") FROM "top_15_countries_by_tally" WHERE "2nd_runner_up"=6;
```
## Task
Generate a SQL query to answer the following question:
`How many different directors are associated with the writer Gaby Chiappe?`

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

CREATE TABLE "table1_15026994_2" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many different directors are associated with the writer Gaby Chiappe?`:
```sql
                SELECT COUNT("director") FROM "table1_15026994_2" WHERE "writer"='Gaby Chiappe';
```
## Task
Generate a SQL query to answer the following question:
`What writers are associated with a viewing figure of 7.01 million?`

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

CREATE TABLE "table1_15026994_2" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What writers are associated with a viewing figure of 7.01 million?`:
```sql
                SELECT "writer" FROM "table1_15026994_2" WHERE "viewing_figure"='7.01 million';
```
## Task
Generate a SQL query to answer the following question:
`What are all episodes with a viewing figure of 6.72 million?`

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

CREATE TABLE "table1_15026994_2" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all episodes with a viewing figure of 6.72 million?`:
```sql
                SELECT "episode" FROM "table1_15026994_2" WHERE "viewing_figure"='6.72 million';
```
## Task
Generate a SQL query to answer the following question:
`What original air dates are associated with a viewing figure of 7.27 million?`

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

CREATE TABLE "table1_15026994_2" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What original air dates are associated with a viewing figure of 7.27 million?`:
```sql
                SELECT "original_air_date" FROM "table1_15026994_2" WHERE "viewing_figure"='7.27 million';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director of the episode at entry number 13? `

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

CREATE TABLE "table1_15026994_3" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director of the episode at entry number 13? `:
```sql
                SELECT "director" FROM "table1_15026994_3" WHERE "num"=13;
```
## Task
Generate a SQL query to answer the following question:
`Who wrote the episode that David Tucker directed?`

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

CREATE TABLE "table1_15026994_3" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wrote the episode that David Tucker directed?`:
```sql
                SELECT COUNT("writer") FROM "table1_15026994_3" WHERE "director"='David Tucker';
```
## Task
Generate a SQL query to answer the following question:
`Which episode has been viewed 6.34 million times? `

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

CREATE TABLE "table1_15026994_3" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode has been viewed 6.34 million times? `:
```sql
                SELECT "episode" FROM "table1_15026994_3" WHERE "viewing_figure"='6.34 million';
```
## Task
Generate a SQL query to answer the following question:
`What is the original air date of the episode directed by Paul Marcus?`

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

CREATE TABLE "table1_15026994_3" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original air date of the episode directed by Paul Marcus?`:
```sql
                SELECT "original_air_date" FROM "table1_15026994_3" WHERE "director"='Paul Marcus';
```
## Task
Generate a SQL query to answer the following question:
`Which numerical entry corresponds to "Episode 9"?`

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

CREATE TABLE "table1_15026994_3" (
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which numerical entry corresponds to "Episode 9"?`:
```sql
                SELECT COUNT("num") FROM "table1_15026994_3" WHERE "episode"='\"Episode 9\"';
```
## Task
Generate a SQL query to answer the following question:
`How many licenses have version 1.2.2.0?`

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

CREATE TABLE "general" (
  "software" text,
  "version" text,
  "operating_systems" text,
  "developer" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many licenses have version 1.2.2.0?`:
```sql
                SELECT COUNT("license") FROM "general" WHERE "version"='1.2.2.0';
```
## Task
Generate a SQL query to answer the following question:
`What is the version with sbagen software?`

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

CREATE TABLE "general" (
  "software" text,
  "version" text,
  "operating_systems" text,
  "developer" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the version with sbagen software?`:
```sql
                SELECT "version" FROM "general" WHERE "software"='SBaGen';
```
## Task
Generate a SQL query to answer the following question:
`How many licenses have mind workstation software?`

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

CREATE TABLE "general" (
  "software" text,
  "version" text,
  "operating_systems" text,
  "developer" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many licenses have mind workstation software?`:
```sql
                SELECT COUNT("license") FROM "general" WHERE "software"='Mind WorkStation';
```
## Task
Generate a SQL query to answer the following question:
`What is the software with version 1.2.2.0?`

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

CREATE TABLE "general" (
  "software" text,
  "version" text,
  "operating_systems" text,
  "developer" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the software with version 1.2.2.0?`:
```sql
                SELECT "software" FROM "general" WHERE "version"='1.2.2.0';
```
## Task
Generate a SQL query to answer the following question:
`What is hte license for beeone smod/hms software?`

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

CREATE TABLE "general" (
  "software" text,
  "version" text,
  "operating_systems" text,
  "developer" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is hte license for beeone smod/hms software?`:
```sql
                SELECT "license" FROM "general" WHERE "software"='BeeOne SMOD/HMS';
```
## Task
Generate a SQL query to answer the following question:
`What are all the operating systems for sbagen?`

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

CREATE TABLE "general" (
  "software" text,
  "version" text,
  "operating_systems" text,
  "developer" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are all the operating systems for sbagen?`:
```sql
                SELECT "operating_systems" FROM "general" WHERE "software"='SBaGen';
```
## Task
Generate a SQL query to answer the following question:
`What is the English word for the French word cheval?`

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

CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
  "ido" text,
  "english" text,
  "italian" text,
  "french" text,
  "german" text,
  "russian" text,
  "spanish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English word for the French word cheval?`:
```sql
                SELECT "english" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "french"='cheval';
```
## Task
Generate a SQL query to answer the following question:
`What is the Spanish word for the French word filtrer?`

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

CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
  "ido" text,
  "english" text,
  "italian" text,
  "french" text,
  "german" text,
  "russian" text,
  "spanish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Spanish word for the French word filtrer?`:
```sql
                SELECT "spanish" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "french"='filtrer';
```
## Task
Generate a SQL query to answer the following question:
`What is the French word where the German word is filtern?`

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

CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
  "ido" text,
  "english" text,
  "italian" text,
  "french" text,
  "german" text,
  "russian" text,
  "spanish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the French word where the German word is filtern?`:
```sql
                SELECT "french" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "german"='filtern';
```
## Task
Generate a SQL query to answer the following question:
`What is the french word for the Russian word filtrovat (фильтровать)?`

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

CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
  "ido" text,
  "english" text,
  "italian" text,
  "french" text,
  "german" text,
  "russian" text,
  "spanish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the french word for the Russian word filtrovat (фильтровать)?`:
```sql
                SELECT "french" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "russian"='filtrovat (фильтровать)';
```
## Task
Generate a SQL query to answer the following question:
`What is the French word for the Italian word nazione?`

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

CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
  "ido" text,
  "english" text,
  "italian" text,
  "french" text,
  "german" text,
  "russian" text,
  "spanish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the French word for the Italian word nazione?`:
```sql
                SELECT "french" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "italian"='nazione';
```
## Task
Generate a SQL query to answer the following question:
`What is the English word for the Russian words loshad, kobyla (лошадь, кобыла)?`

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

CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
  "ido" text,
  "english" text,
  "italian" text,
  "french" text,
  "german" text,
  "russian" text,
  "spanish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English word for the Russian words loshad, kobyla (лошадь, кобыла)?`:
```sql
                SELECT "english" FROM "comparison_of_ido_vocabulary_with_its_si" WHERE "russian"='loshad, kobyla (лошадь, кобыла)';
```
## Task
Generate a SQL query to answer the following question:
`Which state had 3821 students in the fall of 06?`

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

CREATE TABLE "geography_of_students" (
  "states" text,
  "fall_05" real,
  "fall_06" real,
  "fall_07" real,
  "fall_08" real,
  "fall_09" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which state had 3821 students in the fall of 06?`:
```sql
                SELECT "states" FROM "geography_of_students" WHERE "fall_06"=3821;
```
## Task
Generate a SQL query to answer the following question:
`How man students were from Maryland in Fall 05?`

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

CREATE TABLE "geography_of_students" (
  "states" text,
  "fall_05" real,
  "fall_06" real,
  "fall_07" real,
  "fall_08" real,
  "fall_09" real
);
### SQL
Given the database schema, here is the SQL query that answers `How man students were from Maryland in Fall 05?`:
```sql
                SELECT "fall_05" FROM "geography_of_students" WHERE "states"='Maryland';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of students in Fall 09 from the state that had 3940 in Fall 07?`

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

CREATE TABLE "geography_of_students" (
  "states" text,
  "fall_05" real,
  "fall_06" real,
  "fall_07" real,
  "fall_08" real,
  "fall_09" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of students in Fall 09 from the state that had 3940 in Fall 07?`:
```sql
                SELECT MAX("fall_09") FROM "geography_of_students" WHERE "fall_07"=3940;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06?`

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

CREATE TABLE "geography_of_students" (
  "states" text,
  "fall_05" real,
  "fall_06" real,
  "fall_07" real,
  "fall_08" real,
  "fall_09" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06?`:
```sql
                SELECT MAX("fall_09") FROM "geography_of_students" WHERE "fall_06"=3821;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of students from a state during the Fall 06 semester?`

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

CREATE TABLE "geography_of_students" (
  "states" text,
  "fall_05" real,
  "fall_06" real,
  "fall_07" real,
  "fall_08" real,
  "fall_09" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of students from a state during the Fall 06 semester?`:
```sql
                SELECT MIN("fall_06") FROM "geography_of_students";
```
## Task
Generate a SQL query to answer the following question:
`Name the 132.1% for where north carolina is colorado`

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

CREATE TABLE "immigration_by_state" (
  "north_carolina" text,
  "273_7pct" text,
  "south_carolina" text,
  "132_1pct" text,
  "mississippi" text,
  "95_8pct" text,
  "wisconsin" text,
  "59_4pct" text,
  "vermont" text,
  "32_5pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 132.1% for where north carolina is colorado`:
```sql
                SELECT "132_1pct" FROM "immigration_by_state" WHERE "north_carolina"='Colorado';
```