cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the event with a 2:08 time?`

### 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the event with a 2:08 time?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "time"='2:08';
```
## Task
Generate a SQL query to answer the following question:
`What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?`

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

CREATE TABLE "locomotives" (
  "road_number" text,
  "traction" text,
  "builder" text,
  "built" text,
  "service" text,
  "wheels" text,
  "weight" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?`:
```sql
                SELECT "wheels" FROM "locomotives" WHERE "builder"='baldwin locomotive works';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has Against of 25?`

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

CREATE TABLE "1973" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has Against of 25?`:
```sql
                SELECT "venue" FROM "1973" WHERE "against"=25;
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has Against smaller than 6?`

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

CREATE TABLE "1973" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has Against smaller than 6?`:
```sql
                SELECT "venue" FROM "1973" WHERE "against"<6;
```
## Task
Generate a SQL query to answer the following question:
`What's the value for utah when colorado and new mexico are bush?`

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

CREATE TABLE "politics_of_the_southwestern_states" (
  "year" text,
  "arizona" text,
  "california" text,
  "colorado" text,
  "nevada" text,
  "new_mexico" text,
  "oklahoma" text,
  "texas" text,
  "utah" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the value for utah when colorado and new mexico are bush?`:
```sql
                SELECT "utah" FROM "politics_of_the_southwestern_states" WHERE "colorado"='bush' AND "new_mexico"='bush';
```
## Task
Generate a SQL query to answer the following question:
`What's the value for oklahoma when texas is kennedy?`

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

CREATE TABLE "politics_of_the_southwestern_states" (
  "year" text,
  "arizona" text,
  "california" text,
  "colorado" text,
  "nevada" text,
  "new_mexico" text,
  "oklahoma" text,
  "texas" text,
  "utah" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the value for oklahoma when texas is kennedy?`:
```sql
                SELECT "oklahoma" FROM "politics_of_the_southwestern_states" WHERE "texas"='kennedy';
```
## Task
Generate a SQL query to answer the following question:
`What's the value for utah when texas is humphrey?`

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

CREATE TABLE "politics_of_the_southwestern_states" (
  "year" text,
  "arizona" text,
  "california" text,
  "colorado" text,
  "nevada" text,
  "new_mexico" text,
  "oklahoma" text,
  "texas" text,
  "utah" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the value for utah when texas is humphrey?`:
```sql
                SELECT "utah" FROM "politics_of_the_southwestern_states" WHERE "texas"='humphrey';
```
## Task
Generate a SQL query to answer the following question:
`What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?`

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

CREATE TABLE "politics_of_the_southwestern_states" (
  "year" text,
  "arizona" text,
  "california" text,
  "colorado" text,
  "nevada" text,
  "new_mexico" text,
  "oklahoma" text,
  "texas" text,
  "utah" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?`:
```sql
                SELECT "arizona" FROM "politics_of_the_southwestern_states" WHERE "colorado"='nixon' AND "nevada"='nixon' AND "texas"='humphrey';
```
## Task
Generate a SQL query to answer the following question:
`What's the value for oklahoma when nevada and colorado are clinton?`

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

CREATE TABLE "politics_of_the_southwestern_states" (
  "year" text,
  "arizona" text,
  "california" text,
  "colorado" text,
  "nevada" text,
  "new_mexico" text,
  "oklahoma" text,
  "texas" text,
  "utah" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the value for oklahoma when nevada and colorado are clinton?`:
```sql
                SELECT "oklahoma" FROM "politics_of_the_southwestern_states" WHERE "nevada"='clinton' AND "colorado"='clinton';
```
## Task
Generate a SQL query to answer the following question:
`What's the value for arizona when utah is eisenhower?`

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

CREATE TABLE "politics_of_the_southwestern_states" (
  "year" text,
  "arizona" text,
  "california" text,
  "colorado" text,
  "nevada" text,
  "new_mexico" text,
  "oklahoma" text,
  "texas" text,
  "utah" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the value for arizona when utah is eisenhower?`:
```sql
                SELECT "arizona" FROM "politics_of_the_southwestern_states" WHERE "utah"='eisenhower';
```
## Task
Generate a SQL query to answer the following question:
`How often are there ads during American Top 40?`

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

CREATE TABLE "sunday_schedule" (
  "time" text,
  "show_name" text,
  "local_networked" text,
  "ad_freq" text,
  "news_freq" text
);
### SQL
Given the database schema, here is the SQL query that answers `How often are there ads during American Top 40?`:
```sql
                SELECT "ad_freq" FROM "sunday_schedule" WHERE "show_name"='american top 40';
```
## Task
Generate a SQL query to answer the following question:
`When does Classic Hits air?`

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

CREATE TABLE "sunday_schedule" (
  "time" text,
  "show_name" text,
  "local_networked" text,
  "ad_freq" text,
  "news_freq" text
);
### SQL
Given the database schema, here is the SQL query that answers `When does Classic Hits air?`:
```sql
                SELECT "time" FROM "sunday_schedule" WHERE "show_name"='classic hits';
```
## Task
Generate a SQL query to answer the following question:
`What is Pick #18's Role?`

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

CREATE TABLE "supplemental_draft" (
  "pick_num" real,
  "brand_to" text,
  "employee_real_name" text,
  "role" text,
  "brand_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pick #18's Role?`:
```sql
                SELECT "role" FROM "supplemental_draft" WHERE "pick_num"=18;
```
## Task
Generate a SQL query to answer the following question:
`What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?`

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

CREATE TABLE "department_of_skills_development" (
  "name_in_english" text,
  "name_in_malay" text,
  "acronym" text,
  "foundation" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?`:
```sql
                SELECT "foundation" FROM "department_of_skills_development" WHERE "name_in_english"='tanjung puteri technical secondary school';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?`

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

CREATE TABLE "department_of_skills_development" (
  "name_in_english" text,
  "name_in_malay" text,
  "acronym" text,
  "foundation" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?`:
```sql
                SELECT "location" FROM "department_of_skills_development" WHERE "name_in_malay"='kolej kemahiran belia nasional, pontian';
```
## Task
Generate a SQL query to answer the following question:
`What was the average money when the score was 68-69-68-72=277?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average money when the score was 68-69-68-72=277?`:
```sql
                SELECT AVG("money") FROM "final_leaderboard" WHERE "score"='68-69-68-72=277';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest money when the score was 69-68-67-69=273?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest money when the score was 69-68-67-69=273?`:
```sql
                SELECT MAX("money") FROM "final_leaderboard" WHERE "score"='69-68-67-69=273';
```
## Task
Generate a SQL query to answer the following question:
`What did South Africa place?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What did South Africa place?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`What county placed t2 and scored 68-69-68-72=277?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What county placed t2 and scored 68-69-68-72=277?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "place"='t2' AND "score"='68-69-68-72=277';
```
## Task
Generate a SQL query to answer the following question:
`Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?`

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

CREATE TABLE "monument_winners_since_1960" (
  "year" real,
  "milan_san_remo" text,
  "tour_of_flanders" text,
  "paris_roubaix" text,
  "li_ge_bastogne_li_ge" text,
  "giro_di_lombardia" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?`:
```sql
                SELECT "milan_san_remo" FROM "monument_winners_since_1960" WHERE "li_ge_bastogne_li_ge"='danilo di luca ( ita )';
```
## Task
Generate a SQL query to answer the following question:
`Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?`

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

CREATE TABLE "monument_winners_since_1960" (
  "year" real,
  "milan_san_remo" text,
  "tour_of_flanders" text,
  "paris_roubaix" text,
  "li_ge_bastogne_li_ge" text,
  "giro_di_lombardia" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?`:
```sql
                SELECT "giro_di_lombardia" FROM "monument_winners_since_1960" WHERE "paris_roubaix"='servais knaven ( ned )';
```
## Task
Generate a SQL query to answer the following question:
`what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?`

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

CREATE TABLE "monument_winners_since_1960" (
  "year" real,
  "milan_san_remo" text,
  "tour_of_flanders" text,
  "paris_roubaix" text,
  "li_ge_bastogne_li_ge" text,
  "giro_di_lombardia" text
);
### SQL
Given the database schema, here is the SQL query that answers `what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?`:
```sql
                SELECT "giro_di_lombardia" FROM "monument_winners_since_1960" WHERE "tour_of_flanders"='tom boonen ( bel )' AND "paris_roubaix"='fabian cancellara ( sui )';
```
## Task
Generate a SQL query to answer the following question:
`What are the cargo tonnes when the international (non-CIS) is 297 421?`

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

CREATE TABLE "statistics_for_airport_koltsovo" (
  "year" real,
  "total_passengers" text,
  "passenger_change" text,
  "domestic" text,
  "international_total" text,
  "international_non_cis" text,
  "aircraft_landings" text,
  "cargo_tonnes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the cargo tonnes when the international (non-CIS) is 297 421?`:
```sql
                SELECT "cargo_tonnes" FROM "statistics_for_airport_koltsovo" WHERE "international_non_cis"='297 421';
```
## Task
Generate a SQL query to answer the following question:
`How manu aircraft landings when the cargo tonnes are 18 344?`

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

CREATE TABLE "statistics_for_airport_koltsovo" (
  "year" real,
  "total_passengers" text,
  "passenger_change" text,
  "domestic" text,
  "international_total" text,
  "international_non_cis" text,
  "aircraft_landings" text,
  "cargo_tonnes" text
);
### SQL
Given the database schema, here is the SQL query that answers `How manu aircraft landings when the cargo tonnes are 18 344?`:
```sql
                SELECT "aircraft_landings" FROM "statistics_for_airport_koltsovo" WHERE "cargo_tonnes"='18 344';
```
## Task
Generate a SQL query to answer the following question:
`What is the domestic figure when cargo tonnes equal 25 866?`

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

CREATE TABLE "statistics_for_airport_koltsovo" (
  "year" real,
  "total_passengers" text,
  "passenger_change" text,
  "domestic" text,
  "international_total" text,
  "international_non_cis" text,
  "aircraft_landings" text,
  "cargo_tonnes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the domestic figure when cargo tonnes equal 25 866?`:
```sql
                SELECT "domestic" FROM "statistics_for_airport_koltsovo" WHERE "cargo_tonnes"='25 866';
```
## Task
Generate a SQL query to answer the following question:
`What is the year that saw a passenger change of +32,9%?`

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

CREATE TABLE "statistics_for_airport_koltsovo" (
  "year" real,
  "total_passengers" text,
  "passenger_change" text,
  "domestic" text,
  "international_total" text,
  "international_non_cis" text,
  "aircraft_landings" text,
  "cargo_tonnes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year that saw a passenger change of +32,9%?`:
```sql
                SELECT COUNT("year") FROM "statistics_for_airport_koltsovo" WHERE "passenger_change"='+32,9%';
```
## Task
Generate a SQL query to answer the following question:
`What year had cargo tonnes of 13 585?`

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

CREATE TABLE "statistics_for_airport_koltsovo" (
  "year" real,
  "total_passengers" text,
  "passenger_change" text,
  "domestic" text,
  "international_total" text,
  "international_non_cis" text,
  "aircraft_landings" text,
  "cargo_tonnes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year had cargo tonnes of 13 585?`:
```sql
                SELECT AVG("year") FROM "statistics_for_airport_koltsovo" WHERE "cargo_tonnes"='13 585';
```
## Task
Generate a SQL query to answer the following question:
`What round did the event UFC 86 take place?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did the event UFC 86 take place?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='ufc 86';
```
## Task
Generate a SQL query to answer the following question:
`What method was there in round 1 when the location was Aruba?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What method was there in round 1 when the location was Aruba?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "location"='aruba';
```
## Task
Generate a SQL query to answer the following question:
`What location was the event ufc: fight for the troops?`

### 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,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location was the event ufc: fight for the troops?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='ufc: fight for the troops';
```
## Task
Generate a SQL query to answer the following question:
`When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?`

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

CREATE TABLE "2010s_49ers_3_2_1" (
  "year" real,
  "date" text,
  "home_team" text,
  "result" text,
  "visiting_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?`:
```sql
                SELECT "date" FROM "2010s_49ers_3_2_1" WHERE "visiting_team"='st. louis rams' AND "result"='26-0';
```
## Task
Generate a SQL query to answer the following question:
`What date(s) was the game(s) at Candlestick Park?`

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

CREATE TABLE "2010s_49ers_3_2_1" (
  "year" real,
  "date" text,
  "home_team" text,
  "result" text,
  "visiting_team" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date(s) was the game(s) at Candlestick Park?`:
```sql
                SELECT "date" FROM "2010s_49ers_3_2_1" WHERE "venue"='candlestick park';
```
## Task
Generate a SQL query to answer the following question:
`What year was the opponent in the final john higgins category:articles with hcards?`

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

CREATE TABLE "ranking_event_finals_8_4_titles_4_runner" (
  "outcome" text,
  "year" real,
  "championship" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the opponent in the final john higgins category:articles with hcards?`:
```sql
                SELECT "year" FROM "ranking_event_finals_8_4_titles_4_runner" WHERE "opponent_in_the_final"='john higgins category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`Which church was built in 1600?`

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

CREATE TABLE "churches_in_bremanger" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" real,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which church was built in 1600?`:
```sql
                SELECT "church_name" FROM "churches_in_bremanger" WHERE "year_built"=1600;
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Church that was built in the year 1914?`

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

CREATE TABLE "churches_in_bremanger" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" real,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Church that was built in the year 1914?`:
```sql
                SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "year_built"=1914;
```
## Task
Generate a SQL query to answer the following question:
`Where is the Church that has a Sub-Parish (Sokn) of rugsund?`

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

CREATE TABLE "churches_in_bremanger" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" real,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the Church that has a Sub-Parish (Sokn) of rugsund?`:
```sql
                SELECT "location_of_the_church" FROM "churches_in_bremanger" WHERE "sub_parish_sokn"='rugsund';
```
## Task
Generate a SQL query to answer the following question:
`Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?`

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

CREATE TABLE "churches_in_bremanger" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" real,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?`:
```sql
                SELECT AVG("year_built") FROM "churches_in_bremanger" WHERE "parish_prestegjeld"='bremanger parish' AND "location_of_the_church"='bremanger';
```
## Task
Generate a SQL query to answer the following question:
`Who is the required actor when Robert Austin was the actor in the original production?`

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

CREATE TABLE "characters" (
  "actor_in_original_production" text,
  "actor_required" text,
  "game_plan" text,
  "flat_spin" text,
  "role_play" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the required actor when Robert Austin was the actor in the original production?`:
```sql
                SELECT "actor_required" FROM "characters" WHERE "actor_in_original_production"='robert austin';
```
## Task
Generate a SQL query to answer the following question:
`Who is the actor in the original production when Troy Stephens is the GamePlan?`

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

CREATE TABLE "characters" (
  "actor_in_original_production" text,
  "actor_required" text,
  "game_plan" text,
  "flat_spin" text,
  "role_play" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the actor in the original production when Troy Stephens is the GamePlan?`:
```sql
                SELECT "actor_in_original_production" FROM "characters" WHERE "game_plan"='troy stephens';
```
## Task
Generate a SQL query to answer the following question:
`Who is the GamePlan when Jacqueline King is the actor in the original production?`

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

CREATE TABLE "characters" (
  "actor_in_original_production" text,
  "actor_required" text,
  "game_plan" text,
  "flat_spin" text,
  "role_play" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the GamePlan when Jacqueline King is the actor in the original production?`:
```sql
                SELECT "game_plan" FROM "characters" WHERE "actor_in_original_production"='jacqueline king';
```
## Task
Generate a SQL query to answer the following question:
`Who is the GamePlan when Arabella Lazenby is the RolePlay actor?`

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

CREATE TABLE "characters" (
  "actor_in_original_production" text,
  "actor_required" text,
  "game_plan" text,
  "flat_spin" text,
  "role_play" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the GamePlan when Arabella Lazenby is the RolePlay actor?`:
```sql
                SELECT "game_plan" FROM "characters" WHERE "role_play"='arabella lazenby';
```
## Task
Generate a SQL query to answer the following question:
`Who is the actor required when Edna Stricken is the FlatSpin actor?`

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

CREATE TABLE "characters" (
  "actor_in_original_production" text,
  "actor_required" text,
  "game_plan" text,
  "flat_spin" text,
  "role_play" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the actor required when Edna Stricken is the FlatSpin actor?`:
```sql
                SELECT "actor_required" FROM "characters" WHERE "flat_spin"='edna stricken';
```
## Task
Generate a SQL query to answer the following question:
`What shows for the 1st round when the team 1 was Lb Châteauroux (d2)?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for the 1st round when the team 1 was Lb Châteauroux (d2)?`:
```sql
                SELECT "1st_round" FROM "round_of_16" WHERE "team_1"='lb châteauroux (d2)';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?`:
```sql
                SELECT "2nd_round" FROM "round_of_16" WHERE "team_1"='rc strasbourg (d1)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Home team in Tie #23?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Home team in Tie #23?`:
```sql
                SELECT "home_team" FROM "ties" WHERE "tie_no"=23;
```
## Task
Generate a SQL query to answer the following question:
`What was the final score in Tie #28?`

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

CREATE TABLE "ties" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score in Tie #28?`:
```sql
                SELECT "score" FROM "ties" WHERE "tie_no"=28;
```
## Task
Generate a SQL query to answer the following question:
`What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "to_par">15 AND "money">116 AND "player"='billy burke';
```
## Task
Generate a SQL query to answer the following question:
`What player has t3 as the place, with england united states as the country?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What player has t3 as the place, with england united states as the country?`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "place"='t3' AND "country"='england united states';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest money ($) that has t8 as the place, with a to par greater than 19?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest money ($) that has t8 as the place, with a to par greater than 19?`:
```sql
                SELECT MIN("money") FROM "final_leaderboard" WHERE "place"='t8' AND "to_par">19;
```
## Task
Generate a SQL query to answer the following question:
`What score has money ($) greater than 400, with gene sarazen as the player?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What score has money ($) greater than 400, with gene sarazen as the player?`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "money">400 AND "player"='gene sarazen';
```
## Task
Generate a SQL query to answer the following question:
`Which Country has a To par smaller than 7, and a Total of 148?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Country has a To par smaller than 7, and a Total of 148?`:
```sql
                SELECT "country" FROM "missed_the_cut" WHERE "to_par"<7 AND "total"=148;
```
## Task
Generate a SQL query to answer the following question:
`Which player is from south africa?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is from south africa?`:
```sql
                SELECT "player" FROM "missed_the_cut" WHERE "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?`:
```sql
                SELECT "year_s_won" FROM "missed_the_cut" WHERE "total">148 AND "to_par"<17 AND "country"='new zealand';
```
## Task
Generate a SQL query to answer the following question:
`In what Event did Dorcus Inzikuru compete?`

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

CREATE TABLE "list_of_medallists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Event did Dorcus Inzikuru compete?`:
```sql
                SELECT "event" FROM "list_of_medallists" WHERE "name"='dorcus inzikuru';
```
## Task
Generate a SQL query to answer the following question:
`In what Games did Patrick Etolu compete?`

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

CREATE TABLE "list_of_medallists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Games did Patrick Etolu compete?`:
```sql
                SELECT "games" FROM "list_of_medallists" WHERE "name"='patrick etolu';
```
## Task
Generate a SQL query to answer the following question:
`What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?`

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

CREATE TABLE "list_of_medallists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?`:
```sql
                SELECT "medal" FROM "list_of_medallists" WHERE "sport"='boxing' AND "games"='1970 edinburgh' AND "name"='james odwori';
```
## Task
Generate a SQL query to answer the following question:
`What is the Medal for the Player in the Light Heavyweight event?`

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

CREATE TABLE "list_of_medallists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Medal for the Player in the Light Heavyweight event?`:
```sql
                SELECT "medal" FROM "list_of_medallists" WHERE "event"='light heavyweight';
```
## Task
Generate a SQL query to answer the following question:
`At what Games did the competitor win a Silver medal in the light heavyweight event?`

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

CREATE TABLE "list_of_medallists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what Games did the competitor win a Silver medal in the light heavyweight event?`:
```sql
                SELECT "games" FROM "list_of_medallists" WHERE "medal"='silver' AND "event"='light heavyweight';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tie no for Away Team Ipswich Town?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tie no for Away Team Ipswich Town?`:
```sql
                SELECT "tie_no" FROM "sixth_round_proper" WHERE "away_team"='ipswich town';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Middlesbrough Home game?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Middlesbrough Home game?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "home_team"='middlesbrough';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team in the Game with a Score of 1–0?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home team in the Game with a Score of 1–0?`:
```sql
                SELECT "home_team" FROM "sixth_round_proper" WHERE "score"='1–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the Everton Away game?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the Everton Away game?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='everton';
```
## Task
Generate a SQL query to answer the following question:
`When the finish was t31 what was the To par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the finish was t31 what was the To par?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "finish"='t31';
```
## Task
Generate a SQL query to answer the following question:
`Who had a finish of t15?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had a finish of t15?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "finish"='t15';
```
## Task
Generate a SQL query to answer the following question:
`When the total was 290 what was the To par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the total was 290 what was the To par?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "total"=290;
```
## Task
Generate a SQL query to answer the following question:
`What is the Total for Seve Ballesteros?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Total for Seve Ballesteros?`:
```sql
                SELECT SUM("total") FROM "made_the_cut" WHERE "player"='seve ballesteros';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of Declan Donnellan's nomination?`

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

CREATE TABLE "1993_london_revival" (
  "year" real,
  "award_ceremony" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of Declan Donnellan's nomination?`:
```sql
                SELECT "result" FROM "1993_london_revival" WHERE "nominee"='declan donnellan';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the Best Actor in a Musical category?`

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

CREATE TABLE "1993_london_revival" (
  "year" real,
  "award_ceremony" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the Best Actor in a Musical category?`:
```sql
                SELECT "result" FROM "1993_london_revival" WHERE "category"='best actor in a musical';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLAYER WITH 287?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE PLAYER WITH 287?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "total"=287;
```
## Task
Generate a SQL query to answer the following question:
`WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "player"='jack nicklaus';
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Country is "United States", and when Place is "6"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Country is "United States", and when Place is "6"?`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "country"='united states' AND "place"='6';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Money ( $ ), when Score is "69-69-76-69=283"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Money ( $ ), when Score is "69-69-76-69=283"?`:
```sql
                SELECT AVG("money") FROM "final_leaderboard" WHERE "score"='69-69-76-69=283';
```
## Task
Generate a SQL query to answer the following question:
`What is Country, when To par is "+1", and when Score is "72-71-70-72=285"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Country, when To par is "+1", and when Score is "72-71-70-72=285"?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "to_par"='+1' AND "score"='72-71-70-72=285';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Score is "70-70-68-70=278"?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Place, when Score is "70-70-68-70=278"?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "score"='70-70-68-70=278';
```
## Task
Generate a SQL query to answer the following question:
`For which network was Chris Walby the color commentator after 1990?`

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

CREATE TABLE "1990s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "colour_commentator_s" text,
  "pregame_host" text
);
### SQL
Given the database schema, here is the SQL query that answers `For which network was Chris Walby the color commentator after 1990?`:
```sql
                SELECT "network" FROM "1990s" WHERE "year">1990 AND "colour_commentator_s"='chris walby';
```
## Task
Generate a SQL query to answer the following question:
`Who was the pregame host before 1992 when there was a play by play of Bob Irving?`

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

CREATE TABLE "1990s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "colour_commentator_s" text,
  "pregame_host" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the pregame host before 1992 when there was a play by play of Bob Irving?`:
```sql
                SELECT "pregame_host" FROM "1990s" WHERE "year"<1992 AND "play_by_play"='bob irving';
```
## Task
Generate a SQL query to answer the following question:
`What is the total of the player who won before 1991 and has a to par less than 14?`

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

CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_won" real,
  "total" real,
  "to_par" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of the player who won before 1991 and has a to par less than 14?`:
```sql
                SELECT COUNT("total") FROM "missed_the_cut" WHERE "year_won"<1991 AND "to_par"<14;
```