cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the name when Windows is partial?`

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

CREATE TABLE "see_also" (
  "name" text,
  "license" text,
  "os_x" text,
  "unix_like" text,
  "windows" text,
  "web_interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name when Windows is partial?`:
```sql
                SELECT "name" FROM "see_also" WHERE "windows"='partial';
```
## Task
Generate a SQL query to answer the following question:
`What is the license for Rygel?`

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

CREATE TABLE "see_also" (
  "name" text,
  "license" text,
  "os_x" text,
  "unix_like" text,
  "windows" text,
  "web_interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the license for Rygel?`:
```sql
                SELECT "license" FROM "see_also" WHERE "name"='rygel';
```
## Task
Generate a SQL query to answer the following question:
`What is the license for Jriver Media Center?`

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

CREATE TABLE "see_also" (
  "name" text,
  "license" text,
  "os_x" text,
  "unix_like" text,
  "windows" text,
  "web_interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the license for Jriver Media Center?`:
```sql
                SELECT "license" FROM "see_also" WHERE "name"='jriver media center';
```
## Task
Generate a SQL query to answer the following question:
`Of the series that last aired August 20, 2010, what is the lowest number of seasons?`

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

CREATE TABLE "seasons" (
  "season" real,
  "first_aired" text,
  "last_aired" text,
  "episodes" real,
  "network" text
);
### SQL
Given the database schema, here is the SQL query that answers `Of the series that last aired August 20, 2010, what is the lowest number of seasons?`:
```sql
                SELECT MIN("season") FROM "seasons" WHERE "last_aired"='august 20, 2010';
```
## Task
Generate a SQL query to answer the following question:
`Of the series that first aired April 8, 2011, what is the total number of episodes?`

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

CREATE TABLE "seasons" (
  "season" real,
  "first_aired" text,
  "last_aired" text,
  "episodes" real,
  "network" text
);
### SQL
Given the database schema, here is the SQL query that answers `Of the series that first aired April 8, 2011, what is the total number of episodes?`:
```sql
                SELECT SUM("episodes") FROM "seasons" WHERE "first_aired"='april 8, 2011';
```
## Task
Generate a SQL query to answer the following question:
`What's the total when the position was more than 6 and had an A Score of less than 7.6?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total when the position was more than 6 and had an A Score of less than 7.6?`:
```sql
                SELECT MAX("total") FROM "qualified_competitors" WHERE "position">6 AND "a_score"<7.6;
```
## Task
Generate a SQL query to answer the following question:
`What's the total when A Score was less than 6.9?`

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

CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total when A Score was less than 6.9?`:
```sql
                SELECT AVG("total") FROM "qualified_competitors" WHERE "a_score"<6.9;
```
## Task
Generate a SQL query to answer the following question:
`What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459?`

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

CREATE TABLE "d" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459?`:
```sql
                SELECT SUM("water_sqmi") FROM "d" WHERE "land_sqmi"=35.918 AND "longitude"<-97.115459;
```
## Task
Generate a SQL query to answer the following question:
`What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?`

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

CREATE TABLE "d" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?`:
```sql
                SELECT COUNT("longitude") FROM "d" WHERE "ansi_code"=1036573 AND "water_sqmi"<0.404;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005?`

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

CREATE TABLE "d" (
  "township" text,
  "county" text,
  "pop_2010" real,
  "land_sqmi" real,
  "water_sqmi" real,
  "latitude" real,
  "longitude" real,
  "geo_id" real,
  "ansi_code" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005?`:
```sql
                SELECT MIN("longitude") FROM "d" WHERE "latitude"=46.843963 AND "water_sqmi"<0.052000000000000005;
```
## Task
Generate a SQL query to answer the following question:
`What is the total heat ranked higher than 7?`

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

CREATE TABLE "semifinals" (
  "rank" real,
  "heat" real,
  "cyclist" text,
  "nation" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total heat ranked higher than 7?`:
```sql
                SELECT SUM("heat") FROM "semifinals" WHERE "rank">7;
```
## Task
Generate a SQL query to answer the following question:
`Which cyclist is from Australia?`

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

CREATE TABLE "semifinals" (
  "rank" real,
  "heat" real,
  "cyclist" text,
  "nation" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which cyclist is from Australia?`:
```sql
                SELECT "cyclist" FROM "semifinals" WHERE "nation"='australia';
```
## Task
Generate a SQL query to answer the following question:
`Which nation has a heat of 4, and is ranked 8?`

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

CREATE TABLE "semifinals" (
  "rank" real,
  "heat" real,
  "cyclist" text,
  "nation" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which nation has a heat of 4, and is ranked 8?`:
```sql
                SELECT "nation" FROM "semifinals" WHERE "heat"=4 AND "rank"=8;
```
## Task
Generate a SQL query to answer the following question:
`What is John Curtice's position?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is John Curtice's position?`:
```sql
                SELECT "position" FROM "first_round_selections" WHERE "player"='john curtice';
```
## Task
Generate a SQL query to answer the following question:
`What player is from Seton Hall University?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player is from Seton Hall University?`:
```sql
                SELECT "player" FROM "first_round_selections" WHERE "school"='seton hall university';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?`:
```sql
                SELECT MIN("pick") FROM "first_round_selections" WHERE "position"='ss, p' AND "team"='minnesota twins';
```
## Task
Generate a SQL query to answer the following question:
`what is the premier when the assumed office is 14 april 1894?`

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

CREATE TABLE "rank_by_time_in_office" (
  "rank" real,
  "premier" text,
  "party" text,
  "assumed_office" text,
  "left_office" text,
  "total_time_in_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the premier when the assumed office is 14 april 1894?`:
```sql
                SELECT "premier" FROM "rank_by_time_in_office" WHERE "assumed_office"='14 april 1894';
```
## Task
Generate a SQL query to answer the following question:
`what is the rank when the assumed office is 9 april 1903?`

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

CREATE TABLE "rank_by_time_in_office" (
  "rank" real,
  "premier" text,
  "party" text,
  "assumed_office" text,
  "left_office" text,
  "total_time_in_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the rank when the assumed office is 9 april 1903?`:
```sql
                SELECT SUM("rank") FROM "rank_by_time_in_office" WHERE "assumed_office"='9 april 1903';
```
## Task
Generate a SQL query to answer the following question:
`what is the premier when the rank is 30?`

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

CREATE TABLE "rank_by_time_in_office" (
  "rank" real,
  "premier" text,
  "party" text,
  "assumed_office" text,
  "left_office" text,
  "total_time_in_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the premier when the rank is 30?`:
```sql
                SELECT "premier" FROM "rank_by_time_in_office" WHERE "rank"=30;
```
## Task
Generate a SQL query to answer the following question:
`what is the total time in office when the assumed office is 1 november 1856?`

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

CREATE TABLE "rank_by_time_in_office" (
  "rank" real,
  "premier" text,
  "party" text,
  "assumed_office" text,
  "left_office" text,
  "total_time_in_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total time in office when the assumed office is 1 november 1856?`:
```sql
                SELECT "total_time_in_office" FROM "rank_by_time_in_office" WHERE "assumed_office"='1 november 1856';
```
## Task
Generate a SQL query to answer the following question:
`what is the rank when assumed office on 12 may 1857?`

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

CREATE TABLE "rank_by_time_in_office" (
  "rank" real,
  "premier" text,
  "party" text,
  "assumed_office" text,
  "left_office" text,
  "total_time_in_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the rank when assumed office on 12 may 1857?`:
```sql
                SELECT SUM("rank") FROM "rank_by_time_in_office" WHERE "assumed_office"='12 may 1857';
```
## Task
Generate a SQL query to answer the following question:
`What is the average v-band for Ka-band values under 33 and Q-bands of 1?`

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

CREATE TABLE "properties_of_wmap_at_different_frequenc" (
  "property" text,
  "k_band" real,
  "ka_band" real,
  "q_band" real,
  "v_band" real,
  "w_band" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average v-band for Ka-band values under 33 and Q-bands of 1?`:
```sql
                SELECT AVG("v_band") FROM "properties_of_wmap_at_different_frequenc" WHERE "ka_band"<33 AND "q_band"=1;
```
## Task
Generate a SQL query to answer the following question:
`What award has a year earlier than 2004 and the episode shows —?`

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

CREATE TABLE "other_awards" (
  "year" real,
  "award" text,
  "nominee" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What award has a year earlier than 2004 and the episode shows —?`:
```sql
                SELECT "award" FROM "other_awards" WHERE "year"<2004 AND "episode"='—';
```
## Task
Generate a SQL query to answer the following question:
`What award has a year later than 2004, and the episode was "The Road to Damuscus"?`

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

CREATE TABLE "other_awards" (
  "year" real,
  "award" text,
  "nominee" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What award has a year later than 2004, and the episode was "The Road to Damuscus"?`:
```sql
                SELECT "award" FROM "other_awards" WHERE "year">2004 AND "episode"='\"the road to damuscus\"';
```
## Task
Generate a SQL query to answer the following question:
`What year has a Nominee of —, and a Result of nominated?`

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

CREATE TABLE "other_awards" (
  "year" real,
  "award" text,
  "nominee" text,
  "episode" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year has a Nominee of —, and a Result of nominated?`:
```sql
                SELECT AVG("year") FROM "other_awards" WHERE "nominee"='—' AND "result"='nominated';
```
## Task
Generate a SQL query to answer the following question:
`What is the Country of the Play Electra?`

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

CREATE TABLE "references" (
  "play" text,
  "author" text,
  "company" text,
  "base" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Country of the Play Electra?`:
```sql
                SELECT "country" FROM "references" WHERE "play"='electra';
```
## Task
Generate a SQL query to answer the following question:
`What is the Athens Base play with Dance Theatre Roes Company?`

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

CREATE TABLE "references" (
  "play" text,
  "author" text,
  "company" text,
  "base" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Athens Base play with Dance Theatre Roes Company?`:
```sql
                SELECT "play" FROM "references" WHERE "base"='athens' AND "company"='dance theatre roes';
```
## Task
Generate a SQL query to answer the following question:
`Who is the author of the Play Electra?`

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

CREATE TABLE "references" (
  "play" text,
  "author" text,
  "company" text,
  "base" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the author of the Play Electra?`:
```sql
                SELECT "author" FROM "references" WHERE "play"='electra';
```
## Task
Generate a SQL query to answer the following question:
`Waht is the Country of the play by Author Aristophanes?`

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

CREATE TABLE "references" (
  "play" text,
  "author" text,
  "company" text,
  "base" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Waht is the Country of the play by Author Aristophanes?`:
```sql
                SELECT "country" FROM "references" WHERE "author"='aristophanes';
```
## Task
Generate a SQL query to answer the following question:
`What Country has the Play The Libation Bearers a Base of Mecklenburg?`

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

CREATE TABLE "references" (
  "play" text,
  "author" text,
  "company" text,
  "base" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Country has the Play The Libation Bearers a Base of Mecklenburg?`:
```sql
                SELECT "country" FROM "references" WHERE "base"='mecklenburg' AND "play"='the libation bearers';
```
## Task
Generate a SQL query to answer the following question:
`Which series had a title of Boyhood Daze?`

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

CREATE TABLE "1957" (
  "title" text,
  "series" text,
  "director" text,
  "release_date" text,
  "reissue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which series had a title of Boyhood Daze?`:
```sql
                SELECT "series" FROM "1957" WHERE "title"='boyhood daze';
```
## Task
Generate a SQL query to answer the following question:
`What was the release date of Rabbit Romeo?`

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

CREATE TABLE "1957" (
  "title" text,
  "series" text,
  "director" text,
  "release_date" text,
  "reissue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the release date of Rabbit Romeo?`:
```sql
                SELECT "release_date" FROM "1957" WHERE "title"='rabbit romeo';
```
## Task
Generate a SQL query to answer the following question:
`What was the release date of Three Little Bops?`

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

CREATE TABLE "1957" (
  "title" text,
  "series" text,
  "director" text,
  "release_date" text,
  "reissue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the release date of Three Little Bops?`:
```sql
                SELECT "release_date" FROM "1957" WHERE "title"='three little bops';
```
## Task
Generate a SQL query to answer the following question:
`When earnings ($) is more than 583,796 after 1998 with 1 LPGA wins and greater than 10 Money list rank, what is the smallest 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,
  "lpga_wins" real,
  "earnings" real,
  "money_list_rank" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `When earnings ($) is more than 583,796 after 1998 with 1 LPGA wins and greater than 10 Money list rank, what is the smallest average?`:
```sql
                SELECT MIN("average") FROM "lpga_tour_career_summary" WHERE "year">1998 AND "earnings">'583,796' AND "lpga_wins"=1 AND "money_list_rank">10;
```
## Task
Generate a SQL query to answer the following question:
`In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "lpga_wins" real,
  "earnings" real,
  "money_list_rank" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `In 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank?`:
```sql
                SELECT MIN("money_list_rank") FROM "lpga_tour_career_summary" WHERE "lpga_wins"<2 AND "year"=2005 AND "earnings"<'615,499';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of money list rank after 1999 when the average is less than 73.27 and earnings is 583,796?`

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

CREATE TABLE "lpga_tour_career_summary" (
  "year" real,
  "lpga_wins" real,
  "earnings" real,
  "money_list_rank" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of money list rank after 1999 when the average is less than 73.27 and earnings is 583,796?`:
```sql
                SELECT COUNT("money_list_rank") FROM "lpga_tour_career_summary" WHERE "average"<73.27 AND "earnings"='583,796' AND "year">1999;
```
## Task
Generate a SQL query to answer the following question:
`What is the team name from Hammond Bishop Noll?`

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

CREATE TABLE "membership" (
  "school" text,
  "city" text,
  "team_name" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "county" text,
  "year_joined" text,
  "previous_counference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team name from Hammond Bishop Noll?`:
```sql
                SELECT "team_name" FROM "membership" WHERE "school"='hammond bishop noll';
```
## Task
Generate a SQL query to answer the following question:
`What city has a team in IHSAA class 3a, and previous conference of lake?`

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

CREATE TABLE "membership" (
  "school" text,
  "city" text,
  "team_name" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "county" text,
  "year_joined" text,
  "previous_counference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city has a team in IHSAA class 3a, and previous conference of lake?`:
```sql
                SELECT "city" FROM "membership" WHERE "previous_counference"='lake' AND "ihsaa_class"='3a';
```
## Task
Generate a SQL query to answer the following question:
`What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A?`

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

CREATE TABLE "membership" (
  "school" text,
  "city" text,
  "team_name" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "county" text,
  "year_joined" text,
  "previous_counference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A?`:
```sql
                SELECT AVG("enrollment_08_09") FROM "membership" WHERE "previous_counference"='lake' AND "ihsaa_class"='3a';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Kroger Classic Tournament?`

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

CREATE TABLE "champions_tour_wins_25" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Kroger Classic Tournament?`:
```sql
                SELECT "date" FROM "champions_tour_wins_25" WHERE "tournament"='kroger classic';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Ameritech Senior Open?`

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

CREATE TABLE "champions_tour_wins_25" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Ameritech Senior Open?`:
```sql
                SELECT "date" FROM "champions_tour_wins_25" WHERE "tournament"='ameritech senior open';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament has a Winning score of −16 (66-64-67=197)?`

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

CREATE TABLE "champions_tour_wins_25" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament has a Winning score of −16 (66-64-67=197)?`:
```sql
                SELECT "tournament" FROM "champions_tour_wins_25" WHERE "winning_score"='−16 (66-64-67=197)';
```
## Task
Generate a SQL query to answer the following question:
`What Japanese On'yomi has Catonese Jyutping of jyut6?`

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

CREATE TABLE "table" (
  "celestial_stem" text,
  "chinese_mandarin_pinyin" text,
  "cantonese_jyutping" text,
  "wuu_wuupin" text,
  "japanese_kunyomi" text,
  "japanese_on_yomi" text,
  "korean_rr" text,
  "manchu_m_llendorff" text,
  "vietnamese" text,
  "yin_and_yang" text,
  "wu_xing" text,
  "wu_xing_correlations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Japanese On'yomi has Catonese Jyutping of jyut6?`:
```sql
                SELECT "japanese_on_yomi" FROM "table" WHERE "cantonese_jyutping"='jyut6';
```
## Task
Generate a SQL query to answer the following question:
`What Japanese On'yomi has Vietnamese of Mậu?`

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

CREATE TABLE "table" (
  "celestial_stem" text,
  "chinese_mandarin_pinyin" text,
  "cantonese_jyutping" text,
  "wuu_wuupin" text,
  "japanese_kunyomi" text,
  "japanese_on_yomi" text,
  "korean_rr" text,
  "manchu_m_llendorff" text,
  "vietnamese" text,
  "yin_and_yang" text,
  "wu_xing" text,
  "wu_xing_correlations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Japanese On'yomi has Vietnamese of Mậu?`:
```sql
                SELECT "japanese_on_yomi" FROM "table" WHERE "vietnamese"='mậu';
```
## Task
Generate a SQL query to answer the following question:
`What is Wu Xing (五行) with Korean (RR) of 임 (im)?`

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

CREATE TABLE "table" (
  "celestial_stem" text,
  "chinese_mandarin_pinyin" text,
  "cantonese_jyutping" text,
  "wuu_wuupin" text,
  "japanese_kunyomi" text,
  "japanese_on_yomi" text,
  "korean_rr" text,
  "manchu_m_llendorff" text,
  "vietnamese" text,
  "yin_and_yang" text,
  "wu_xing" text,
  "wu_xing_correlations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Wu Xing (五行) with Korean (RR) of 임 (im)?`:
```sql
                SELECT "wu_xing" FROM "table" WHERE "korean_rr"='임 (im)';
```
## Task
Generate a SQL query to answer the following question:
`What's Manchu (Möllendorff) with the Wi Xing Correltation of  南 South, along with Wuu Wuupin of ting44?`

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

CREATE TABLE "table" (
  "celestial_stem" text,
  "chinese_mandarin_pinyin" text,
  "cantonese_jyutping" text,
  "wuu_wuupin" text,
  "japanese_kunyomi" text,
  "japanese_on_yomi" text,
  "korean_rr" text,
  "manchu_m_llendorff" text,
  "vietnamese" text,
  "yin_and_yang" text,
  "wu_xing" text,
  "wu_xing_correlations" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's Manchu (Möllendorff) with the Wi Xing Correltation of  南 South, along with Wuu Wuupin of ting44?`:
```sql
                SELECT "manchu_m_llendorff" FROM "table" WHERE "wu_xing_correlations"='南 south' AND "wuu_wuupin"='ting44';
```
## Task
Generate a SQL query to answer the following question:
`Which Japanese Title has a TV Station of ntv?`

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

CREATE TABLE "2005_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "theme_song_s" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Japanese Title has a TV Station of ntv?`:
```sql
                SELECT "japanese_title" FROM "2005_spring_season" WHERE "tv_station"='ntv';
```
## Task
Generate a SQL query to answer the following question:
`Which TV Station has a Romaji Title of kegareta shita?`

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

CREATE TABLE "2005_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "theme_song_s" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which TV Station has a Romaji Title of kegareta shita?`:
```sql
                SELECT "tv_station" FROM "2005_spring_season" WHERE "romaji_title"='kegareta shita';
```
## Task
Generate a SQL query to answer the following question:
`Which Theme Song(s) has a Japanese Title of 恋におちたら～僕の成功の秘密～?`

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

CREATE TABLE "2005_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "theme_song_s" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Theme Song(s) has a Japanese Title of 恋におちたら～僕の成功の秘密～?`:
```sql
                SELECT "theme_song_s" FROM "2005_spring_season" WHERE "japanese_title"='恋におちたら～僕の成功の秘密～';
```
## Task
Generate a SQL query to answer the following question:
`Churai has what as the fewest number of electorates?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `Churai has what as the fewest number of electorates?`:
```sql
                SELECT MIN("number_of_electorates_2009") FROM "assembly_segments" WHERE "name"='churai';
```
## Task
Generate a SQL query to answer the following question:
`what is the title when the release date is 1938-12-17 and the production number is 8610?`

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

CREATE TABLE "1938" (
  "title" text,
  "series" text,
  "director" text,
  "production_num" text,
  "release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the title when the release date is 1938-12-17 and the production number is 8610?`:
```sql
                SELECT "title" FROM "1938" WHERE "release_date"='1938-12-17' AND "production_num"='8610';
```
## Task
Generate a SQL query to answer the following question:
`The match played July 8, 2007 had what outcome?`

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

CREATE TABLE "singles_0_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `The match played July 8, 2007 had what outcome?`:
```sql
                SELECT "outcome" FROM "singles_0_7" WHERE "date"='july 8, 2007';
```
## Task
Generate a SQL query to answer the following question:
`The final match played against Evie Dominikovic was played on what surface?`

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

CREATE TABLE "singles_0_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `The final match played against Evie Dominikovic was played on what surface?`:
```sql
                SELECT "surface" FROM "singles_0_7" WHERE "opponent_in_the_final"='evie dominikovic';
```
## Task
Generate a SQL query to answer the following question:
`Olga Blahotová was the opponent in the final at what tournament?`

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

CREATE TABLE "singles_0_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Olga Blahotová was the opponent in the final at what tournament?`:
```sql
                SELECT "tournament" FROM "singles_0_7" WHERE "opponent_in_the_final"='olga blahotová';
```
## Task
Generate a SQL query to answer the following question:
`In the final against Ashley Harkleroad what was the score?`

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

CREATE TABLE "singles_0_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the final against Ashley Harkleroad what was the score?`:
```sql
                SELECT "score" FROM "singles_0_7" WHERE "opponent_in_the_final"='ashley harkleroad';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for the 2008 club Liaoning?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for the 2008 club Liaoning?`:
```sql
                SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='liaoning';
```
## Task
Generate a SQL query to answer the following question:
`What is the height for the Tianjin members in 2008?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the height for the Tianjin members in 2008?`:
```sql
                SELECT "height" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='tianjin';
```
## Task
Generate a SQL query to answer the following question:
`At what time did the opponent Takaichi Hirayama have an event?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what time did the opponent Takaichi Hirayama have an event?`:
```sql
                SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='takaichi hirayama';
```
## Task
Generate a SQL query to answer the following question:
`In which round was Gabriel Veiga the opponent?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which round was Gabriel Veiga the opponent?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='gabriel veiga';
```
## Task
Generate a SQL query to answer the following question:
`Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "res"='loss' AND "event"='juiz de fora - fight 1';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a record of 4-2?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a record of 4-2?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='4-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Reserved for when there are more than 161,219 electorates in 2009 and a constituency of 160?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Reserved for when there are more than 161,219 electorates in 2009 and a constituency of 160?`:
```sql
                SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "number_of_electorates_2009">'161,219' AND "constituency_number"='160';
```
## Task
Generate a SQL query to answer the following question:
`What is the name when there are more than 161,219 electorates in 2009 and a constituency of 165?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name when there are more than 161,219 electorates in 2009 and a constituency of 165?`:
```sql
                SELECT "name" FROM "assembly_segments" WHERE "number_of_electorates_2009">'161,219' AND "constituency_number"='165';
```
## Task
Generate a SQL query to answer the following question:
`what is the country for zhang xiuyun?`

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

CREATE TABLE "quarterfinal_3" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country for zhang xiuyun?`:
```sql
                SELECT "country" FROM "quarterfinal_3" WHERE "athlete"='zhang xiuyun';
```
## Task
Generate a SQL query to answer the following question:
`what is the country for fabiana beltrame?`

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

CREATE TABLE "quarterfinal_3" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country for fabiana beltrame?`:
```sql
                SELECT "country" FROM "quarterfinal_3" WHERE "athlete"='fabiana beltrame';
```
## Task
Generate a SQL query to answer the following question:
`what is the notes when the time is 7:58.71?`

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

CREATE TABLE "quarterfinal_3" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the notes when the time is 7:58.71?`:
```sql
                SELECT "notes" FROM "quarterfinal_3" WHERE "time"='7:58.71';
```
## Task
Generate a SQL query to answer the following question:
`what is the highest rank when the time is 7:52.65?`

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

CREATE TABLE "quarterfinal_3" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the highest rank when the time is 7:52.65?`:
```sql
                SELECT MAX("rank") FROM "quarterfinal_3" WHERE "time"='7:52.65';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?`

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

CREATE TABLE "quarterfinal_3" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?`:
```sql
                SELECT "country" FROM "quarterfinal_3" WHERE "notes"='sa/b' AND "rank">1 AND "athlete"='zhang xiuyun';
```
## Task
Generate a SQL query to answer the following question:
`Who had a rank under 17 with a total of 119?`

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

CREATE TABLE "qualification_round" (
  "rank" real,
  "athlete" text,
  "country" text,
  "day_1" real,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had a rank under 17 with a total of 119?`:
```sql
                SELECT "athlete" FROM "qualification_round" WHERE "rank"<17 AND "total"='119';
```
## Task
Generate a SQL query to answer the following question:
`What round has 2-1 as the result, and A as the venue?`

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

CREATE TABLE "league_cup" (
  "round" text,
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What round has 2-1 as the result, and A as the venue?`:
```sql
                SELECT "round" FROM "league_cup" WHERE "result"='2-1' AND "venue"='a';
```
## Task
Generate a SQL query to answer the following question:
`What is the most time for the swimmer from South Africa who was in a lane greater than 3?`

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

CREATE TABLE "semifinal_2" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most time for the swimmer from South Africa who was in a lane greater than 3?`:
```sql
                SELECT MAX("time") FROM "semifinal_2" WHERE "nationality"='south africa' AND "lane">3;
```
## Task
Generate a SQL query to answer the following question:
`Which school has enrollment of 887?`

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

CREATE TABLE "indiana_high_school_athletics_conference" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_class" text,
  "ihsaa_football_class" text,
  "county" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school has enrollment of 887?`:
```sql
                SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "enrollment"=887;
```
## Task
Generate a SQL query to answer the following question:
`what is the round when the pick # is less than 236 and the position is offensive guard?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the round when the pick # is less than 236 and the position is offensive guard?`:
```sql
                SELECT AVG("round") FROM "nfl_draft" WHERE "pick_num"<236 AND "position"='offensive guard';
```
## Task
Generate a SQL query to answer the following question:
`what is the position in round 3?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the position in round 3?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "round"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Position of the Pick 8 Player?`

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

CREATE TABLE "draft_selections" (
  "round" real,
  "pick" real,
  "position" text,
  "nationality" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Position of the Pick 8 Player?`:
```sql
                SELECT "position" FROM "draft_selections" WHERE "pick"=8;
```
## Task
Generate a SQL query to answer the following question:
`Which High assists has a Score of w 71-56?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which High assists has a Score of w 71-56?`:
```sql
                SELECT "high_assists" FROM "regular_season" WHERE "score"='w 71-56';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a High assists of whalen (5)?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a High assists of whalen (5)?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "high_assists"='whalen (5)';
```