cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the event result for athlete Ali Ekranpour?`

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

CREATE TABLE "muay" (
  "athlete" text,
  "event" text,
  "quarterfinal" text,
  "semifinal" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the event result for athlete Ali Ekranpour?`:
```sql
                SELECT "event" FROM "muay" WHERE "athlete"='ali ekranpour';
```
## Task
Generate a SQL query to answer the following question:
`What is the final result for the 63.5 kg?`

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

CREATE TABLE "muay" (
  "athlete" text,
  "event" text,
  "quarterfinal" text,
  "semifinal" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the final result for the 63.5 kg?`:
```sql
                SELECT "final" FROM "muay" WHERE "event"='63.5 kg';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the tournament in Scotland with a score of 270 (–18)?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "winner" text,
  "score" text,
  "1st_prize" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the tournament in Scotland with a score of 270 (–18)?`:
```sql
                SELECT "date" FROM "tournament_results" WHERE "score"='270 (–18)' AND "location"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`Where was the tournament won by Hale Irwin (19)?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "winner" text,
  "score" text,
  "1st_prize" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the tournament won by Hale Irwin (19)?`:
```sql
                SELECT "location" FROM "tournament_results" WHERE "winner"='hale irwin (19)';
```
## Task
Generate a SQL query to answer the following question:
`How much is vinculum when the parentheses are 0.(81)?`

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

CREATE TABLE "notation" (
  "fraction" text,
  "ellipsis" text,
  "vinculum" text,
  "dots" text,
  "parentheses" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much is vinculum when the parentheses are 0.(81)?`:
```sql
                SELECT "vinculum" FROM "notation" WHERE "parentheses"='0.(81)';
```
## Task
Generate a SQL query to answer the following question:
`What fraction has a value for dots of 0.\dot{3}?`

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

CREATE TABLE "notation" (
  "fraction" text,
  "ellipsis" text,
  "vinculum" text,
  "dots" text,
  "parentheses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What fraction has a value for dots of 0.\dot{3}?`:
```sql
                SELECT "fraction" FROM "notation" WHERE "dots"='0.\dot{3}';
```
## Task
Generate a SQL query to answer the following question:
`What is the dot value when the ellipsis is 0.012345679…?`

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

CREATE TABLE "notation" (
  "fraction" text,
  "ellipsis" text,
  "vinculum" text,
  "dots" text,
  "parentheses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the dot value when the ellipsis is 0.012345679…?`:
```sql
                SELECT "dots" FROM "notation" WHERE "ellipsis"='0.012345679…';
```
## Task
Generate a SQL query to answer the following question:
`What fraction has parentheses of 0.(3)?`

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

CREATE TABLE "notation" (
  "fraction" text,
  "ellipsis" text,
  "vinculum" text,
  "dots" text,
  "parentheses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What fraction has parentheses of 0.(3)?`:
```sql
                SELECT "fraction" FROM "notation" WHERE "parentheses"='0.(3)';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for parentheses with a dots value of 0.\dot{6}?`

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

CREATE TABLE "notation" (
  "fraction" text,
  "ellipsis" text,
  "vinculum" text,
  "dots" text,
  "parentheses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for parentheses with a dots value of 0.\dot{6}?`:
```sql
                SELECT "parentheses" FROM "notation" WHERE "dots"='0.\dot{6}';
```
## Task
Generate a SQL query to answer the following question:
`What is the value of vinculum for parentheses of 0.(6)?`

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

CREATE TABLE "notation" (
  "fraction" text,
  "ellipsis" text,
  "vinculum" text,
  "dots" text,
  "parentheses" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value of vinculum for parentheses of 0.(6)?`:
```sql
                SELECT "vinculum" FROM "notation" WHERE "parentheses"='0.(6)';
```
## Task
Generate a SQL query to answer the following question:
`When was the score 7-1?`

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

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

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss when the score was 7-1?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "score"='7-1';
```
## Task
Generate a SQL query to answer the following question:
`What was the loss when the record was 46-59?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the loss when the record was 46-59?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='46-59';
```
## Task
Generate a SQL query to answer the following question:
`Opponent of @ giants, and a Record of 8–12 had 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 `Opponent of @ giants, and a Record of 8–12 had what score?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='@ giants' AND "record"='8–12';
```
## Task
Generate a SQL query to answer the following question:
`Score of 4–0 had what attendance number?`

### 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 4–0 had what attendance number?`:
```sql
                SELECT COUNT("attendance") FROM "game_log" WHERE "score"='4–0';
```
## Task
Generate a SQL query to answer the following question:
`What was the losing bonus for the team with a try bonus of 3 and 47 tries for?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the losing bonus for the team with a try bonus of 3 and 47 tries for?`:
```sql
                SELECT "losing_bonus" FROM "2009_2010_table" WHERE "try_bonus"='3' AND "tries_for"='47';
```
## Task
Generate a SQL query to answer the following question:
`How many tries for does the team with 263 points against have?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many tries for does the team with 263 points against have?`:
```sql
                SELECT "tries_for" FROM "2009_2010_table" WHERE "points_against"='263';
```
## Task
Generate a SQL query to answer the following question:
`How many draws does the team with 385 points for have?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many draws does the team with 385 points for have?`:
```sql
                SELECT "drawn" FROM "2009_2010_table" WHERE "points_for"='385';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of losses for the team with 1 draw and 34 tries against?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of losses for the team with 1 draw and 34 tries against?`:
```sql
                SELECT "lost" FROM "2009_2010_table" WHERE "drawn"='1' AND "tries_against"='34';
```
## Task
Generate a SQL query to answer the following question:
`How many tries for does the team with a try bonus of 1 and 35 points earned?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many tries for does the team with a try bonus of 1 and 35 points earned?`:
```sql
                SELECT "tries_for" FROM "2009_2010_table" WHERE "points"='35' AND "try_bonus"='1';
```
## Task
Generate a SQL query to answer the following question:
`How many points does the team with 3 losses have?`

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

CREATE TABLE "2009_2010_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points does the team with 3 losses have?`:
```sql
                SELECT "points" FROM "2009_2010_table" WHERE "lost"='3';
```
## Task
Generate a SQL query to answer the following question:
`Which Rank is the lowest one that has a 1st (m) larger than 133.5, and an Overall WC points (Rank) of 459 (7)?`

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

CREATE TABLE "zakopane" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "points" real,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rank is the lowest one that has a 1st (m) larger than 133.5, and an Overall WC points (Rank) of 459 (7)?`:
```sql
                SELECT MIN("rank") FROM "zakopane" WHERE "1st_m">133.5 AND "overall_wc_points_rank"='459 (7)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the game where the record was 10-9-7?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the game where the record was 10-9-7?`:
```sql
                SELECT "score" FROM "schedule_and_results" WHERE "record"='10-9-7';
```
## Task
Generate a SQL query to answer the following question:
`What was the first time in December they played the Colorado Avalanche?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first time in December they played the Colorado Avalanche?`:
```sql
                SELECT MIN("december") FROM "schedule_and_results" WHERE "opponent"='colorado avalanche';
```
## Task
Generate a SQL query to answer the following question:
`What date was the winner the new york jets and a Result of 30–28?`

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

CREATE TABLE "1970s_jets_12_8" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the winner the new york jets and a Result of 30–28?`:
```sql
                SELECT "date" FROM "1970s_jets_12_8" WHERE "winner"='new york jets' AND "result"='30–28';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the location of the game with a Result of 21–16?`

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

CREATE TABLE "1970s_jets_12_8" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the location of the game with a Result of 21–16?`:
```sql
                SELECT "location" FROM "1970s_jets_12_8" WHERE "result"='21–16';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest year the new york jets won at harvard stadium?`

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

CREATE TABLE "1970s_jets_12_8" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest year the new york jets won at harvard stadium?`:
```sql
                SELECT MIN("year") FROM "1970s_jets_12_8" WHERE "winner"='new york jets' AND "location"='harvard stadium';
```
## Task
Generate a SQL query to answer the following question:
`Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?`

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

CREATE TABLE "1970s_jets_12_8" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?`:
```sql
                SELECT "loser" FROM "1970s_jets_12_8" WHERE "location"='schaefer stadium' AND "winner"='new england patriots' AND "date"='october 18';
```
## Task
Generate a SQL query to answer the following question:
`How many points did the club with a losing bonus of 2 and 300 points against have?`

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

CREATE TABLE "2008_09_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points did the club with a losing bonus of 2 and 300 points against have?`:
```sql
                SELECT "points_for" FROM "2008_09_table" WHERE "losing_bonus"='2' AND "points_against"='300';
```
## Task
Generate a SQL query to answer the following question:
`How many tries for did the club with a 3 losing bonus and 45 points have?`

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

CREATE TABLE "2008_09_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many tries for did the club with a 3 losing bonus and 45 points have?`:
```sql
                SELECT "tries_for" FROM "2008_09_table" WHERE "losing_bonus"='3' AND "points"='45';
```
## Task
Generate a SQL query to answer the following question:
`What is the try bonus of the club with played?`

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

CREATE TABLE "2008_09_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the try bonus of the club with played?`:
```sql
                SELECT "try_bonus" FROM "2008_09_table" WHERE "played"='played';
```
## Task
Generate a SQL query to answer the following question:
`How many points against did the club with points have?`

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

CREATE TABLE "2008_09_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many points against did the club with points have?`:
```sql
                SELECT "points_against" FROM "2008_09_table" WHERE "points"='points';
```
## Task
Generate a SQL query to answer the following question:
`What is the drawn by the club with 542 points against?`

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

CREATE TABLE "2008_09_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drawn by the club with 542 points against?`:
```sql
                SELECT "drawn" FROM "2008_09_table" WHERE "points_against"='542';
```
## Task
Generate a SQL query to answer the following question:
`How many losses did the club with 22 played and 334 points against have?`

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

CREATE TABLE "2008_09_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses did the club with 22 played and 334 points against have?`:
```sql
                SELECT "lost" FROM "2008_09_table" WHERE "played"='22' AND "points_against"='334';
```
## Task
Generate a SQL query to answer the following question:
`What attendance does 1-6 record have?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What attendance does 1-6 record have?`:
```sql
                SELECT SUM("attendance") FROM "schedule" WHERE "record"='1-6';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of Tampa Bay Buccaneers?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of Tampa Bay Buccaneers?`:
```sql
                SELECT "record" FROM "schedule" WHERE "opponent"='tampa bay buccaneers';
```
## Task
Generate a SQL query to answer the following question:
`What Nationality has a Position of right wing, with a #20 pick?`

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

CREATE TABLE "round_two" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Nationality has a Position of right wing, with a #20 pick?`:
```sql
                SELECT "nationality" FROM "round_two" WHERE "position"='right wing' AND "pick_num"='20';
```
## Task
Generate a SQL query to answer the following question:
`What College/junior/club team has a Position of centre, and pick is #22?`

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

CREATE TABLE "round_two" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What College/junior/club team has a Position of centre, and pick is #22?`:
```sql
                SELECT "college_junior_club_team" FROM "round_two" WHERE "position"='centre' AND "pick_num"='22';
```
## Task
Generate a SQL query to answer the following question:
`What is the NHL team that had pick number 32?`

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

CREATE TABLE "round_two" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NHL team that had pick number 32?`:
```sql
                SELECT "nhl_team" FROM "round_two" WHERE "pick_num"='32';
```
## Task
Generate a SQL query to answer the following question:
`What is the Pick # for the College/junior/club team of edmonton oil kings (wchl), and the position if defence?`

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

CREATE TABLE "round_two" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Pick # for the College/junior/club team of edmonton oil kings (wchl), and the position if defence?`:
```sql
                SELECT "pick_num" FROM "round_two" WHERE "college_junior_club_team"='edmonton oil kings (wchl)' AND "position"='defence';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the Player that shows the NHL team of new york rangers, and a Pick # of 31?`

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

CREATE TABLE "round_two" (
  "pick_num" text,
  "player" text,
  "position" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the Player that shows the NHL team of new york rangers, and a Pick # of 31?`:
```sql
                SELECT "player" FROM "round_two" WHERE "nhl_team"='new york rangers' AND "pick_num"='31';
```
## Task
Generate a SQL query to answer the following question:
`Which sum of Seasons in league has a Best Position of 5th (2007)?`

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

CREATE TABLE "participating_teams" (
  "pos_in_2007" text,
  "club" text,
  "city" text,
  "best_position" text,
  "seasons_in_league" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which sum of Seasons in league has a Best Position of 5th (2007)?`:
```sql
                SELECT SUM("seasons_in_league") FROM "participating_teams" WHERE "best_position"='5th (2007)';
```
## Task
Generate a SQL query to answer the following question:
`Which City has Seasons in league of 17, and a Club of shakhter?`

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

CREATE TABLE "participating_teams" (
  "pos_in_2007" text,
  "club" text,
  "city" text,
  "best_position" text,
  "seasons_in_league" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which City has Seasons in league of 17, and a Club of shakhter?`:
```sql
                SELECT "city" FROM "participating_teams" WHERE "seasons_in_league"=17 AND "club"='shakhter';
```
## Task
Generate a SQL query to answer the following question:
`What team won after 2008?`

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

CREATE TABLE "champions" (
  "season" real,
  "driver" text,
  "team" text,
  "tyre" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What team won after 2008?`:
```sql
                SELECT "team" FROM "champions" WHERE "season">2008;
```
## Task
Generate a SQL query to answer the following question:
`What team has fewer than 203 points?`

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

CREATE TABLE "champions" (
  "season" real,
  "driver" text,
  "team" text,
  "tyre" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What team has fewer than 203 points?`:
```sql
                SELECT "team" FROM "champions" WHERE "points"<203;
```
## Task
Generate a SQL query to answer the following question:
`What is total amount of points for the 2007 season?`

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

CREATE TABLE "champions" (
  "season" real,
  "driver" text,
  "team" text,
  "tyre" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is total amount of points for the 2007 season?`:
```sql
                SELECT SUM("points") FROM "champions" WHERE "season"=2007;
```
## Task
Generate a SQL query to answer the following question:
`Who is the driver for team Collé Racing with more than 206 points?`

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

CREATE TABLE "champions" (
  "season" real,
  "driver" text,
  "team" text,
  "tyre" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the driver for team Collé Racing with more than 206 points?`:
```sql
                SELECT "driver" FROM "champions" WHERE "team"='collé racing' AND "points">206;
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the couple was steve & anna?`

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

CREATE TABLE "week_3" (
  "couple" text,
  "score" text,
  "style" text,
  "music" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when the couple was steve & anna?`:
```sql
                SELECT "result" FROM "week_3" WHERE "couple"='steve & anna';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the couple was shannon & derek?`

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

CREATE TABLE "week_3" (
  "couple" text,
  "score" text,
  "style" text,
  "music" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the couple was shannon & derek?`:
```sql
                SELECT "score" FROM "week_3" WHERE "couple"='shannon & derek';
```
## Task
Generate a SQL query to answer the following question:
`What music did Mario & Karina perform?`

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

CREATE TABLE "week_3" (
  "couple" text,
  "score" text,
  "style" text,
  "music" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What music did Mario & Karina perform?`:
```sql
                SELECT "music" FROM "week_3" WHERE "couple"='mario & karina';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for Steve & Anna when the score was 21 (7, 7, 7)?`

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

CREATE TABLE "week_3" (
  "couple" text,
  "score" text,
  "style" text,
  "music" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for Steve & Anna when the score was 21 (7, 7, 7)?`:
```sql
                SELECT "result" FROM "week_3" WHERE "score"='21 (7, 7, 7)' AND "couple"='steve & anna';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the score was 21 (7, 6, 8)?`

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

CREATE TABLE "week_3" (
  "couple" text,
  "score" text,
  "style" text,
  "music" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when the score was 21 (7, 6, 8)?`:
```sql
                SELECT "result" FROM "week_3" WHERE "score"='21 (7, 6, 8)';
```
## Task
Generate a SQL query to answer the following question:
`Which Home has an Attendance larger than 17,250, and Points of 14?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home has an Attendance larger than 17,250, and Points of 14?`:
```sql
                SELECT "home" FROM "game_log" WHERE "attendance">'17,250' AND "points"=14;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Score of 3–3, and a Date of november 11?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Score of 3–3, and a Date of november 11?`:
```sql
                SELECT "points" FROM "game_log" WHERE "score"='3–3' AND "date"='november 11';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Home of pittsburgh, and a Record of 3–6–5?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Home of pittsburgh, and a Record of 3–6–5?`:
```sql
                SELECT "date" FROM "game_log" WHERE "home"='pittsburgh' AND "record"='3–6–5';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Score of 4–4, and Points of 17?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has a Score of 4–4, and Points of 17?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='4–4' AND "points"=17;
```
## Task
Generate a SQL query to answer the following question:
`What's the highest Loses, with Wins that's larger than 3 and a Pos. Larger than 3?`

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

CREATE TABLE "group_b" (
  "pos" real,
  "matches" real,
  "wins" real,
  "loses" real,
  "results" text,
  "points" real,
  "diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest Loses, with Wins that's larger than 3 and a Pos. Larger than 3?`:
```sql
                SELECT MAX("loses") FROM "group_b" WHERE "wins">3 AND "pos">3;
```
## Task
Generate a SQL query to answer the following question:
`Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (host nation), and a Total larger than 16?`

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

CREATE TABLE "medal_count" (
  "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 Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (host nation), and a Total larger than 16?`:
```sql
                SELECT COUNT("rank") FROM "medal_count" WHERE "bronze">1 AND "silver">0 AND "nation"='norway (host nation)' AND "total">16;
```
## Task
Generate a SQL query to answer the following question:
`Which Bronze has a Total of 11, and a Silver smaller than 6?`

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

CREATE TABLE "medal_count" (
  "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 Bronze has a Total of 11, and a Silver smaller than 6?`:
```sql
                SELECT MAX("bronze") FROM "medal_count" WHERE "total"=11 AND "silver"<6;
```
## Task
Generate a SQL query to answer the following question:
`Which Bronze has a Nation of canada, and a Rank smaller than 6?`

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

CREATE TABLE "medal_count" (
  "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 Bronze has a Nation of canada, and a Rank smaller than 6?`:
```sql
                SELECT AVG("bronze") FROM "medal_count" WHERE "nation"='canada' AND "rank"<6;
```
## Task
Generate a SQL query to answer the following question:
`Which Gold has a Bronze larger than 6?`

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

CREATE TABLE "medal_count" (
  "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 Gold has a Bronze larger than 6?`:
```sql
                SELECT MIN("gold") FROM "medal_count" WHERE "bronze">6;
```
## Task
Generate a SQL query to answer the following question:
`Which Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze smaller than 0?`

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

CREATE TABLE "medal_count" (
  "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 Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze smaller than 0?`:
```sql
                SELECT SUM("gold") FROM "medal_count" WHERE "rank">6 AND "nation"='netherlands' AND "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the torque of the 1.6 petrol with daewoo power?`

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

CREATE TABLE "spartana" (
  "name" text,
  "capacity" text,
  "power" text,
  "type" text,
  "torque" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the torque of the 1.6 petrol with daewoo power?`:
```sql
                SELECT "torque" FROM "spartana" WHERE "name"='1.6 petrol' AND "power"='daewoo';
```
## Task
Generate a SQL query to answer the following question:
`What is the torque of 1.2 petrol?`

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

CREATE TABLE "spartana" (
  "name" text,
  "capacity" text,
  "power" text,
  "type" text,
  "torque" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the torque of 1.2 petrol?`:
```sql
                SELECT "torque" FROM "spartana" WHERE "name"='1.2 petrol';
```
## Task
Generate a SQL query to answer the following question:
`What is the power of 1.9 diesel?`

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

CREATE TABLE "spartana" (
  "name" text,
  "capacity" text,
  "power" text,
  "type" text,
  "torque" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the power of 1.9 diesel?`:
```sql
                SELECT "power" FROM "spartana" WHERE "name"='1.9 diesel';
```
## Task
Generate a SQL query to answer the following question:
`What is the current map designation of the feature for which derain crater was the namesake?`

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

CREATE TABLE "schema_of_the_quadrangles" (
  "name" text,
  "number" text,
  "namesake" text,
  "albedo_feature_name" text,
  "area" text,
  "current_map" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current map designation of the feature for which derain crater was the namesake?`:
```sql
                SELECT "current_map" FROM "schema_of_the_quadrangles" WHERE "namesake"='derain crater';
```
## Task
Generate a SQL query to answer the following question:
`What is the Albedo name for Neruda?`

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

CREATE TABLE "schema_of_the_quadrangles" (
  "name" text,
  "number" text,
  "namesake" text,
  "albedo_feature_name" text,
  "area" text,
  "current_map" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Albedo name for Neruda?`:
```sql
                SELECT "albedo_feature_name" FROM "schema_of_the_quadrangles" WHERE "name"='neruda';
```
## Task
Generate a SQL query to answer the following question:
`What number is Kuiper?`

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

CREATE TABLE "schema_of_the_quadrangles" (
  "name" text,
  "number" text,
  "namesake" text,
  "albedo_feature_name" text,
  "area" text,
  "current_map" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number is Kuiper?`:
```sql
                SELECT "number" FROM "schema_of_the_quadrangles" WHERE "name"='kuiper';
```
## Task
Generate a SQL query to answer the following question:
`What is the current map designation of the feature which was named for discovery rupes?`

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

CREATE TABLE "schema_of_the_quadrangles" (
  "name" text,
  "number" text,
  "namesake" text,
  "albedo_feature_name" text,
  "area" text,
  "current_map" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current map designation of the feature which was named for discovery rupes?`:
```sql
                SELECT "current_map" FROM "schema_of_the_quadrangles" WHERE "namesake"='discovery rupes';
```
## Task
Generate a SQL query to answer the following question:
`What is the current map designation for Debussy?`

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

CREATE TABLE "schema_of_the_quadrangles" (
  "name" text,
  "number" text,
  "namesake" text,
  "albedo_feature_name" text,
  "area" text,
  "current_map" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current map designation for Debussy?`:
```sql
                SELECT "current_map" FROM "schema_of_the_quadrangles" WHERE "name"='debussy';
```
## Task
Generate a SQL query to answer the following question:
`What is the current map designation for Beethoven?`

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

CREATE TABLE "schema_of_the_quadrangles" (
  "name" text,
  "number" text,
  "namesake" text,
  "albedo_feature_name" text,
  "area" text,
  "current_map" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the current map designation for Beethoven?`:
```sql
                SELECT "current_map" FROM "schema_of_the_quadrangles" WHERE "name"='beethoven';
```
## Task
Generate a SQL query to answer the following question:
`What is the overall FHT points for Denis Kornilov?`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "2nd_m" real,
  "points" real,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the overall FHT points for Denis Kornilov?`:
```sql
                SELECT "overall_fht_points" FROM "bischofshofen" WHERE "name"='denis kornilov';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest 2nd (m) when the points were larger than 251.6?`

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

CREATE TABLE "bischofshofen" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "2nd_m" real,
  "points" real,
  "overall_fht_points" text,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest 2nd (m) when the points were larger than 251.6?`:
```sql
                SELECT MIN("2nd_m") FROM "bischofshofen" WHERE "points">251.6;
```
## Task
Generate a SQL query to answer the following question:
`What city ranked 7?`

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

CREATE TABLE "approved" (
  "rank" real,
  "name" text,
  "height_m_ft" text,
  "floors" real,
  "year_est" text,
  "city" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city ranked 7?`:
```sql
                SELECT "city" FROM "approved" WHERE "rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`How many floors were there with a building rank of less than 3 and a height of 300 / 985 m (ft)?`

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

CREATE TABLE "approved" (
  "rank" real,
  "name" text,
  "height_m_ft" text,
  "floors" real,
  "year_est" text,
  "city" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many floors were there with a building rank of less than 3 and a height of 300 / 985 m (ft)?`:
```sql
                SELECT COUNT("floors") FROM "approved" WHERE "height_m_ft"='300 / 985' AND "rank"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of Etihad Tower 5, with less than 62 floors?`

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

CREATE TABLE "approved" (
  "rank" real,
  "name" text,
  "height_m_ft" text,
  "floors" real,
  "year_est" text,
  "city" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of Etihad Tower 5, with less than 62 floors?`:
```sql
                SELECT MIN("rank") FROM "approved" WHERE "floors"<62 AND "name"='etihad tower 5';
```
## Task
Generate a SQL query to answer the following question:
`What city has a building ranked greater than 15 with floors greater than 43?`

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

CREATE TABLE "approved" (
  "rank" real,
  "name" text,
  "height_m_ft" text,
  "floors" real,
  "year_est" text,
  "city" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city has a building ranked greater than 15 with floors greater than 43?`:
```sql
                SELECT "city" FROM "approved" WHERE "rank">15 AND "floors">43;
```
## Task
Generate a SQL query to answer the following question:
`Which league is for baseball with Laredo Apaches?`

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

CREATE TABLE "defunct_teams" (
  "club" text,
  "sport" text,
  "league" text,
  "venue" text,
  "championships" real,
  "years_active" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which league is for baseball with Laredo Apaches?`:
```sql
                SELECT "league" FROM "defunct_teams" WHERE "sport"='baseball' AND "club"='laredo apaches';
```
## Task
Generate a SQL query to answer the following question:
`Which league has arena football in the club Laredo Lobos?`

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

CREATE TABLE "defunct_teams" (
  "club" text,
  "sport" text,
  "league" text,
  "venue" text,
  "championships" real,
  "years_active" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which league has arena football in the club Laredo Lobos?`:
```sql
                SELECT "league" FROM "defunct_teams" WHERE "sport"='arena football' AND "club"='laredo lobos';
```