cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the code for Latvian Lats?`

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

CREATE TABLE "erm_ii_members" (
  "currency" text,
  "code" text,
  "entry_erm_ii" text,
  "central_rate" text,
  "official_target_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the code for Latvian Lats?`:
```sql
                SELECT "code" FROM "erm_ii_members" WHERE "currency"='latvian lats';
```
## Task
Generate a SQL query to answer the following question:
`Which currency has a central rate of 3.45280?`

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

CREATE TABLE "erm_ii_members" (
  "currency" text,
  "code" text,
  "entry_erm_ii" text,
  "central_rate" text,
  "official_target_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which currency has a central rate of 3.45280?`:
```sql
                SELECT "currency" FROM "erm_ii_members" WHERE "central_rate"='3.45280';
```
## Task
Generate a SQL query to answer the following question:
`Which currency has a central rate of 0.702804?`

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

CREATE TABLE "erm_ii_members" (
  "currency" text,
  "code" text,
  "entry_erm_ii" text,
  "central_rate" text,
  "official_target_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which currency has a central rate of 0.702804?`:
```sql
                SELECT "currency" FROM "erm_ii_members" WHERE "central_rate"='0.702804';
```
## Task
Generate a SQL query to answer the following question:
`What is the entry ERM II for the Hungarian Forint?`

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

CREATE TABLE "erm_ii_members" (
  "currency" text,
  "code" text,
  "entry_erm_ii" text,
  "central_rate" text,
  "official_target_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the entry ERM II for the Hungarian Forint?`:
```sql
                SELECT "entry_erm_ii" FROM "erm_ii_members" WHERE "currency"='hungarian forint';
```
## Task
Generate a SQL query to answer the following question:
`What is the official target date for the Swedish Krona?`

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

CREATE TABLE "erm_ii_members" (
  "currency" text,
  "code" text,
  "entry_erm_ii" text,
  "central_rate" text,
  "official_target_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the official target date for the Swedish Krona?`:
```sql
                SELECT "official_target_date" FROM "erm_ii_members" WHERE "currency"='swedish krona';
```
## Task
Generate a SQL query to answer the following question:
`The EPT German open was won by which listed winner?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `The EPT German open was won by which listed winner?`:
```sql
                SELECT "winner" FROM "european_poker_tour" WHERE "event"='ept german open';
```
## Task
Generate a SQL query to answer the following question:
`What event did Will Fry win?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What event did Will Fry win?`:
```sql
                SELECT "event" FROM "european_poker_tour" WHERE "winner"='will fry';
```
## Task
Generate a SQL query to answer the following question:
`The EPT German Open took place in what city?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `The EPT German Open took place in what city?`:
```sql
                SELECT "city" FROM "european_poker_tour" WHERE "event"='ept german open';
```
## Task
Generate a SQL query to answer the following question:
`When did an event take place in the City of Copenhagen?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did an event take place in the City of Copenhagen?`:
```sql
                SELECT "date" FROM "european_poker_tour" WHERE "city"='copenhagen';
```
## Task
Generate a SQL query to answer the following question:
`The prize of £1,000,000 was given by an event in what city?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `The prize of £1,000,000 was given by an event in what city?`:
```sql
                SELECT "city" FROM "european_poker_tour" WHERE "prize"='£1,000,000';
```
## Task
Generate a SQL query to answer the following question:
`João Barbosa was the winner of which event?`

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

CREATE TABLE "european_poker_tour" (
  "date" text,
  "city" text,
  "event" text,
  "winner" text,
  "prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `João Barbosa was the winner of which event?`:
```sql
                SELECT "event" FROM "european_poker_tour" WHERE "winner"='joão barbosa';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance during the Home game where St. Johnstone was the Opponent?`

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

CREATE TABLE "scottish_premier_league" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result_celtic_score_first" text,
  "attendance" real,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance during the Home game where St. Johnstone was the Opponent?`:
```sql
                SELECT COUNT("attendance") FROM "scottish_premier_league" WHERE "opponent"='st. johnstone' AND "venue"='home';
```
## Task
Generate a SQL query to answer the following question:
`Which class has a Class Position of 6th?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has a Class Position of 6th?`:
```sql
                SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "class_pos"='6th';
```
## Task
Generate a SQL query to answer the following question:
`Which class has a Year of 1968?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has a Year of 1968?`:
```sql
                SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "year"=1968;
```
## Task
Generate a SQL query to answer the following question:
`Which class has a Team of kouros racing team?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has a Team of kouros racing team?`:
```sql
                SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "team"='kouros racing team';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when the Result is 42-3?`

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

CREATE TABLE "1970s_colts_11_9" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when the Result is 42-3?`:
```sql
                SELECT "winner" FROM "1970s_colts_11_9" WHERE "loser"='baltimore colts' AND "location"='schaefer stadium' AND "result"='42-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?`

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

CREATE TABLE "1970s_colts_11_9" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?`:
```sql
                SELECT "location" FROM "1970s_colts_11_9" WHERE "winner"='baltimore colts' AND "year"<1972 AND "result"='14-6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?`

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

CREATE TABLE "1970s_colts_11_9" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?`:
```sql
                SELECT "date" FROM "1970s_colts_11_9" WHERE "year">1978 AND "location"='memorial stadium (baltimore)';
```
## Task
Generate a SQL query to answer the following question:
`Which engine has a Chassis of lotus 44 f2?`

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

CREATE TABLE "formula_one_world_championship_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which engine has a Chassis of lotus 44 f2?`:
```sql
                SELECT "engine" FROM "formula_one_world_championship_results" WHERE "chassis"='lotus 44 f2';
```
## Task
Generate a SQL query to answer the following question:
`What entrant appeared in 1969?`

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

CREATE TABLE "formula_one_world_championship_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What entrant appeared in 1969?`:
```sql
                SELECT "entrant" FROM "formula_one_world_championship_results" WHERE "year"=1969;
```
## Task
Generate a SQL query to answer the following question:
`Which engine has a Year larger than 1969?`

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

CREATE TABLE "formula_one_world_championship_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which engine has a Year larger than 1969?`:
```sql
                SELECT "engine" FROM "formula_one_world_championship_results" WHERE "year">1969;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest year with an Entrant of ron harris / team lotus?`

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

CREATE TABLE "formula_one_world_championship_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest year with an Entrant of ron harris / team lotus?`:
```sql
                SELECT MAX("year") FROM "formula_one_world_championship_results" WHERE "entrant"='ron harris / team lotus';
```
## Task
Generate a SQL query to answer the following question:
`During stage 21, who held the Intergiro classification?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `During stage 21, who held the Intergiro classification?`:
```sql
                SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "stage"='21';
```
## Task
Generate a SQL query to answer the following question:
`During which stage was gatorade the Trofeo Fast Team?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which stage was gatorade the Trofeo Fast Team?`:
```sql
                SELECT "stage" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='gatorade';
```
## Task
Generate a SQL query to answer the following question:
`Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio?`:
```sql
                SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='gb-mg maglificio';
```
## Task
Generate a SQL query to answer the following question:
`During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra?`:
```sql
                SELECT "stage" FROM "classification_leadership_by_stage" WHERE "intergiro_classification"='miguel indurain' AND "points_classification"='mario cipollini' AND "young_rider_classification"='leonardo sierra';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner when the General classification was held by Miguel Indurain, the Points classification held by Mario Cipollini, the Mountains classification held by Claudio Chiappucci, and the Young RIder classification held by Pavel Tonkov?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "young_rider_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner when the General classification was held by Miguel Indurain, the Points classification held by Mario Cipollini, the Mountains classification held by Claudio Chiappucci, and the Young RIder classification held by Pavel Tonkov?`:
```sql
                SELECT "winner" FROM "classification_leadership_by_stage" WHERE "general_classification"='miguel indurain' AND "points_classification"='mario cipollini' AND "mountains_classification"='claudio chiappucci' AND "young_rider_classification"='pavel tonkov';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of Strong's Words Compounded of yasha [# 3467] & yahu?`

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

CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
  "strong_s_num" text,
  "hebrew_word" text,
  "strong_s_transliteration" text,
  "strong_s_words_compounded" text,
  "english_spelling" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of Strong's Words Compounded of yasha [# 3467] & yahu?`:
```sql
                SELECT "strong_s_num" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strong_s_words_compounded"='yasha [# 3467] & yahu';
```
## Task
Generate a SQL query to answer the following question:
`How to spell Strong's # of 5166 in English?`

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

CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
  "strong_s_num" text,
  "hebrew_word" text,
  "strong_s_transliteration" text,
  "strong_s_words_compounded" text,
  "english_spelling" text
);
### SQL
Given the database schema, here is the SQL query that answers `How to spell Strong's # of 5166 in English?`:
```sql
                SELECT "english_spelling" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strong_s_num"='5166';
```
## Task
Generate a SQL query to answer the following question:
`What is the Words with a Strong's # of 5418?`

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

CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
  "strong_s_num" text,
  "hebrew_word" text,
  "strong_s_transliteration" text,
  "strong_s_words_compounded" text,
  "english_spelling" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Words with a Strong's # of 5418?`:
```sql
                SELECT "strong_s_words_compounded" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strong_s_num"='5418';
```
## Task
Generate a SQL query to answer the following question:
`What is the goals against for the goalkeeper with 2520 minutes?`

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

CREATE TABLE "goalkeeping_leaders" (
  "player" text,
  "club" text,
  "games_played" real,
  "minutes" real,
  "goals_against" real,
  "ga_average" real,
  "wins" real,
  "loses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the goals against for the goalkeeper with 2520 minutes?`:
```sql
                SELECT "goals_against" FROM "goalkeeping_leaders" WHERE "minutes"=2520;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses?`

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

CREATE TABLE "goalkeeping_leaders" (
  "player" text,
  "club" text,
  "games_played" real,
  "minutes" real,
  "goals_against" real,
  "ga_average" real,
  "wins" real,
  "loses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses?`:
```sql
                SELECT AVG("games_played") FROM "goalkeeping_leaders" WHERE "loses"=10 AND "player"='bo oshoniyi' AND "minutes">1170;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had?`

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

CREATE TABLE "goalkeeping_leaders" (
  "player" text,
  "club" text,
  "games_played" real,
  "minutes" real,
  "goals_against" real,
  "ga_average" real,
  "wins" real,
  "loses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had?`:
```sql
                SELECT MAX("goals_against") FROM "goalkeeping_leaders" WHERE "club"='dallas burn' AND "ga_average">1.46;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of losses a goalkeeper with more than 2776 minutes had?`

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

CREATE TABLE "goalkeeping_leaders" (
  "player" text,
  "club" text,
  "games_played" real,
  "minutes" real,
  "goals_against" real,
  "ga_average" real,
  "wins" real,
  "loses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of losses a goalkeeper with more than 2776 minutes had?`:
```sql
                SELECT MIN("loses") FROM "goalkeeping_leaders" WHERE "minutes">2776;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest minutes a goalkeeper with 13 games played has?`

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

CREATE TABLE "goalkeeping_leaders" (
  "player" text,
  "club" text,
  "games_played" real,
  "minutes" real,
  "goals_against" real,
  "ga_average" real,
  "wins" real,
  "loses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest minutes a goalkeeper with 13 games played has?`:
```sql
                SELECT MIN("minutes") FROM "goalkeeping_leaders" WHERE "games_played"=13;
```
## Task
Generate a SQL query to answer the following question:
`Which round resulted in 10-52?`

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

CREATE TABLE "biggest_losses" (
  "margin" real,
  "score" text,
  "opponent" text,
  "venue" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round resulted in 10-52?`:
```sql
                SELECT "round" FROM "biggest_losses" WHERE "score"='10-52';
```
## Task
Generate a SQL query to answer the following question:
`What venue did Melbourne Storm played in Rd 7, 2006?`

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

CREATE TABLE "biggest_losses" (
  "margin" real,
  "score" text,
  "opponent" text,
  "venue" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue did Melbourne Storm played in Rd 7, 2006?`:
```sql
                SELECT "venue" FROM "biggest_losses" WHERE "opponent"='melbourne storm' AND "round"='rd 7, 2006';
```
## Task
Generate a SQL query to answer the following question:
`In which venue was the result a draw?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which venue was the result a draw?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "result"='draw';
```
## Task
Generate a SQL query to answer the following question:
`Who is the singer that has Comedian; II of Preeti Amin?`

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

CREATE TABLE "comedy_circus_ke_taansen" (
  "pair_no" real,
  "comedian_1" text,
  "comedian_ii" text,
  "tansen_singers" text,
  "place_result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the singer that has Comedian; II of Preeti Amin?`:
```sql
                SELECT "tansen_singers" FROM "comedy_circus_ke_taansen" WHERE "comedian_ii"='preeti amin';
```
## Task
Generate a SQL query to answer the following question:
`Who is the comedian that has a pair no larger than 5 with a comedian II: Jimmy Moses?`

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

CREATE TABLE "comedy_circus_ke_taansen" (
  "pair_no" real,
  "comedian_1" text,
  "comedian_ii" text,
  "tansen_singers" text,
  "place_result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the comedian that has a pair no larger than 5 with a comedian II: Jimmy Moses?`:
```sql
                SELECT "comedian_1" FROM "comedy_circus_ke_taansen" WHERE "pair_no">5 AND "comedian_ii"='jimmy moses';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of Comedian : II of Ali Asgar?`

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

CREATE TABLE "comedy_circus_ke_taansen" (
  "pair_no" real,
  "comedian_1" text,
  "comedian_ii" text,
  "tansen_singers" text,
  "place_result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of Comedian : II of Ali Asgar?`:
```sql
                SELECT "place_result" FROM "comedy_circus_ke_taansen" WHERE "comedian_ii"='ali asgar';
```
## Task
Generate a SQL query to answer the following question:
`Which School Colors were Founded of 1969, with an Institution of barton community college?`

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

CREATE TABLE "western_division" (
  "institution" text,
  "main_campus_location" text,
  "founded" real,
  "mascot" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which School Colors were Founded of 1969, with an Institution of barton community college?`:
```sql
                SELECT "school_colors" FROM "western_division" WHERE "founded"=1969 AND "institution"='barton community college';
```
## Task
Generate a SQL query to answer the following question:
`Which Institution has a Mascot of broncbusters?`

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

CREATE TABLE "western_division" (
  "institution" text,
  "main_campus_location" text,
  "founded" real,
  "mascot" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Institution has a Mascot of broncbusters?`:
```sql
                SELECT "institution" FROM "western_division" WHERE "mascot"='broncbusters';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest Founded with an Institution of cloud county community college?`

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

CREATE TABLE "western_division" (
  "institution" text,
  "main_campus_location" text,
  "founded" real,
  "mascot" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest Founded with an Institution of cloud county community college?`:
```sql
                SELECT MAX("founded") FROM "western_division" WHERE "institution"='cloud county community college';
```
## Task
Generate a SQL query to answer the following question:
`What is the total Founded with a Main Campus Location of liberal?`

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

CREATE TABLE "western_division" (
  "institution" text,
  "main_campus_location" text,
  "founded" real,
  "mascot" text,
  "school_colors" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total Founded with a Main Campus Location of liberal?`:
```sql
                SELECT COUNT("founded") FROM "western_division" WHERE "main_campus_location"='liberal';
```
## Task
Generate a SQL query to answer the following question:
`What is the 3-person dive that has none as the 2-person dive?`

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

CREATE TABLE "encounters" (
  "1_person_dive" text,
  "2_person_dive" text,
  "3_person_dive" text,
  "surface" text,
  "cage_dive" text,
  "seal_turtle_decoy" text,
  "catch_release" text,
  "attached_camera" text,
  "remote_camera" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 3-person dive that has none as the 2-person dive?`:
```sql
                SELECT "3_person_dive" FROM "encounters" WHERE "2_person_dive"='none';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2-person dive that has 2 as the surface?`

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

CREATE TABLE "encounters" (
  "1_person_dive" text,
  "2_person_dive" text,
  "3_person_dive" text,
  "surface" text,
  "cage_dive" text,
  "seal_turtle_decoy" text,
  "catch_release" text,
  "attached_camera" text,
  "remote_camera" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2-person dive that has 2 as the surface?`:
```sql
                SELECT "2_person_dive" FROM "encounters" WHERE "surface"='2';
```
## Task
Generate a SQL query to answer the following question:
`What surface has 2 as a cage dive?`

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

CREATE TABLE "encounters" (
  "1_person_dive" text,
  "2_person_dive" text,
  "3_person_dive" text,
  "surface" text,
  "cage_dive" text,
  "seal_turtle_decoy" text,
  "catch_release" text,
  "attached_camera" text,
  "remote_camera" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface has 2 as a cage dive?`:
```sql
                SELECT "surface" FROM "encounters" WHERE "cage_dive"='2';
```
## Task
Generate a SQL query to answer the following question:
`Which cage dive has none as a 3-person dive?`

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

CREATE TABLE "encounters" (
  "1_person_dive" text,
  "2_person_dive" text,
  "3_person_dive" text,
  "surface" text,
  "cage_dive" text,
  "seal_turtle_decoy" text,
  "catch_release" text,
  "attached_camera" text,
  "remote_camera" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which cage dive has none as a 3-person dive?`:
```sql
                SELECT "cage_dive" FROM "encounters" WHERE "3_person_dive"='none';
```
## Task
Generate a SQL query to answer the following question:
`Which 3-person dive has 0 as a remote camera?`

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

CREATE TABLE "encounters" (
  "1_person_dive" text,
  "2_person_dive" text,
  "3_person_dive" text,
  "surface" text,
  "cage_dive" text,
  "seal_turtle_decoy" text,
  "catch_release" text,
  "attached_camera" text,
  "remote_camera" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 3-person dive has 0 as a remote camera?`:
```sql
                SELECT "3_person_dive" FROM "encounters" WHERE "remote_camera"='0';
```
## Task
Generate a SQL query to answer the following question:
`Which years have a Decile smaller than 2, and an Area of mohaka?`

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

CREATE TABLE "wairoa_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which years have a Decile smaller than 2, and an Area of mohaka?`:
```sql
                SELECT "years" FROM "wairoa_district" WHERE "decile"<2 AND "area"='mohaka';
```
## Task
Generate a SQL query to answer the following question:
`Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?`

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

CREATE TABLE "wairoa_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?`:
```sql
                SELECT "gender" FROM "wairoa_district" WHERE "authority"='state' AND "years"='1–8' AND "decile"<10 AND "roll"=36;
```
## Task
Generate a SQL query to answer the following question:
`Which roll has an Area of mahia?`

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

CREATE TABLE "wairoa_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which roll has an Area of mahia?`:
```sql
                SELECT "roll" FROM "wairoa_district" WHERE "area"='mahia';
```
## Task
Generate a SQL query to answer the following question:
`Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori?`

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

CREATE TABLE "wairoa_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori?`:
```sql
                SELECT "decile" FROM "wairoa_district" WHERE "authority"='state' AND "roll"<61 AND "area"='kotemaori';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest League Cup with an FA Cup thats larger than 2?`

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

CREATE TABLE "appearances" (
  "name" text,
  "league" real,
  "play_offs" real,
  "fa_cup" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest League Cup with an FA Cup thats larger than 2?`:
```sql
                SELECT MAX("league_cup") FROM "appearances" WHERE "fa_cup">2;
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11?`

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

CREATE TABLE "appearances" (
  "name" text,
  "league" real,
  "play_offs" real,
  "fa_cup" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11?`:
```sql
                SELECT COUNT("fa_cup") FROM "appearances" WHERE "play_offs"=3 AND "name"='mitch cook category:articles with hcards' AND "total"<11;
```
## Task
Generate a SQL query to answer the following question:
`What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0?`

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

CREATE TABLE "appearances" (
  "name" text,
  "league" real,
  "play_offs" real,
  "fa_cup" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0?`:
```sql
                SELECT COUNT("fa_cup") FROM "appearances" WHERE "league"<29 AND "play_offs"<0;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?`

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

CREATE TABLE "appearances" (
  "name" text,
  "league" real,
  "play_offs" real,
  "fa_cup" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?`:
```sql
                SELECT MIN("play_offs") FROM "appearances" WHERE "league"=4 AND "fa_cup">1;
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?`

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

CREATE TABLE "appearances" (
  "name" text,
  "league" real,
  "play_offs" real,
  "fa_cup" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?`:
```sql
                SELECT COUNT("league_cup") FROM "appearances" WHERE "play_offs">2 AND "name"='mitch cook category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is the number for the Channel 4 weekly rank when there are more than 2.19 million viewers for the episode "zero worship" which was earlier than episode 34?`

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

CREATE TABLE "united_kingdom" (
  "episode_num" real,
  "title" text,
  "airdate" text,
  "viewers_millions" real,
  "channel_4_weekly_rank_a" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number for the Channel 4 weekly rank when there are more than 2.19 million viewers for the episode "zero worship" which was earlier than episode 34?`:
```sql
                SELECT COUNT("channel_4_weekly_rank_a") FROM "united_kingdom" WHERE "viewers_millions">2.19 AND "title"='\"zero worship\"' AND "episode_num"<34;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?`

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

CREATE TABLE "united_kingdom" (
  "episode_num" real,
  "title" text,
  "airdate" text,
  "viewers_millions" real,
  "channel_4_weekly_rank_a" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?`:
```sql
                SELECT AVG("channel_4_weekly_rank_a") FROM "united_kingdom" WHERE "viewers_millions"<2.19 AND "airdate"='december 7, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30?`

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

CREATE TABLE "united_kingdom" (
  "episode_num" real,
  "title" text,
  "airdate" text,
  "viewers_millions" real,
  "channel_4_weekly_rank_a" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30?`:
```sql
                SELECT COUNT("viewers_millions") FROM "united_kingdom" WHERE "airdate"='october 10, 2008' AND "channel_4_weekly_rank_a"<30;
```
## Task
Generate a SQL query to answer the following question:
`What is the duration of the flight with end time of 21:06?`

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

CREATE TABLE "ev_as" (
  "start_date_time" text,
  "duration" text,
  "end_time" text,
  "spacecraft" text,
  "crew" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration of the flight with end time of 21:06?`:
```sql
                SELECT "duration" FROM "ev_as" WHERE "end_time"='21:06';
```
## Task
Generate a SQL query to answer the following question:
`What is the spacecraft with end time of 4 September 04:51?`

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

CREATE TABLE "ev_as" (
  "start_date_time" text,
  "duration" text,
  "end_time" text,
  "spacecraft" text,
  "crew" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the spacecraft with end time of 4 September 04:51?`:
```sql
                SELECT "spacecraft" FROM "ev_as" WHERE "end_time"='4 september 04:51';
```
## Task
Generate a SQL query to answer the following question:
`What is the crew with the end time of 21:11?`

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

CREATE TABLE "ev_as" (
  "start_date_time" text,
  "duration" text,
  "end_time" text,
  "spacecraft" text,
  "crew" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the crew with the end time of 21:11?`:
```sql
                SELECT "crew" FROM "ev_as" WHERE "end_time"='21:11';
```
## Task
Generate a SQL query to answer the following question:
`What is the duration of the Expedition 20 ISS Zvezda?`

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

CREATE TABLE "ev_as" (
  "start_date_time" text,
  "duration" text,
  "end_time" text,
  "spacecraft" text,
  "crew" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the duration of the Expedition 20 ISS Zvezda?`:
```sql
                SELECT "duration" FROM "ev_as" WHERE "spacecraft"='expedition 20 iss zvezda';
```
## Task
Generate a SQL query to answer the following question:
`Who was the crew for the duration of 12 minutes?`

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

CREATE TABLE "ev_as" (
  "start_date_time" text,
  "duration" text,
  "end_time" text,
  "spacecraft" text,
  "crew" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the crew for the duration of 12 minutes?`:
```sql
                SELECT "crew" FROM "ev_as" WHERE "duration"='12 minutes';
```
## Task
Generate a SQL query to answer the following question:
`Name the sum of year for connaught engineering and points less than 0`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sum of year for connaught engineering and points less than 0`:
```sql
                SELECT SUM("year") FROM "complete_world_championship_formula_one_" WHERE "entrant"='connaught engineering' AND "points"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the average win percentage of a season with a GB of 5?`

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

CREATE TABLE "season_by_season_records" (
  "year" text,
  "record_a" text,
  "win_pct" real,
  "league_b" text,
  "division_c" text,
  "gb_d" text,
  "post_season_record_e" text,
  "post_season_win_pct" text,
  "mlb_affiliate_f" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average win percentage of a season with a GB of 5?`:
```sql
                SELECT AVG("win_pct") FROM "season_by_season_records" WHERE "gb_d"='5';
```
## Task
Generate a SQL query to answer the following question:
`What was the starting position of Joie Chitwood when he finished more than 200 laps?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the starting position of Joie Chitwood when he finished more than 200 laps?`:
```sql
                SELECT "start" FROM "indy_500_results" WHERE "laps">200;
```
## Task
Generate a SQL query to answer the following question:
`What is Chitwood's lowest completed number of laps with a qualifying time of 124.619?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Chitwood's lowest completed number of laps with a qualifying time of 124.619?`:
```sql
                SELECT MIN("laps") FROM "indy_500_results" WHERE "qual"='124.619';
```
## Task
Generate a SQL query to answer the following question:
`Which venue was used on 12 September 1998?`

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

CREATE TABLE "1963_1998" (
  "date" text,
  "venue" text,
  "score_a" text,
  "competition" text,
  "att" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue was used on 12 September 1998?`:
```sql
                SELECT "venue" FROM "1963_1998" WHERE "date"='12 september 1998';
```
## Task
Generate a SQL query to answer the following question:
`What is the score [A] of the match at Vanuatu (n) on 5 September 1998?`

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

CREATE TABLE "1963_1998" (
  "date" text,
  "venue" text,
  "score_a" text,
  "competition" text,
  "att" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score [A] of the match at Vanuatu (n) on 5 September 1998?`:
```sql
                SELECT "score_a" FROM "1963_1998" WHERE "venue"='vanuatu (n)' AND "date"='5 september 1998';
```
## Task
Generate a SQL query to answer the following question:
`What is the score [A] of the match on 19 September 1998?`

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

CREATE TABLE "1963_1998" (
  "date" text,
  "venue" text,
  "score_a" text,
  "competition" text,
  "att" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score [A] of the match on 19 September 1998?`:
```sql
                SELECT "score_a" FROM "1963_1998" WHERE "date"='19 september 1998';
```