cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which Date has a Surface of clay, and a Score of 6–3, 5–7, 2–6?`

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

CREATE TABLE "doubles_9_6_titles_3_runner_ups" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Surface of clay, and a Score of 6–3, 5–7, 2–6?`:
```sql
                SELECT "date" FROM "doubles_9_6_titles_3_runner_ups" WHERE "surface"='clay' AND "score"='6–3, 5–7, 2–6';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner of the tre valli varesine race?`

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

CREATE TABLE "events" (
  "date" text,
  "race_name" text,
  "location" text,
  "uci_rating" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner of the tre valli varesine race?`:
```sql
                SELECT "winner" FROM "events" WHERE "race_name"='tre valli varesine';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the omloop van de vlaamse scheldeboorden race with a UCI rating of 1.1?`

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

CREATE TABLE "events" (
  "date" text,
  "race_name" text,
  "location" text,
  "uci_rating" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the omloop van de vlaamse scheldeboorden race with a UCI rating of 1.1?`:
```sql
                SELECT "date" FROM "events" WHERE "uci_rating"='1.1' AND "race_name"='omloop van de vlaamse scheldeboorden';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the gp città di camaiore race?`

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

CREATE TABLE "events" (
  "date" text,
  "race_name" text,
  "location" text,
  "uci_rating" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the gp città di camaiore race?`:
```sql
                SELECT "date" FROM "events" WHERE "race_name"='gp città di camaiore';
```
## Task
Generate a SQL query to answer the following question:
`What is the UCI rating of the race in Italy with the progetto ciclismo alplast team?`

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

CREATE TABLE "events" (
  "date" text,
  "race_name" text,
  "location" text,
  "uci_rating" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the UCI rating of the race in Italy with the progetto ciclismo alplast team?`:
```sql
                SELECT "uci_rating" FROM "events" WHERE "location"='italy' AND "team"='progetto ciclismo alplast';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game being played at Schaeffer Stadium?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game being played at Schaeffer Stadium?`:
```sql
                SELECT "date" FROM "schedule" WHERE "game_site"='schaeffer stadium';
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Year larger than 1966, and Wins larger than 1?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Year larger than 1966, and Wins larger than 1?`:
```sql
                SELECT AVG("points") FROM "motorcycle_grand_prix_results" WHERE "year">1966 AND "wins">1;
```
## Task
Generate a SQL query to answer the following question:
`Which Year is the lowest one that has Wins smaller than 0?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year is the lowest one that has Wins smaller than 0?`:
```sql
                SELECT MIN("year") FROM "motorcycle_grand_prix_results" WHERE "wins"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have Wins larger than 1?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have Wins larger than 1?`:
```sql
                SELECT AVG("points") FROM "motorcycle_grand_prix_results" WHERE "wins">1;
```
## Task
Generate a SQL query to answer the following question:
`Which Wins have a Year of 1963, and a Class of 50cc?`

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

CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wins have a Year of 1963, and a Class of 50cc?`:
```sql
                SELECT AVG("wins") FROM "motorcycle_grand_prix_results" WHERE "year"=1963 AND "class"='50cc';
```
## Task
Generate a SQL query to answer the following question:
`How many overall WC ponts (rank) did Anders Jacobsen get when his rank was smaller than 3?`

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

CREATE TABLE "liberec" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "2nd_m" real,
  "points" real,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many overall WC ponts (rank) did Anders Jacobsen get when his rank was smaller than 3?`:
```sql
                SELECT "overall_wc_points_rank" FROM "liberec" WHERE "rank"<3 AND "name"='anders jacobsen';
```
## Task
Generate a SQL query to answer the following question:
`Who had the highest rank with a 1st (m) of 129 and less than 255.6 points?`

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

CREATE TABLE "liberec" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "2nd_m" real,
  "points" real,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the highest rank with a 1st (m) of 129 and less than 255.6 points?`:
```sql
                SELECT MAX("rank") FROM "liberec" WHERE "1st_m"=129 AND "points"<255.6;
```
## Task
Generate a SQL query to answer the following question:
`Who had the lowest 1st (m), ranked lower than 8, with an overall WC points (rank) of 369 (16) with more than 258.2 points?`

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

CREATE TABLE "liberec" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "2nd_m" real,
  "points" real,
  "overall_wc_points_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the lowest 1st (m), ranked lower than 8, with an overall WC points (rank) of 369 (16) with more than 258.2 points?`:
```sql
                SELECT MIN("1st_m") FROM "liberec" WHERE "rank"<8 AND "overall_wc_points_rank"='369 (16)' AND "points">258.2;
```
## Task
Generate a SQL query to answer the following question:
`What is the player from Australia's rank with more than 16 wins?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the player from Australia's rank with more than 16 wins?`:
```sql
                SELECT COUNT("rank") FROM "leaders" WHERE "wins">16 AND "country"='australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest rank of a player with earnings under $11,936,443 and more than 16 wins?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest rank of a player with earnings under $11,936,443 and more than 16 wins?`:
```sql
                SELECT MIN("rank") FROM "leaders" WHERE "earnings"<'11,936,443' AND "wins">16;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest earnings of a player with more than 19 wins?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest earnings of a player with more than 19 wins?`:
```sql
                SELECT MAX("earnings") FROM "leaders" WHERE "wins">19;
```
## Task
Generate a SQL query to answer the following question:
`Which average Opened has a Manufacturer of vekoma?`

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

CREATE TABLE "roller_coasters" (
  "name" text,
  "style" text,
  "opened" real,
  "manufacturer" text,
  "themed_area" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Opened has a Manufacturer of vekoma?`:
```sql
                SELECT AVG("opened") FROM "roller_coasters" WHERE "manufacturer"='vekoma';
```
## Task
Generate a SQL query to answer the following question:
`Which Opened is the highest one that has a Themed Area of aerial park, and a Manufacturer of zamperla?`

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

CREATE TABLE "roller_coasters" (
  "name" text,
  "style" text,
  "opened" real,
  "manufacturer" text,
  "themed_area" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opened is the highest one that has a Themed Area of aerial park, and a Manufacturer of zamperla?`:
```sql
                SELECT MAX("opened") FROM "roller_coasters" WHERE "themed_area"='aerial park' AND "manufacturer"='zamperla';
```
## Task
Generate a SQL query to answer the following question:
`Which Themed Area has a Name of troublesome trucks runaway coaster?`

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

CREATE TABLE "roller_coasters" (
  "name" text,
  "style" text,
  "opened" real,
  "manufacturer" text,
  "themed_area" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Themed Area has a Name of troublesome trucks runaway coaster?`:
```sql
                SELECT "themed_area" FROM "roller_coasters" WHERE "name"='troublesome trucks runaway coaster';
```
## Task
Generate a SQL query to answer the following question:
`Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008?`

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

CREATE TABLE "roller_coasters" (
  "name" text,
  "style" text,
  "opened" real,
  "manufacturer" text,
  "themed_area" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008?`:
```sql
                SELECT "manufacturer" FROM "roller_coasters" WHERE "style"='steel sit down' AND "opened">2008;
```
## Task
Generate a SQL query to answer the following question:
`What position has a pick less than 25 for the university of california?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position has a pick less than 25 for the university of california?`:
```sql
                SELECT "position" FROM "first_round_selections" WHERE "pick"<25 AND "school"='university of california';
```
## Task
Generate a SQL query to answer the following question:
`What is the pick number for tulane university?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick number for tulane university?`:
```sql
                SELECT SUM("pick") FROM "first_round_selections" WHERE "school"='tulane university';
```
## Task
Generate a SQL query to answer the following question:
`What is the pick number for the kansas city royals?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick number for the kansas city royals?`:
```sql
                SELECT SUM("pick") FROM "first_round_selections" WHERE "team"='kansas city royals';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Pick for the Pasco, Wa school?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Pick for the Pasco, Wa school?`:
```sql
                SELECT AVG("pick") FROM "first_round_selections" WHERE "school"='pasco, wa';
```
## Task
Generate a SQL query to answer the following question:
`What Label released a CD single in 1993?`

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

CREATE TABLE "release_history" (
  "date" text,
  "label" text,
  "region" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Label released a CD single in 1993?`:
```sql
                SELECT "label" FROM "release_history" WHERE "format"='cd single' AND "date"='1993';
```
## Task
Generate a SQL query to answer the following question:
`Where was home with a record of 7–5–2?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was home with a record of 7–5–2?`:
```sql
                SELECT "home" FROM "december" WHERE "record"='7–5–2';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the record 8–6–3?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the record 8–6–3?`:
```sql
                SELECT "date" FROM "december" WHERE "record"='8–6–3';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when Pittsburgh was the visitor?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when Pittsburgh was the visitor?`:
```sql
                SELECT "score" FROM "december" WHERE "visitor"='pittsburgh';
```
## Task
Generate a SQL query to answer the following question:
`On what date were the NY Rangers home?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date were the NY Rangers home?`:
```sql
                SELECT "date" FROM "december" WHERE "home"='ny rangers';
```
## Task
Generate a SQL query to answer the following question:
`Which visitor had a record of 7–5–3?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which visitor had a record of 7–5–3?`:
```sql
                SELECT "visitor" FROM "december" WHERE "record"='7–5–3';
```
## Task
Generate a SQL query to answer the following question:
`Who was home when Detroit was visiting with a score of 4 – 1?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was home when Detroit was visiting with a score of 4 – 1?`:
```sql
                SELECT "home" FROM "december" WHERE "visitor"='detroit' AND "score"='4 – 1';
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest date with Great Expectations label with LP format?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest date with Great Expectations label with LP format?`:
```sql
                SELECT MIN("date") FROM "release_history" WHERE "label"='great expectations' AND "format"='lp';
```
## Task
Generate a SQL query to answer the following question:
`What format was used for Mobil 1?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What format was used for Mobil 1?`:
```sql
                SELECT "format" FROM "release_history" WHERE "catalog"='mobil 1';
```
## Task
Generate a SQL query to answer the following question:
`what team won the friendly match`

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

CREATE TABLE "under_23" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `what team won the friendly match`:
```sql
                SELECT "result" FROM "under_23" WHERE "competition"='friendly match';
```
## Task
Generate a SQL query to answer the following question:
`Which Runner-up has a Last win smaller than 1998, and Wins of 1, and a Rank larger than 13?`

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

CREATE TABLE "wins_by_club" (
  "rank" real,
  "club" text,
  "wins" real,
  "last_win" real,
  "runner_up" real,
  "last_losing_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Runner-up has a Last win smaller than 1998, and Wins of 1, and a Rank larger than 13?`:
```sql
                SELECT COUNT("runner_up") FROM "wins_by_club" WHERE "last_win"<1998 AND "wins"=1 AND "rank">13;
```
## Task
Generate a SQL query to answer the following question:
`How many Last wins have a Club of mansfield town, and Wins smaller than 1?`

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

CREATE TABLE "wins_by_club" (
  "rank" real,
  "club" text,
  "wins" real,
  "last_win" real,
  "runner_up" real,
  "last_losing_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Last wins have a Club of mansfield town, and Wins smaller than 1?`:
```sql
                SELECT COUNT("last_win") FROM "wins_by_club" WHERE "club"='mansfield town' AND "wins"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which Driver has a Date of 16th september 1951, and a Race of dns?`

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

CREATE TABLE "formula_one_entries_for_brm_type_15" (
  "date" text,
  "event" text,
  "circuit" text,
  "driver" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Driver has a Date of 16th september 1951, and a Race of dns?`:
```sql
                SELECT "driver" FROM "formula_one_entries_for_brm_type_15" WHERE "date"='16th september 1951' AND "race"='dns';
```
## Task
Generate a SQL query to answer the following question:
`At which race did reg parnell win the goodwood trophy?`

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

CREATE TABLE "formula_one_entries_for_brm_type_15" (
  "date" text,
  "event" text,
  "circuit" text,
  "driver" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `At which race did reg parnell win the goodwood trophy?`:
```sql
                SELECT "race" FROM "formula_one_entries_for_brm_type_15" WHERE "event"='goodwood trophy' AND "driver"='reg parnell';
```
## Task
Generate a SQL query to answer the following question:
`Which Race has a Date of 31st may 1953, and an Event of grand prix de l'albigeois final?`

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

CREATE TABLE "formula_one_entries_for_brm_type_15" (
  "date" text,
  "event" text,
  "circuit" text,
  "driver" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Race has a Date of 31st may 1953, and an Event of grand prix de l'albigeois final?`:
```sql
                SELECT "race" FROM "formula_one_entries_for_brm_type_15" WHERE "date"='31st may 1953' AND "event"='grand prix de l''albigeois final';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest rank of a PVG/ZSPD Code (IATA/ICAO) airport with a total cargo less than 2,543,394 metric tonnes?`

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

CREATE TABLE "2009_final_statistics" (
  "rank" real,
  "airport" text,
  "code_iata_icao" text,
  "total_cargo_metric_tonnes" real,
  "pct_change" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest rank of a PVG/ZSPD Code (IATA/ICAO) airport with a total cargo less than 2,543,394 metric tonnes?`:
```sql
                SELECT MAX("rank") FROM "2009_final_statistics" WHERE "code_iata_icao"='pvg/zspd' AND "total_cargo_metric_tonnes"<'2,543,394';
```
## Task
Generate a SQL query to answer the following question:
`What's the average total cargo in metric tonnes that has an 11.8% Change?`

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

CREATE TABLE "2009_final_statistics" (
  "rank" real,
  "airport" text,
  "code_iata_icao" text,
  "total_cargo_metric_tonnes" real,
  "pct_change" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average total cargo in metric tonnes that has an 11.8% Change?`:
```sql
                SELECT AVG("total_cargo_metric_tonnes") FROM "2009_final_statistics" WHERE "pct_change"='11.8%';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rank of Tokyo International Airport?`

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

CREATE TABLE "2009_final_statistics" (
  "rank" real,
  "airport" text,
  "code_iata_icao" text,
  "total_cargo_metric_tonnes" real,
  "pct_change" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rank of Tokyo International Airport?`:
```sql
                SELECT MAX("rank") FROM "2009_final_statistics" WHERE "airport"='tokyo international airport';
```
## Task
Generate a SQL query to answer the following question:
`Where the games are smaller than 5 and the points are 6, what is the average lost?`

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

CREATE TABLE "group_2" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where the games are smaller than 5 and the points are 6, what is the average lost?`:
```sql
                SELECT AVG("lost") FROM "group_2" WHERE "points"=6 AND "games"<5;
```
## Task
Generate a SQL query to answer the following question:
`with build 5/69-6/69 what's the order?`

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

CREATE TABLE "roster" (
  "order" real,
  "built" text,
  "serial_numbers" text,
  "quantity" real,
  "1st_no" text
);
### SQL
Given the database schema, here is the SQL query that answers `with build 5/69-6/69 what's the order?`:
```sql
                SELECT SUM("order") FROM "roster" WHERE "built"='5/69-6/69';
```
## Task
Generate a SQL query to answer the following question:
`Which Outcome has a Score of 6–2, 6–2?`

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

CREATE TABLE "singles_17_10_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Outcome has a Score of 6–2, 6–2?`:
```sql
                SELECT "outcome" FROM "singles_17_10_7" WHERE "score"='6–2, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has an Outcome of winner, and a Score of 7–5, 6–4?`

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

CREATE TABLE "singles_17_10_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has an Outcome of winner, and a Score of 7–5, 6–4?`:
```sql
                SELECT "date" FROM "singles_17_10_7" WHERE "outcome"='winner' AND "score"='7–5, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`Which Tournament has an Outcome of winner, and a Surface of clay, and a Score of 6–4, 6–1?`

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

CREATE TABLE "singles_17_10_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tournament has an Outcome of winner, and a Surface of clay, and a Score of 6–4, 6–1?`:
```sql
                SELECT "tournament" FROM "singles_17_10_7" WHERE "outcome"='winner' AND "surface"='clay' AND "score"='6–4, 6–1';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome in mari andersson's tournament?`

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

CREATE TABLE "singles_17_10_7" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome in mari andersson's tournament?`:
```sql
                SELECT "outcome" FROM "singles_17_10_7" WHERE "opponent"='mari andersson';
```
## Task
Generate a SQL query to answer the following question:
`What's the loss of the game with the opponent of the Nationals with a score of 7-1?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the loss of the game with the opponent of the Nationals with a score of 7-1?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "opponent"='nationals' AND "score"='7-1';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a record of 70-52?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a record of 70-52?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='70-52';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance of the game that has the opponent of The Nationals with a record of 68-51?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance of the game that has the opponent of The Nationals with a record of 68-51?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "opponent"='nationals' AND "record"='68-51';
```
## Task
Generate a SQL query to answer the following question:
`What's the attendance of the game with a score of 5-4?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the attendance of the game with a score of 5-4?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "score"='5-4';
```
## Task
Generate a SQL query to answer the following question:
`Who's the opponent of the game with the record 64-51?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who's the opponent of the game with the record 64-51?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='64-51';
```
## Task
Generate a SQL query to answer the following question:
`Who were the opponents in games before number 54?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the opponents in games before number 54?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "game"<54;
```
## Task
Generate a SQL query to answer the following question:
`what was the score of bert yancey`

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

CREATE TABLE "final_leaderboard" (
  "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 `what was the score of bert yancey`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "player"='bert yancey';
```
## Task
Generate a SQL query to answer the following question:
`What is the Length/Fuel of the bus with a Quantity of 30?`

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

CREATE TABLE "current_fleet" (
  "length_fuel" text,
  "model" text,
  "year_built" text,
  "quantity" real,
  "floor_styling" text,
  "wheelchair_access" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Length/Fuel of the bus with a Quantity of 30?`:
```sql
                SELECT "length_fuel" FROM "current_fleet" WHERE "quantity"=30;
```
## Task
Generate a SQL query to answer the following question:
`What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling?`

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

CREATE TABLE "current_fleet" (
  "length_fuel" text,
  "model" text,
  "year_built" text,
  "quantity" real,
  "floor_styling" text,
  "wheelchair_access" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling?`:
```sql
                SELECT "length_fuel" FROM "current_fleet" WHERE "floor_styling"='high' AND "year_built"='2000-2003';
```
## Task
Generate a SQL query to answer the following question:
`In what Venue was the game with a Friendly Competition and 1 Goal played?`

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

CREATE TABLE "thomas_buffel_international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Venue was the game with a Friendly Competition and 1 Goal played?`:
```sql
                SELECT "venue" FROM "thomas_buffel_international_goals" WHERE "competition"='friendly' AND "goal"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the amount of money that a +5 to par with a score of 76-69-70-70=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" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the amount of money that a +5 to par with a score of 76-69-70-70=285?`:
```sql
                SELECT COUNT("money") FROM "final_round" WHERE "to_par"='+5' AND "score"='76-69-70-70=285';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player with a 71-69-71-69=280 score?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player with a 71-69-71-69=280 score?`:
```sql
                SELECT "player" FROM "final_round" WHERE "score"='71-69-71-69=280';
```
## Task
Generate a SQL query to answer the following question:
`Which average Game # has a Home of san jose, and Points smaller than 71?`

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

CREATE TABLE "february" (
  "game_num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Game # has a Home of san jose, and Points smaller than 71?`:
```sql
                SELECT AVG("game_num") FROM "february" WHERE "home"='san jose' AND "points"<71;
```
## Task
Generate a SQL query to answer the following question:
`Which Home has a Game # of 59?`

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

CREATE TABLE "february" (
  "game_num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Home has a Game # of 59?`:
```sql
                SELECT "home" FROM "february" WHERE "game_num"=59;
```
## Task
Generate a SQL query to answer the following question:
`Which Visitor has a Game # larger than 62, and a Date of february 25?`

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

CREATE TABLE "february" (
  "game_num" real,
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Visitor has a Game # larger than 62, and a Date of february 25?`:
```sql
                SELECT "visitor" FROM "february" WHERE "game_num">62 AND "date"='february 25';
```
## Task
Generate a SQL query to answer the following question:
`with delivery date of 2001 2001 what is the owns?`

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

CREATE TABLE "fleet" (
  "type" text,
  "owns" text,
  "length" text,
  "delivery_date" text,
  "gross_tonnage" real
);
### SQL
Given the database schema, here is the SQL query that answers `with delivery date of 2001 2001 what is the owns?`:
```sql
                SELECT "owns" FROM "fleet" WHERE "delivery_date"='2001 2001';
```
## Task
Generate a SQL query to answer the following question:
`with delivery date of 2001 2001 what is gross tonnage?`

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

CREATE TABLE "fleet" (
  "type" text,
  "owns" text,
  "length" text,
  "delivery_date" text,
  "gross_tonnage" real
);
### SQL
Given the database schema, here is the SQL query that answers `with delivery date of 2001 2001 what is gross tonnage?`:
```sql
                SELECT AVG("gross_tonnage") FROM "fleet" WHERE "delivery_date"='2001 2001';
```
## Task
Generate a SQL query to answer the following question:
`with delivery date 1997 1997 what is the owns?`

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

CREATE TABLE "fleet" (
  "type" text,
  "owns" text,
  "length" text,
  "delivery_date" text,
  "gross_tonnage" real
);
### SQL
Given the database schema, here is the SQL query that answers `with delivery date 1997 1997 what is the owns?`:
```sql
                SELECT "owns" FROM "fleet" WHERE "delivery_date"='1997 1997';
```
## Task
Generate a SQL query to answer the following question:
`Which conference does the school from Gainesville, Florida, play in?`

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

CREATE TABLE "see_also" (
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "nickname" text,
  "present_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which conference does the school from Gainesville, Florida, play in?`:
```sql
                SELECT "present_conference" FROM "see_also" WHERE "location"='gainesville, florida';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of enrollments for teams named the Buccaneers founded before 1911?`

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

CREATE TABLE "see_also" (
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "joined" real,
  "left" real,
  "nickname" text,
  "present_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of enrollments for teams named the Buccaneers founded before 1911?`:
```sql
                SELECT COUNT("enrollment") FROM "see_also" WHERE "nickname"='buccaneers' AND "founded"<1911;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest chart number for the song Yardbirds aka Roger the Engineer?`

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

CREATE TABLE "studio_albums" (
  "date" text,
  "title" text,
  "origin" text,
  "label_cat_no" text,
  "chart_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest chart number for the song Yardbirds aka Roger the Engineer?`:
```sql
                SELECT MAX("chart_no") FROM "studio_albums" WHERE "title"='yardbirds aka roger the engineer';
```
## Task
Generate a SQL query to answer the following question:
`What is the average chart number for 11/1965?`

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

CREATE TABLE "studio_albums" (
  "date" text,
  "title" text,
  "origin" text,
  "label_cat_no" text,
  "chart_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average chart number for 11/1965?`:
```sql
                SELECT AVG("chart_no") FROM "studio_albums" WHERE "date"='11/1965';
```
## Task
Generate a SQL query to answer the following question:
`What is origin country for a title that charted at 52?`

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

CREATE TABLE "studio_albums" (
  "date" text,
  "title" text,
  "origin" text,
  "label_cat_no" text,
  "chart_no" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is origin country for a title that charted at 52?`:
```sql
                SELECT "origin" FROM "studio_albums" WHERE "chart_no"=52;
```
## Task
Generate a SQL query to answer the following question:
`What is the Record of the Game after 40 with New York Rangers as Opponent?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "january" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record of the Game after 40 with New York Rangers as Opponent?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "game">40 AND "opponent"='new york rangers';
```
## Task
Generate a SQL query to answer the following question:
`When did Adam Thompson play in the final?`

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

CREATE TABLE "singles_titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did Adam Thompson play in the final?`:
```sql
                SELECT "date" FROM "singles_titles" WHERE "opponent_in_the_final"='adam thompson';
```
## Task
Generate a SQL query to answer the following question:
`When was the Lagos tournament?`

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

CREATE TABLE "singles_titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Lagos tournament?`:
```sql
                SELECT "date" FROM "singles_titles" WHERE "tournament"='lagos';
```
## Task
Generate a SQL query to answer the following question:
`What was the score against the phillies on may 24?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score against the phillies on may 24?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='phillies' AND "date"='may 24';
```
## Task
Generate a SQL query to answer the following question:
`Opponent of new england patriots had what attendance?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Opponent of new england patriots had what attendance?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='new england patriots';
```
## Task
Generate a SQL query to answer the following question:
`Attendance of 55,340 had what opponent?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Attendance of 55,340 had what opponent?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance"='55,340';
```
## Task
Generate a SQL query to answer the following question:
`Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"<4 AND "game_site"='rca dome' AND "opponent"='new england patriots';
```
## Task
Generate a SQL query to answer the following question:
`Record of 0–8 had what result?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Record of 0–8 had what result?`:
```sql
                SELECT "result" FROM "schedule" WHERE "record"='0–8';
```
## Task
Generate a SQL query to answer the following question:
`Record of 0–8 had what lowest week?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Record of 0–8 had what lowest week?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "record"='0–8';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when the visitor was pittsburgh?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when the visitor was pittsburgh?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "visitor"='pittsburgh';
```