cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which english website has a daily frequency ?`

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

CREATE TABLE "newspapers" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which english website has a daily frequency ?`:
```sql
                SELECT "website" FROM "newspapers" WHERE "language"='english' AND "frequency"='daily';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ?`

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

CREATE TABLE "newspapers" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ?`:
```sql
                SELECT "frequency" FROM "newspapers" WHERE "city"='nuevo laredo' AND "name"='el diario de nuevo laredo';
```
## Task
Generate a SQL query to answer the following question:
`What is the website of the Laredo Sun in the city of Laredo ?`

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

CREATE TABLE "newspapers" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the website of the Laredo Sun in the city of Laredo ?`:
```sql
                SELECT "website" FROM "newspapers" WHERE "city"='laredo' AND "name"='laredo sun';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the newspaper with the website liderinformativo.com ?`

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

CREATE TABLE "newspapers" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the newspaper with the website liderinformativo.com ?`:
```sql
                SELECT "name" FROM "newspapers" WHERE "website"='liderinformativo.com';
```
## Task
Generate a SQL query to answer the following question:
`Which website is in english and has the frequency of an online newspaper ?`

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

CREATE TABLE "newspapers" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which website is in english and has the frequency of an online newspaper ?`:
```sql
                SELECT "website" FROM "newspapers" WHERE "language"='english' AND "frequency"='online newspaper';
```
## Task
Generate a SQL query to answer the following question:
`Which city has spanish news on the website ultimahora.com ?`

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

CREATE TABLE "newspapers" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has spanish news on the website ultimahora.com ?`:
```sql
                SELECT "city" FROM "newspapers" WHERE "language"='spanish' AND "website"='ultimahora.com';
```
## Task
Generate a SQL query to answer the following question:
`Which line after 1959 had the highest amount of points?`

### 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 `Which line after 1959 had the highest amount of points?`:
```sql
                SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "year">1959;
```
## Task
Generate a SQL query to answer the following question:
`Which line has the lowest amount of points and a year of 1954?`

### 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 `Which line has the lowest amount of points and a year of 1954?`:
```sql
                SELECT MIN("points") FROM "complete_formula_one_world_championship_" WHERE "year"=1954;
```
## Task
Generate a SQL query to answer the following question:
`What is the total amount of points that Christy has in the years before 1954?`

### 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 amount of points that Christy has in the years before 1954?`:
```sql
                SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='christy' AND "year"<1954;
```
## Task
Generate a SQL query to answer the following question:
`Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering?`

### 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 `Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering?`:
```sql
                SELECT MAX("year") FROM "complete_formula_one_world_championship_" WHERE "engine"='offenhauser l4' AND "chassis"='kurtis kraft 500c' AND "entrant"='federal engineering';
```
## Task
Generate a SQL query to answer the following question:
`Which chasis was in the year 1954?`

### 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 `Which chasis was in the year 1954?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"=1954;
```
## Task
Generate a SQL query to answer the following question:
`What is the final score in 2007 for the world league in novi sad played against Italy?`

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

CREATE TABLE "matches" (
  "year" real,
  "competition" text,
  "town" text,
  "opponent" text,
  "final_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the final score in 2007 for the world league in novi sad played against Italy?`:
```sql
                SELECT "final_score" FROM "matches" WHERE "year"=2007 AND "competition"='world league' AND "town"='novi sad' AND "opponent"='italy';
```
## Task
Generate a SQL query to answer the following question:
`what is the competition played in budva against italy?`

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

CREATE TABLE "matches" (
  "year" real,
  "competition" text,
  "town" text,
  "opponent" text,
  "final_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the competition played in budva against italy?`:
```sql
                SELECT "competition" FROM "matches" WHERE "town"='budva' AND "opponent"='italy';
```
## Task
Generate a SQL query to answer the following question:
`what is the competition that had a final score of 6:5?`

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

CREATE TABLE "matches" (
  "year" real,
  "competition" text,
  "town" text,
  "opponent" text,
  "final_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the competition that had a final score of 6:5?`:
```sql
                SELECT "competition" FROM "matches" WHERE "final_score"='6:5';
```
## Task
Generate a SQL query to answer the following question:
`who is the opponent when played in trieste before 2007?`

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

CREATE TABLE "matches" (
  "year" real,
  "competition" text,
  "town" text,
  "opponent" text,
  "final_score" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the opponent when played in trieste before 2007?`:
```sql
                SELECT "opponent" FROM "matches" WHERE "year"<2007 AND "town"='trieste';
```
## Task
Generate a SQL query to answer the following question:
`What was Bob Jameson's lowest bonus where he had less than 15 rides?`

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

CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Bob Jameson's lowest bonus where he had less than 15 rides?`:
```sql
                SELECT MIN("bonus_pts") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "rider"='bob jameson' AND "rides"<15;
```
## Task
Generate a SQL query to answer the following question:
`How many rides did it take to get less than 3 bonus pts in no more than 7 matches?`

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

CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rides did it take to get less than 3 bonus pts in no more than 7 matches?`:
```sql
                SELECT MIN("rides") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "bonus_pts"<3 AND "matches"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the total for 34 matches with 111 rides, but no more than 15 bonus points?`

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

CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total for 34 matches with 111 rides, but no more than 15 bonus points?`:
```sql
                SELECT AVG("total_points") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "matches"=34 AND "rides"=111 AND "bonus_pts">15;
```
## Task
Generate a SQL query to answer the following question:
`How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?`

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

CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?`:
```sql
                SELECT COUNT("rides") FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "total_points"<274 AND "rider"='ray day' AND "bonus_pts">3;
```
## Task
Generate a SQL query to answer the following question:
`Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points?`

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

CREATE TABLE "1965_season_finished_5th_39pts_out_of_18" (
  "rider" text,
  "matches" real,
  "rides" real,
  "bonus_pts" real,
  "total_points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points?`:
```sql
                SELECT "rider" FROM "1965_season_finished_5th_39pts_out_of_18" WHERE "total_points"<342 AND "rides"<76 AND "matches"=7 AND "bonus_pts">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the Margin of victory on aug 11, 2002?`

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

CREATE TABLE "champions_tour_wins_45" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Margin of victory on aug 11, 2002?`:
```sql
                SELECT "margin_of_victory" FROM "champions_tour_wins_45" WHERE "date"='aug 11, 2002';
```
## Task
Generate a SQL query to answer the following question:
`When has a Winning score of –16 (70-65-65=200)?`

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

CREATE TABLE "champions_tour_wins_45" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has a Winning score of –16 (70-65-65=200)?`:
```sql
                SELECT "date" FROM "champions_tour_wins_45" WHERE "winning_score"='–16 (70-65-65=200)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Margin of victory on oct 5, 1997?`

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

CREATE TABLE "champions_tour_wins_45" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Margin of victory on oct 5, 1997?`:
```sql
                SELECT "margin_of_victory" FROM "champions_tour_wins_45" WHERE "date"='oct 5, 1997';
```
## Task
Generate a SQL query to answer the following question:
`What is the Winning score on oct 22, 2000?`

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

CREATE TABLE "champions_tour_wins_45" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winning score on oct 22, 2000?`:
```sql
                SELECT "winning_score" FROM "champions_tour_wins_45" WHERE "date"='oct 22, 2000';
```
## Task
Generate a SQL query to answer the following question:
`How many episodes have a share of 16.2% and an episode number of less than 1?`

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

CREATE TABLE "series_2" (
  "episode_no" real,
  "airdate" text,
  "total_viewers" real,
  "share" text,
  "bbc_one_weekly_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many episodes have a share of 16.2% and an episode number of less than 1?`:
```sql
                SELECT COUNT("total_viewers") FROM "series_2" WHERE "share"='16.2%' AND "episode_no"<1;
```
## Task
Generate a SQL query to answer the following question:
`If the French Open tournament had 2r in 2012, what was it in 2010?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the French Open tournament had 2r in 2012, what was it in 2010?`:
```sql
                SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "tournament"='french open';
```
## Task
Generate a SQL query to answer the following question:
`Which 2012 tournament had 2r in 2010?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2012 tournament had 2r in 2010?`:
```sql
                SELECT "2012" FROM "singles_performance_timeline" WHERE "2010"='2r';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament had 2r in 2010?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament had 2r in 2010?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "2010"='2r';
```
## Task
Generate a SQL query to answer the following question:
`If the French Open tournament had 2r in 2012, what was it in 2009?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the French Open tournament had 2r in 2012, what was it in 2009?`:
```sql
                SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "tournament"='french open';
```
## Task
Generate a SQL query to answer the following question:
`If the US Open tournament had 2r in 2012, what was it in 2010?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the US Open tournament had 2r in 2012, what was it in 2010?`:
```sql
                SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "tournament"='us open';
```
## Task
Generate a SQL query to answer the following question:
`What is the school, when the Team is Senators?`

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

CREATE TABLE "2005_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 school, when the Team is Senators?`:
```sql
                SELECT "school" FROM "2005_regular_season_football_standings" WHERE "team"='senators';
```
## Task
Generate a SQL query to answer the following question:
`What is the Season Outcome, when the School is Sussex Tech?`

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

CREATE TABLE "2005_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 Season Outcome, when the School is Sussex Tech?`:
```sql
                SELECT "season_outcome" FROM "2005_regular_season_football_standings" WHERE "school"='sussex tech';
```
## Task
Generate a SQL query to answer the following question:
`What is the School, when the Team is Golden Knights?`

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

CREATE TABLE "2005_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 School, when the Team is Golden Knights?`:
```sql
                SELECT "school" FROM "2005_regular_season_football_standings" WHERE "team"='golden knights';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue where the Result is 5–1?`

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

CREATE TABLE "mohamed_al_zeno_international_goals" (
  "goal" real,
  "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 Venue where the Result is 5–1?`:
```sql
                SELECT "venue" FROM "mohamed_al_zeno_international_goals" WHERE "result"='5–1';
```
## Task
Generate a SQL query to answer the following question:
`What was the Score where Goal is larger than 11, and a Competition of 2009 nehru cup, and had a Date of 24 august 2009?`

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

CREATE TABLE "mohamed_al_zeno_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Score where Goal is larger than 11, and a Competition of 2009 nehru cup, and had a Date of 24 august 2009?`:
```sql
                SELECT "score" FROM "mohamed_al_zeno_international_goals" WHERE "goal">11 AND "competition"='2009 nehru cup' AND "date"='24 august 2009';
```
## Task
Generate a SQL query to answer the following question:
`What is the Result where Goal is 9?`

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

CREATE TABLE "mohamed_al_zeno_international_goals" (
  "goal" real,
  "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 Result where Goal is 9?`:
```sql
                SELECT "result" FROM "mohamed_al_zeno_international_goals" WHERE "goal"=9;
```
## Task
Generate a SQL query to answer the following question:
`What was Goal that where Competition of international friendly, and a Result of 2–1?`

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

CREATE TABLE "mohamed_al_zeno_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Goal that where Competition of international friendly, and a Result of 2–1?`:
```sql
                SELECT "goal" FROM "mohamed_al_zeno_international_goals" WHERE "competition"='international friendly' AND "result"='2–1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Competition where the Score was 3–0, and the was Goal larger than 4?`

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

CREATE TABLE "mohamed_al_zeno_international_goals" (
  "goal" real,
  "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 where the Score was 3–0, and the was Goal larger than 4?`:
```sql
                SELECT "competition" FROM "mohamed_al_zeno_international_goals" WHERE "score"='3–0' AND "goal">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the 2009 estimate population of the Northeast?`

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

CREATE TABLE "the_five_regions" (
  "name" text,
  "population_2009_estimate" text,
  "largest_city" text,
  "largest_metropolitan_area" text,
  "number_of_states" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2009 estimate population of the Northeast?`:
```sql
                SELECT "population_2009_estimate" FROM "the_five_regions" WHERE "name"='northeast';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2009 estimate population of the region with Manaus as the largest city?`

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

CREATE TABLE "the_five_regions" (
  "name" text,
  "population_2009_estimate" text,
  "largest_city" text,
  "largest_metropolitan_area" text,
  "number_of_states" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2009 estimate population of the region with Manaus as the largest city?`:
```sql
                SELECT "population_2009_estimate" FROM "the_five_regions" WHERE "largest_city"='manaus';
```
## Task
Generate a SQL query to answer the following question:
`How many states has a 2009 estimate population of 27,3 million?`

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

CREATE TABLE "the_five_regions" (
  "name" text,
  "population_2009_estimate" text,
  "largest_city" text,
  "largest_metropolitan_area" text,
  "number_of_states" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many states has a 2009 estimate population of 27,3 million?`:
```sql
                SELECT "number_of_states" FROM "the_five_regions" WHERE "population_2009_estimate"='27,3 million';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest metropolitan area of the Central-West?`

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

CREATE TABLE "the_five_regions" (
  "name" text,
  "population_2009_estimate" text,
  "largest_city" text,
  "largest_metropolitan_area" text,
  "number_of_states" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest metropolitan area of the Central-West?`:
```sql
                SELECT "largest_metropolitan_area" FROM "the_five_regions" WHERE "name"='central-west';
```
## Task
Generate a SQL query to answer the following question:
`Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets?`

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

CREATE TABLE "appearances_in_tour_de_france" (
  "year" real,
  "stage" real,
  "category" real,
  "start" text,
  "finish" text,
  "leader_at_the_summit" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets?`:
```sql
                SELECT "leader_at_the_summit" FROM "appearances_in_tour_de_france" WHERE "stage">14 AND "category"=1 AND "start"='saint-girons' AND "finish"='cauterets';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?`

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

CREATE TABLE "appearances_in_tour_de_france" (
  "year" real,
  "stage" real,
  "category" real,
  "start" text,
  "finish" text,
  "leader_at_the_summit" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?`:
```sql
                SELECT MIN("year") FROM "appearances_in_tour_de_france" WHERE "start"='saint-gaudens' AND "stage"<15;
```
## Task
Generate a SQL query to answer the following question:
`Which Model had 37-78 seats?`

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

CREATE TABLE "four_abreast_cabin" (
  "model" text,
  "seats" text,
  "period" text,
  "built" real,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Model had 37-78 seats?`:
```sql
                SELECT "model" FROM "four_abreast_cabin" WHERE "seats"='37-78';
```
## Task
Generate a SQL query to answer the following question:
`Which studio did The Oregon Trail?`

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

CREATE TABLE "1936" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which studio did The Oregon Trail?`:
```sql
                SELECT "studio" FROM "1936" WHERE "title"='the oregon trail';
```
## Task
Generate a SQL query to answer the following question:
`Which title had Muriel Evans as leading lady?`

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

CREATE TABLE "1936" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which title had Muriel Evans as leading lady?`:
```sql
                SELECT "title" FROM "1936" WHERE "leading_lady"='muriel evans';
```
## Task
Generate a SQL query to answer the following question:
`Who is the leading lady in The Lonely Trail?`

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

CREATE TABLE "1936" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the leading lady in The Lonely Trail?`:
```sql
                SELECT "leading_lady" FROM "1936" WHERE "title"='the lonely trail';
```
## Task
Generate a SQL query to answer the following question:
`Who was the leading lady for Uni studio and Frank Strayer?`

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

CREATE TABLE "1936" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the leading lady for Uni studio and Frank Strayer?`:
```sql
                SELECT "leading_lady" FROM "1936" WHERE "studio"='uni' AND "director"='frank strayer';
```
## Task
Generate a SQL query to answer the following question:
`In which title was Ann Rutherford the leading lady for Joseph Kane?`

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

CREATE TABLE "1936" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which title was Ann Rutherford the leading lady for Joseph Kane?`:
```sql
                SELECT "title" FROM "1936" WHERE "leading_lady"='ann rutherford' AND "director"='joseph kane';
```
## Task
Generate a SQL query to answer the following question:
`Who is the leading lady in The Lonely Trail for Joseph Kane?`

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

CREATE TABLE "1936" (
  "title" text,
  "studio" text,
  "role" text,
  "leading_lady" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the leading lady in The Lonely Trail for Joseph Kane?`:
```sql
                SELECT "leading_lady" FROM "1936" WHERE "director"='joseph kane' AND "title"='the lonely trail';
```
## Task
Generate a SQL query to answer the following question:
`What was the Chassis with less than 8 points before 1960?`

### 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 was the Chassis with less than 8 points before 1960?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"<1960 AND "points"<8;
```
## Task
Generate a SQL query to answer the following question:
`Which Chassis has 0 points?`

### 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 `Which Chassis has 0 points?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "points"=0;
```
## Task
Generate a SQL query to answer the following question:
`What were the total Pints after 1957?`

### 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 were the total Pints after 1957?`:
```sql
                SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "year">1957;
```
## Task
Generate a SQL query to answer the following question:
`What was the most recent year for Dean Van Lines?`

### 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 was the most recent year for Dean Van Lines?`:
```sql
                SELECT MAX("year") FROM "complete_formula_one_world_championship_" WHERE "entrant"='dean van lines';
```
## Task
Generate a SQL query to answer the following question:
`What Gold Coast has Auckland cancelled, and Adelaide yes?`

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

CREATE TABLE "2012" (
  "auckland" text,
  "gold_coast" text,
  "sydney" text,
  "melbourne" text,
  "adelaide" text,
  "perth" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Gold Coast has Auckland cancelled, and Adelaide yes?`:
```sql
                SELECT "gold_coast" FROM "2012" WHERE "auckland"='cancelled' AND "adelaide"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Which Sydney has Auckland cancelled and Perth yes?`

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

CREATE TABLE "2012" (
  "auckland" text,
  "gold_coast" text,
  "sydney" text,
  "melbourne" text,
  "adelaide" text,
  "perth" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Sydney has Auckland cancelled and Perth yes?`:
```sql
                SELECT "sydney" FROM "2012" WHERE "auckland"='cancelled' AND "perth"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Which Sydney has Gold Coast no, Adelaide no< and Auckland no?`

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

CREATE TABLE "2012" (
  "auckland" text,
  "gold_coast" text,
  "sydney" text,
  "melbourne" text,
  "adelaide" text,
  "perth" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Sydney has Gold Coast no, Adelaide no< and Auckland no?`:
```sql
                SELECT "sydney" FROM "2012" WHERE "gold_coast"='no' AND "adelaide"='no' AND "auckland"='no';
```
## Task
Generate a SQL query to answer the following question:
`Which Gold Coast has Melbourne yes, and Auckland yes?`

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

CREATE TABLE "2012" (
  "auckland" text,
  "gold_coast" text,
  "sydney" text,
  "melbourne" text,
  "adelaide" text,
  "perth" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Gold Coast has Melbourne yes, and Auckland yes?`:
```sql
                SELECT "gold_coast" FROM "2012" WHERE "melbourne"='yes' AND "auckland"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Which Perth has Auckland yes and Gold Coast yes?`

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

CREATE TABLE "2012" (
  "auckland" text,
  "gold_coast" text,
  "sydney" text,
  "melbourne" text,
  "adelaide" text,
  "perth" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Perth has Auckland yes and Gold Coast yes?`:
```sql
                SELECT "perth" FROM "2012" WHERE "auckland"='yes' AND "gold_coast"='yes';
```
## Task
Generate a SQL query to answer the following question:
`Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no?`

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

CREATE TABLE "2012" (
  "auckland" text,
  "gold_coast" text,
  "sydney" text,
  "melbourne" text,
  "adelaide" text,
  "perth" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no?`:
```sql
                SELECT "gold_coast" FROM "2012" WHERE "auckland"='no' AND "adelaide"='yes' AND "melbourne"='no';
```
## Task
Generate a SQL query to answer the following question:
`What round was on 7 January 2003?`

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

CREATE TABLE "league_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What round was on 7 January 2003?`:
```sql
                SELECT "round" FROM "league_cup" WHERE "date"='7 january 2003';
```
## Task
Generate a SQL query to answer the following question:
`What is the result F_A on 17 December 2002?`

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

CREATE TABLE "league_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result F_A on 17 December 2002?`:
```sql
                SELECT "result_f_a" FROM "league_cup" WHERE "date"='17 december 2002';
```
## Task
Generate a SQL query to answer the following question:
`What attendance was on 7 January 2003?`

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

CREATE TABLE "league_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What attendance was on 7 January 2003?`:
```sql
                SELECT "attendance" FROM "league_cup" WHERE "date"='7 january 2003';
```
## Task
Generate a SQL query to answer the following question:
`Name the recording for 2012`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "category" text,
  "genre" text,
  "recording" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the recording for 2012`:
```sql
                SELECT "recording" FROM "awards_and_nominations" WHERE "year"='2012';
```
## Task
Generate a SQL query to answer the following question:
`Name the year with the best female pop vocal album and result of won`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "category" text,
  "genre" text,
  "recording" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year with the best female pop vocal album and result of won`:
```sql
                SELECT "year" FROM "awards_and_nominations" WHERE "category"='best female pop vocal album' AND "result"='won';
```
## Task
Generate a SQL query to answer the following question:
`Name the category for 2013`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "category" text,
  "genre" text,
  "recording" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the category for 2013`:
```sql
                SELECT "category" FROM "awards_and_nominations" WHERE "year"='2013';
```
## Task
Generate a SQL query to answer the following question:
`Which was the lowest gold when silver was smaller than 0?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which was the lowest gold when silver was smaller than 0?`:
```sql
                SELECT MIN("gold") FROM "medal_table" WHERE "silver"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which is the highest total at rank 6, bronze 2, and gold larger than 0?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which is the highest total at rank 6, bronze 2, and gold larger than 0?`:
```sql
                SELECT MAX("total") FROM "medal_table" WHERE "rank"=6 AND "bronze"=2 AND "gold">0;
```
## Task
Generate a SQL query to answer the following question:
`Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?`:
```sql
                SELECT MAX("bronze") FROM "medal_table" WHERE "rank">5 AND "nation"='chinese taipei' AND "total"<1;
```
## Task
Generate a SQL query to answer the following question:
`Name the US dance when the year is more than 1985`

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

CREATE TABLE "singles" (
  "year" real,
  "single" text,
  "u_s_hot_100" text,
  "u_s_dance" text,
  "u_s_r_b" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the US dance when the year is more than 1985`:
```sql
                SELECT "u_s_dance" FROM "singles" WHERE "year">1985;
```
## Task
Generate a SQL query to answer the following question:
`Name the US Hot 100 for album of I like you`

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

CREATE TABLE "singles" (
  "year" real,
  "single" text,
  "u_s_hot_100" text,
  "u_s_dance" text,
  "u_s_r_b" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the US Hot 100 for album of I like you`:
```sql
                SELECT "u_s_hot_100" FROM "singles" WHERE "album"='i like you';
```
## Task
Generate a SQL query to answer the following question:
`Name the US R&B for 1981`

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

CREATE TABLE "singles" (
  "year" real,
  "single" text,
  "u_s_hot_100" text,
  "u_s_dance" text,
  "u_s_r_b" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the US R&B for 1981`:
```sql
                SELECT "u_s_r_b" FROM "singles" WHERE "year"=1981;
```
## Task
Generate a SQL query to answer the following question:
`Who was the writer when Parkville Pictures Ltd was the recipient?`

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

CREATE TABLE "2008_i" (
  "director_s" text,
  "writer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the writer when Parkville Pictures Ltd was the recipient?`:
```sql
                SELECT "writer_s" FROM "2008_i" WHERE "recipient"='parkville pictures ltd';
```
## Task
Generate a SQL query to answer the following question:
`Alex Winckler wrote the film, who was the director?`

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

CREATE TABLE "2008_i" (
  "director_s" text,
  "writer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Alex Winckler wrote the film, who was the director?`:
```sql
                SELECT "director_s" FROM "2008_i" WHERE "writer_s"='alex winckler';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Edward Jeffreys the writer?`

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

CREATE TABLE "2008_i" (
  "director_s" text,
  "writer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Edward Jeffreys the writer?`:
```sql
                SELECT "date" FROM "2008_i" WHERE "writer_s"='edward jeffreys';
```
## Task
Generate a SQL query to answer the following question:
`What date was the award of £6,600 was given?`

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

CREATE TABLE "2008_i" (
  "director_s" text,
  "writer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the award of £6,600 was given?`:
```sql
                SELECT "date" FROM "2008_i" WHERE "award"='£6,600';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director that had a recipient of Redbag Pictures Ltd?`

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

CREATE TABLE "2008_i" (
  "director_s" text,
  "writer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director that had a recipient of Redbag Pictures Ltd?`:
```sql
                SELECT "director_s" FROM "2008_i" WHERE "recipient"='redbag pictures ltd';
```
## Task
Generate a SQL query to answer the following question:
`What's the name of the award that Edward Jeffreys was the writer?`

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

CREATE TABLE "2008_i" (
  "director_s" text,
  "writer_s" text,
  "recipient" text,
  "date" text,
  "award" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the name of the award that Edward Jeffreys was the writer?`:
```sql
                SELECT "award" FROM "2008_i" WHERE "writer_s"='edward jeffreys';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Player born in 1981?`

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

CREATE TABLE "fiba_euro_basket_2007_squads" (
  "player" text,
  "height" real,
  "position" text,
  "year_born" real,
  "current_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Player born in 1981?`:
```sql
                SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "year_born"=1981;
```