cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is Rinnal's title?`

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

CREATE TABLE "list_of_state_leaders_in_the_20th_centur" (
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Rinnal's title?`:
```sql
                SELECT "title" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "name"='rinnal';
```
## Task
Generate a SQL query to answer the following question:
`What title was used in 1911 bc?`

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

CREATE TABLE "list_of_state_leaders_in_the_20th_centur" (
  "type" text,
  "name" text,
  "title" text,
  "royal_house" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What title was used in 1911 bc?`:
```sql
                SELECT "title" FROM "list_of_state_leaders_in_the_20th_centur" WHERE "from"='1911 bc';
```
## Task
Generate a SQL query to answer the following question:
`Which player from United States is in place of t6?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player from United States is in place of t6?`:
```sql
                SELECT "player" FROM "second_round" WHERE "country"='united states' AND "place"='t6';
```
## Task
Generate a SQL query to answer the following question:
`Phil Mickelson has what  To par?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Phil Mickelson has what  To par?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "player"='phil mickelson';
```
## Task
Generate a SQL query to answer the following question:
`What high assists have a game greater than 46?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What high assists have a game greater than 46?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "game">46;
```
## Task
Generate a SQL query to answer the following question:
`What are the high points that have 42 as the 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,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the high points that have 42 as the game?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "game"=42;
```
## Task
Generate a SQL query to answer the following question:
`What record has 46 as the 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,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record has 46 as the game?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game"=46;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PLACE WITH A SCORE OF 67-70=137?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE PLACE WITH A SCORE OF 67-70=137?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='67-70=137';
```
## Task
Generate a SQL query to answer the following question:
`WHAT PLAYER HAS A SCORE OF 66-73=139?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT PLAYER HAS A SCORE OF 66-73=139?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='66-73=139';
```
## Task
Generate a SQL query to answer the following question:
`WHAT PLACE WAS A SCORE 67-70=137?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT PLACE WAS A SCORE 67-70=137?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='67-70=137';
```
## Task
Generate a SQL query to answer the following question:
`WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM?`:
```sql
                SELECT "country" FROM "second_round" WHERE "place"='t7' AND "player"='ian woosnam';
```
## Task
Generate a SQL query to answer the following question:
`WHAT COUNTRY HAS A SCORE OF 68-70=138?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT COUNTRY HAS A SCORE OF 68-70=138?`:
```sql
                SELECT "country" FROM "second_round" WHERE "score"='68-70=138';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest week when the New Orleans Saints were the opponents?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest week when the New Orleans Saints were the opponents?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "opponent"='new orleans saints';
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the opponent that having a TV time of Bye?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the opponent that having a TV time of Bye?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "tv_time"='bye';
```
## Task
Generate a SQL query to answer the following question:
`What is the Parameter that has the third phase of 0.50 m?`

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

CREATE TABLE "specifications" (
  "parameter" text,
  "1st_stage" text,
  "2nd_stage" text,
  "3rd_stage" text,
  "4th_stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Parameter that has the third phase of 0.50 m?`:
```sql
                SELECT "parameter" FROM "specifications" WHERE "3rd_stage"='0.50 m';
```
## Task
Generate a SQL query to answer the following question:
`What is the second stage that has the third phase of 20kn?`

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

CREATE TABLE "specifications" (
  "parameter" text,
  "1st_stage" text,
  "2nd_stage" text,
  "3rd_stage" text,
  "4th_stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the second stage that has the third phase of 20kn?`:
```sql
                SELECT "2nd_stage" FROM "specifications" WHERE "3rd_stage"='20kn';
```
## Task
Generate a SQL query to answer the following question:
`What is the third stage that has the first phase of 5,443kg?`

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

CREATE TABLE "specifications" (
  "parameter" text,
  "1st_stage" text,
  "2nd_stage" text,
  "3rd_stage" text,
  "4th_stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the third stage that has the first phase of 5,443kg?`:
```sql
                SELECT "3rd_stage" FROM "specifications" WHERE "1st_stage"='5,443kg';
```
## Task
Generate a SQL query to answer the following question:
`What is the Parameter that has the third phase of 20kn?`

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

CREATE TABLE "specifications" (
  "parameter" text,
  "1st_stage" text,
  "2nd_stage" text,
  "3rd_stage" text,
  "4th_stage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Parameter that has the third phase of 20kn?`:
```sql
                SELECT "parameter" FROM "specifications" WHERE "3rd_stage"='20kn';
```
## Task
Generate a SQL query to answer the following question:
`What year did the Grizzlies play for the UNLV team?`

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

CREATE TABLE "a" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the Grizzlies play for the UNLV team?`:
```sql
                SELECT "years_for_grizzlies" FROM "a" WHERE "school_club_team"='unlv';
```
## Task
Generate a SQL query to answer the following question:
`What nationality is the forward/center position?`

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

CREATE TABLE "a" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nationality is the forward/center position?`:
```sql
                SELECT "nationality" FROM "a" WHERE "position"='forward/center';
```
## Task
Generate a SQL query to answer the following question:
`What team is from the United States and plays a guard position for the Grizzlies in 2012?`

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

CREATE TABLE "a" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team is from the United States and plays a guard position for the Grizzlies in 2012?`:
```sql
                SELECT "school_club_team" FROM "a" WHERE "nationality"='united states' AND "position"='guard' AND "years_for_grizzlies"='2012';
```
## Task
Generate a SQL query to answer the following question:
`What position is the player from the United States play for the Grizzlies from 2000-2001?`

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

CREATE TABLE "a" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position is the player from the United States play for the Grizzlies from 2000-2001?`:
```sql
                SELECT "position" FROM "a" WHERE "nationality"='united states' AND "years_for_grizzlies"='2000-2001';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4?`

### 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 total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4?`:
```sql
                SELECT COUNT("bronze") FROM "medal_table" WHERE "gold">0 AND "rank"='4' AND "total">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Afghanistan?`

### 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 total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Afghanistan?`:
```sql
                SELECT COUNT("total") FROM "medal_table" WHERE "gold"<1 AND "silver">0 AND "rank"='14' AND "nation"='afghanistan';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Gold, when Silver is 0, and when Bronze is 2?`

### 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 lowest Gold, when Silver is 0, and when Bronze is 2?`:
```sql
                SELECT MIN("gold") FROM "medal_table" WHERE "silver"=0 AND "bronze"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Bronze, when Silver is 0, when Rank is 19, and when Total is greater than 2?`

### 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 average Bronze, when Silver is 0, when Rank is 19, and when Total is greater than 2?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "silver"=0 AND "rank"='19' AND "total">2;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest number of pieces for a board released in 1984?`

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

CREATE TABLE "versions" (
  "release" real,
  "start" text,
  "pieces" real,
  "board_inches" text,
  "board_cm" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest number of pieces for a board released in 1984?`:
```sql
                SELECT MIN("pieces") FROM "versions" WHERE "release"=1984;
```
## Task
Generate a SQL query to answer the following question:
`What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?`

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

CREATE TABLE "versions" (
  "release" real,
  "start" text,
  "pieces" real,
  "board_inches" text,
  "board_cm" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?`:
```sql
                SELECT "board_cm" FROM "versions" WHERE "start"='1940' AND "type"='theater' AND "release">2010;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of pieces for boards that started in 1941 and were released after 2001?`

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

CREATE TABLE "versions" (
  "release" real,
  "start" text,
  "pieces" real,
  "board_inches" text,
  "board_cm" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of pieces for boards that started in 1941 and were released after 2001?`:
```sql
                SELECT AVG("pieces") FROM "versions" WHERE "start"='1941' AND "release">2001;
```
## Task
Generate a SQL query to answer the following question:
`What are the dimensions in inches of the board released before 2004, that started in 1941?`

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

CREATE TABLE "versions" (
  "release" real,
  "start" text,
  "pieces" real,
  "board_inches" text,
  "board_cm" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the dimensions in inches of the board released before 2004, that started in 1941?`:
```sql
                SELECT "board_inches" FROM "versions" WHERE "release"<2004 AND "start"='1941';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Against is less than 30, and when Opposing Team is New South Wales?`

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

CREATE TABLE "matches" (
  "opposing_team" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Against is less than 30, and when Opposing Team is New South Wales?`:
```sql
                SELECT "venue" FROM "matches" WHERE "against"<30 AND "opposing_team"='new south wales';
```
## Task
Generate a SQL query to answer the following question:
`What is Status, when Date is 10/05/1975?`

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

CREATE TABLE "matches" (
  "opposing_team" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Status, when Date is 10/05/1975?`:
```sql
                SELECT "status" FROM "matches" WHERE "date"='10/05/1975';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Against, when Opposing Team is Queensland?`

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

CREATE TABLE "matches" (
  "opposing_team" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Against, when Opposing Team is Queensland?`:
```sql
                SELECT MIN("against") FROM "matches" WHERE "opposing_team"='queensland';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Status is Second Test?`

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

CREATE TABLE "matches" (
  "opposing_team" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Status is Second Test?`:
```sql
                SELECT "date" FROM "matches" WHERE "status"='second test';
```
## Task
Generate a SQL query to answer the following question:
`Who was born in Porsgrunn?`

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

CREATE TABLE "detailed_overview" (
  "name" text,
  "place_of_birth" text,
  "date_of_birth" text,
  "club_apps" text,
  "club_goals" text,
  "int_caps" text,
  "int_goals" text,
  "previous_club" text,
  "date_joined" text,
  "end_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was born in Porsgrunn?`:
```sql
                SELECT "name" FROM "detailed_overview" WHERE "place_of_birth"='porsgrunn';
```
## Task
Generate a SQL query to answer the following question:
`Which Studio has a Rank smaller than 3, and a Director of adrian lyne?`

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

CREATE TABLE "top_grossing_films_international" (
  "rank" real,
  "title" text,
  "studio" text,
  "director" text,
  "gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Studio has a Rank smaller than 3, and a Director of adrian lyne?`:
```sql
                SELECT "studio" FROM "top_grossing_films_international" WHERE "rank"<3 AND "director"='adrian lyne';
```
## Task
Generate a SQL query to answer the following question:
`Which Rank is the lowest one that has a Gross of $54,215,416?`

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

CREATE TABLE "top_grossing_films_international" (
  "rank" real,
  "title" text,
  "studio" text,
  "director" text,
  "gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rank is the lowest one that has a Gross of $54,215,416?`:
```sql
                SELECT MIN("rank") FROM "top_grossing_films_international" WHERE "gross"='$54,215,416';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6?`

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

CREATE TABLE "singles_finals_13_5_8" (
  "outcome" text,
  "date" real,
  "championship" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6?`:
```sql
                SELECT "date" FROM "singles_finals_13_5_8" WHERE "opponent"='john mcenroe' AND "score"='3–6, 6–3, 2–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent of the game in 1989?`

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

CREATE TABLE "singles_finals_13_5_8" (
  "outcome" text,
  "date" real,
  "championship" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Opponent of the game in 1989?`:
```sql
                SELECT "opponent" FROM "singles_finals_13_5_8" WHERE "date"=1989;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest pick of ron whaley?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest pick of ron whaley?`:
```sql
                SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "name"='ron whaley';
```
## Task
Generate a SQL query to answer the following question:
`What is the overall sum of the game with a pick less than 8 from the college of western michigan?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the overall sum of the game with a pick less than 8 from the college of western michigan?`:
```sql
                SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "pick"<8 AND "college"='western michigan';
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the player from the college of western michigan?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the player from the college of western michigan?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "college"='western michigan';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest round of bob caldwell, who has a pick greater than 7 and an overall larger than 162?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest round of bob caldwell, who has a pick greater than 7 and an overall larger than 162?`:
```sql
                SELECT MIN("round") FROM "washington_redskins_draft_history" WHERE "pick">7 AND "name"='bob caldwell' AND "overall">162;
```
## Task
Generate a SQL query to answer the following question:
`What is the college of dave adams, who has a pick greater than 7?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the college of dave adams, who has a pick greater than 7?`:
```sql
                SELECT "college" FROM "washington_redskins_draft_history" WHERE "pick">7 AND "name"='dave adams';
```
## Task
Generate a SQL query to answer the following question:
`What game took place on April 28?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game took place on April 28?`:
```sql
                SELECT "game" FROM "game_log" WHERE "date"='april 28';
```
## Task
Generate a SQL query to answer the following question:
`What is the east with ev landsberg as the west?`

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

CREATE TABLE "landesliga" (
  "season" text,
  "north" text,
  "south" text,
  "east" text,
  "west" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the east with ev landsberg as the west?`:
```sql
                SELECT "east" FROM "landesliga" WHERE "west"='ev landsberg';
```
## Task
Generate a SQL query to answer the following question:
`What is the north with sb rosenheim as the south?`

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

CREATE TABLE "landesliga" (
  "season" text,
  "north" text,
  "south" text,
  "east" text,
  "west" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the north with sb rosenheim as the south?`:
```sql
                SELECT "north" FROM "landesliga" WHERE "south"='sb rosenheim';
```
## Task
Generate a SQL query to answer the following question:
`What is the south with ev lindau as the west and svg burgkirchen as the east?`

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

CREATE TABLE "landesliga" (
  "season" text,
  "north" text,
  "south" text,
  "east" text,
  "west" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the south with ev lindau as the west and svg burgkirchen as the east?`:
```sql
                SELECT "south" FROM "landesliga" WHERE "west"='ev lindau' AND "east"='svg burgkirchen';
```
## Task
Generate a SQL query to answer the following question:
`What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north?`

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

CREATE TABLE "landesliga" (
  "season" text,
  "north" text,
  "south" text,
  "east" text,
  "west" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north?`:
```sql
                SELECT "season" FROM "landesliga" WHERE "south"='esc holzkirchen' AND "west"='esv buchloe' AND "north"='ehc bayreuth';
```
## Task
Generate a SQL query to answer the following question:
`What is south in the 2001-02 season, which had germering wanderers east?`

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

CREATE TABLE "landesliga" (
  "season" text,
  "north" text,
  "south" text,
  "east" text,
  "west" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is south in the 2001-02 season, which had germering wanderers east?`:
```sql
                SELECT "south" FROM "landesliga" WHERE "east"='germering wanderers' AND "season"='2001-02';
```
## Task
Generate a SQL query to answer the following question:
`What was west when ev fürstenfeldbruck was south?`

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

CREATE TABLE "landesliga" (
  "season" text,
  "north" text,
  "south" text,
  "east" text,
  "west" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was west when ev fürstenfeldbruck was south?`:
```sql
                SELECT "west" FROM "landesliga" WHERE "south"='ev fürstenfeldbruck';
```
## Task
Generate a SQL query to answer the following question:
`When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?`

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

CREATE TABLE "bunzl_plc_financial_results" (
  "year_ended" text,
  "revenue_million" real,
  "profit_loss_before_tax_m" real,
  "net_profit_m" real,
  "earnings_per_share_p" real
);
### SQL
Given the database schema, here is the SQL query that answers `When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?`:
```sql
                SELECT SUM("earnings_per_share_p") FROM "bunzl_plc_financial_results" WHERE "year_ended"='2008' AND "revenue_million"<'4,177';
```
## Task
Generate a SQL query to answer the following question:
`What is the year 2007 earnings per share?`

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

CREATE TABLE "bunzl_plc_financial_results" (
  "year_ended" text,
  "revenue_million" real,
  "profit_loss_before_tax_m" real,
  "net_profit_m" real,
  "earnings_per_share_p" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the year 2007 earnings per share?`:
```sql
                SELECT "earnings_per_share_p" FROM "bunzl_plc_financial_results" WHERE "year_ended"='2007';
```
## Task
Generate a SQL query to answer the following question:
`What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?`

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

CREATE TABLE "bunzl_plc_financial_results" (
  "year_ended" text,
  "revenue_million" real,
  "profit_loss_before_tax_m" real,
  "net_profit_m" real,
  "earnings_per_share_p" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?`:
```sql
                SELECT SUM("net_profit_m") FROM "bunzl_plc_financial_results" WHERE "earnings_per_share_p"=27.4 AND "profit_loss_before_tax_m"<194.6;
```
## Task
Generate a SQL query to answer the following question:
`In year 2011 what is sum of profit/loss before tax and net profit larger than 123.8 million?`

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

CREATE TABLE "bunzl_plc_financial_results" (
  "year_ended" text,
  "revenue_million" real,
  "profit_loss_before_tax_m" real,
  "net_profit_m" real,
  "earnings_per_share_p" real
);
### SQL
Given the database schema, here is the SQL query that answers `In year 2011 what is sum of profit/loss before tax and net profit larger than 123.8 million?`:
```sql
                SELECT COUNT("profit_loss_before_tax_m") FROM "bunzl_plc_financial_results" WHERE "year_ended"='2011' AND "net_profit_m">123.8;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 10 losses?`

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

CREATE TABLE "division_one_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 10 losses?`:
```sql
                SELECT MAX("goals_for") FROM "division_one_final_table" WHERE "goals_against"<63 AND "points_1">65 AND "lost">10;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest position for less than 42 played?`

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

CREATE TABLE "division_one_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest position for less than 42 played?`:
```sql
                SELECT MAX("position") FROM "division_one_final_table" WHERE "played"<42;
```
## Task
Generate a SQL query to answer the following question:
`What is the average day in December with a Record of 16-3-4 and a Game smaller than 23?`

### 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 is the average day in December with a Record of 16-3-4 and a Game smaller than 23?`:
```sql
                SELECT AVG("december") FROM "schedule_and_results" WHERE "record"='16-3-4' AND "game"<23;
```
## Task
Generate a SQL query to answer the following question:
`When the Runners-Up is larger than 0, what's the sum of winners?`

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

CREATE TABLE "winners" (
  "team" text,
  "winners" real,
  "runners_up" real,
  "years_won" text,
  "years_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the Runners-Up is larger than 0, what's the sum of winners?`:
```sql
                SELECT SUM("winners") FROM "winners" WHERE "runners_up">0;
```
## Task
Generate a SQL query to answer the following question:
`When there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found?`

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

CREATE TABLE "winners" (
  "team" text,
  "winners" real,
  "runners_up" real,
  "years_won" text,
  "years_runner_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `When there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found?`:
```sql
                SELECT MIN("runners_up") FROM "winners" WHERE "team"='pachuca' AND "winners">1;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)?`

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

CREATE TABLE "results" (
  "league" text,
  "season" text,
  "name" text,
  "place" real,
  "record" text,
  "head_coach" text,
  "points" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "turnover" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)?`:
```sql
                SELECT "name" FROM "results" WHERE "assists"='lake (154) lake (5.1 apg)';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Name that has the Place of 1?`

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

CREATE TABLE "results" (
  "league" text,
  "season" text,
  "name" text,
  "place" real,
  "record" text,
  "head_coach" text,
  "points" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "turnover" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Name that has the Place of 1?`:
```sql
                SELECT "name" FROM "results" WHERE "place"=1;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Rebounds that has the Name of pom baskets jena?`

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

CREATE TABLE "results" (
  "league" text,
  "season" text,
  "name" text,
  "place" real,
  "record" text,
  "head_coach" text,
  "points" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "turnover" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Rebounds that has the Name of pom baskets jena?`:
```sql
                SELECT "rebounds" FROM "results" WHERE "name"='pom baskets jena';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Steals that has the Place of 6?`

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

CREATE TABLE "results" (
  "league" text,
  "season" text,
  "name" text,
  "place" real,
  "record" text,
  "head_coach" text,
  "points" text,
  "rebounds" text,
  "assists" text,
  "steals" text,
  "turnover" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Steals that has the Place of 6?`:
```sql
                SELECT "steals" FROM "results" WHERE "place"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the Callsign in Brisbane with a Freq currently of 4rph?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Callsign in Brisbane with a Freq currently of 4rph?`:
```sql
                SELECT "callsign" FROM "defunct_callsigns" WHERE "area_served"='brisbane' AND "freq_currently"='4rph';
```
## Task
Generate a SQL query to answer the following question:
`What is the Freq currently of the 4GG Callsign?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Freq currently of the 4GG Callsign?`:
```sql
                SELECT "freq_currently" FROM "defunct_callsigns" WHERE "callsign"='4gg';
```
## Task
Generate a SQL query to answer the following question:
`What is the Community Band with a 4BCB Callsign?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Community Band with a 4BCB Callsign?`:
```sql
                SELECT "band" FROM "defunct_callsigns" WHERE "purpose"='community' AND "callsign"='4bcb';
```
## Task
Generate a SQL query to answer the following question:
`What is the Purpose of the Callsign with a Freq currently of 4gld?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Purpose of the Callsign with a Freq currently of 4gld?`:
```sql
                SELECT "purpose" FROM "defunct_callsigns" WHERE "freq_currently"='4gld';
```
## Task
Generate a SQL query to answer the following question:
`What is the Purpose of the Callsign with a Freq currently of 4rph?`

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

CREATE TABLE "defunct_callsigns" (
  "callsign" text,
  "area_served" text,
  "band" text,
  "freq_currently" text,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Purpose of the Callsign with a Freq currently of 4rph?`:
```sql
                SELECT "purpose" FROM "defunct_callsigns" WHERE "freq_currently"='4rph';
```
## Task
Generate a SQL query to answer the following question:
`What was the press like for the world olympic record holder Roger Francois and Jaan Kikkas?`

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

CREATE TABLE "records" (
  "world_record" text,
  "press" text,
  "103_5" text,
  "roger_fran_ois" text,
  "paris_fra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the press like for the world olympic record holder Roger Francois and Jaan Kikkas?`:
```sql
                SELECT "press" FROM "records" WHERE "world_record"='olympic record' AND "roger_fran_ois"='jaan kikkas';
```
## Task
Generate a SQL query to answer the following question:
`What was the press like in Paris for Roger Francois, and Carlo Galimberti?`

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

CREATE TABLE "records" (
  "world_record" text,
  "press" text,
  "103_5" text,
  "roger_fran_ois" text,
  "paris_fra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the press like in Paris for Roger Francois, and Carlo Galimberti?`:
```sql
                SELECT "paris_fra" FROM "records" WHERE "press"='press' AND "roger_fran_ois"='carlo galimberti';
```
## Task
Generate a SQL query to answer the following question:
`What is the total amount of world records for Roger Francois?`

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

CREATE TABLE "records" (
  "world_record" text,
  "press" text,
  "103_5" text,
  "roger_fran_ois" text,
  "paris_fra" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total amount of world records for Roger Francois?`:
```sql
                SELECT "roger_fran_ois" FROM "records" WHERE "world_record"='total';
```
## Task
Generate a SQL query to answer the following question:
`What place had a score of 71-70-73-71=285?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What place had a score of 71-70-73-71=285?`:
```sql
                SELECT "place" FROM "final_round" WHERE "score"='71-70-73-71=285';
```
## Task
Generate a SQL query to answer the following question:
`How much money for 1st place with a to par less than 1?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much money for 1st place with a to par less than 1?`:
```sql
                SELECT COUNT("money") FROM "final_round" WHERE "place"='1' AND "to_par"<1;
```
## Task
Generate a SQL query to answer the following question:
`What Player had a To par of +1?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Player had a To par of +1?`:
```sql
                SELECT "player" FROM "third_round" WHERE "to_par"='+1';
```
## Task
Generate a SQL query to answer the following question:
`What is the Country of the Player with a To par of +4 and Score of 73-71-73=217?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Country of the Player with a To par of +4 and Score of 73-71-73=217?`:
```sql
                SELECT "country" FROM "third_round" WHERE "to_par"='+4' AND "score"='73-71-73=217';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?`:
```sql
                SELECT "place" FROM "third_round" WHERE "to_par"='+3' AND "score"='73-70-73=216';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player with a Score of 72-70-72=214?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place of the Player with a Score of 72-70-72=214?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='72-70-72=214';
```
## Task
Generate a SQL query to answer the following question:
`Who is the kitmaker for the team whose team captain is Robert Enke?`

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

CREATE TABLE "personnel_and_sponsoring" (
  "team" text,
  "head_coach" text,
  "team_captain" text,
  "kitmaker" text,
  "shirt_sponsor" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the kitmaker for the team whose team captain is Robert Enke?`:
```sql
                SELECT "kitmaker" FROM "personnel_and_sponsoring" WHERE "team_captain"='robert enke';
```