cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What Tournament has a Winning score of +3 (71-72-70=213)?`

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

CREATE TABLE "lpga_tour_wins_7" (
  "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 Tournament has a Winning score of +3 (71-72-70=213)?`:
```sql
                SELECT "tournament" FROM "lpga_tour_wins_7" WHERE "winning_score"='+3 (71-72-70=213)';
```
## Task
Generate a SQL query to answer the following question:
`What date did the team play home in Toronto?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the team play home in Toronto?`:
```sql
                SELECT "date" FROM "february" WHERE "home"='toronto';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting?`:
```sql
                SELECT SUM("attendance") FROM "february" WHERE "visitor"='cleveland' AND "leading_scorer"='larry hughes(33)';
```
## Task
Generate a SQL query to answer the following question:
`When did they play Utah at home?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did they play Utah at home?`:
```sql
                SELECT "date" FROM "february" WHERE "home"='utah';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has balboa stadium as the opponent?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has balboa stadium as the opponent?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "stadium"='balboa stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest attendance that has oakland raiders as the opponent, with a week greater than 9?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest attendance that has oakland raiders as the opponent, with a week greater than 9?`:
```sql
                SELECT MAX("attendance") FROM "regular_season" WHERE "opponent"='oakland raiders' AND "week">9;
```
## Task
Generate a SQL query to answer the following question:
`Where is the headquarter of the conglomerate industry?`

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

CREATE TABLE "1999" (
  "rank" real,
  "name" text,
  "headquarters" text,
  "primary_industry" text,
  "market_value_usd_million" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the headquarter of the conglomerate industry?`:
```sql
                SELECT "headquarters" FROM "1999" WHERE "primary_industry"='conglomerate';
```
## Task
Generate a SQL query to answer the following question:
`What date was the game played at the venue of Hrazdan Stadium, Yerevan, Armenia?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the game played at the venue of Hrazdan Stadium, Yerevan, Armenia?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "venue"='hrazdan stadium, yerevan, armenia';
```
## Task
Generate a SQL query to answer the following question:
`Who was the bronze medal when the Asian Games were held in Busan?`

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

CREATE TABLE "individual" (
  "year" real,
  "location" text,
  "gold" text,
  "silver" text,
  "bronze" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the bronze medal when the Asian Games were held in Busan?`:
```sql
                SELECT "bronze" FROM "individual" WHERE "location"='busan';
```
## Task
Generate a SQL query to answer the following question:
`Who won the gold when Kim Hyang-Mi won the bronze?`

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

CREATE TABLE "individual" (
  "year" real,
  "location" text,
  "gold" text,
  "silver" text,
  "bronze" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the gold when Kim Hyang-Mi won the bronze?`:
```sql
                SELECT "gold" FROM "individual" WHERE "bronze"='kim hyang-mi';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest year that Park Jung-Ah won the gold?`

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

CREATE TABLE "individual" (
  "year" real,
  "location" text,
  "gold" text,
  "silver" text,
  "bronze" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest year that Park Jung-Ah won the gold?`:
```sql
                SELECT MIN("year") FROM "individual" WHERE "gold"='park jung-ah';
```
## Task
Generate a SQL query to answer the following question:
`Who won the bronze when the Asian Games were in Doha?`

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

CREATE TABLE "individual" (
  "year" real,
  "location" text,
  "gold" text,
  "silver" text,
  "bronze" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the bronze when the Asian Games were in Doha?`:
```sql
                SELECT "bronze" FROM "individual" WHERE "location"='doha';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance on November 29, 1953?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance on November 29, 1953?`:
```sql
                SELECT SUM("attendance") FROM "schedule" WHERE "date"='november 29, 1953';
```
## Task
Generate a SQL query to answer the following question:
`After Week 5, what was the Result of the game with Attendance greater than 22,057?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `After Week 5, what was the Result of the game with Attendance greater than 22,057?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance">'22,057' AND "week">5;
```
## Task
Generate a SQL query to answer the following question:
`Which NFL team picked Patrick Collins?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which NFL team picked Patrick Collins?`:
```sql
                SELECT "nfl_team" FROM "nfl_draft" WHERE "player"='patrick collins';
```
## Task
Generate a SQL query to answer the following question:
`Which NFL team picked a player for the Wide Receiver position?`

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

CREATE TABLE "nfl_draft" (
  "pick_num" real,
  "nfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which NFL team picked a player for the Wide Receiver position?`:
```sql
                SELECT "nfl_team" FROM "nfl_draft" WHERE "position"='wide receiver';
```
## Task
Generate a SQL query to answer the following question:
`What result has a year after 2002?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What result has a year after 2002?`:
```sql
                SELECT "result" FROM "achievements" WHERE "year">2002;
```
## Task
Generate a SQL query to answer the following question:
`What tournament has a year prior to 2001?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "extra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament has a year prior to 2001?`:
```sql
                SELECT "tournament" FROM "achievements" WHERE "year"<2001;
```
## Task
Generate a SQL query to answer the following question:
`On what date does visiting team Minnesota score higher than 47 points?`

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

CREATE TABLE "january" (
  "game_num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what date does visiting team Minnesota score higher than 47 points?`:
```sql
                SELECT "date" FROM "january" WHERE "points">47 AND "visitor"='minnesota';
```
## Task
Generate a SQL query to answer the following question:
`What date does visitor team Toronto score less than 49 points and has record of 18-17-7?`

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

CREATE TABLE "january" (
  "game_num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date does visitor team Toronto score less than 49 points and has record of 18-17-7?`:
```sql
                SELECT "date" FROM "january" WHERE "visitor"='toronto' AND "points"<49 AND "record"='18-17-7';
```
## Task
Generate a SQL query to answer the following question:
`What is the fleet number for the model of Gillig Phantom 3096TB?`

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

CREATE TABLE "retired_fleet" (
  "year" text,
  "model" text,
  "length" text,
  "width" text,
  "fleet_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fleet number for the model of Gillig Phantom 3096TB?`:
```sql
                SELECT "fleet_number" FROM "retired_fleet" WHERE "model"='gillig phantom 3096tb';
```
## Task
Generate a SQL query to answer the following question:
`What is the width for the year of the 1970?`

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

CREATE TABLE "retired_fleet" (
  "year" text,
  "model" text,
  "length" text,
  "width" text,
  "fleet_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the width for the year of the 1970?`:
```sql
                SELECT "width" FROM "retired_fleet" WHERE "year"='1970';
```
## Task
Generate a SQL query to answer the following question:
`Which year has a fleet number of 603?`

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

CREATE TABLE "retired_fleet" (
  "year" text,
  "model" text,
  "length" text,
  "width" text,
  "fleet_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year has a fleet number of 603?`:
```sql
                SELECT "year" FROM "retired_fleet" WHERE "fleet_number"='603';
```
## Task
Generate a SQL query to answer the following question:
`What is the length of fleet number 501-506?`

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

CREATE TABLE "retired_fleet" (
  "year" text,
  "model" text,
  "length" text,
  "width" text,
  "fleet_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the length of fleet number 501-506?`:
```sql
                SELECT "length" FROM "retired_fleet" WHERE "fleet_number"='501-506';
```
## Task
Generate a SQL query to answer the following question:
`What is fleet number for the year of 19xx?`

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

CREATE TABLE "retired_fleet" (
  "year" text,
  "model" text,
  "length" text,
  "width" text,
  "fleet_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is fleet number for the year of 19xx?`:
```sql
                SELECT "fleet_number" FROM "retired_fleet" WHERE "year"='19xx';
```
## Task
Generate a SQL query to answer the following question:
`What is the fleet number of Model Orion 01.507?`

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

CREATE TABLE "retired_fleet" (
  "year" text,
  "model" text,
  "length" text,
  "width" text,
  "fleet_number" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fleet number of Model Orion 01.507?`:
```sql
                SELECT "fleet_number" FROM "retired_fleet" WHERE "model"='orion 01.507';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest round of Ed Smith, who had a pick higher than 261 and played halfback?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest round of Ed Smith, who had a pick higher than 261 and played halfback?`:
```sql
                SELECT MAX("round") FROM "nfl_draft" WHERE "pick"<261 AND "position"='halfback' AND "player"='ed smith';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest round of Ed Smith, who had a pick lower than 19?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest round of Ed Smith, who had a pick lower than 19?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "player"='ed smith' AND "pick">19;
```
## Task
Generate a SQL query to answer the following question:
`Which player had a round of 27?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had a round of 27?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "round"=27;
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player with a round less than 20 from the school/club Washington?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player with a round less than 20 from the school/club Washington?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "round"<20 AND "school_club_team"='washington';
```
## Task
Generate a SQL query to answer the following question:
`Location of hemisfair arena had what record?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Location of hemisfair arena had what record?`:
```sql
                SELECT "record" FROM "game_log" WHERE "location"='hemisfair arena';
```
## Task
Generate a SQL query to answer the following question:
`Record of 20–4 involved what highest game?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Record of 20–4 involved what highest game?`:
```sql
                SELECT MAX("game") FROM "game_log" WHERE "record"='20–4';
```
## Task
Generate a SQL query to answer the following question:
`Opponent of @ phoenix suns had what sum of game?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Opponent of @ phoenix suns had what sum of game?`:
```sql
                SELECT SUM("game") FROM "game_log" WHERE "opponent"='@ phoenix suns';
```
## Task
Generate a SQL query to answer the following question:
`Score of 122–105 had what record?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Score of 122–105 had what record?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='122–105';
```
## Task
Generate a SQL query to answer the following question:
`In the final, who are the opponents of partner Simon Aspelin?`

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

CREATE TABLE "doubles_champion_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the final, who are the opponents of partner Simon Aspelin?`:
```sql
                SELECT "opponents_in_the_final" FROM "doubles_champion_6" WHERE "partner"='simon aspelin';
```
## Task
Generate a SQL query to answer the following question:
`For the tournament played on 26 February 2006, what surface was used?`

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

CREATE TABLE "doubles_champion_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the tournament played on 26 February 2006, what surface was used?`:
```sql
                SELECT "surface" FROM "doubles_champion_6" WHERE "date"='26 february 2006';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Record of 58–10?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Record of 58–10?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='58–10';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Score of 106–112?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Score of 106–112?`:
```sql
                SELECT "date" FROM "game_log" WHERE "score"='106–112';
```
## Task
Generate a SQL query to answer the following question:
`Who was second when Martynas Norkus was the skip?`

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

CREATE TABLE "group_b2" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was second when Martynas Norkus was the skip?`:
```sql
                SELECT "second" FROM "group_b2" WHERE "skip"='martynas norkus';
```
## Task
Generate a SQL query to answer the following question:
`Who was the second when Ilian Kirilov was the lead?`

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

CREATE TABLE "group_b2" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the second when Ilian Kirilov was the lead?`:
```sql
                SELECT "second" FROM "group_b2" WHERE "lead"='ilian kirilov';
```
## Task
Generate a SQL query to answer the following question:
`Who was the lead when Jamie Meikle was the skip?`

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

CREATE TABLE "group_b2" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the lead when Jamie Meikle was the skip?`:
```sql
                SELECT "lead" FROM "group_b2" WHERE "skip"='jamie meikle';
```
## Task
Generate a SQL query to answer the following question:
`Who was the lead when Ritvars Gulbis was the skip?`

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

CREATE TABLE "group_b2" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the lead when Ritvars Gulbis was the skip?`:
```sql
                SELECT "lead" FROM "group_b2" WHERE "skip"='ritvars gulbis';
```
## Task
Generate a SQL query to answer the following question:
`Who came in third in England?`

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

CREATE TABLE "group_b2" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who came in third in England?`:
```sql
                SELECT "third" FROM "group_b2" WHERE "nation"='england';
```
## Task
Generate a SQL query to answer the following question:
`In what nation did Darko Sovran place third?`

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

CREATE TABLE "group_b2" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what nation did Darko Sovran place third?`:
```sql
                SELECT "nation" FROM "group_b2" WHERE "third"='darko sovran';
```
## Task
Generate a SQL query to answer the following question:
`What is the tournament with a w/o score on November 5, 2007?`

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

CREATE TABLE "singles_titles_14" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tournament with a w/o score on November 5, 2007?`:
```sql
                SELECT "tournament" FROM "singles_titles_14" WHERE "score"='w/o' AND "date"='november 5, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface of eckental tournament with a w/o score?`

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

CREATE TABLE "singles_titles_14" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface of eckental tournament with a w/o score?`:
```sql
                SELECT "surface" FROM "singles_titles_14" WHERE "tournament"='eckental' AND "score"='w/o';
```
## Task
Generate a SQL query to answer the following question:
`What is the tournament with a hard surface and Ruben de Kleijn as the opponent?`

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

CREATE TABLE "singles_titles_14" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tournament with a hard surface and Ruben de Kleijn as the opponent?`:
```sql
                SELECT "tournament" FROM "singles_titles_14" WHERE "surface"='hard' AND "opponent"='ruben de kleijn';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the tournament on November 5, 2007 with a carpet surface?`

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

CREATE TABLE "singles_titles_14" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the tournament on November 5, 2007 with a carpet surface?`:
```sql
                SELECT "score" FROM "singles_titles_14" WHERE "surface"='carpet' AND "date"='november 5, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the surface of the tournament with Sascha Kloer as the opponent?`

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

CREATE TABLE "singles_titles_14" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface of the tournament with Sascha Kloer as the opponent?`:
```sql
                SELECT "surface" FROM "singles_titles_14" WHERE "opponent"='sascha kloer';
```
## Task
Generate a SQL query to answer the following question:
`what team scored in gomel`

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

CREATE TABLE "teams_and_venues" (
  "team" text,
  "location" text,
  "venue" text,
  "capacity" real,
  "position_in_1993_94" text
);
### SQL
Given the database schema, here is the SQL query that answers `what team scored in gomel`:
```sql
                SELECT "team" FROM "teams_and_venues" WHERE "location"='gomel';
```
## Task
Generate a SQL query to answer the following question:
`What is the average conceded number of the team with a position lower than 8 and more than 2 wins?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average conceded number of the team with a position lower than 8 and more than 2 wins?`:
```sql
                SELECT AVG("conceded") FROM "torneo_apertura" WHERE "position">8 AND "wins">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the averaged scored number of team guaraní, which has less than 6 draws and less than 5 losses?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the averaged scored number of team guaraní, which has less than 6 draws and less than 5 losses?`:
```sql
                SELECT AVG("scored") FROM "torneo_apertura" WHERE "draws"<6 AND "team"='guaraní' AND "losses"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number scored of the team positioned lower than 10?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number scored of the team positioned lower than 10?`:
```sql
                SELECT COUNT("scored") FROM "torneo_apertura" WHERE "position">10;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of wins of the team with less than 24 scored, 27 conceded, and more than 18 played?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of wins of the team with less than 24 scored, 27 conceded, and more than 18 played?`:
```sql
                SELECT MIN("wins") FROM "torneo_apertura" WHERE "scored"<24 AND "conceded"=27 AND "played">18;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of points of the team with 2 losses and a lower than 1 position?`

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

CREATE TABLE "torneo_apertura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of points of the team with 2 losses and a lower than 1 position?`:
```sql
                SELECT MIN("points") FROM "torneo_apertura" WHERE "losses"=2 AND "position">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16?`

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

CREATE TABLE "brazilian_clubs_in_international_competi" (
  "team" text,
  "copa_libertadores_1993" text,
  "supercopa_sudamericana_1993" text,
  "copa_conmebol_1993" text,
  "recopa_sudamericana_1993" text,
  "intercontinental_cup_1993" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16?`:
```sql
                SELECT "intercontinental_cup_1993" FROM "brazilian_clubs_in_international_competi" WHERE "supercopa_sudamericana_1993"='round of 16';
```
## Task
Generate a SQL query to answer the following question:
`Who received the Loss during the game with an Attendance larger than 50,589 and a Record of 71–57?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who received the Loss during the game with an Attendance larger than 50,589 and a Record of 71–57?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "attendance">'50,589' AND "record"='71–57';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent?`:
```sql
                SELECT MIN("november") FROM "regular_season" WHERE "game">22 AND "opponent"='toronto maple leafs';
```
## Task
Generate a SQL query to answer the following question:
`What is the family friendly status of the punk genre song from the 1970s?`

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

CREATE TABLE "wii_version" (
  "song_title" text,
  "artist" text,
  "decade" text,
  "genre" text,
  "family_friendly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the family friendly status of the punk genre song from the 1970s?`:
```sql
                SELECT "family_friendly" FROM "wii_version" WHERE "decade"='1970s' AND "genre"='punk';
```
## Task
Generate a SQL query to answer the following question:
`Who is the artist of the rock song?`

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

CREATE TABLE "wii_version" (
  "song_title" text,
  "artist" text,
  "decade" text,
  "genre" text,
  "family_friendly" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the artist of the rock song?`:
```sql
                SELECT "artist" FROM "wii_version" WHERE "genre"='rock';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of bronze medals for nations with under 0 golds?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of bronze medals for nations with under 0 golds?`:
```sql
                SELECT MAX("bronze") FROM "medal_table" WHERE "gold"<0;
```
## Task
Generate a SQL query to answer the following question:
`How many points did Stuart have when he had 0 extra points?`

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

CREATE TABLE "michigan_36_drake_4" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did Stuart have when he had 0 extra points?`:
```sql
                SELECT MIN("points") FROM "michigan_36_drake_4" WHERE "player"='stuart' AND "extra_points"<0;
```
## Task
Generate a SQL query to answer the following question:
`Who had the lowest field goals but had 10 points and more than 2 touchdowns?`

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

CREATE TABLE "michigan_36_drake_4" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the lowest field goals but had 10 points and more than 2 touchdowns?`:
```sql
                SELECT MIN("field_goals") FROM "michigan_36_drake_4" WHERE "points"=10 AND "touchdowns">2;
```
## Task
Generate a SQL query to answer the following question:
`How many points did Stuart have when he had less than 1 touchdown?`

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

CREATE TABLE "michigan_36_drake_4" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did Stuart have when he had less than 1 touchdown?`:
```sql
                SELECT SUM("points") FROM "michigan_36_drake_4" WHERE "player"='stuart' AND "touchdowns"<1;
```
## Task
Generate a SQL query to answer the following question:
`Who had a points average with 0 extra points and 0 field goals?`

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

CREATE TABLE "michigan_36_drake_4" (
  "player" text,
  "touchdowns" real,
  "extra_points" real,
  "field_goals" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who had a points average with 0 extra points and 0 field goals?`:
```sql
                SELECT AVG("points") FROM "michigan_36_drake_4" WHERE "extra_points"=0 AND "field_goals">0;
```
## Task
Generate a SQL query to answer the following question:
`What was the result in the Golden Reel Awards?`

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

CREATE TABLE "awards" (
  "year" real,
  "event" text,
  "award" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result in the Golden Reel Awards?`:
```sql
                SELECT "result" FROM "awards" WHERE "event"='golden reel awards';
```
## Task
Generate a SQL query to answer the following question:
`Record of 16–29 is how many attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Record of 16–29 is how many attendance?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "record"='16–29';
```
## Task
Generate a SQL query to answer the following question:
`Loss of peavy (4–3) is what score?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Loss of peavy (4–3) is what score?`:
```sql
                SELECT "score" FROM "game_log" WHERE "loss"='peavy (4–3)';
```
## Task
Generate a SQL query to answer the following question:
`Score of 3–2, and a Opponent of reds had what sum of attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Score of 3–2, and a Opponent of reds had what sum of attendance?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "score"='3–2' AND "opponent"='reds';
```
## Task
Generate a SQL query to answer the following question:
`Score of 6–4, and a Opponent of @ marlins had what record?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Score of 6–4, and a Opponent of @ marlins had what record?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='6–4' AND "opponent"='@ marlins';
```
## Task
Generate a SQL query to answer the following question:
`Which Cuts made has a Tournament of totals, and Wins smaller than 11?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Cuts made has a Tournament of totals, and Wins smaller than 11?`:
```sql
                SELECT AVG("cuts_made") FROM "summary" WHERE "tournament"='totals' AND "wins"<11;
```
## Task
Generate a SQL query to answer the following question:
`Which Top-25 has a Top-5 smaller than 0?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top-25 has a Top-5 smaller than 0?`:
```sql
                SELECT SUM("top_25") FROM "summary" WHERE "top_5"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11?`:
```sql
                SELECT SUM("top_25") FROM "summary" WHERE "top_5">9 AND "wins"<11;
```
## Task
Generate a SQL query to answer the following question:
`Which Top-5 is the highest one that has Wins of 0, and Events larger than 6?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top-5 is the highest one that has Wins of 0, and Events larger than 6?`:
```sql
                SELECT MAX("top_5") FROM "summary" WHERE "wins"=0 AND "events">6;
```
## Task
Generate a SQL query to answer the following question:
`Which Top-5 is the lowest one that has Cuts made of 10, and Events larger than 10?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top-5 is the lowest one that has Cuts made of 10, and Events larger than 10?`:
```sql
                SELECT MIN("top_5") FROM "summary" WHERE "cuts_made"=10 AND "events">10;
```
## Task
Generate a SQL query to answer the following question:
`Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2?`:
```sql
                SELECT MAX("events") FROM "summary" WHERE "top_10">7 AND "wins"<2;
```
## Task
Generate a SQL query to answer the following question:
`When the surface is clay, and the tournament of barcelona what is the score?`

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

CREATE TABLE "singles_18_12_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the surface is clay, and the tournament of barcelona what is the score?`:
```sql
                SELECT "score" FROM "singles_18_12_6" WHERE "surface"='clay' AND "tournament"='barcelona';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface when the opponent was judith wiesner, and the outcome was winner?`

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

CREATE TABLE "singles_18_12_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface when the opponent was judith wiesner, and the outcome was winner?`:
```sql
                SELECT "surface" FROM "singles_18_12_6" WHERE "outcome"='winner' AND "opponent"='judith wiesner';
```
## Task
Generate a SQL query to answer the following question:
`What is the opponent for the tournament of rio de janeiro?`

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

CREATE TABLE "singles_18_12_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the opponent for the tournament of rio de janeiro?`:
```sql
                SELECT "opponent" FROM "singles_18_12_6" WHERE "tournament"='rio de janeiro';
```
## Task
Generate a SQL query to answer the following question:
`What is the opponent with the outcome of runner-up with a date of 19 september 1994?`

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

CREATE TABLE "singles_18_12_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the opponent with the outcome of runner-up with a date of 19 september 1994?`:
```sql
                SELECT "opponent" FROM "singles_18_12_6" WHERE "outcome"='runner-up' AND "date"='19 september 1994';
```
## Task
Generate a SQL query to answer the following question:
`What was the opponent for the tournament of taranto?`

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

CREATE TABLE "singles_18_12_6" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the opponent for the tournament of taranto?`:
```sql
                SELECT "opponent" FROM "singles_18_12_6" WHERE "tournament"='taranto';
```