cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the general classification at stage 18 that has a points classification of Tony Rominger?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the general classification at stage 18 that has a points classification of Tony Rominger?`:
```sql
                SELECT "general_classification" FROM "classification_leadership_by_stage" WHERE "points_classification"='tony rominger' AND "stage"='18';
```
## Task
Generate a SQL query to answer the following question:
`Which stage has a mountains classification of Mariano Piccoli and was won by Giuseppe Citterio?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which stage has a mountains classification of Mariano Piccoli and was won by Giuseppe Citterio?`:
```sql
                SELECT "stage" FROM "classification_leadership_by_stage" WHERE "mountains_classification"='mariano piccoli' AND "winner"='giuseppe citterio';
```
## Task
Generate a SQL query to answer the following question:
`What is the year First elected when the Member is John Armitage?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year First elected when the Member is John Armitage?`:
```sql
                SELECT "first_elected" FROM "see_also" WHERE "member"='john armitage';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Electorate, when the year for First elected is 1974, and when the Party is Country?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Electorate, when the year for First elected is 1974, and when the Party is Country?`:
```sql
                SELECT "electorate" FROM "see_also" WHERE "first_elected"='1974' AND "party"='country';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Member when the Party is Alp, and when the Electorate is Grey?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Member when the Party is Alp, and when the Electorate is Grey?`:
```sql
                SELECT "member" FROM "see_also" WHERE "party"='alp' AND "electorate"='grey';
```
## Task
Generate a SQL query to answer the following question:
`What is the State, when the year First elected is 1966, and when the Member is Alan Jarman?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the State, when the year First elected is 1966, and when the Member is Alan Jarman?`:
```sql
                SELECT "state" FROM "see_also" WHERE "first_elected"='1966' AND "member"='alan jarman';
```
## Task
Generate a SQL query to answer the following question:
`What is the year First Elected, when the Party is Alp, and when the State is qld?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year First Elected, when the Party is Alp, and when the State is qld?`:
```sql
                SELECT "first_elected" FROM "see_also" WHERE "party"='alp' AND "state"='qld';
```
## Task
Generate a SQL query to answer the following question:
`What is the year First elected, when the State is vic, and when the Member is Hon Don Chipp?`

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

CREATE TABLE "see_also" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year First elected, when the State is vic, and when the Member is Hon Don Chipp?`:
```sql
                SELECT "first_elected" FROM "see_also" WHERE "state"='vic' AND "member"='hon don chipp';
```
## Task
Generate a SQL query to answer the following question:
`Which total number of starts has more than 2 wins and a money list rank greater than 1?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which total number of starts has more than 2 wins and a money list rank greater than 1?`:
```sql
                SELECT COUNT("starts") FROM "european_tour_professional_career_summar" WHERE "wins">2 AND "money_list_rank">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of number of wins that have earnings of more than (€)2,864,342 and money list rank of 3?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of number of wins that have earnings of more than (€)2,864,342 and money list rank of 3?`:
```sql
                SELECT SUM("wins") FROM "european_tour_professional_career_summar" WHERE "earnings">'2,864,342' AND "money_list_rank"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?`:
```sql
                SELECT SUM("top_10") FROM "european_tour_professional_career_summar" WHERE "wins">2 AND "top_25"<16;
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest money list ranking that has a Top 25 higher than 2?`

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

CREATE TABLE "european_tour_professional_career_summar" (
  "year" text,
  "starts" real,
  "cuts_made" real,
  "wins" real,
  "top_10" real,
  "top_25" real,
  "earnings" real,
  "money_list_rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest money list ranking that has a Top 25 higher than 2?`:
```sql
                SELECT MAX("money_list_rank") FROM "european_tour_professional_career_summar" WHERE "top_25"<2;
```
## Task
Generate a SQL query to answer the following question:
`What Away team had an Attendance of 3,395?`

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

CREATE TABLE "northern_section" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Away team had an Attendance of 3,395?`:
```sql
                SELECT "away_team" FROM "northern_section" WHERE "attendance"='3,395';
```
## Task
Generate a SQL query to answer the following question:
`What Home team had an Attendance of 2,776?`

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

CREATE TABLE "northern_section" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Home team had an Attendance of 2,776?`:
```sql
                SELECT "home_team" FROM "northern_section" WHERE "attendance"='2,776';
```
## Task
Generate a SQL query to answer the following question:
`Which engine has more than 1 point after 1981?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which engine has more than 1 point after 1981?`:
```sql
                SELECT "engine" FROM "complete_formula_one_results" WHERE "points">1 AND "year">1981;
```
## Task
Generate a SQL query to answer the following question:
`Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?`:
```sql
                SELECT "engine" FROM "complete_formula_one_results" WHERE "entrant"='marlboro team alfa romeo' AND "chassis"='alfa romeo 179';
```
## Task
Generate a SQL query to answer the following question:
`When has a surface of road and an event of half marathon?`

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

CREATE TABLE "personal_bests" (
  "surface" text,
  "event" text,
  "time_h_m_s" text,
  "date" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has a surface of road and an event of half marathon?`:
```sql
                SELECT "date" FROM "personal_bests" WHERE "surface"='road' AND "event"='half marathon';
```
## Task
Generate a SQL query to answer the following question:
`Which Surface has a Place of lappeenranta?`

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

CREATE TABLE "personal_bests" (
  "surface" text,
  "event" text,
  "time_h_m_s" text,
  "date" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Surface has a Place of lappeenranta?`:
```sql
                SELECT "surface" FROM "personal_bests" WHERE "place"='lappeenranta';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date that has 1:01:42?`

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

CREATE TABLE "personal_bests" (
  "surface" text,
  "event" text,
  "time_h_m_s" text,
  "date" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date that has 1:01:42?`:
```sql
                SELECT "date" FROM "personal_bests" WHERE "time_h_m_s"='1:01:42';
```
## Task
Generate a SQL query to answer the following question:
`What is the Time ( h : m : s ) on 13 october 2010`

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

CREATE TABLE "personal_bests" (
  "surface" text,
  "event" text,
  "time_h_m_s" text,
  "date" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Time ( h : m : s ) on 13 october 2010`:
```sql
                SELECT "time_h_m_s" FROM "personal_bests" WHERE "date"='13 october 2010';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place with Time  7:44.15?`

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

CREATE TABLE "personal_bests" (
  "surface" text,
  "event" text,
  "time_h_m_s" text,
  "date" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place with Time  7:44.15?`:
```sql
                SELECT "place" FROM "personal_bests" WHERE "time_h_m_s"='7:44.15';
```
## Task
Generate a SQL query to answer the following question:
`Which Class Pos have Laps smaller than 304, and a Year after 2001?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "class" text,
  "tyres" text,
  "team" text,
  "co_drivers" text,
  "laps" real,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Class Pos have Laps smaller than 304, and a Year after 2001?`:
```sql
                SELECT "class_pos" FROM "24_hours_of_le_mans_results" WHERE "laps"<304 AND "year">2001;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson?`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "class" text,
  "tyres" text,
  "team" text,
  "co_drivers" text,
  "laps" real,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson?`:
```sql
                SELECT MIN("laps") FROM "24_hours_of_le_mans_results" WHERE "year">2002 AND "co_drivers"='alexander frei bruno besson';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the score of w 7-6?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "crowd" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the score of w 7-6?`:
```sql
                SELECT "crowd" FROM "regular_season" WHERE "score"='w 7-6';
```
## Task
Generate a SQL query to answer the following question:
`Who lost that has a score of w 4-3?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "crowd" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who lost that has a score of w 4-3?`:
```sql
                SELECT "loss" FROM "regular_season" WHERE "score"='w 4-3';
```
## Task
Generate a SQL query to answer the following question:
`Loss of schrom happened on what date?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "crowd" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Loss of schrom happened on what date?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "loss"='schrom';
```
## Task
Generate a SQL query to answer the following question:
`Opponent of @mil, and a Record of 45-16 happened on what date?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "crowd" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Opponent of @mil, and a Record of 45-16 happened on what date?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "opponent"='@mil' AND "record"='45-16';
```
## Task
Generate a SQL query to answer the following question:
`Loss of willis has what record?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "crowd" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Loss of willis has what record?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "loss"='willis';
```
## Task
Generate a SQL query to answer the following question:
`Loss of wilcox, and a Date of jun 18 had what opponent?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "crowd" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Loss of wilcox, and a Date of jun 18 had what opponent?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "loss"='wilcox' AND "date"='jun 18';
```
## Task
Generate a SQL query to answer the following question:
`Name the to par for score of 74-74-74-71=293`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the to par for score of 74-74-74-71=293`:
```sql
                SELECT "to_par" FROM "final_leaderboard" WHERE "score"='74-74-74-71=293';
```
## Task
Generate a SQL query to answer the following question:
`Name the player for 68-68-75-74=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" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the player for 68-68-75-74=285`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "score"='68-68-75-74=285';
```
## Task
Generate a SQL query to answer the following question:
`Name the to par for gene kunes`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the to par for gene kunes`:
```sql
                SELECT "to_par" FROM "final_leaderboard" WHERE "player"='gene kunes';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Points for a year before 1955?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Points for a year before 1955?`:
```sql
                SELECT AVG("points") FROM "complete_formula_one_results" WHERE "year"<1955;
```
## Task
Generate a SQL query to answer the following question:
`What is the total year with a Team of scuderia ferrari, an Engine of ferrari 106 2.5 l4, and more than 12 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "team" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total year with a Team of scuderia ferrari, an Engine of ferrari 106 2.5 l4, and more than 12 points?`:
```sql
                SELECT SUM("year") FROM "complete_formula_one_results" WHERE "team"='scuderia ferrari' AND "engine"='ferrari 106 2.5 l4' AND "points">12;
```
## Task
Generate a SQL query to answer the following question:
`How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?`:
```sql
                SELECT COUNT("wins") FROM "career_summary" WHERE "podiums">1 AND "races"=9 AND "season">1984;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Podiums with 0 as wins, and a season later than 1985?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Podiums with 0 as wins, and a season later than 1985?`:
```sql
                SELECT MAX("podiums") FROM "career_summary" WHERE "wins"=0 AND "season">1985;
```
## Task
Generate a SQL query to answer the following question:
`What was the Top Gear budget in March 2013?`

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

CREATE TABLE "specials" (
  "month_year" text,
  "episode" text,
  "title" text,
  "hammond_s_vehicle" text,
  "clarkson_s_vehicle" text,
  "may_s_vehicle" text,
  "back_up" text,
  "budget" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Top Gear budget in March 2013?`:
```sql
                SELECT "budget" FROM "specials" WHERE "month_year"='march 2013';
```
## Task
Generate a SQL query to answer the following question:
`Which episode of Top Gear had a budget of £7,000?`

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

CREATE TABLE "specials" (
  "month_year" text,
  "episode" text,
  "title" text,
  "hammond_s_vehicle" text,
  "clarkson_s_vehicle" text,
  "may_s_vehicle" text,
  "back_up" text,
  "budget" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which episode of Top Gear had a budget of £7,000?`:
```sql
                SELECT "episode" FROM "specials" WHERE "budget"='£7,000';
```
## Task
Generate a SQL query to answer the following question:
`Which month and year held the Bolivia Special title?`

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

CREATE TABLE "specials" (
  "month_year" text,
  "episode" text,
  "title" text,
  "hammond_s_vehicle" text,
  "clarkson_s_vehicle" text,
  "may_s_vehicle" text,
  "back_up" text,
  "budget" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which month and year held the Bolivia Special title?`:
```sql
                SELECT "month_year" FROM "specials" WHERE "title"='bolivia special';
```
## Task
Generate a SQL query to answer the following question:
`When Hammond had the 1974 Toyota Land Cruiser, what was May's vehicle?`

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

CREATE TABLE "specials" (
  "month_year" text,
  "episode" text,
  "title" text,
  "hammond_s_vehicle" text,
  "clarkson_s_vehicle" text,
  "may_s_vehicle" text,
  "back_up" text,
  "budget" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Hammond had the 1974 Toyota Land Cruiser, what was May's vehicle?`:
```sql
                SELECT "may_s_vehicle" FROM "specials" WHERE "hammond_s_vehicle"='1974 toyota land cruiser';
```
## Task
Generate a SQL query to answer the following question:
`Which team has a right wing position listed?`

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

CREATE TABLE "round_five" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has a right wing position listed?`:
```sql
                SELECT "college_junior_club_team" FROM "round_five" WHERE "position"='right wing';
```
## Task
Generate a SQL query to answer the following question:
`What position is the player that is from Canada and on the Boston Bruins`

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

CREATE TABLE "round_five" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position is the player that is from Canada and on the Boston Bruins`:
```sql
                SELECT "position" FROM "round_five" WHERE "nationality"='canada' AND "nhl_team"='boston bruins';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player on the Los Angeles Kings?`

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

CREATE TABLE "round_five" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player on the Los Angeles Kings?`:
```sql
                SELECT "position" FROM "round_five" WHERE "nhl_team"='los angeles kings';
```
## Task
Generate a SQL query to answer the following question:
`Which team has the # 64 pick?`

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

CREATE TABLE "round_five" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has the # 64 pick?`:
```sql
                SELECT "college_junior_club_team" FROM "round_five" WHERE "pick_num"='64';
```
## Task
Generate a SQL query to answer the following question:
`What nationality is the #63 pick?`

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

CREATE TABLE "round_five" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality is the #63 pick?`:
```sql
                SELECT "nationality" FROM "round_five" WHERE "pick_num"='63';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player that is pick #69?`

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

CREATE TABLE "round_five" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player that is pick #69?`:
```sql
                SELECT "player" FROM "round_five" WHERE "pick_num"='69';
```
## Task
Generate a SQL query to answer the following question:
`Which tyres received 8 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which tyres received 8 points?`:
```sql
                SELECT "tyres" FROM "complete_formula_one_results" WHERE "points"=8;
```
## Task
Generate a SQL query to answer the following question:
`How many points were awarded to the Ford DFZ 3.5 V8?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points were awarded to the Ford DFZ 3.5 V8?`:
```sql
                SELECT SUM("points") FROM "complete_formula_one_results" WHERE "engine_s"='ford dfz 3.5 v8';
```
## Task
Generate a SQL query to answer the following question:
`Which engine received 0 points in 1988?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which engine received 0 points in 1988?`:
```sql
                SELECT "engine_s" FROM "complete_formula_one_results" WHERE "points"=0 AND "year"=1988;
```
## Task
Generate a SQL query to answer the following question:
`What's the Issue Date for an Eric Prydz song with a no available Download information?`

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

CREATE TABLE "singles_chart" (
  "week" real,
  "issue_date" text,
  "artist" text,
  "single" text,
  "download" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Issue Date for an Eric Prydz song with a no available Download information?`:
```sql
                SELECT "issue_date" FROM "singles_chart" WHERE "download"='no available' AND "artist"='eric prydz';
```
## Task
Generate a SQL query to answer the following question:
`What's the Download information for the song from Week 44?`

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

CREATE TABLE "singles_chart" (
  "week" real,
  "issue_date" text,
  "artist" text,
  "single" text,
  "download" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Download information for the song from Week 44?`:
```sql
                SELECT "download" FROM "singles_chart" WHERE "week"=44;
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the July 2 song that is downloaded as Crazy Frog?`

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

CREATE TABLE "singles_chart" (
  "week" real,
  "issue_date" text,
  "artist" text,
  "single" text,
  "download" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the July 2 song that is downloaded as Crazy Frog?`:
```sql
                SELECT "title" FROM "singles_chart" WHERE "download"='crazy frog' AND "issue_date"='july 2';
```
## Task
Generate a SQL query to answer the following question:
`What is the division record for Woodbridge?`

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

CREATE TABLE "2009_regular_season_football_standings" (
  "school" text,
  "team" text,
  "division_record" text,
  "overall_record" text,
  "season_outcome" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the division record for Woodbridge?`:
```sql
                SELECT "division_record" FROM "2009_regular_season_football_standings" WHERE "school"='woodbridge';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner-up when Polonia Bydgoszcz won and Mega-Lada Togliatti finished 3rd?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "venue" text,
  "winners" text,
  "runner_up" text,
  "3rd_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner-up when Polonia Bydgoszcz won and Mega-Lada Togliatti finished 3rd?`:
```sql
                SELECT "runner_up" FROM "previous_winners" WHERE "winners"='polonia bydgoszcz' AND "3rd_place"='mega-lada togliatti';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner-up in 2004?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "venue" text,
  "winners" text,
  "runner_up" text,
  "3rd_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner-up in 2004?`:
```sql
                SELECT "runner_up" FROM "previous_winners" WHERE "year"='2004';
```
## Task
Generate a SQL query to answer the following question:
`Who was the 3rd place team at Pardubice?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "venue" text,
  "winners" text,
  "runner_up" text,
  "3rd_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the 3rd place team at Pardubice?`:
```sql
                SELECT "3rd_place" FROM "previous_winners" WHERE "venue"='pardubice';
```
## Task
Generate a SQL query to answer the following question:
`Which country has a Euro that equals larger than 1.46611, and an usd equal to 1.76650?`

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

CREATE TABLE "currency" (
  "country" text,
  "currency" text,
  "1_euro" real,
  "1_usd" text,
  "central_bank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a Euro that equals larger than 1.46611, and an usd equal to 1.76650?`:
```sql
                SELECT "country" FROM "currency" WHERE "1_euro">1.46611 AND "1_usd"='1.76650';
```
## Task
Generate a SQL query to answer the following question:
`Which Chile central bank has a Euro larger than 297.547?`

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

CREATE TABLE "currency" (
  "country" text,
  "currency" text,
  "1_euro" real,
  "1_usd" text,
  "central_bank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Chile central bank has a Euro larger than 297.547?`:
```sql
                SELECT "central_bank" FROM "currency" WHERE "1_euro">297.547 AND "country"='chile';
```
## Task
Generate a SQL query to answer the following question:
`Name the To par for denmark`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the To par for denmark`:
```sql
                SELECT "to_par" FROM "third_round_saturday" WHERE "country"='denmark';
```
## Task
Generate a SQL query to answer the following question:
`Nam ethe place for pat perez`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Nam ethe place for pat perez`:
```sql
                SELECT "place" FROM "third_round_saturday" WHERE "player"='pat perez';
```
## Task
Generate a SQL query to answer the following question:
`Name the country vijay singh is from`

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

CREATE TABLE "third_round_saturday" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the country vijay singh is from`:
```sql
                SELECT "country" FROM "third_round_saturday" WHERE "player"='vijay singh';
```
## Task
Generate a SQL query to answer the following question:
`Which city has frequency under 106.5MHz and a callsign of w218ck?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has frequency under 106.5MHz and a callsign of w218ck?`:
```sql
                SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"<106.5 AND "call_sign"='w218ck';
```
## Task
Generate a SQL query to answer the following question:
`Which class has a city of Richmond, Virginia?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has a city of Richmond, Virginia?`:
```sql
                SELECT "class" FROM "translators" WHERE "city_of_license"='richmond, virginia';
```
## Task
Generate a SQL query to answer the following question:
`What is the ERP W for the frequency of 91.3MHz?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the ERP W for the frequency of 91.3MHz?`:
```sql
                SELECT "erp_w" FROM "translators" WHERE "frequency_m_hz"=91.3;
```
## Task
Generate a SQL query to answer the following question:
`Which call sign has a frequency greater than 98.5MHz and ERP W under 155?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which call sign has a frequency greater than 98.5MHz and ERP W under 155?`:
```sql
                SELECT "call_sign" FROM "translators" WHERE "frequency_m_hz">98.5 AND "erp_w"<155;
```
## Task
Generate a SQL query to answer the following question:
`Which tracks have a length of 18:36?`

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

CREATE TABLE "disc_list" (
  "disc" text,
  "title" text,
  "type" text,
  "length" text,
  "tracks" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which tracks have a length of 18:36?`:
```sql
                SELECT MIN("tracks") FROM "disc_list" WHERE "length"='18:36';
```
## Task
Generate a SQL query to answer the following question:
`What is the length of disc 67?`

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

CREATE TABLE "disc_list" (
  "disc" text,
  "title" text,
  "type" text,
  "length" text,
  "tracks" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the length of disc 67?`:
```sql
                SELECT "length" FROM "disc_list" WHERE "disc"='67';
```
## Task
Generate a SQL query to answer the following question:
`What points larger than 1950 has a maserati straight-6 engine?`

### 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 `What points larger than 1950 has a maserati straight-6 engine?`:
```sql
                SELECT "points" FROM "complete_formula_one_world_championship_" WHERE "year">1950 AND "engine"='maserati straight-6';
```
## Task
Generate a SQL query to answer the following question:
`What is the chassis for a 1952 officine alfieri maserati with an entrant?`

### 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 `What is the chassis for a 1952 officine alfieri maserati with an entrant?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "entrant"='officine alfieri maserati' AND "year"=1952;
```
## Task
Generate a SQL query to answer the following question:
`What type of engine does a 1951 alfa romeo 159m chasis have?`

### 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 `What type of engine does a 1951 alfa romeo 159m chasis have?`:
```sql
                SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year"=1951 AND "chassis"='alfa romeo 159m';
```
## Task
Generate a SQL query to answer the following question:
`What Entrant has a 1952 maserati straight-6 engine?`

### 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 `What Entrant has a 1952 maserati straight-6 engine?`:
```sql
                SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "engine"='maserati straight-6' AND "year"=1952;
```
## Task
Generate a SQL query to answer the following question:
`What Entrant older than 1950 has points smaller than 7?`

### 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 `What Entrant older than 1950 has points smaller than 7?`:
```sql
                SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year">1950 AND "points"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the total points that an 1951 Entrant alfa romeo spa have?`

### 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 `What is the total points that an 1951 Entrant alfa romeo spa have?`:
```sql
                SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='alfa romeo spa' AND "year"<1951;
```
## Task
Generate a SQL query to answer the following question:
`Who is the co-driver in 1999 with more than 32 laps?`

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

CREATE TABLE "bathurst_1000_results" (
  "year" real,
  "number" real,
  "team" text,
  "co_driver" text,
  "position" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the co-driver in 1999 with more than 32 laps?`:
```sql
                SELECT "co_driver" FROM "bathurst_1000_results" WHERE "laps">32 AND "year"=1999;
```
## Task
Generate a SQL query to answer the following question:
`Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix`

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

CREATE TABLE "drivers_standings" (
  "grand_prix" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix`:
```sql
                SELECT "winning_constructor" FROM "drivers_standings" WHERE "fastest_lap"='mark webber' AND "grand_prix"='malaysian grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Name the winning constructor for abu dhabi grand prix`

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

CREATE TABLE "drivers_standings" (
  "grand_prix" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winning constructor for abu dhabi grand prix`:
```sql
                SELECT "winning_constructor" FROM "drivers_standings" WHERE "grand_prix"='abu dhabi grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Name the pole position for belgian grand prix`

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

CREATE TABLE "drivers_standings" (
  "grand_prix" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pole position for belgian grand prix`:
```sql
                SELECT "pole_position" FROM "drivers_standings" WHERE "grand_prix"='belgian grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Name the pole positon for korean grand prix`

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

CREATE TABLE "drivers_standings" (
  "grand_prix" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pole positon for korean grand prix`:
```sql
                SELECT "pole_position" FROM "drivers_standings" WHERE "grand_prix"='korean grand prix';
```
## Task
Generate a SQL query to answer the following question:
`Name the pole position at the german grand prix`

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

CREATE TABLE "drivers_standings" (
  "grand_prix" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the pole position at the german grand prix`:
```sql
                SELECT "pole_position" FROM "drivers_standings" WHERE "grand_prix"='german grand prix';
```