cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the total number of years for talbot-lago t26c and points less than 3`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of years for talbot-lago t26c and points less than 3`:
```sql
                SELECT COUNT("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='talbot-lago t26c' AND "points"<3;
```
## Task
Generate a SQL query to answer the following question:
`What episode featured entrepreneur Richard Ernest?`

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

CREATE TABLE "series_11" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" text,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode featured entrepreneur Richard Ernest?`:
```sql
                SELECT "first_aired" FROM "series_11" WHERE "entrepreneur_s"='richard ernest';
```
## Task
Generate a SQL query to answer the following question:
`What Investing Dragons had a request of £100,000?`

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

CREATE TABLE "series_11" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" text,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Investing Dragons had a request of £100,000?`:
```sql
                SELECT "investing_dragon_s" FROM "series_11" WHERE "money_requested"='100,000';
```
## Task
Generate a SQL query to answer the following question:
`What Entrepreneurs requested £60,000?`

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

CREATE TABLE "series_11" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" text,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Entrepreneurs requested £60,000?`:
```sql
                SELECT "entrepreneur_s" FROM "series_11" WHERE "money_requested"='60,000';
```
## Task
Generate a SQL query to answer the following question:
`How much was requested from Investing Dragon Peter Jones request in episode 2?`

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

CREATE TABLE "series_11" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" text,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much was requested from Investing Dragon Peter Jones request in episode 2?`:
```sql
                SELECT "money_requested" FROM "series_11" WHERE "investing_dragon_s"='peter jones' AND "episode"='episode 2';
```
## Task
Generate a SQL query to answer the following question:
`Name the investing dragon for razzamataz`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" real,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the investing dragon for razzamataz`:
```sql
                SELECT "investing_dragon_s" FROM "series_4" WHERE "company_or_product_name"='razzamataz';
```
## Task
Generate a SQL query to answer the following question:
`Name the first aired with money requested more than 85,000`

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

CREATE TABLE "series_4" (
  "episode" text,
  "first_aired" text,
  "entrepreneur_s" text,
  "company_or_product_name" text,
  "money_requested" real,
  "investing_dragon_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the first aired with money requested more than 85,000`:
```sql
                SELECT "first_aired" FROM "series_4" WHERE "money_requested">'85,000';
```
## Task
Generate a SQL query to answer the following question:
`What is the competition type of the event with a result of 3-2 and a score of 2-1?`

### 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 `What is the competition type of the event with a result of 3-2 and a score of 2-1?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "result"='3-2' AND "score"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`Which date has a competition type of friendly and a score of 2-1?`

### 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 `Which date has a competition type of friendly and a score of 2-1?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "competition"='friendly' AND "score"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the event with a competition type of friendly and a result of 4-5?`

### 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 `What is the score of the event with a competition type of friendly and a result of 4-5?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='friendly' AND "result"='4-5';
```
## Task
Generate a SQL query to answer the following question:
`Which date has a score of 2-1?`

### 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 `Which date has a score of 2-1?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "score"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`Which date has a competition type of British home championship?`

### 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 `Which date has a competition type of British home championship?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "competition"='british home championship';
```
## Task
Generate a SQL query to answer the following question:
`what date was mallala motor sport park the circuit?`

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

CREATE TABLE "race_calendar" (
  "circuit" text,
  "location_state" text,
  "date" text,
  "winning_driver" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `what date was mallala motor sport park the circuit?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "circuit"='mallala motor sport park';
```
## Task
Generate a SQL query to answer the following question:
`what date did the m3 motorsport team compete at winton motor raceway?`

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

CREATE TABLE "race_calendar" (
  "circuit" text,
  "location_state" text,
  "date" text,
  "winning_driver" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `what date did the m3 motorsport team compete at winton motor raceway?`:
```sql
                SELECT "date" FROM "race_calendar" WHERE "team"='m3 motorsport' AND "circuit"='winton motor raceway';
```
## Task
Generate a SQL query to answer the following question:
`Name the agg for team 2 of asl sport guyanais.`

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

CREATE TABLE "first_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the agg for team 2 of asl sport guyanais.`:
```sql
                SELECT "agg" FROM "first_round" WHERE "team_2"='asl sport guyanais';
```
## Task
Generate a SQL query to answer the following question:
`Name the agg for seba united`

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

CREATE TABLE "first_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the agg for seba united`:
```sql
                SELECT "agg" FROM "first_round" WHERE "team_1"='seba united';
```
## Task
Generate a SQL query to answer the following question:
`Name the 2nd leg for defence force`

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

CREATE TABLE "first_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 2nd leg for defence force`:
```sql
                SELECT "2nd_leg" FROM "first_round" WHERE "team_2"='defence force';
```
## Task
Generate a SQL query to answer the following question:
`Which country does FC Atyrau represent after the 2006 season?`

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

CREATE TABLE "club_career_stats" (
  "season" real,
  "team" text,
  "country" text,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country does FC Atyrau represent after the 2006 season?`:
```sql
                SELECT "country" FROM "club_career_stats" WHERE "season">2006 AND "team"='fc atyrau';
```
## Task
Generate a SQL query to answer the following question:
`In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?`

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

CREATE TABLE "club_career_stats" (
  "season" real,
  "team" text,
  "country" text,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?`:
```sql
                SELECT MAX("season") FROM "club_career_stats" WHERE "country"='uzbekistan' AND "team"='fc pakhtakor tashkent' AND "apps">6;
```
## Task
Generate a SQL query to answer the following question:
`How many seasons have 1 goals and more than 11 apps?`

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

CREATE TABLE "club_career_stats" (
  "season" real,
  "team" text,
  "country" text,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons have 1 goals and more than 11 apps?`:
```sql
                SELECT COUNT("season") FROM "club_career_stats" WHERE "goals"=1 AND "apps">11;
```
## Task
Generate a SQL query to answer the following question:
`What game that had a record of 39-44 had the lowest attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game that had a record of 39-44 had the lowest attendance?`:
```sql
                SELECT MIN("attendance") FROM "game_log" WHERE "record"='39-44';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game that had a loss of Saarloos (7-7)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent at the game that had a loss of Saarloos (7-7)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='saarloos (7-7)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game attended by more than 24,383 with a score of 4-3?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game attended by more than 24,383 with a score of 4-3?`:
```sql
                SELECT "date" FROM "game_log" WHERE "attendance">'24,383' AND "score"='4-3';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game with a record of 81-60?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game with a record of 81-60?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='81-60';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)?`:
```sql
                SELECT MIN("attendance") FROM "game_log" WHERE "score"='5-4' AND "loss"='williams (2-4)';
```
## Task
Generate a SQL query to answer the following question:
`What year did the 11th place play 26 games?`

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

CREATE TABLE "honours" (
  "year" text,
  "division" text,
  "place" text,
  "played" real,
  "drawn" text,
  "lost" text,
  "g_f" text,
  "g_a" text,
  "g_d" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the 11th place play 26 games?`:
```sql
                SELECT "year" FROM "honours" WHERE "place"='11th' AND "played"=26;
```
## Task
Generate a SQL query to answer the following question:
`What is the total played games of a 22 G.A.?`

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

CREATE TABLE "honours" (
  "year" text,
  "division" text,
  "place" text,
  "played" real,
  "drawn" text,
  "lost" text,
  "g_f" text,
  "g_a" text,
  "g_d" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total played games of a 22 G.A.?`:
```sql
                SELECT COUNT("played") FROM "honours" WHERE "g_a"='22';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner for genoa to livorno`

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

CREATE TABLE "stage_results" (
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner for genoa to livorno`:
```sql
                SELECT "winner" FROM "stage_results" WHERE "course"='genoa to livorno';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner for 5 june`

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

CREATE TABLE "stage_results" (
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner for 5 june`:
```sql
                SELECT "winner" FROM "stage_results" WHERE "date"='5 june';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner for rest day race leader`

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

CREATE TABLE "stage_results" (
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner for rest day race leader`:
```sql
                SELECT "winner" FROM "stage_results" WHERE "race_leader"='rest day';
```
## Task
Generate a SQL query to answer the following question:
`Name the least rank for lane less than 5 for germany and sandra völker`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least rank for lane less than 5 for germany and sandra völker`:
```sql
                SELECT MIN("rank") FROM "semifinal_1" WHERE "lane"<5 AND "nationality"='germany' AND "name"='sandra völker';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of rank for lane 7`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of rank for lane 7`:
```sql
                SELECT COUNT("rank") FROM "semifinal_1" WHERE "lane"=7;
```
## Task
Generate a SQL query to answer the following question:
`Name the most time for katrin meißner and rank less than 5`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most time for katrin meißner and rank less than 5`:
```sql
                SELECT MAX("time") FROM "semifinal_1" WHERE "name"='katrin meißner' AND "rank"<5;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the name for time of 25.74`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the name for time of 25.74`:
```sql
                SELECT "name" FROM "semifinal_1" WHERE "time"=25.74;
```
## Task
Generate a SQL query to answer the following question:
`Was the University of Southern California Signed?`

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

CREATE TABLE "june_secondary_phase" (
  "round" real,
  "name" text,
  "position" text,
  "school" text,
  "signed" text
);
### SQL
Given the database schema, here is the SQL query that answers `Was the University of Southern California Signed?`:
```sql
                SELECT "signed" FROM "june_secondary_phase" WHERE "school"='university of southern california';
```
## Task
Generate a SQL query to answer the following question:
`Was the University of Michigan Signed?`

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

CREATE TABLE "june_secondary_phase" (
  "round" real,
  "name" text,
  "position" text,
  "school" text,
  "signed" text
);
### SQL
Given the database schema, here is the SQL query that answers `Was the University of Michigan Signed?`:
```sql
                SELECT "signed" FROM "june_secondary_phase" WHERE "school"='university of michigan';
```
## Task
Generate a SQL query to answer the following question:
`What is the University of Southern California's highest Round?`

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

CREATE TABLE "june_secondary_phase" (
  "round" real,
  "name" text,
  "position" text,
  "school" text,
  "signed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the University of Southern California's highest Round?`:
```sql
                SELECT MAX("round") FROM "june_secondary_phase" WHERE "school"='university of southern california';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home captain at Sabina Park?`

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

CREATE TABLE "england_in_west_indies" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home captain at Sabina Park?`:
```sql
                SELECT "home_captain" FROM "england_in_west_indies" WHERE "venue"='sabina park';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game hosted at Queen's Park Oval?`

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

CREATE TABLE "england_in_west_indies" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game hosted at Queen's Park Oval?`:
```sql
                SELECT "result" FROM "england_in_west_indies" WHERE "venue"='queen''s park oval';
```
## Task
Generate a SQL query to answer the following question:
`Name the genre for release-year of first charted record of 1988`

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

CREATE TABLE "80_million_to_99_million_records" (
  "artist" text,
  "country_of_origin" text,
  "period_active" text,
  "release_year_of_first_charted_record" real,
  "genre" text,
  "claimed_sales" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the genre for release-year of first charted record of 1988`:
```sql
                SELECT "genre" FROM "80_million_to_99_million_records" WHERE "release_year_of_first_charted_record"=1988;
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the game with a record of 77-65?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss of the game with a record of 77-65?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='77-65';
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the game with a record of 84-71?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss of the game with a record of 84-71?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='84-71';
```
## Task
Generate a SQL query to answer the following question:
`What date was the record 34-41?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the record 34-41?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='34-41';
```
## Task
Generate a SQL query to answer the following question:
`What type had a course of Grosseto To Rieti?`

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

CREATE TABLE "stage_results" (
  "date" text,
  "course" text,
  "distance" text,
  "type" text,
  "winner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type had a course of Grosseto To Rieti?`:
```sql
                SELECT "type" FROM "stage_results" WHERE "course"='grosseto to rieti';
```
## Task
Generate a SQL query to answer the following question:
`In what Season were there 86 Assists in the WCJHL League?`

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

CREATE TABLE "scoring_champions" (
  "season" text,
  "league" text,
  "winner" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what Season were there 86 Assists in the WCJHL League?`:
```sql
                SELECT "season" FROM "scoring_champions" WHERE "league"='wcjhl' AND "assists"=86;
```
## Task
Generate a SQL query to answer the following question:
`In the WCHL League,  what is the last Assists with less than 65 Goals?`

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

CREATE TABLE "scoring_champions" (
  "season" text,
  "league" text,
  "winner" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `In the WCHL League,  what is the last Assists with less than 65 Goals?`:
```sql
                SELECT MIN("assists") FROM "scoring_champions" WHERE "league"='wchl' AND "goals"<65;
```
## Task
Generate a SQL query to answer the following question:
`What are the most Points with an Assist of 46?`

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

CREATE TABLE "scoring_champions" (
  "season" text,
  "league" text,
  "winner" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the most Points with an Assist of 46?`:
```sql
                SELECT MAX("points") FROM "scoring_champions" WHERE "assists"=46;
```
## Task
Generate a SQL query to answer the following question:
`What compound is yellow?`

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

CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" (
  "compound_name" text,
  "colour" text,
  "tread" text,
  "driving_conditions" text,
  "dry_type" text,
  "grip" text,
  "durability" text
);
### SQL
Given the database schema, here is the SQL query that answers `What compound is yellow?`:
```sql
                SELECT "compound_name" FROM "the_6_f1_tyre_compounds_as_supplied_by_p" WHERE "colour"='yellow';
```
## Task
Generate a SQL query to answer the following question:
`What grip has a dry option?`

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

CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" (
  "compound_name" text,
  "colour" text,
  "tread" text,
  "driving_conditions" text,
  "dry_type" text,
  "grip" text,
  "durability" text
);
### SQL
Given the database schema, here is the SQL query that answers `What grip has a dry option?`:
```sql
                SELECT "grip" FROM "the_6_f1_tyre_compounds_as_supplied_by_p" WHERE "dry_type"='option';
```
## Task
Generate a SQL query to answer the following question:
`What color is the super-soft compound?`

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

CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" (
  "compound_name" text,
  "colour" text,
  "tread" text,
  "driving_conditions" text,
  "dry_type" text,
  "grip" text,
  "durability" text
);
### SQL
Given the database schema, here is the SQL query that answers `What color is the super-soft compound?`:
```sql
                SELECT "colour" FROM "the_6_f1_tyre_compounds_as_supplied_by_p" WHERE "compound_name"='super-soft';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232?`

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

CREATE TABLE "box_office_score_data" (
  "venue" text,
  "city" text,
  "tickets_sold_available" text,
  "gross_revenue_1979" text,
  "gross_revenue_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232?`:
```sql
                SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "gross_revenue_1979"='$665,232';
```
## Task
Generate a SQL query to answer the following question:
`What is the Gross Revenue (1979) of the Venue, lyceum theatre?`

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

CREATE TABLE "box_office_score_data" (
  "venue" text,
  "city" text,
  "tickets_sold_available" text,
  "gross_revenue_1979" text,
  "gross_revenue_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Gross Revenue (1979) of the Venue, lyceum theatre?`:
```sql
                SELECT "gross_revenue_1979" FROM "box_office_score_data" WHERE "venue"='lyceum theatre';
```
## Task
Generate a SQL query to answer the following question:
`What is the amount of Tickets Sold/ Available at the Venue of hippodrome?`

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

CREATE TABLE "box_office_score_data" (
  "venue" text,
  "city" text,
  "tickets_sold_available" text,
  "gross_revenue_1979" text,
  "gross_revenue_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the amount of Tickets Sold/ Available at the Venue of hippodrome?`:
```sql
                SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "venue"='hippodrome';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has a Gross Revenue (2012) of $179,712?`

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

CREATE TABLE "box_office_score_data" (
  "venue" text,
  "city" text,
  "tickets_sold_available" text,
  "gross_revenue_1979" text,
  "gross_revenue_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has a Gross Revenue (2012) of $179,712?`:
```sql
                SELECT "venue" FROM "box_office_score_data" WHERE "gross_revenue_2012"='$179,712';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)?`

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

CREATE TABLE "box_office_score_data" (
  "venue" text,
  "city" text,
  "tickets_sold_available" text,
  "gross_revenue_1979" text,
  "gross_revenue_2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)?`:
```sql
                SELECT "venue" FROM "box_office_score_data" WHERE "tickets_sold_available"='4,700 / 4,700 (100%)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game that had a loss of Willis (0–1)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game that had a loss of Willis (0–1)?`:
```sql
                SELECT "date" FROM "game_log" WHERE "loss"='willis (0–1)';
```
## Task
Generate a SQL query to answer the following question:
`What was the opponent at the game that had a loss of Travers (0–2)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the opponent at the game that had a loss of Travers (0–2)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='travers (0–2)';
```
## Task
Generate a SQL query to answer the following question:
`What was the Loss when the Record was 50-54?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Loss when the Record was 50-54?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='50-54';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the loss was Wells (4-7)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the loss was Wells (4-7)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='wells (4-7)';
```
## Task
Generate a SQL query to answer the following question:
`What shows for shoots for craig peacock a?`

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

CREATE TABLE "forwards" (
  "number" real,
  "player" text,
  "shoots" text,
  "position" text,
  "acquired" real,
  "place_of_birth" text,
  "joined_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for shoots for craig peacock a?`:
```sql
                SELECT "shoots" FROM "forwards" WHERE "player"='craig peacock a';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Acquired when the Number shows as 7?`

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

CREATE TABLE "forwards" (
  "number" real,
  "player" text,
  "shoots" text,
  "position" text,
  "acquired" real,
  "place_of_birth" text,
  "joined_from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Acquired when the Number shows as 7?`:
```sql
                SELECT AVG("acquired") FROM "forwards" WHERE "number"=7;
```
## Task
Generate a SQL query to answer the following question:
`What is the total of 2013 with 6th?`

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

CREATE TABLE "team_appearances" (
  "2001" text,
  "2004" text,
  "2009" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of 2013 with 6th?`:
```sql
                SELECT MAX("total") FROM "team_appearances" WHERE "2013"='6th';
```
## Task
Generate a SQL query to answer the following question:
`Which 2009 year has a total of 1, and 2004 year of 7th?`

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

CREATE TABLE "team_appearances" (
  "2001" text,
  "2004" text,
  "2009" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2009 year has a total of 1, and 2004 year of 7th?`:
```sql
                SELECT "2009" FROM "team_appearances" WHERE "total"=1 AND "2004"='7th';
```
## Task
Generate a SQL query to answer the following question:
`What is the year 2013 with a total of 5, and 5th in 2009?`

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

CREATE TABLE "team_appearances" (
  "2001" text,
  "2004" text,
  "2009" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year 2013 with a total of 5, and 5th in 2009?`:
```sql
                SELECT "2013" FROM "team_appearances" WHERE "total"=5 AND "2009"='5th';
```
## Task
Generate a SQL query to answer the following question:
`What is the year 2001 with a total larger than 1, and 2009 with 8?`

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

CREATE TABLE "team_appearances" (
  "2001" text,
  "2004" text,
  "2009" text,
  "2013" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year 2001 with a total larger than 1, and 2009 with 8?`:
```sql
                SELECT "2001" FROM "team_appearances" WHERE "total">1 AND "2009"='8';
```
## Task
Generate a SQL query to answer the following question:
`What opponents have a record of 90-70?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponents have a record of 90-70?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='90-70';
```
## Task
Generate a SQL query to answer the following question:
`What game had more than 50,324 in attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game had more than 50,324 in attendance?`:
```sql
                SELECT "date" FROM "game_log" WHERE "attendance">'50,324';
```
## Task
Generate a SQL query to answer the following question:
`What is the start of Offy engine and in 1972?`

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

CREATE TABLE "indy_500_results" (
  "year" real,
  "chassis" text,
  "engine" text,
  "start" text,
  "finish" text,
  "entrant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the start of Offy engine and in 1972?`:
```sql
                SELECT "start" FROM "indy_500_results" WHERE "engine"='offy' AND "year"=1972;
```
## Task
Generate a SQL query to answer the following question:
`What is the chassis for offy engine and 25th finish?`

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

CREATE TABLE "indy_500_results" (
  "year" real,
  "chassis" text,
  "engine" text,
  "start" text,
  "finish" text,
  "entrant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the chassis for offy engine and 25th finish?`:
```sql
                SELECT "chassis" FROM "indy_500_results" WHERE "engine"='offy' AND "finish"='25th';
```
## Task
Generate a SQL query to answer the following question:
`What is the finish of Mclaren chassis?`

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

CREATE TABLE "indy_500_results" (
  "year" real,
  "chassis" text,
  "engine" text,
  "start" text,
  "finish" text,
  "entrant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the finish of Mclaren chassis?`:
```sql
                SELECT "finish" FROM "indy_500_results" WHERE "chassis"='mclaren';
```
## Task
Generate a SQL query to answer the following question:
`Name the wrestlers with days held of 428`

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

CREATE TABLE "title_history" (
  "wrestlers" text,
  "reign" text,
  "days_held" text,
  "location" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the wrestlers with days held of 428`:
```sql
                SELECT "wrestlers" FROM "title_history" WHERE "days_held"='428';
```
## Task
Generate a SQL query to answer the following question:
`Name the wrestlers for days held of 69`

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

CREATE TABLE "title_history" (
  "wrestlers" text,
  "reign" text,
  "days_held" text,
  "location" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the wrestlers for days held of 69`:
```sql
                SELECT "wrestlers" FROM "title_history" WHERE "days_held"='69';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4?`

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

CREATE TABLE "singles_22_15_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4?`:
```sql
                SELECT "opponent" FROM "singles_22_15_7" WHERE "surface"='clay' AND "outcome"='winner' AND "tournament"='bogotá' AND "score"='6–0, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Score of 6–4, 3–6, 6–3?`

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

CREATE TABLE "singles_22_15_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a Score of 6–4, 3–6, 6–3?`:
```sql
                SELECT "opponent" FROM "singles_22_15_7" WHERE "score"='6–4, 3–6, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for 04 september 2006?`

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

CREATE TABLE "singles_22_15_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for 04 september 2006?`:
```sql
                SELECT "score" FROM "singles_22_15_7" WHERE "date"='04 september 2006';
```
## Task
Generate a SQL query to answer the following question:
`Which Tournament has a Score of 4-6 6-2 6-1?`

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

CREATE TABLE "singles_22_15_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tournament has a Score of 4-6 6-2 6-1?`:
```sql
                SELECT "tournament" FROM "singles_22_15_7" WHERE "score"='4-6 6-2 6-1';
```
## Task
Generate a SQL query to answer the following question:
`Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6?`

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

CREATE TABLE "singles_22_15_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6?`:
```sql
                SELECT "outcome" FROM "singles_22_15_7" WHERE "surface"='clay' AND "score"='4–6, 7–5, 2–6';
```
## Task
Generate a SQL query to answer the following question:
`What date was versmold?`

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

CREATE TABLE "singles_22_15_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was versmold?`:
```sql
                SELECT "date" FROM "singles_22_15_7" WHERE "tournament"='versmold';
```
## Task
Generate a SQL query to answer the following question:
`Name the competition for motherwell opponents`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the competition for motherwell opponents`:
```sql
                SELECT "competition" FROM "european_record" WHERE "opponents"='motherwell';
```
## Task
Generate a SQL query to answer the following question:
`Name the home leg for uefa europa league and round of q1 with opponents of motherwell`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the home leg for uefa europa league and round of q1 with opponents of motherwell`:
```sql
                SELECT "home_leg" FROM "european_record" WHERE "competition"='uefa europa league' AND "round"='q1' AND "opponents"='motherwell';
```
## Task
Generate a SQL query to answer the following question:
`Name the aggregate with opponents of tauras`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "opponents" text,
  "home_leg" text,
  "away_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the aggregate with opponents of tauras`:
```sql
                SELECT "aggregate" FROM "european_record" WHERE "opponents"='tauras';
```
## Task
Generate a SQL query to answer the following question:
`What date was 53-75 recorded?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was 53-75 recorded?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='53-75';
```
## Task
Generate a SQL query to answer the following question:
`Overall of 62 is what average round?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Overall of 62 is what average round?`:
```sql
                SELECT AVG("round") FROM "indianapolis_colts_draft_history" WHERE "overall"=62;
```