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

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponent  has a Score of 3–6, 5–7?`:
```sql
                SELECT "opponent" FROM "singles_13_6_7" WHERE "score"='3–6, 5–7';
```
## Task
Generate a SQL query to answer the following question:
`When has a Tournament of palermo , italy?`

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has a Tournament of palermo , italy?`:
```sql
                SELECT "date" FROM "singles_13_6_7" WHERE "tournament"='palermo , italy';
```
## Task
Generate a SQL query to answer the following question:
`Which Opponent is on 29 september 1997?`

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opponent is on 29 september 1997?`:
```sql
                SELECT "opponent" FROM "singles_13_6_7" WHERE "date"='29 september 1997';
```
## Task
Generate a SQL query to answer the following question:
`Which constellation has hd 75732 as a destignation HD?`

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

CREATE TABLE "cosmic_call_messages" (
  "designation_hd" text,
  "constellation" text,
  "date_sent" text,
  "arrival_date" text,
  "message" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which constellation has hd 75732 as a destignation HD?`:
```sql
                SELECT "constellation" FROM "cosmic_call_messages" WHERE "designation_hd"='hd 75732';
```
## Task
Generate a SQL query to answer the following question:
`What message has hd 186408 as a designation HD?`

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

CREATE TABLE "cosmic_call_messages" (
  "designation_hd" text,
  "constellation" text,
  "date_sent" text,
  "arrival_date" text,
  "message" text
);
### SQL
Given the database schema, here is the SQL query that answers `What message has hd 186408 as a designation HD?`:
```sql
                SELECT "message" FROM "cosmic_call_messages" WHERE "designation_hd"='hd 186408';
```
## Task
Generate a SQL query to answer the following question:
`What date sent has cygnus as a constellation, and hd 190360 as a designation HD?`

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

CREATE TABLE "cosmic_call_messages" (
  "designation_hd" text,
  "constellation" text,
  "date_sent" text,
  "arrival_date" text,
  "message" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date sent has cygnus as a constellation, and hd 190360 as a designation HD?`:
```sql
                SELECT "date_sent" FROM "cosmic_call_messages" WHERE "constellation"='cygnus' AND "designation_hd"='hd 190360';
```
## Task
Generate a SQL query to answer the following question:
`What date sent has orion as the constellation?`

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

CREATE TABLE "cosmic_call_messages" (
  "designation_hd" text,
  "constellation" text,
  "date_sent" text,
  "arrival_date" text,
  "message" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date sent has orion as the constellation?`:
```sql
                SELECT "date_sent" FROM "cosmic_call_messages" WHERE "constellation"='orion';
```
## Task
Generate a SQL query to answer the following question:
`Which constellation has cosmic call 1 as the message, and an arrival date of october 2067?`

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

CREATE TABLE "cosmic_call_messages" (
  "designation_hd" text,
  "constellation" text,
  "date_sent" text,
  "arrival_date" text,
  "message" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which constellation has cosmic call 1 as the message, and an arrival date of october 2067?`:
```sql
                SELECT "constellation" FROM "cosmic_call_messages" WHERE "message"='cosmic call 1' AND "arrival_date"='october 2067';
```
## Task
Generate a SQL query to answer the following question:
`What date sent has cancer as the constellation?`

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

CREATE TABLE "cosmic_call_messages" (
  "designation_hd" text,
  "constellation" text,
  "date_sent" text,
  "arrival_date" text,
  "message" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date sent has cancer as the constellation?`:
```sql
                SELECT "date_sent" FROM "cosmic_call_messages" WHERE "constellation"='cancer';
```
## Task
Generate a SQL query to answer the following question:
`Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6?`:
```sql
                SELECT MAX("conceded") FROM "torneo_clausura" WHERE "points">17 AND "team"='guaraní' AND "losses"<6;
```
## Task
Generate a SQL query to answer the following question:
`Which Conceded has Draws smaller than 5, and a Position larger than 6?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Conceded has Draws smaller than 5, and a Position larger than 6?`:
```sql
                SELECT SUM("conceded") FROM "torneo_clausura" WHERE "draws"<5 AND "position">6;
```
## Task
Generate a SQL query to answer the following question:
`How many Points have a Played larger than 18?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points have a Played larger than 18?`:
```sql
                SELECT COUNT("points") FROM "torneo_clausura" WHERE "played">18;
```
## Task
Generate a SQL query to answer the following question:
`Which Scored has a Team of recoleta?`

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

CREATE TABLE "torneo_clausura" (
  "position" real,
  "team" text,
  "played" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "scored" real,
  "conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Scored has a Team of recoleta?`:
```sql
                SELECT SUM("scored") FROM "torneo_clausura" WHERE "team"='recoleta';
```
## Task
Generate a SQL query to answer the following question:
`Which Notes have a Date of 2008-01-27?`

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

CREATE TABLE "personal_records" (
  "distance" text,
  "time" text,
  "date" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Notes have a Date of 2008-01-27?`:
```sql
                SELECT "notes" FROM "personal_records" WHERE "date"='2008-01-27';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Distance of 3,000 m?`

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

CREATE TABLE "personal_records" (
  "distance" text,
  "time" text,
  "date" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Distance of 3,000 m?`:
```sql
                SELECT "date" FROM "personal_records" WHERE "distance"='3,000 m';
```
## Task
Generate a SQL query to answer the following question:
`Which Distance has a Time of men's speed skating?`

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

CREATE TABLE "personal_records" (
  "distance" text,
  "time" text,
  "date" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Distance has a Time of men's speed skating?`:
```sql
                SELECT "distance" FROM "personal_records" WHERE "time"='men''s speed skating';
```
## Task
Generate a SQL query to answer the following question:
`Which Location has a Time of time?`

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

CREATE TABLE "personal_records" (
  "distance" text,
  "time" text,
  "date" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Location has a Time of time?`:
```sql
                SELECT "location" FROM "personal_records" WHERE "time"='time';
```
## Task
Generate a SQL query to answer the following question:
`Which Location has a Distance of 10,000 m?`

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

CREATE TABLE "personal_records" (
  "distance" text,
  "time" text,
  "date" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Location has a Distance of 10,000 m?`:
```sql
                SELECT "location" FROM "personal_records" WHERE "distance"='10,000 m';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Distance of 500 m?`

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

CREATE TABLE "personal_records" (
  "distance" text,
  "time" text,
  "date" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Distance of 500 m?`:
```sql
                SELECT "date" FROM "personal_records" WHERE "distance"='500 m';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for the June 22 game with attendance 0?`

### 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,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for the June 22 game with attendance 0?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='june 22' AND "attendance"=0;
```
## Task
Generate a SQL query to answer the following question:
`What type of surface was used for the carthage tournament on august 14, 1994?`

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

CREATE TABLE "singles" (
  "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 `What type of surface was used for the carthage tournament on august 14, 1994?`:
```sql
                SELECT "surface" FROM "singles" WHERE "tournament"='carthage' AND "date"='august 14, 1994';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament has marielle bruens for the opponent in the final?`

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

CREATE TABLE "singles" (
  "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 `Which tournament has marielle bruens for the opponent in the final?`:
```sql
                SELECT "tournament" FROM "singles" WHERE "opponent_in_the_final"='marielle bruens';
```
## Task
Generate a SQL query to answer the following question:
`What surface was used on may 13, 2007?`

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

CREATE TABLE "singles" (
  "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 `What surface was used on may 13, 2007?`:
```sql
                SELECT "surface" FROM "singles" WHERE "date"='may 13, 2007';
```
## Task
Generate a SQL query to answer the following question:
`Frequency MHz of 93.7 has what class?`

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

CREATE TABLE "oklahoma" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Frequency MHz of 93.7 has what class?`:
```sql
                SELECT "class" FROM "oklahoma" WHERE "frequency_m_hz"=93.7;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities?`

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

CREATE TABLE "languages" (
  "language" text,
  "totora_municipality" real,
  "pojo_municipality" real,
  "pocona_municipality" real,
  "chimor_municipality" real,
  "puerto_villarroel_municipality" real,
  "entre_r_os_municipality" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities?`:
```sql
                SELECT AVG("entre_r_os_municipality") FROM "languages" WHERE "pojo_municipality"<9;
```
## Task
Generate a SQL query to answer the following question:
`What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities?`

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

CREATE TABLE "languages" (
  "language" text,
  "totora_municipality" real,
  "pojo_municipality" real,
  "pocona_municipality" real,
  "chimor_municipality" real,
  "puerto_villarroel_municipality" real,
  "entre_r_os_municipality" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities?`:
```sql
                SELECT COUNT("pocona_municipality") FROM "languages" WHERE "totora_municipality"=72 AND "pojo_municipality">74;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?`

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

CREATE TABLE "languages" (
  "language" text,
  "totora_municipality" real,
  "pojo_municipality" real,
  "pocona_municipality" real,
  "chimor_municipality" real,
  "puerto_villarroel_municipality" real,
  "entre_r_os_municipality" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?`:
```sql
                SELECT MAX("chimor_municipality") FROM "languages" WHERE "pojo_municipality"=9 AND "totora_municipality"<7;
```
## Task
Generate a SQL query to answer the following question:
`Which Copa Libertadores 1996 has a Team of estudiantes?`

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

CREATE TABLE "argentine_clubs_in_international_competi" (
  "team" text,
  "recopa_1995" text,
  "supercopa_1995" text,
  "conmebol_1995" text,
  "copa_libertadores_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Copa Libertadores 1996 has a Team of estudiantes?`:
```sql
                SELECT "copa_libertadores_1996" FROM "argentine_clubs_in_international_competi" WHERE "team"='estudiantes';
```
## Task
Generate a SQL query to answer the following question:
`which CONMEBOL 1995 has a Supercopa 1995 of sf?`

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

CREATE TABLE "argentine_clubs_in_international_competi" (
  "team" text,
  "recopa_1995" text,
  "supercopa_1995" text,
  "conmebol_1995" text,
  "copa_libertadores_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `which CONMEBOL 1995 has a Supercopa 1995 of sf?`:
```sql
                SELECT "conmebol_1995" FROM "argentine_clubs_in_international_competi" WHERE "supercopa_1995"='sf';
```
## Task
Generate a SQL query to answer the following question:
`which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ?`

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

CREATE TABLE "argentine_clubs_in_international_competi" (
  "team" text,
  "recopa_1995" text,
  "supercopa_1995" text,
  "conmebol_1995" text,
  "copa_libertadores_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ?`:
```sql
                SELECT "copa_libertadores_1996" FROM "argentine_clubs_in_international_competi" WHERE "supercopa_1995"='round 1' AND "team"='argentinos juniors';
```
## Task
Generate a SQL query to answer the following question:
`Which CONMEBOL 1995 has river plate team?`

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

CREATE TABLE "argentine_clubs_in_international_competi" (
  "team" text,
  "recopa_1995" text,
  "supercopa_1995" text,
  "conmebol_1995" text,
  "copa_libertadores_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which CONMEBOL 1995 has river plate team?`:
```sql
                SELECT "conmebol_1995" FROM "argentine_clubs_in_international_competi" WHERE "team"='river plate';
```
## Task
Generate a SQL query to answer the following question:
`Which Team  has a round 1  CONMEBOL 1995?`

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

CREATE TABLE "argentine_clubs_in_international_competi" (
  "team" text,
  "recopa_1995" text,
  "supercopa_1995" text,
  "conmebol_1995" text,
  "copa_libertadores_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team  has a round 1  CONMEBOL 1995?`:
```sql
                SELECT "team" FROM "argentine_clubs_in_international_competi" WHERE "conmebol_1995"='round 1';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has an Attendance of 57,013?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has an Attendance of 57,013?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='57,013';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals?`:
```sql
                SELECT "date" FROM "schedule" WHERE "tv_time"='cbs 1:00pm' AND "game_site"='rca dome' AND "opponent"='cincinnati bengals';
```
## Task
Generate a SQL query to answer the following question:
`Which TV Time has a Date of december 26, 1999?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which TV Time has a Date of december 26, 1999?`:
```sql
                SELECT "tv_time" FROM "schedule" WHERE "date"='december 26, 1999';
```
## Task
Generate a SQL query to answer the following question:
`Which Game Site has a Date of october 17, 1999?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Game Site has a Date of october 17, 1999?`:
```sql
                SELECT "game_site" FROM "schedule" WHERE "date"='october 17, 1999';
```
## Task
Generate a SQL query to answer the following question:
`what's the result with streak of won 6?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the result with streak of won 6?`:
```sql
                SELECT "result" FROM "season_schedule" WHERE "streak"='won 6';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2nd leg score having an aggregate score of 4-2?`

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

CREATE TABLE "winners_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2nd leg score having an aggregate score of 4-2?`:
```sql
                SELECT "2nd_leg" FROM "winners_knockout" WHERE "aggregate"='4-2';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team for the 2nd leg for the match having a 1st leg score of 2-1?`

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

CREATE TABLE "winners_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team for the 2nd leg for the match having a 1st leg score of 2-1?`:
```sql
                SELECT "home_2nd_leg" FROM "winners_knockout" WHERE "1st_leg"='2-1';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team for the 2nd leg of the match having an aggregate of 2-3?`

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

CREATE TABLE "winners_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team for the 2nd leg of the match having an aggregate of 2-3?`:
```sql
                SELECT "home_2nd_leg" FROM "winners_knockout" WHERE "aggregate"='2-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points?`:
```sql
                SELECT MIN("played") FROM "campeonato_brasileiro_s_rie_b" WHERE "drawn"<12 AND "against"=41 AND "points"<69;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of played of the team with less than 11 losses and less than 12 drawns?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of played of the team with less than 11 losses and less than 12 drawns?`:
```sql
                SELECT MAX("played") FROM "campeonato_brasileiro_s_rie_b" WHERE "lost"<11 AND "drawn"<12;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of againsts the team with less than 38 played had?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of againsts the team with less than 38 played had?`:
```sql
                SELECT SUM("against") FROM "campeonato_brasileiro_s_rie_b" WHERE "played"<38;
```
## Task
Generate a SQL query to answer the following question:
`What is the average drawn of the team with a difference of 4 and more than 13 losses?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average drawn of the team with a difference of 4 and more than 13 losses?`:
```sql
                SELECT AVG("drawn") FROM "campeonato_brasileiro_s_rie_b" WHERE "difference"='4' AND "lost">13;
```
## Task
Generate a SQL query to answer the following question:
`What is the position of the team with more than 16 losses and an against greater than 74?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the position of the team with more than 16 losses and an against greater than 74?`:
```sql
                SELECT SUM("position") FROM "campeonato_brasileiro_s_rie_b" WHERE "lost">16 AND "against">74;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of points team vitória, which had more than 38 played, had?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_b" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of points team vitória, which had more than 38 played, had?`:
```sql
                SELECT MAX("points") FROM "campeonato_brasileiro_s_rie_b" WHERE "team"='vitória' AND "played">38;
```
## Task
Generate a SQL query to answer the following question:
`When the A Score was larger than 5.933 with a total of 19.833, what nation was this?`

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

CREATE TABLE "groups_3_ribbons_2_hoops" (
  "nation" text,
  "t_score" real,
  "a_score" real,
  "e_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the A Score was larger than 5.933 with a total of 19.833, what nation was this?`:
```sql
                SELECT "nation" FROM "groups_3_ribbons_2_hoops" WHERE "a_score">5.933 AND "total"=19.833;
```
## Task
Generate a SQL query to answer the following question:
`How large was the total when the E Score was greater than 9.35 and T Score was less than 4?`

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

CREATE TABLE "groups_3_ribbons_2_hoops" (
  "nation" text,
  "t_score" real,
  "a_score" real,
  "e_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How large was the total when the E Score was greater than 9.35 and T Score was less than 4?`:
```sql
                SELECT MAX("total") FROM "groups_3_ribbons_2_hoops" WHERE "e_score">9.35 AND "t_score"<4;
```
## Task
Generate a SQL query to answer the following question:
`What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4?`

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

CREATE TABLE "groups_3_ribbons_2_hoops" (
  "nation" text,
  "t_score" real,
  "a_score" real,
  "e_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4?`:
```sql
                SELECT SUM("a_score") FROM "groups_3_ribbons_2_hoops" WHERE "e_score">9.566 AND "nation"='greece' AND "t_score">4;
```
## Task
Generate a SQL query to answer the following question:
`What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4?`

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

CREATE TABLE "groups_3_ribbons_2_hoops" (
  "nation" text,
  "t_score" real,
  "a_score" real,
  "e_score" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4?`:
```sql
                SELECT SUM("a_score") FROM "groups_3_ribbons_2_hoops" WHERE "e_score">9.383 AND "total"<19.716 AND "t_score">4;
```
## Task
Generate a SQL query to answer the following question:
`Which city has a frequency of 104.5 fm?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" text,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has a frequency of 104.5 fm?`:
```sql
                SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"='104.5 fm';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of Walterboro, SC?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" text,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of Walterboro, SC?`:
```sql
                SELECT "frequency_m_hz" FROM "translators" WHERE "city_of_license"='walterboro, sc';
```
## Task
Generate a SQL query to answer the following question:
`What is the FCC information of 104.5 fm frequency?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" text,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FCC information of 104.5 fm frequency?`:
```sql
                SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz"='104.5 fm';
```
## Task
Generate a SQL query to answer the following question:
`What is Charleston, SC ERP W?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" text,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Charleston, SC ERP W?`:
```sql
                SELECT "erp_w" FROM "translators" WHERE "city_of_license"='charleston, sc';
```
## Task
Generate a SQL query to answer the following question:
`What does the ERP W sum equal for 105.1 fm frequency?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" text,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What does the ERP W sum equal for 105.1 fm frequency?`:
```sql
                SELECT SUM("erp_w") FROM "translators" WHERE "frequency_m_hz"='105.1 fm';
```
## Task
Generate a SQL query to answer the following question:
`What is surfside beach, SC frequency?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" text,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is surfside beach, SC frequency?`:
```sql
                SELECT "frequency_m_hz" FROM "translators" WHERE "city_of_license"='surfside beach, sc';
```
## Task
Generate a SQL query to answer the following question:
`What is the player from Japan's To Par?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the player from Japan's To Par?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='japan';
```
## Task
Generate a SQL query to answer the following question:
`What is the player from England's To Par?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the player from England's To Par?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='england';
```
## Task
Generate a SQL query to answer the following question:
`What is the player from England's score?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the player from England's score?`:
```sql
                SELECT "score" FROM "second_round" WHERE "country"='england';
```
## Task
Generate a SQL query to answer the following question:
`Which country does Adam Scott play for?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country does Adam Scott play for?`:
```sql
                SELECT "country" FROM "second_round" WHERE "player"='adam scott';
```
## Task
Generate a SQL query to answer the following question:
`Name the ICAO for lilongwe 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 `Name the ICAO for lilongwe international airport`:
```sql
                SELECT "icao" FROM "destinations" WHERE "airport"='lilongwe international airport';
```
## Task
Generate a SQL query to answer the following question:
`Name the airport for ICAO of flls`

### 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 `Name the airport for ICAO of flls`:
```sql
                SELECT "airport" FROM "destinations" WHERE "icao"='flls';
```
## Task
Generate a SQL query to answer the following question:
`Name the ICAO for julius nyerere 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 `Name the ICAO for julius nyerere international airport`:
```sql
                SELECT "icao" FROM "destinations" WHERE "airport"='julius nyerere international airport';
```
## Task
Generate a SQL query to answer the following question:
`Name the country for johannesburg`

### 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 `Name the country for johannesburg`:
```sql
                SELECT "country" FROM "destinations" WHERE "city"='johannesburg';
```
## Task
Generate a SQL query to answer the following question:
`Name the city for IATA of llw`

### 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 `Name the city for IATA of llw`:
```sql
                SELECT "city" FROM "destinations" WHERE "iata"='llw';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the home time with a 10 tie no?`

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

CREATE TABLE "second_round" (
  "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 name of the home time with a 10 tie no?`:
```sql
                SELECT "home_team" FROM "second_round" WHERE "tie_no"='10';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game that was played against the away team of York City?`

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

CREATE TABLE "second_round" (
  "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 was the date of the game that was played against the away team of York City?`:
```sql
                SELECT "attendance" FROM "second_round" WHERE "away_team"='york city';
```
## Task
Generate a SQL query to answer the following question:
`What group of juventus had an attendance larger than 47,786?`

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

CREATE TABLE "group_stage" (
  "date" text,
  "opponents" text,
  "result_f_a" text,
  "attendance" real,
  "group_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What group of juventus had an attendance larger than 47,786?`:
```sql
                SELECT "group_position" FROM "group_stage" WHERE "opponents"='juventus' AND "attendance">'47,786';
```
## Task
Generate a SQL query to answer the following question:
`Name the average week for result of l 28–17`

### 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,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average week for result of l 28–17`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "result"='l 28–17';
```
## Task
Generate a SQL query to answer the following question:
`What was the score on April 12?`

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

CREATE TABLE "toronto_maple_leafs_4_detroit_red_wings_" (
  "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 on April 12?`:
```sql
                SELECT "score" FROM "toronto_maple_leafs_4_detroit_red_wings_" WHERE "date"='april 12';
```
## Task
Generate a SQL query to answer the following question:
`What was the record on April 6?`

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

CREATE TABLE "toronto_maple_leafs_4_detroit_red_wings_" (
  "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 record on April 6?`:
```sql
                SELECT "record" FROM "toronto_maple_leafs_4_detroit_red_wings_" WHERE "date"='april 6';
```
## Task
Generate a SQL query to answer the following question:
`Which 2009 has a 2008 of A, and a 2010 of 4r?`

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

CREATE TABLE "performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2009 has a 2008 of A, and a 2010 of 4r?`:
```sql
                SELECT "2009" FROM "performance_timeline" WHERE "2008"='a' AND "2010"='4r';
```
## Task
Generate a SQL query to answer the following question:
`Which 2009 has a 2008 of wta premier mandatory tournaments?`

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

CREATE TABLE "performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2009 has a 2008 of wta premier mandatory tournaments?`:
```sql
                SELECT "2009" FROM "performance_timeline" WHERE "2008"='wta premier mandatory tournaments';
```
## Task
Generate a SQL query to answer the following question:
`Which 2010 has a Tournament of australian open?`

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

CREATE TABLE "performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2010 has a Tournament of australian open?`:
```sql
                SELECT "2010" FROM "performance_timeline" WHERE "tournament"='australian open';
```
## Task
Generate a SQL query to answer the following question:
`Which 2007 has a 2006 of A, and a Tournament of canada?`

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

CREATE TABLE "performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2007 has a 2006 of A, and a Tournament of canada?`:
```sql
                SELECT "2007" FROM "performance_timeline" WHERE "2006"='a' AND "tournament"='canada';
```
## Task
Generate a SQL query to answer the following question:
`Which 2009 has a 2006 of A, and a 2011 of sf?`

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

CREATE TABLE "performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2009 has a 2006 of A, and a 2011 of sf?`:
```sql
                SELECT "2009" FROM "performance_timeline" WHERE "2006"='a' AND "2011"='sf';
```
## Task
Generate a SQL query to answer the following question:
`Which 2007 has a 2010 of A?`

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

CREATE TABLE "performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2007 has a 2010 of A?`:
```sql
                SELECT "2007" FROM "performance_timeline" WHERE "2010"='a';
```
## Task
Generate a SQL query to answer the following question:
`Adam is less than 1 and Jade is greater than 5 in cycling, what's the plat'num?`

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

CREATE TABLE "the_boys" (
  "discipline" text,
  "peter" real,
  "adam" real,
  "jade" real,
  "plat_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `Adam is less than 1 and Jade is greater than 5 in cycling, what's the plat'num?`:
```sql
                SELECT MIN("plat_num") FROM "the_boys" WHERE "adam"<1 AND "discipline"='cycling' AND "jade">5;
```
## Task
Generate a SQL query to answer the following question:
`What is Peter's score in kendo that has a plat'num less than 3?`

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

CREATE TABLE "the_boys" (
  "discipline" text,
  "peter" real,
  "adam" real,
  "jade" real,
  "plat_num" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Peter's score in kendo that has a plat'num less than 3?`:
```sql
                SELECT MIN("peter") FROM "the_boys" WHERE "discipline"='kendo' AND "plat_num"<3;
```