cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What are the most wins of Terang with the draws less than 0?`

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

CREATE TABLE "1940_ladder" (
  "club" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the most wins of Terang with the draws less than 0?`:
```sql
                SELECT MAX("wins") FROM "1940_ladder" WHERE "club"='terang' AND "draws"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest against when the draws are more than 0 and the losses are less than 3?`

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

CREATE TABLE "1940_ladder" (
  "club" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest against when the draws are more than 0 and the losses are less than 3?`:
```sql
                SELECT MIN("against") FROM "1940_ladder" WHERE "losses"<3 AND "draws">0;
```
## Task
Generate a SQL query to answer the following question:
`What are the least losses of Warrnambool with more than 6 wins and less than 630 against?`

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

CREATE TABLE "1940_ladder" (
  "club" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the least losses of Warrnambool with more than 6 wins and less than 630 against?`:
```sql
                SELECT MIN("losses") FROM "1940_ladder" WHERE "against"<630 AND "club"='warrnambool' AND "wins">6;
```
## Task
Generate a SQL query to answer the following question:
`What are the draws of Cobden when there are more than 3 losses?`

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

CREATE TABLE "1940_ladder" (
  "club" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the draws of Cobden when there are more than 3 losses?`:
```sql
                SELECT AVG("draws") FROM "1940_ladder" WHERE "losses">3 AND "club"='cobden';
```
## Task
Generate a SQL query to answer the following question:
`What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?`

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

CREATE TABLE "medals_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 average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?`:
```sql
                SELECT AVG("bronze") FROM "medals_table" WHERE "silver"=0 AND "rank"='17' AND "gold"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest silver that has 2 as the bronze, with a total greater than 4?`

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

CREATE TABLE "medals_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 silver that has 2 as the bronze, with a total greater than 4?`:
```sql
                SELECT MIN("silver") FROM "medals_table" WHERE "bronze"=2 AND "total">4;
```
## Task
Generate a SQL query to answer the following question:
`How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1?`

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

CREATE TABLE "medals_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 `How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1?`:
```sql
                SELECT COUNT("bronze") FROM "medals_table" WHERE "total"<11 AND "rank"='11' AND "gold"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the memory with a socket g1 and a 1/1/6/9 turbo?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "turbo" text,
  "cores" real,
  "l2_cache" text,
  "l3_cache" text,
  "i_o_bus" text,
  "mult" text,
  "memory" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the memory with a socket g1 and a 1/1/6/9 turbo?`:
```sql
                SELECT "memory" FROM "45_nm" WHERE "socket"='socket g1' AND "turbo"='1/1/6/9';
```
## Task
Generate a SQL query to answer the following question:
`What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "turbo" text,
  "cores" real,
  "l2_cache" text,
  "l3_cache" text,
  "i_o_bus" text,
  "mult" text,
  "memory" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm?`:
```sql
                SELECT "release_date" FROM "45_nm" WHERE "l3_cache"='6 mb' AND "part_number_s"='by80607005259aabx80607i7740qm';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest draw for Beathoven when the place was smaller than 16?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "song" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest draw for Beathoven when the place was smaller than 16?`:
```sql
                SELECT MIN("draw") FROM "results" WHERE "artist"='beathoven' AND "place"<16;
```
## Task
Generate a SQL query to answer the following question:
`What Luca Barbarossa song had a draw smaller than 20?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "song" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Luca Barbarossa song had a draw smaller than 20?`:
```sql
                SELECT "song" FROM "results" WHERE "draw"<20 AND "artist"='luca barbarossa';
```
## Task
Generate a SQL query to answer the following question:
`Who did they play at sec tournament?`

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

CREATE TABLE "2012_results" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "record" text,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did they play at sec tournament?`:
```sql
                SELECT "opponent" FROM "2012_results" WHERE "location"='sec tournament';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played when their record was 9-1-0?`

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

CREATE TABLE "2012_results" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "record" text,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played when their record was 9-1-0?`:
```sql
                SELECT "location" FROM "2012_results" WHERE "record"='9-1-0';
```
## Task
Generate a SQL query to answer the following question:
`Who is the writer of Children of Earth of "day four"?`

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

CREATE TABLE "episodes" (
  "children_of_earth" text,
  "run_time" text,
  "writer" text,
  "director" text,
  "original_airdate" text,
  "viewers_including_hd_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the writer of Children of Earth of "day four"?`:
```sql
                SELECT "writer" FROM "episodes" WHERE "children_of_earth"='\"day four\"';
```
## Task
Generate a SQL query to answer the following question:
`How many viewers were there for Children of Earth of "day one"?`

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

CREATE TABLE "episodes" (
  "children_of_earth" text,
  "run_time" text,
  "writer" text,
  "director" text,
  "original_airdate" text,
  "viewers_including_hd_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many viewers were there for Children of Earth of "day one"?`:
```sql
                SELECT "viewers_including_hd_in_millions" FROM "episodes" WHERE "children_of_earth"='\"day one\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director of Children of Earth of "day five"?`

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

CREATE TABLE "episodes" (
  "children_of_earth" text,
  "run_time" text,
  "writer" text,
  "director" text,
  "original_airdate" text,
  "viewers_including_hd_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director of Children of Earth of "day five"?`:
```sql
                SELECT "director" FROM "episodes" WHERE "children_of_earth"='\"day five\"';
```
## Task
Generate a SQL query to answer the following question:
`Who was the director of the episode written by Russell T Davies and James Moran?`

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

CREATE TABLE "episodes" (
  "children_of_earth" text,
  "run_time" text,
  "writer" text,
  "director" text,
  "original_airdate" text,
  "viewers_including_hd_in_millions" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the director of the episode written by Russell T Davies and James Moran?`:
```sql
                SELECT "director" FROM "episodes" WHERE "writer"='russell t davies and james moran';
```
## Task
Generate a SQL query to answer the following question:
`Which Points have Drawn of 1, and a Played larger than 14?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have Drawn of 1, and a Played larger than 14?`:
```sql
                SELECT MAX("points") FROM "relegation_round" WHERE "drawn"=1 AND "played">14;
```
## Task
Generate a SQL query to answer the following question:
`Which Position has Drawn larger than 1, and a Played smaller than 14?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has Drawn larger than 1, and a Played smaller than 14?`:
```sql
                SELECT MAX("position") FROM "relegation_round" WHERE "drawn">1 AND "played"<14;
```
## Task
Generate a SQL query to answer the following question:
`Which Lost has Drawn larger than 1, and a Played larger than 14?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lost has Drawn larger than 1, and a Played larger than 14?`:
```sql
                SELECT MIN("lost") FROM "relegation_round" WHERE "drawn">1 AND "played">14;
```
## Task
Generate a SQL query to answer the following question:
`How much Lost has Points larger than 15, and a Name of ev pegnitz?`

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

CREATE TABLE "relegation_round" (
  "position" real,
  "name" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much Lost has Points larger than 15, and a Name of ev pegnitz?`:
```sql
                SELECT COUNT("lost") FROM "relegation_round" WHERE "points">15 AND "name"='ev pegnitz';
```
## Task
Generate a SQL query to answer the following question:
`what is the english translation when the artist is ann christine?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "song" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the english translation when the artist is ann christine?`:
```sql
                SELECT "english_translation" FROM "results" WHERE "artist"='ann christine';
```
## Task
Generate a SQL query to answer the following question:
`What player was picked earlier than 126 by the Houston Oilers?`

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

CREATE TABLE "sixteenth_round" (
  "pick" real,
  "team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player was picked earlier than 126 by the Houston Oilers?`:
```sql
                SELECT "player" FROM "sixteenth_round" WHERE "pick"<126 AND "team"='houston oilers';
```
## Task
Generate a SQL query to answer the following question:
`What college was picked later than 122 by the Boston Patriots?`

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

CREATE TABLE "sixteenth_round" (
  "pick" real,
  "team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college was picked later than 122 by the Boston Patriots?`:
```sql
                SELECT "college" FROM "sixteenth_round" WHERE "pick">122 AND "team"='boston patriots';
```
## Task
Generate a SQL query to answer the following question:
`what is the to par for geoff ogilvy?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the to par for geoff ogilvy?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "player"='geoff ogilvy';
```
## Task
Generate a SQL query to answer the following question:
`what is the country for geoff ogilvy?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country for geoff ogilvy?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "player"='geoff ogilvy';
```
## Task
Generate a SQL query to answer the following question:
`what is the to par for retief goosen?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the to par for retief goosen?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "player"='retief goosen';
```
## Task
Generate a SQL query to answer the following question:
`how many times is the player jim furyk?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is the player jim furyk?`:
```sql
                SELECT COUNT("total") FROM "made_the_cut" WHERE "player"='jim furyk';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166?`

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

CREATE TABLE "heat_2" (
  "rank" real,
  "lane" real,
  "athlete" text,
  "nationality" text,
  "time" real,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166?`:
```sql
                SELECT MIN("lane") FROM "heat_2" WHERE "time">20.75 AND "react"<0.166;
```
## Task
Generate a SQL query to answer the following question:
`What is Christian Malcolm´s highest react when his time was below 20.58?`

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

CREATE TABLE "heat_2" (
  "rank" real,
  "lane" real,
  "athlete" text,
  "nationality" text,
  "time" real,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Christian Malcolm´s highest react when his time was below 20.58?`:
```sql
                SELECT MAX("react") FROM "heat_2" WHERE "time"<20.58 AND "athlete"='christian malcolm';
```
## Task
Generate a SQL query to answer the following question:
`what is the position when the year [A} is after 2011 and the pick is 28?`

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

CREATE TABLE "player_selections" (
  "year_a" real,
  "pick" text,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the position when the year [A} is after 2011 and the pick is 28?`:
```sql
                SELECT "position" FROM "player_selections" WHERE "year_a">2011 AND "pick"='28';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player when the pick is 22 and the year [A] is after 1979?`

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

CREATE TABLE "player_selections" (
  "year_a" real,
  "pick" text,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player when the pick is 22 and the year [A] is after 1979?`:
```sql
                SELECT "player_name" FROM "player_selections" WHERE "pick"='22' AND "year_a">1979;
```
## Task
Generate a SQL query to answer the following question:
`who is the player when the pick is 15 and the year [A] is 2000?`

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

CREATE TABLE "player_selections" (
  "year_a" real,
  "pick" text,
  "player_name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the player when the pick is 15 and the year [A] is 2000?`:
```sql
                SELECT "player_name" FROM "player_selections" WHERE "pick"='15' AND "year_a"=2000;
```
## Task
Generate a SQL query to answer the following question:
`Which country was the player from who scored 66-72-70=207?`

### 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 `Which country was the player from who scored 66-72-70=207?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='66-72-70=207';
```
## Task
Generate a SQL query to answer the following question:
`What place was the player who scored 70-69-68=207?`

### 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 place was the player who scored 70-69-68=207?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='70-69-68=207';
```
## Task
Generate a SQL query to answer the following question:
`What country was the player in t10 place with a score of 66-72-70=207?`

### 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 country was the player in t10 place with a score of 66-72-70=207?`:
```sql
                SELECT "country" FROM "third_round" WHERE "place"='t10' AND "score"='66-72-70=207';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of United States' Cristie Kerr?`

### 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 to par of United States' Cristie Kerr?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "country"='united states' AND "player"='cristie kerr';
```
## Task
Generate a SQL query to answer the following question:
`Who is the original artist of the 3:00 song?`

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

CREATE TABLE "track_listing" (
  "song" text,
  "performer" text,
  "original_artist" text,
  "length" text,
  "recorded" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the original artist of the 3:00 song?`:
```sql
                SELECT "original_artist" FROM "track_listing" WHERE "length"='3:00';
```
## Task
Generate a SQL query to answer the following question:
`How long is "Harvest"?`

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

CREATE TABLE "track_listing" (
  "song" text,
  "performer" text,
  "original_artist" text,
  "length" text,
  "recorded" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long is "Harvest"?`:
```sql
                SELECT "length" FROM "track_listing" WHERE "song"='\"harvest\"';
```
## Task
Generate a SQL query to answer the following question:
`Which song lasts 3:34?`

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

CREATE TABLE "track_listing" (
  "song" text,
  "performer" text,
  "original_artist" text,
  "length" text,
  "recorded" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song lasts 3:34?`:
```sql
                SELECT "song" FROM "track_listing" WHERE "length"='3:34';
```
## Task
Generate a SQL query to answer the following question:
`Who is the original artist of "Let's Dance"?`

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

CREATE TABLE "track_listing" (
  "song" text,
  "performer" text,
  "original_artist" text,
  "length" text,
  "recorded" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the original artist of "Let's Dance"?`:
```sql
                SELECT "original_artist" FROM "track_listing" WHERE "song"='\"let''s dance\"';
```
## Task
Generate a SQL query to answer the following question:
`Which song lasts 4:08?`

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

CREATE TABLE "track_listing" (
  "song" text,
  "performer" text,
  "original_artist" text,
  "length" text,
  "recorded" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song lasts 4:08?`:
```sql
                SELECT "song" FROM "track_listing" WHERE "length"='4:08';
```
## Task
Generate a SQL query to answer the following question:
`How many bronze medals for Romania when the silver count is more than 1?`

### 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 `How many bronze medals for Romania when the silver count is more than 1?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "nation"='romania' AND "silver">1;
```
## Task
Generate a SQL query to answer the following question:
`Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?`

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

CREATE TABLE "managers" (
  "num_a" text,
  "manager" text,
  "years" text,
  "wins" real,
  "losses" real,
  "w_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?`:
```sql
                SELECT "manager" FROM "managers" WHERE "losses"<287 AND "wins"<80 AND "years"='1904' AND "w_pct"=0.296;
```
## Task
Generate a SQL query to answer the following question:
`Which U.S. Hot has 13 as the U.S. R&B?`

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

CREATE TABLE "solo_singles" (
  "year" real,
  "u_s_hot_100" text,
  "u_s_r_b" text,
  "u_s_rap" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which U.S. Hot has 13 as the U.S. R&B?`:
```sql
                SELECT "u_s_hot_100" FROM "solo_singles" WHERE "u_s_r_b"='13';
```
## Task
Generate a SQL query to answer the following question:
`What U.S. Rap has life in the concrete jungle as the album?`

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

CREATE TABLE "solo_singles" (
  "year" real,
  "u_s_hot_100" text,
  "u_s_r_b" text,
  "u_s_rap" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `What U.S. Rap has life in the concrete jungle as the album?`:
```sql
                SELECT "u_s_rap" FROM "solo_singles" WHERE "album"='life in the concrete jungle';
```
## Task
Generate a SQL query to answer the following question:
`What Height has a 2008 Club of Itas Diatec?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Height has a 2008 Club of Itas Diatec?`:
```sql
                SELECT "height" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='itas diatec';
```
## Task
Generate a SQL query to answer the following question:
`What Name has a 2008 Club of Sisley Treviso?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Name has a 2008 Club of Sisley Treviso?`:
```sql
                SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='sisley treviso';
```
## Task
Generate a SQL query to answer the following question:
`What Weight has a 2008 Club of Acqua Paradiso Gabeca?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Weight has a 2008 Club of Acqua Paradiso Gabeca?`:
```sql
                SELECT "weight" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='acqua paradiso gabeca';
```
## Task
Generate a SQL query to answer the following question:
`What are the Notes of the Mill Built in the 19th Century?`

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

CREATE TABLE "namur" (
  "location" text,
  "name_of_mill" text,
  "type" text,
  "built" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the Notes of the Mill Built in the 19th Century?`:
```sql
                SELECT "notes" FROM "namur" WHERE "built"='19th century';
```
## Task
Generate a SQL query to answer the following question:
`What is the Type of Mill at Molen de Stud?`

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

CREATE TABLE "namur" (
  "location" text,
  "name_of_mill" text,
  "type" text,
  "built" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Type of Mill at Molen de Stud?`:
```sql
                SELECT "type" FROM "namur" WHERE "name_of_mill"='molen de stud';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name of the Mill Built in 1802?`

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

CREATE TABLE "namur" (
  "location" text,
  "name_of_mill" text,
  "type" text,
  "built" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name of the Mill Built in 1802?`:
```sql
                SELECT "name_of_mill" FROM "namur" WHERE "built"='1802';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Mill Built in the Early 19th Century?`

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

CREATE TABLE "namur" (
  "location" text,
  "name_of_mill" text,
  "type" text,
  "built" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Mill Built in the Early 19th Century?`:
```sql
                SELECT "location" FROM "namur" WHERE "built"='early 19th century';
```
## Task
Generate a SQL query to answer the following question:
`What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles?`

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

CREATE TABLE "schedule" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles?`:
```sql
                SELECT "record" FROM "schedule" WHERE "home"='san francisco 49ers' AND "visitor"='philadelphia eagles';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team for the game with attendance larger than 59,064 and a record of 7-4-0?`

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

CREATE TABLE "schedule" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team for the game with attendance larger than 59,064 and a record of 7-4-0?`:
```sql
                SELECT "home" FROM "schedule" WHERE "attendance">'59,064' AND "record"='7-4-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for the game played on September 27?`

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

CREATE TABLE "schedule" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for the game played on September 27?`:
```sql
                SELECT "record" FROM "schedule" WHERE "date"='september 27';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest place of a song by Henri Dès that has fewer than 8 points?`

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

CREATE TABLE "results" (
  "language" text,
  "artist" text,
  "song" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest place of a song by Henri Dès that has fewer than 8 points?`:
```sql
                SELECT MAX("place") FROM "results" WHERE "artist"='henri dès' AND "points"<8;
```
## Task
Generate a SQL query to answer the following question:
`What team was 2 on November 22, 2008 when the result was 1-0?`

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

CREATE TABLE "results" (
  "date" text,
  "team_1" text,
  "result" text,
  "team_2" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was 2 on November 22, 2008 when the result was 1-0?`:
```sql
                SELECT "team_2" FROM "results" WHERE "date"='november 22, 2008' AND "result"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`What team was 2 when Tatung was team 1 at National Pei Men Senior High School?`

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

CREATE TABLE "results" (
  "date" text,
  "team_1" text,
  "result" text,
  "team_2" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was 2 when Tatung was team 1 at National Pei Men Senior High School?`:
```sql
                SELECT "team_2" FROM "results" WHERE "team_1"='tatung' AND "ground"='national pei men senior high school';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played that has a result of 0-4?`

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

CREATE TABLE "results" (
  "date" text,
  "team_1" text,
  "result" text,
  "team_2" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played that has a result of 0-4?`:
```sql
                SELECT "ground" FROM "results" WHERE "result"='0-4';
```
## Task
Generate a SQL query to answer the following question:
`What team is 2 when 1 is Taipower and the result is 0-1?`

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

CREATE TABLE "results" (
  "date" text,
  "team_1" text,
  "result" text,
  "team_2" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team is 2 when 1 is Taipower and the result is 0-1?`:
```sql
                SELECT "team_2" FROM "results" WHERE "team_1"='taipower' AND "result"='0-1';
```
## Task
Generate a SQL query to answer the following question:
`What team is 2 when the game result is 0-4 at Pailing Sport Park?`

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

CREATE TABLE "results" (
  "date" text,
  "team_1" text,
  "result" text,
  "team_2" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team is 2 when the game result is 0-4 at Pailing Sport Park?`:
```sql
                SELECT "team_2" FROM "results" WHERE "ground"='pailing sport park' AND "result"='0-4';
```
## Task
Generate a SQL query to answer the following question:
`What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist?`:
```sql
                SELECT COUNT("points") FROM "results" WHERE "draw"<12 AND "artist"='philipp kirkorov' AND "place"<17;
```
## Task
Generate a SQL query to answer the following question:
`What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you?`:
```sql
                SELECT SUM("place") FROM "results" WHERE "draw"<16 AND "english_translation"='in love with you' AND "points"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me?`

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

CREATE TABLE "results" (
  "draw" real,
  "language" text,
  "artist" text,
  "english_translation" text,
  "place" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me?`:
```sql
                SELECT MAX("draw") FROM "results" WHERE "points">31 AND "place">6 AND "english_translation"='listen to me';
```
## Task
Generate a SQL query to answer the following question:
`What was the population of Green County?`

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

CREATE TABLE "wisconsin_counties_ranked_by_per_capita_" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the population of Green County?`:
```sql
                SELECT MIN("population") FROM "wisconsin_counties_ranked_by_per_capita_" WHERE "county"='green';
```
## Task
Generate a SQL query to answer the following question:
`Which county had 6,807 households and a median family income of $49,865?`

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

CREATE TABLE "wisconsin_counties_ranked_by_per_capita_" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which county had 6,807 households and a median family income of $49,865?`:
```sql
                SELECT "county" FROM "wisconsin_counties_ranked_by_per_capita_" WHERE "number_of_households">'6,807' AND "median_family_income"='$49,865';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game against Minnesota?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" 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 was the score of the game against Minnesota?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "opponent"='minnesota';
```
## Task
Generate a SQL query to answer the following question:
`What player had the high point on July 7?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "date" text,
  "opponent" 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 player had the high point on July 7?`:
```sql
                SELECT "high_points" FROM "regular_season" WHERE "date"='july 7';
```
## Task
Generate a SQL query to answer the following question:
`What's the format of the single, I Can't Stay?`

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

CREATE TABLE "singles" (
  "date" real,
  "single" text,
  "backed_with" text,
  "record_label" text,
  "format" text,
  "other_details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the format of the single, I Can't Stay?`:
```sql
                SELECT "format" FROM "singles" WHERE "single"='i can''t stay';
```
## Task
Generate a SQL query to answer the following question:
`What's the Backed after 2008 with a label of Wild World?`

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

CREATE TABLE "singles" (
  "date" real,
  "single" text,
  "backed_with" text,
  "record_label" text,
  "format" text,
  "other_details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Backed after 2008 with a label of Wild World?`:
```sql
                SELECT "backed_with" FROM "singles" WHERE "record_label"='wild world' AND "date">2008;
```
## Task
Generate a SQL query to answer the following question:
`What's the date for Details of 1000 copies?`

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

CREATE TABLE "singles" (
  "date" real,
  "single" text,
  "backed_with" text,
  "record_label" text,
  "format" text,
  "other_details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the date for Details of 1000 copies?`:
```sql
                SELECT MIN("date") FROM "singles" WHERE "other_details"='1000 copies';
```
## Task
Generate a SQL query to answer the following question:
`What nation has paavo nurmi as the athlete, with a medal count less than 12?`

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

CREATE TABLE "timeline" (
  "medal_count" real,
  "date" text,
  "athlete" text,
  "nation" text,
  "sport" text,
  "record_medal_event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What nation has paavo nurmi as the athlete, with a medal count less than 12?`:
```sql
                SELECT "nation" FROM "timeline" WHERE "athlete"='paavo nurmi' AND "medal_count"<12;
```
## Task
Generate a SQL query to answer the following question:
`Which sport has 17 as the medal count?`

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

CREATE TABLE "timeline" (
  "medal_count" real,
  "date" text,
  "athlete" text,
  "nation" text,
  "sport" text,
  "record_medal_event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which sport has 17 as the medal count?`:
```sql
                SELECT "sport" FROM "timeline" WHERE "medal_count"=17;
```
## Task
Generate a SQL query to answer the following question:
`What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?`

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

CREATE TABLE "timeline" (
  "medal_count" real,
  "date" text,
  "athlete" text,
  "nation" text,
  "sport" text,
  "record_medal_event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?`:
```sql
                SELECT "record_medal_event" FROM "timeline" WHERE "sport"='athletics' AND "athlete"='robert garrett' AND "medal_count"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent of the game in Week 3?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Opponent of the game in Week 3?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Attendance of the game on December 12, 2004?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Attendance of the game on December 12, 2004?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "date"='december 12, 2004';
```
## Task
Generate a SQL query to answer the following question:
`What is the Attendance of the game against Jacksonville Jaguars?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Attendance of the game against Jacksonville Jaguars?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='jacksonville jaguars';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 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" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1`:
```sql
                SELECT "score" FROM "final_round" WHERE "money"='90,400' AND "country"='south africa' AND "player"='thomas aiken';
```