cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many attended during the game with a score of 80-94?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many attended during the game with a score of 80-94?`:
```sql
                SELECT SUM("attendance") FROM "season_schedule" WHERE "score"='80-94';
```
## Task
Generate a SQL query to answer the following question:
`What is the U.S. rap ranking in 2000 of the U.S. 105 single?`

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

CREATE TABLE "singles" (
  "year" real,
  "u_s" 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 is the U.S. rap ranking in 2000 of the U.S. 105 single?`:
```sql
                SELECT "u_s_rap" FROM "singles" WHERE "year"=2000 AND "u_s"='105';
```
## Task
Generate a SQL query to answer the following question:
`What is the U.S. rap rank for the song with a U.S. R&B 23 rank?`

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

CREATE TABLE "singles" (
  "year" real,
  "u_s" 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 is the U.S. rap rank for the song with a U.S. R&B 23 rank?`:
```sql
                SELECT "u_s_rap" FROM "singles" WHERE "u_s_r_b"='23';
```
## Task
Generate a SQL query to answer the following question:
`What is the U.S. R&B rank in 2003?`

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

CREATE TABLE "singles" (
  "year" real,
  "u_s" 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 is the U.S. R&B rank in 2003?`:
```sql
                SELECT "u_s_r_b" FROM "singles" WHERE "year"=2003;
```
## Task
Generate a SQL query to answer the following question:
`For the game ending with a score of 28-43, what is the listed as the final record?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the game ending with a score of 28-43, what is the listed as the final record?`:
```sql
                SELECT "record" FROM "schedule" WHERE "score"='28-43';
```
## Task
Generate a SQL query to answer the following question:
`For the game showing a final record of 0-5, what was the attendance level?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the game showing a final record of 0-5, what was the attendance level?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "record"='0-5';
```
## Task
Generate a SQL query to answer the following question:
`For the game where the opponent is listed as At Los Angeles Rams, what was the final score?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the game where the opponent is listed as At Los Angeles Rams, what was the final score?`:
```sql
                SELECT "score" FROM "schedule" WHERE "opponent"='at los angeles rams';
```
## Task
Generate a SQL query to answer the following question:
`For the game played on August 25, with attendance at more than 20,837 people, what was the final score?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `For the game played on August 25, with attendance at more than 20,837 people, what was the final score?`:
```sql
                SELECT "score" FROM "schedule" WHERE "attendance">'20,837' AND "date"='august 25';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for the game with final record listed as 0-1?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "location" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for the game with final record listed as 0-1?`:
```sql
                SELECT "result" FROM "schedule" WHERE "record"='0-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the 60mH that has a Country of russia, and a 800m of 883?`

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

CREATE TABLE "summary" (
  "name" text,
  "country" text,
  "total" text,
  "60m_h" real,
  "800m" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 60mH that has a Country of russia, and a 800m of 883?`:
```sql
                SELECT "60m_h" FROM "summary" WHERE "country"='russia' AND "800m"=883;
```
## Task
Generate a SQL query to answer the following question:
`What is the Total that has a 60mH of 1073?`

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

CREATE TABLE "summary" (
  "name" text,
  "country" text,
  "total" text,
  "60m_h" real,
  "800m" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Total that has a 60mH of 1073?`:
```sql
                SELECT "total" FROM "summary" WHERE "60m_h"=1073;
```
## Task
Generate a SQL query to answer the following question:
`What is the Name that has a 60mH littler than 1002, and a 800m littler than 985, and a Country of lithuania?`

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

CREATE TABLE "summary" (
  "name" text,
  "country" text,
  "total" text,
  "60m_h" real,
  "800m" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name that has a 60mH littler than 1002, and a 800m littler than 985, and a Country of lithuania?`:
```sql
                SELECT "name" FROM "summary" WHERE "60m_h"<1002 AND "800m"<985 AND "country"='lithuania';
```
## Task
Generate a SQL query to answer the following question:
`What is the Sets- for Team ushuaïa ibiza voley when the Points- were less than 1418 and the Sets+ were less than 41?`

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

CREATE TABLE "2012_13_season_standings" (
  "team" text,
  "sets" real,
  "sets" real,
  "points" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Sets- for Team ushuaïa ibiza voley when the Points- were less than 1418 and the Sets+ were less than 41?`:
```sql
                SELECT "sets" FROM "2012_13_season_standings" WHERE "points"<1418 AND "sets"<41 AND "team"='ushuaïa ibiza voley';
```
## Task
Generate a SQL query to answer the following question:
`What is the Sets+ for Team unicaja almería where the Sets- were less than 21 and the Points+ were less than 1497?`

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

CREATE TABLE "2012_13_season_standings" (
  "team" text,
  "sets" real,
  "sets" real,
  "points" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Sets+ for Team unicaja almería where the Sets- were less than 21 and the Points+ were less than 1497?`:
```sql
                SELECT SUM("sets") FROM "2012_13_season_standings" WHERE "sets"<21 AND "team"='unicaja almería' AND "points"<1497;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Sets+ where the Points- are 1435 and the Points+ are less than 1228?`

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

CREATE TABLE "2012_13_season_standings" (
  "team" text,
  "sets" real,
  "sets" real,
  "points" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Sets+ where the Points- are 1435 and the Points+ are less than 1228?`:
```sql
                SELECT COUNT("sets") FROM "2012_13_season_standings" WHERE "points"=1435 AND "points"<1228;
```
## Task
Generate a SQL query to answer the following question:
`Which player has fewer than 3 rounds and the position of (g)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player has fewer than 3 rounds and the position of (g)?`:
```sql
                SELECT "player" FROM "draft_picks" WHERE "round"<3 AND "position"='(g)';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds does Colby Robak have with a position of (d)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds does Colby Robak have with a position of (d)?`:
```sql
                SELECT "round" FROM "draft_picks" WHERE "position"='(d)' AND "player"='colby robak';
```
## Task
Generate a SQL query to answer the following question:
`Which College/Junior/Club Team (league) does Matthew Bartkowski play for?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which College/Junior/Club Team (league) does Matthew Bartkowski play for?`:
```sql
                SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='matthew bartkowski';
```
## Task
Generate a SQL query to answer the following question:
`What date was the game when the liberty had a record of 12-9?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the game when the liberty had a record of 12-9?`:
```sql
                SELECT "date" FROM "season_schedule" WHERE "record"='12-9';
```
## Task
Generate a SQL query to answer the following question:
`What was the record for the game that had a score of 105-72?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for the game that had a score of 105-72?`:
```sql
                SELECT "record" FROM "season_schedule" WHERE "score"='105-72';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game where the record was 4-4?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game where the record was 4-4?`:
```sql
                SELECT "date" FROM "season_schedule" WHERE "record"='4-4';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when Manchester United played at home on 10 February 1951?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team when Manchester United played at home on 10 February 1951?`:
```sql
                SELECT "away_team" FROM "fifth_round_proper" WHERE "date"='10 february 1951' AND "home_team"='manchester united';
```
## Task
Generate a SQL query to answer the following question:
`Which tie did Huddersfield Town play as an away team?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tie did Huddersfield Town play as an away team?`:
```sql
                SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='huddersfield town';
```
## Task
Generate a SQL query to answer the following question:
`What Player had a Score of 75-73-68-65=281 and more than 19,009 in Money?`

### 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 Player had a Score of 75-73-68-65=281 and more than 19,009 in Money?`:
```sql
                SELECT "player" FROM "final_round" WHERE "money">'19,009' AND "score"='75-73-68-65=281';
```
## Task
Generate a SQL query to answer the following question:
`What is the Country of T6 Place Player Ben Crenshaw?`

### 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 Country of T6 Place Player Ben Crenshaw?`:
```sql
                SELECT "country" FROM "final_round" WHERE "place"='t6' AND "player"='ben crenshaw';
```
## Task
Generate a SQL query to answer the following question:
`What is the Money of the Player with a To par of +3 and Score of 76-69-69-69=283?`

### 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 Money of the Player with a To par of +3 and Score of 76-69-69-69=283?`:
```sql
                SELECT MAX("money") FROM "final_round" WHERE "to_par"='+3' AND "score"='76-69-69-69=283';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game before January 22 with a 30-7-7 record?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "january" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the game before January 22 with a 30-7-7 record?`:
```sql
                SELECT "score" FROM "schedule_and_results" WHERE "january"<22 AND "record"='30-7-7';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the games before January 19 with a 27-6-6 record?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "january" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the games before January 19 with a 27-6-6 record?`:
```sql
                SELECT SUM("game") FROM "schedule_and_results" WHERE "january"<19 AND "record"='27-6-6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Frequency, when the Voltage is 3.3 V?`

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

CREATE TABLE "models" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "mult" real,
  "voltage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Frequency, when the Voltage is 3.3 V?`:
```sql
                SELECT "frequency" FROM "models" WHERE "voltage"='3.3 v';
```
## Task
Generate a SQL query to answer the following question:
`What is the L1 Cache, when the Model Number is X5-133 ADY?`

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

CREATE TABLE "models" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "mult" real,
  "voltage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the L1 Cache, when the Model Number is X5-133 ADY?`:
```sql
                SELECT "l1_cache" FROM "models" WHERE "model_number"='x5-133 ady';
```
## Task
Generate a SQL query to answer the following question:
`What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?`

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

CREATE TABLE "models" (
  "model_number" text,
  "frequency" text,
  "l1_cache" text,
  "mult" real,
  "voltage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?`:
```sql
                SELECT "model_number" FROM "models" WHERE "voltage"='3.45 v' AND "frequency"='133 mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the Nationality of the Aracataca Ship?`

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

CREATE TABLE "summary_of_raiding_history" (
  "date" text,
  "ship" text,
  "nationality" text,
  "tonnage" real,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Nationality of the Aracataca Ship?`:
```sql
                SELECT "nationality" FROM "summary_of_raiding_history" WHERE "ship"='aracataca';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM?`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM?`:
```sql
                SELECT "saka_era" FROM "comparative_table_showing_corresponding_" WHERE "months_in_malayalam_era"='medam';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SIGN OF ZODIAC OF മീനം?`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SIGN OF ZODIAC OF മീനം?`:
```sql
                SELECT "sign_of_zodiac" FROM "comparative_table_showing_corresponding_" WHERE "in_malayalam"='മീനം';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SAKA ERA OF VIRGO?`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SAKA ERA OF VIRGO?`:
```sql
                SELECT "saka_era" FROM "comparative_table_showing_corresponding_" WHERE "sign_of_zodiac"='virgo';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS?`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS?`:
```sql
                SELECT "gregorian_calendar" FROM "comparative_table_showing_corresponding_" WHERE "sign_of_zodiac"='aquarius';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE IN MALAYALAM WITH kartika–agrahayana?`

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

CREATE TABLE "comparative_table_showing_corresponding_" (
  "months_in_malayalam_era" text,
  "in_malayalam" text,
  "gregorian_calendar" text,
  "tamil_calendar" text,
  "saka_era" text,
  "sign_of_zodiac" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE IN MALAYALAM WITH kartika–agrahayana?`:
```sql
                SELECT "in_malayalam" FROM "comparative_table_showing_corresponding_" WHERE "saka_era"='kartika–agrahayana';
```
## Task
Generate a SQL query to answer the following question:
`What is the airport when the iata is tbj?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the airport when the iata is tbj?`:
```sql
                SELECT "airport" FROM "destinations" WHERE "iata"='tbj';
```
## Task
Generate a SQL query to answer the following question:
`what is the iata for malta international airport?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the iata for malta international airport?`:
```sql
                SELECT "iata" FROM "destinations" WHERE "airport"='malta international airport';
```
## Task
Generate a SQL query to answer the following question:
`what is the airport for the country tunisia with the icao dtaa?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the airport for the country tunisia with the icao dtaa?`:
```sql
                SELECT "airport" FROM "destinations" WHERE "country"='tunisia' AND "icao"='dtaa';
```
## Task
Generate a SQL query to answer the following question:
`what is the city when the country is libya and the iata is ben?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the city when the country is libya and the iata is ben?`:
```sql
                SELECT "city" FROM "destinations" WHERE "country"='libya' AND "iata"='ben';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the city is gafsa?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country when the city is gafsa?`:
```sql
                SELECT "country" FROM "destinations" WHERE "city"='gafsa';
```
## Task
Generate a SQL query to answer the following question:
`what is the iata when the city is tripoli?`

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

CREATE TABLE "destinations" (
  "city" text,
  "country" text,
  "iata" text,
  "icao" text,
  "airport" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the iata when the city is tripoli?`:
```sql
                SELECT "iata" FROM "destinations" WHERE "city"='tripoli';
```
## Task
Generate a SQL query to answer the following question:
`Who is the 2nd round opponent when Team 2 is Red Star (D1)?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the 2nd round opponent when Team 2 is Red Star (D1)?`:
```sql
                SELECT "2nd_round" FROM "round_of_16" WHERE "team_2"='red star (d1)';
```
## Task
Generate a SQL query to answer the following question:
`When Team 2 was USL Dunkerque (D2), what was the score`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Team 2 was USL Dunkerque (D2), what was the score`:
```sql
                SELECT "score" FROM "round_of_16" WHERE "team_2"='usl dunkerque (d2)';
```
## Task
Generate a SQL query to answer the following question:
`What was the team 1 when Red Star (D1) was team 2?`

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

CREATE TABLE "round_of_16" (
  "team_1" text,
  "score" text,
  "team_2" text,
  "1st_round" text,
  "2nd_round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the team 1 when Red Star (D1) was team 2?`:
```sql
                SELECT "team_1" FROM "round_of_16" WHERE "team_2"='red star (d1)';
```
## Task
Generate a SQL query to answer the following question:
`Which team has home game with tie of 4?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has home game with tie of 4?`:
```sql
                SELECT "home_team" FROM "sixth_round_proper" WHERE "tie_no"='4';
```
## Task
Generate a SQL query to answer the following question:
`what is score of a team with tie of 4?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is score of a team with tie of 4?`:
```sql
                SELECT "score" FROM "sixth_round_proper" WHERE "tie_no"='4';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game with 39,592 attendance?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the game with 39,592 attendance?`:
```sql
                SELECT "score" FROM "sixth_round_proper" WHERE "attendance"='39,592';
```
## Task
Generate a SQL query to answer the following question:
`How many attended the game when the score was tie at 4?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many attended the game when the score was tie at 4?`:
```sql
                SELECT "attendance" FROM "sixth_round_proper" WHERE "tie_no"='4';
```
## Task
Generate a SQL query to answer the following question:
`Which player was defensive back after round 3?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player was defensive back after round 3?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "position"='defensive back' AND "round">3;
```
## Task
Generate a SQL query to answer the following question:
`What was the pick for Bill Gramatica after round 2?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the pick for Bill Gramatica after round 2?`:
```sql
                SELECT "pick" FROM "nfl_draft" WHERE "round">2 AND "player"='bill gramatica';
```
## Task
Generate a SQL query to answer the following question:
`What was the record on june 29?`

### 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 record on june 29?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "date"='june 29';
```
## Task
Generate a SQL query to answer the following question:
`What were the high points on june 20?`

### 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 were the high points on june 20?`:
```sql
                SELECT "high_points" FROM "regular_season" WHERE "date"='june 20';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Location/Attendance of palace of auburn hills 8,108?`

### 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 `Which Record has a Location/Attendance of palace of auburn hills 8,108?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "location_attendance"='palace of auburn hills 8,108';
```
## Task
Generate a SQL query to answer the following question:
`Which Game is the lowest one that has a Record of 11-4?`

### 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 `Which Game is the lowest one that has a Record of 11-4?`:
```sql
                SELECT MIN("game") FROM "regular_season" WHERE "record"='11-4';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Location/Attendance of verizon center 7,587?`

### 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 `Which Date has a Location/Attendance of verizon center 7,587?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "location_attendance"='verizon center 7,587';
```
## Task
Generate a SQL query to answer the following question:
`Which High rebounds has a High points of douglas (23)?`

### 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 `Which High rebounds has a High points of douglas (23)?`:
```sql
                SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='douglas (23)';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has an Opponent of seattle?`

### 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 `Which Score has an Opponent of seattle?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "opponent"='seattle';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a High points of hoffman (16)?`

### 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 `Which Record has a High points of hoffman (16)?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "high_points"='hoffman (16)';
```
## Task
Generate a SQL query to answer the following question:
`Which round has a record of 5-3 (1)?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round has a record of 5-3 (1)?`:
```sql
                SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "record"='5-3 (1)';
```
## Task
Generate a SQL query to answer the following question:
`Who were the Djurgarden scorers when the venue was Idrottsparken?`

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

CREATE TABLE "svenska_cupen_2004" (
  "date" text,
  "venue" text,
  "opponents" text,
  "score" text,
  "comp" text,
  "djurg_rden_scorers" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the Djurgarden scorers when the venue was Idrottsparken?`:
```sql
                SELECT "djurg_rden_scorers" FROM "svenska_cupen_2004" WHERE "venue"='idrottsparken';
```
## Task
Generate a SQL query to answer the following question:
`what is the series when the team is gunbroker racing?`

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

CREATE TABLE "nascar_sponsorship" (
  "year" real,
  "series" text,
  "make" text,
  "driver" text,
  "team" text,
  "schedule" text,
  "role" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the series when the team is gunbroker racing?`:
```sql
                SELECT "series" FROM "nascar_sponsorship" WHERE "team"='gunbroker racing';
```
## Task
Generate a SQL query to answer the following question:
`what is the team when the make is dodge and the year is after 2008?`

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

CREATE TABLE "nascar_sponsorship" (
  "year" real,
  "series" text,
  "make" text,
  "driver" text,
  "team" text,
  "schedule" text,
  "role" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the team when the make is dodge and the year is after 2008?`:
```sql
                SELECT "team" FROM "nascar_sponsorship" WHERE "make"='dodge' AND "year">2008;
```
## Task
Generate a SQL query to answer the following question:
`what is the make for the year 2008?`

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

CREATE TABLE "nascar_sponsorship" (
  "year" real,
  "series" text,
  "make" text,
  "driver" text,
  "team" text,
  "schedule" text,
  "role" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the make for the year 2008?`:
```sql
                SELECT "make" FROM "nascar_sponsorship" WHERE "year"=2008;
```
## Task
Generate a SQL query to answer the following question:
`what is the year when the driver was kevin lepage?`

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

CREATE TABLE "nascar_sponsorship" (
  "year" real,
  "series" text,
  "make" text,
  "driver" text,
  "team" text,
  "schedule" text,
  "role" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the year when the driver was kevin lepage?`:
```sql
                SELECT SUM("year") FROM "nascar_sponsorship" WHERE "driver"='kevin lepage';
```
## Task
Generate a SQL query to answer the following question:
`what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?`

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

CREATE TABLE "nascar_sponsorship" (
  "year" real,
  "series" text,
  "make" text,
  "driver" text,
  "team" text,
  "schedule" text,
  "role" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?`:
```sql
                SELECT "team" FROM "nascar_sponsorship" WHERE "schedule"='limited' AND "year"<2007 AND "driver"='jason white';
```
## Task
Generate a SQL query to answer the following question:
`Which rank is the lowest with 37 games and more than 613 points?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rank is the lowest with 37 games and more than 613 points?`:
```sql
                SELECT MIN("rank") FROM "points" WHERE "games"=37 AND "points">613;
```
## Task
Generate a SQL query to answer the following question:
`What is Grupo Capitol Valladolid's highest rank with more than 34 games?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Grupo Capitol Valladolid's highest rank with more than 34 games?`:
```sql
                SELECT MAX("rank") FROM "points" WHERE "team"='grupo capitol valladolid' AND "games">34;
```
## Task
Generate a SQL query to answer the following question:
`How many points are there for rank 5 with more than 34 games?`

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

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points are there for rank 5 with more than 34 games?`:
```sql
                SELECT COUNT("points") FROM "points" WHERE "rank"=5 AND "games">34;
```
## Task
Generate a SQL query to answer the following question:
`Where is the kap shui mun bridge?`

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

CREATE TABLE "completed_cable_stayed_bridges" (
  "name" text,
  "location" text,
  "country" text,
  "longest_span" text,
  "comp" real,
  "pylons" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the kap shui mun bridge?`:
```sql
                SELECT "location" FROM "completed_cable_stayed_bridges" WHERE "name"='kap shui mun bridge';
```
## Task
Generate a SQL query to answer the following question:
`What tournament shows 2013 as 2r, and a 2010 as 1r?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament shows 2013 as 2r, and a 2010 as 1r?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "2013"='2r' AND "2010"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2013 when the 2008 is 1r?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2013 when the 2008 is 1r?`:
```sql
                SELECT "2013" FROM "singles_performance_timeline" WHERE "2008"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2011 when 2012 is q1, and a 2010 is 4r?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2011 when 2012 is q1, and a 2010 is 4r?`:
```sql
                SELECT "2011" FROM "singles_performance_timeline" WHERE "2012"='q1' AND "2010"='4r';
```
## Task
Generate a SQL query to answer the following question:
`What tournament has a 2010 of 1r, and a 2008 of 1r?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament has a 2010 of 1r, and a 2008 of 1r?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "2010"='1r' AND "2008"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2011 at the French open?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2011 at the French open?`:
```sql
                SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='french open';
```
## Task
Generate a SQL query to answer the following question:
`What shows for 2013 when 2012 is 2r?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for 2013 when 2012 is 2r?`:
```sql
                SELECT "2013" FROM "singles_performance_timeline" WHERE "2012"='2r';
```
## Task
Generate a SQL query to answer the following question:
`How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001?`

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

CREATE TABLE "population" (
  "province" text,
  "south_asians_2001" real,
  "pct_2001" text,
  "south_asians_2011" real,
  "pct_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001?`:
```sql
                SELECT COUNT("south_asians_2011") FROM "population" WHERE "province"='quebec' AND "south_asians_2001"<'59,510';
```
## Task
Generate a SQL query to answer the following question:
`Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?`

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

CREATE TABLE "population" (
  "province" text,
  "south_asians_2001" real,
  "pct_2001" text,
  "south_asians_2011" real,
  "pct_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?`:
```sql
                SELECT "province" FROM "population" WHERE "south_asians_2001"<190 AND "south_asians_2011"=115;
```
## Task
Generate a SQL query to answer the following question:
`What % of South Asians were in Nova Scotia in 2001 with 115 and 2011 with 12,620?`

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

CREATE TABLE "population" (
  "province" text,
  "south_asians_2001" real,
  "pct_2001" text,
  "south_asians_2011" real,
  "pct_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `What % of South Asians were in Nova Scotia in 2001 with 115 and 2011 with 12,620?`:
```sql
                SELECT "pct_2001" FROM "population" WHERE "south_asians_2001">115 AND "south_asians_2011">'12,620' AND "province"='nova scotia';
```