cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which section is in the 6th position?`

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

CREATE TABLE "season_to_season" (
  "season" text,
  "level" text,
  "division" text,
  "section" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which section is in the 6th position?`:
```sql
                SELECT "section" FROM "season_to_season" WHERE "position"='6th';
```
## Task
Generate a SQL query to answer the following question:
`Name the attendance with date of june 11`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the attendance with date of june 11`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "date"='june 11';
```
## Task
Generate a SQL query to answer the following question:
`Which partnership has a run number of 27?`

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

CREATE TABLE "highest_partnerships_for_each_wicket" (
  "wicket" text,
  "runs" text,
  "partnerships" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which partnership has a run number of 27?`:
```sql
                SELECT "partnerships" FROM "highest_partnerships_for_each_wicket" WHERE "runs"='27';
```
## Task
Generate a SQL query to answer the following question:
`What venue did the parntership of shoaib malik / misbah-ul-haq occur?`

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

CREATE TABLE "highest_partnerships_for_each_wicket" (
  "wicket" text,
  "runs" text,
  "partnerships" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue did the parntership of shoaib malik / misbah-ul-haq occur?`:
```sql
                SELECT "venue" FROM "highest_partnerships_for_each_wicket" WHERE "partnerships"='shoaib malik / misbah-ul-haq';
```
## Task
Generate a SQL query to answer the following question:
`What venue did the partnership of herschelle gibbs / justin kemp happen?`

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

CREATE TABLE "highest_partnerships_for_each_wicket" (
  "wicket" text,
  "runs" text,
  "partnerships" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue did the partnership of herschelle gibbs / justin kemp happen?`:
```sql
                SELECT "venue" FROM "highest_partnerships_for_each_wicket" WHERE "partnerships"='herschelle gibbs / justin kemp';
```
## Task
Generate a SQL query to answer the following question:
`What is the number Played that has 310 Points for?`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number Played that has 310 Points for?`:
```sql
                SELECT "played" FROM "2010_2011_table" WHERE "points_for"='310';
```
## Task
Generate a SQL query to answer the following question:
`What Losing bonus has a Points against of 588?`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Losing bonus has a Points against of 588?`:
```sql
                SELECT "losing_bonus" FROM "2010_2011_table" WHERE "points_against"='588';
```
## Task
Generate a SQL query to answer the following question:
`What Tries against has a Losing bonus of 7?`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tries against has a Losing bonus of 7?`:
```sql
                SELECT "tries_against" FROM "2010_2011_table" WHERE "losing_bonus"='7';
```
## Task
Generate a SQL query to answer the following question:
`What Try bonus has a Points against of 488?`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Try bonus has a Points against of 488?`:
```sql
                SELECT "try_bonus" FROM "2010_2011_table" WHERE "points_against"='488';
```
## Task
Generate a SQL query to answer the following question:
`What Points for has a Try bonus of 140?`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Points for has a Try bonus of 140?`:
```sql
                SELECT "points_for" FROM "2010_2011_table" WHERE "try_bonus"='140';
```
## Task
Generate a SQL query to answer the following question:
`What Drawn has a Tries against of 0?`

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

CREATE TABLE "2010_2011_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Drawn has a Tries against of 0?`:
```sql
                SELECT "drawn" FROM "2010_2011_table" WHERE "tries_against"='0';
```
## Task
Generate a SQL query to answer the following question:
`What is the days held the champion with a reign larger than 3 and 1 defense has?`

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

CREATE TABLE "list_of_champions" (
  "name" text,
  "reign" real,
  "days_held" text,
  "location" text,
  "defenses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the days held the champion with a reign larger than 3 and 1 defense has?`:
```sql
                SELECT "days_held" FROM "list_of_champions" WHERE "reign">3 AND "defenses"=1;
```
## Task
Generate a SQL query to answer the following question:
`What is the days held the champion with a reign larger than 3 and less than 1 defense has?`

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

CREATE TABLE "list_of_champions" (
  "name" text,
  "reign" real,
  "days_held" text,
  "location" text,
  "defenses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the days held the champion with a reign larger than 3 and less than 1 defense has?`:
```sql
                SELECT "days_held" FROM "list_of_champions" WHERE "reign">3 AND "defenses"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the average defenses a champion with 404 days held and a reign larger than 1 has?`

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

CREATE TABLE "list_of_champions" (
  "name" text,
  "reign" real,
  "days_held" text,
  "location" text,
  "defenses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average defenses a champion with 404 days held and a reign larger than 1 has?`:
```sql
                SELECT AVG("defenses") FROM "list_of_champions" WHERE "days_held"='404' AND "reign">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest defense a champion with 345 days held has?`

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

CREATE TABLE "list_of_champions" (
  "name" text,
  "reign" real,
  "days_held" text,
  "location" text,
  "defenses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest defense a champion with 345 days held has?`:
```sql
                SELECT MIN("defenses") FROM "list_of_champions" WHERE "days_held"='345';
```
## Task
Generate a SQL query to answer the following question:
`On what date was there a record of 76-72?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was there a record of 76-72?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='76-72';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance that had a loss of Ponson (1-5)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance that had a loss of Ponson (1-5)?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "loss"='ponson (1-5)';
```
## Task
Generate a SQL query to answer the following question:
`On which day was there a record of 36-39?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which day was there a record of 36-39?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='36-39';
```
## Task
Generate a SQL query to answer the following question:
`On what day was the record 30-31?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what day was the record 30-31?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='30-31';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent at the game that had a loss of Leonard (7–8)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent at the game that had a loss of Leonard (7–8)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='leonard (7–8)';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game when the record was 18–43?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game when the record was 18–43?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='18–43';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game against the Royals when the record was 24–52?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game against the Royals when the record was 24–52?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='royals' AND "record"='24–52';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game when the record was 22–46?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game when the record was 22–46?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='22–46';
```
## Task
Generate a SQL query to answer the following question:
`What is the real name of the person whose primary military specialty is shock paratrooper?`

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

CREATE TABLE "characters" (
  "code_name" text,
  "function_figure" text,
  "real_name" text,
  "birthplace" text,
  "serial_number" text,
  "primary_military_speciality" text,
  "secondary_military_speciality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the real name of the person whose primary military specialty is shock paratrooper?`:
```sql
                SELECT "real_name" FROM "characters" WHERE "primary_military_speciality"='shock paratrooper';
```
## Task
Generate a SQL query to answer the following question:
`What is the birthplace of Pete Sanderson?`

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

CREATE TABLE "characters" (
  "code_name" text,
  "function_figure" text,
  "real_name" text,
  "birthplace" text,
  "serial_number" text,
  "primary_military_speciality" text,
  "secondary_military_speciality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the birthplace of Pete Sanderson?`:
```sql
                SELECT "birthplace" FROM "characters" WHERE "real_name"='pete sanderson';
```
## Task
Generate a SQL query to answer the following question:
`What role did Jean-Luc Bouvier serve?`

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

CREATE TABLE "characters" (
  "code_name" text,
  "function_figure" text,
  "real_name" text,
  "birthplace" text,
  "serial_number" text,
  "primary_military_speciality" text,
  "secondary_military_speciality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What role did Jean-Luc Bouvier serve?`:
```sql
                SELECT "function_figure" FROM "characters" WHERE "real_name"='jean-luc bouvier';
```
## Task
Generate a SQL query to answer the following question:
`What is the real name of the person who is a pilot of the silent attack kayak?`

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

CREATE TABLE "characters" (
  "code_name" text,
  "function_figure" text,
  "real_name" text,
  "birthplace" text,
  "serial_number" text,
  "primary_military_speciality" text,
  "secondary_military_speciality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the real name of the person who is a pilot of the silent attack kayak?`:
```sql
                SELECT "real_name" FROM "characters" WHERE "function_figure"='pilot of the silent attack kayak';
```
## Task
Generate a SQL query to answer the following question:
`What is the code name of the person born in Liverpool?`

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

CREATE TABLE "characters" (
  "code_name" text,
  "function_figure" text,
  "real_name" text,
  "birthplace" text,
  "serial_number" text,
  "primary_military_speciality" text,
  "secondary_military_speciality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the code name of the person born in Liverpool?`:
```sql
                SELECT "code_name" FROM "characters" WHERE "birthplace"='liverpool';
```
## Task
Generate a SQL query to answer the following question:
`What is the names for the medalist in the sport of canoeing?`

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

CREATE TABLE "list_of_medalists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the names for the medalist in the sport of canoeing?`:
```sql
                SELECT "name" FROM "list_of_medalists" WHERE "sport"='canoeing';
```
## Task
Generate a SQL query to answer the following question:
`What games had the women's half middleweight event?`

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

CREATE TABLE "list_of_medalists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What games had the women's half middleweight event?`:
```sql
                SELECT "games" FROM "list_of_medalists" WHERE "event"='women''s half middleweight';
```
## Task
Generate a SQL query to answer the following question:
`Who received the bronze medal in the 2000 Sydney games?`

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

CREATE TABLE "list_of_medalists" (
  "medal" text,
  "name" text,
  "games" text,
  "sport" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who received the bronze medal in the 2000 Sydney games?`:
```sql
                SELECT "name" FROM "list_of_medalists" WHERE "medal"='bronze' AND "games"='2000 sydney';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended when opponent was twins?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended when opponent was twins?`:
```sql
                SELECT COUNT("attendance") FROM "game_log" WHERE "opponent"='twins';
```
## Task
Generate a SQL query to answer the following question:
`Which date has a Record of 41-46?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date has a Record of 41-46?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='41-46';
```
## Task
Generate a SQL query to answer the following question:
`Which score has a Record of 48-55?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which score has a Record of 48-55?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='48-55';
```
## Task
Generate a SQL query to answer the following question:
`Which score has a Record of 44-49?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which score has a Record of 44-49?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='44-49';
```
## Task
Generate a SQL query to answer the following question:
`Which score has an Attendance larger than 16,571, and a Loss of mcdowell (0-1)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which score has an Attendance larger than 16,571, and a Loss of mcdowell (0-1)?`:
```sql
                SELECT "score" FROM "game_log" WHERE "attendance">'16,571' AND "loss"='mcdowell (0-1)';
```
## Task
Generate a SQL query to answer the following question:
`Which score has an Opponent of white sox, and a Record of 2-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,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which score has an Opponent of white sox, and a Record of 2-0?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='white sox' AND "record"='2-0';
```
## Task
Generate a SQL query to answer the following question:
`How many votes did candice sjostrom receive?`

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

CREATE TABLE "results_in_federal_elections" (
  "year" real,
  "office" text,
  "candidate" text,
  "popular_votes" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes did candice sjostrom receive?`:
```sql
                SELECT AVG("popular_votes") FROM "results_in_federal_elections" WHERE "candidate"='candice sjostrom';
```
## Task
Generate a SQL query to answer the following question:
`What percentage did chris wright receive?`

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

CREATE TABLE "results_in_federal_elections" (
  "year" real,
  "office" text,
  "candidate" text,
  "popular_votes" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage did chris wright receive?`:
```sql
                SELECT "percentage" FROM "results_in_federal_elections" WHERE "candidate"='chris wright';
```
## Task
Generate a SQL query to answer the following question:
`How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?`

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

CREATE TABLE "results_in_federal_elections" (
  "year" real,
  "office" text,
  "candidate" text,
  "popular_votes" real,
  "percentage" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?`:
```sql
                SELECT AVG("popular_votes") FROM "results_in_federal_elections" WHERE "office"='us representative 4' AND "percentage"='1.59%' AND "year">1992;
```
## Task
Generate a SQL query to answer the following question:
`What years did J. Smith Young serve as a Representative?`

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

CREATE TABLE "external_links" (
  "representative" text,
  "years" text,
  "state" text,
  "party" text,
  "lifespan" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did J. Smith Young serve as a Representative?`:
```sql
                SELECT "years" FROM "external_links" WHERE "representative"='j. smith young';
```
## Task
Generate a SQL query to answer the following question:
`Which party did Thomas L. Young belong to?`

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

CREATE TABLE "external_links" (
  "representative" text,
  "years" text,
  "state" text,
  "party" text,
  "lifespan" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which party did Thomas L. Young belong to?`:
```sql
                SELECT "party" FROM "external_links" WHERE "representative"='thomas l. young';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal?`:
```sql
                SELECT MIN("total") FROM "medal_table" WHERE "gold"=0 AND "bronze">2 AND "silver">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of silver medals for countries of rank 14, with less than 1 total medals?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of silver medals for countries of rank 14, with less than 1 total medals?`:
```sql
                SELECT SUM("silver") FROM "medal_table" WHERE "rank"='14' AND "total"<1;
```
## Task
Generate a SQL query to answer the following question:
`How many tackles for the player with over 0 fumble recovries and 0 forced fumbles?`

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

CREATE TABLE "tackles" (
  "player" text,
  "solo" real,
  "total" real,
  "sacks" text,
  "fumble_force" real,
  "fumble_rec" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many tackles for the player with over 0 fumble recovries and 0 forced fumbles?`:
```sql
                SELECT COUNT("total") FROM "tackles" WHERE "fumble_rec">0 AND "fumble_force"=0;
```
## Task
Generate a SQL query to answer the following question:
`How many forced fumbles for jim laney with under 2 solo tackles?`

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

CREATE TABLE "tackles" (
  "player" text,
  "solo" real,
  "total" real,
  "sacks" text,
  "fumble_force" real,
  "fumble_rec" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many forced fumbles for jim laney with under 2 solo tackles?`:
```sql
                SELECT COUNT("fumble_force") FROM "tackles" WHERE "solo"<2 AND "player"='jim laney';
```
## Task
Generate a SQL query to answer the following question:
`What is the high total for players with over 15 solo tackles?`

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

CREATE TABLE "tackles" (
  "player" text,
  "solo" real,
  "total" real,
  "sacks" text,
  "fumble_force" real,
  "fumble_rec" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the high total for players with over 15 solo tackles?`:
```sql
                SELECT MAX("total") FROM "tackles" WHERE "solo">15;
```
## Task
Generate a SQL query to answer the following question:
`How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles?`

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

CREATE TABLE "tackles" (
  "player" text,
  "solo" real,
  "total" real,
  "sacks" text,
  "fumble_force" real,
  "fumble_rec" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles?`:
```sql
                SELECT SUM("fumble_rec") FROM "tackles" WHERE "sacks"='0' AND "fumble_force"=0 AND "player"='scott gajos' AND "solo"<2;
```
## Task
Generate a SQL query to answer the following question:
`Who is the Opponent playing at 20:00 GMT at Camp Nou?`

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

CREATE TABLE "friendly" (
  "date" text,
  "time" text,
  "competition" text,
  "opponent" text,
  "ground" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Opponent playing at 20:00 GMT at Camp Nou?`:
```sql
                SELECT "opponent" FROM "friendly" WHERE "time"='20:00 gmt' AND "ground"='camp nou';
```
## Task
Generate a SQL query to answer the following question:
`What time was the match played with a score of 3-2?`

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

CREATE TABLE "friendly" (
  "date" text,
  "time" text,
  "competition" text,
  "opponent" text,
  "ground" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was the match played with a score of 3-2?`:
```sql
                SELECT "time" FROM "friendly" WHERE "score"='3-2';
```
## Task
Generate a SQL query to answer the following question:
`On which ground did the team play Aston Villa?`

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

CREATE TABLE "friendly" (
  "date" text,
  "time" text,
  "competition" text,
  "opponent" text,
  "ground" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which ground did the team play Aston Villa?`:
```sql
                SELECT "ground" FROM "friendly" WHERE "opponent"='aston villa';
```
## Task
Generate a SQL query to answer the following question:
`What kind of competition was it at San Siro at 18:30 GMT?`

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

CREATE TABLE "friendly" (
  "date" text,
  "time" text,
  "competition" text,
  "opponent" text,
  "ground" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of competition was it at San Siro at 18:30 GMT?`:
```sql
                SELECT "competition" FROM "friendly" WHERE "ground"='san siro' AND "time"='18:30 gmt';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of decile for the redwood school locality?`

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

CREATE TABLE "wellington_city" (
  "name" text,
  "years" text,
  "gender" text,
  "locality" text,
  "authority" text,
  "decile" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of decile for the redwood school locality?`:
```sql
                SELECT COUNT("decile") FROM "wellington_city" WHERE "name"='redwood school';
```
## Task
Generate a SQL query to answer the following question:
`Which report includes a Circuit of Tripoli?`

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

CREATE TABLE "other_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which report includes a Circuit of Tripoli?`:
```sql
                SELECT "report" FROM "other_grands_prix" WHERE "circuit"='tripoli';
```