cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Who got the time of 7:52.04?`

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

CREATE TABLE "final" (
  "lane" real,
  "swimmer" text,
  "nationality" text,
  "100m" real,
  "200m" text,
  "300m" text,
  "400m" text,
  "500m" text,
  "600m" text,
  "700m" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who got the time of 7:52.04?`:
```sql
                SELECT "swimmer" FROM "final" WHERE "time"='7:52.04';
```
## Task
Generate a SQL query to answer the following question:
`Which swimmer completed the 700m within 6:57.69?`

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

CREATE TABLE "final" (
  "lane" real,
  "swimmer" text,
  "nationality" text,
  "100m" real,
  "200m" text,
  "300m" text,
  "400m" text,
  "500m" text,
  "600m" text,
  "700m" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which swimmer completed the 700m within 6:57.69?`:
```sql
                SELECT "swimmer" FROM "final" WHERE "700m"='6:57.69';
```
## Task
Generate a SQL query to answer the following question:
`Which swimmer has a 100m time longer than 57.34 and a 600m of 5:54.45?`

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

CREATE TABLE "final" (
  "lane" real,
  "swimmer" text,
  "nationality" text,
  "100m" real,
  "200m" text,
  "300m" text,
  "400m" text,
  "500m" text,
  "600m" text,
  "700m" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which swimmer has a 100m time longer than 57.34 and a 600m of 5:54.45?`:
```sql
                SELECT "200m" FROM "final" WHERE "100m">57.34 AND "600m"='5:54.45';
```
## Task
Generate a SQL query to answer the following question:
`Which of the opponents has bye as their box score?`

### 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,
  "stadium" text,
  "record" text,
  "box_scores" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which of the opponents has bye as their box score?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "box_scores"='bye';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game against the pittsburgh steelers?`

### 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,
  "stadium" text,
  "record" text,
  "box_scores" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the game against the pittsburgh steelers?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='pittsburgh steelers';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game on September 25 with a box score of box?`

### 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,
  "stadium" text,
  "record" text,
  "box_scores" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game on September 25 with a box score of box?`:
```sql
                SELECT "result" FROM "schedule" WHERE "box_scores"='box' AND "date"='september 25';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game later than week 13 and 41,862 people attended?`

### 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,
  "stadium" text,
  "record" text,
  "box_scores" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game later than week 13 and 41,862 people attended?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week">13 AND "attendance"='41,862';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of caps for players with less than 9 goals ranked below 8?`

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

CREATE TABLE "most_caps" (
  "rank" real,
  "player" text,
  "nation" text,
  "caps" real,
  "goals" real,
  "years" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of caps for players with less than 9 goals ranked below 8?`:
```sql
                SELECT SUM("caps") FROM "most_caps" WHERE "goals"<9 AND "rank">8;
```
## Task
Generate a SQL query to answer the following question:
`What were the years of senior status for active service in 1972–1995?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the years of senior status for active service in 1972–1995?`:
```sql
                SELECT "senior_status" FROM "former_judges" WHERE "active_service"='1972–1995';
```
## Task
Generate a SQL query to answer the following question:
`What were the birth and death years when active service was 1972–1995?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the birth and death years when active service was 1972–1995?`:
```sql
                SELECT "born_died" FROM "former_judges" WHERE "active_service"='1972–1995';
```
## Task
Generate a SQL query to answer the following question:
`Which active services years ended in death and had senior status in 1972–2005?`

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

CREATE TABLE "former_judges" (
  "state" text,
  "born_died" text,
  "active_service" text,
  "chief_judge" text,
  "senior_status" text,
  "appointed_by" text,
  "reason_for_termination" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which active services years ended in death and had senior status in 1972–2005?`:
```sql
                SELECT "active_service" FROM "former_judges" WHERE "reason_for_termination"='death' AND "senior_status"='1972–2005';
```
## Task
Generate a SQL query to answer the following question:
`Which date featured the Boston Patriots as the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date featured the Boston Patriots as the opponent?`:
```sql
                SELECT "date" FROM "schedule" WHERE "opponent"='boston patriots';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent during week 8?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent during week 8?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=8;
```
## Task
Generate a SQL query to answer the following question:
`What opponent had an attendance of 12,508 during weeks 1 through 8?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent had an attendance of 12,508 during weeks 1 through 8?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"<8 AND "attendance"='12,508';
```
## Task
Generate a SQL query to answer the following question:
`What week had an attendance of 14,381?`

### 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" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week had an attendance of 14,381?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "attendance"='14,381';
```
## Task
Generate a SQL query to answer the following question:
`Which round was Dave Yovanovits picked?`

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

CREATE TABLE "2003_new_york_jets_season" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round was Dave Yovanovits picked?`:
```sql
                SELECT MIN("round") FROM "2003_new_york_jets_season" WHERE "player"='dave yovanovits';
```
## Task
Generate a SQL query to answer the following question:
`Where did the player picked for the linebacker position play in college?`

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

CREATE TABLE "2003_new_york_jets_season" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the player picked for the linebacker position play in college?`:
```sql
                SELECT "college" FROM "2003_new_york_jets_season" WHERE "position"='linebacker';
```
## Task
Generate a SQL query to answer the following question:
`What country had a 1966-70 rate of -100 and a 1991-95 rate of -7.36%?`

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

CREATE TABLE "five_year_average" (
  "country_name" text,
  "1961_65" text,
  "1966_70" text,
  "1971_75" text,
  "1976_80" text,
  "1981_85" text,
  "1986_90" text,
  "1991_95" text,
  "1996_2000" text,
  "2001_05" text,
  "2006_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country had a 1966-70 rate of -100 and a 1991-95 rate of -7.36%?`:
```sql
                SELECT "country_name" FROM "five_year_average" WHERE "1966_70"='-100' AND "1991_95"='-7.36%';
```
## Task
Generate a SQL query to answer the following question:
`What was the 1971-75 rate for the country that has a 1986-90 rate of -5.28%?`

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

CREATE TABLE "five_year_average" (
  "country_name" text,
  "1961_65" text,
  "1966_70" text,
  "1971_75" text,
  "1976_80" text,
  "1981_85" text,
  "1986_90" text,
  "1991_95" text,
  "1996_2000" text,
  "2001_05" text,
  "2006_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 1971-75 rate for the country that has a 1986-90 rate of -5.28%?`:
```sql
                SELECT "1971_75" FROM "five_year_average" WHERE "1986_90"='-5.28%';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2001-05 rate for the country that had 1981-85 rate of -3.48%?`

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

CREATE TABLE "five_year_average" (
  "country_name" text,
  "1961_65" text,
  "1966_70" text,
  "1971_75" text,
  "1976_80" text,
  "1981_85" text,
  "1986_90" text,
  "1991_95" text,
  "1996_2000" text,
  "2001_05" text,
  "2006_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2001-05 rate for the country that had 1981-85 rate of -3.48%?`:
```sql
                SELECT "2001_05" FROM "five_year_average" WHERE "1981_85"='-3.48%';
```
## Task
Generate a SQL query to answer the following question:
`What was the 1976-80 rate for the country that had 1991-95 rate of -0.43%`

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

CREATE TABLE "five_year_average" (
  "country_name" text,
  "1961_65" text,
  "1966_70" text,
  "1971_75" text,
  "1976_80" text,
  "1981_85" text,
  "1986_90" text,
  "1991_95" text,
  "1996_2000" text,
  "2001_05" text,
  "2006_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 1976-80 rate for the country that had 1991-95 rate of -0.43%`:
```sql
                SELECT "1976_80" FROM "five_year_average" WHERE "1991_95"='-0.43%';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2001-05 rate for the country that had the 1981-85 rate of 0.38%?`

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

CREATE TABLE "five_year_average" (
  "country_name" text,
  "1961_65" text,
  "1966_70" text,
  "1971_75" text,
  "1976_80" text,
  "1981_85" text,
  "1986_90" text,
  "1991_95" text,
  "1996_2000" text,
  "2001_05" text,
  "2006_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the 2001-05 rate for the country that had the 1981-85 rate of 0.38%?`:
```sql
                SELECT "2001_05" FROM "five_year_average" WHERE "1981_85"='0.38%';
```
## Task
Generate a SQL query to answer the following question:
`Who did the Browns play week 12?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the Browns play week 12?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance in the game against the Detroit Lions?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance in the game against the Detroit Lions?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='detroit lions';
```
## Task
Generate a SQL query to answer the following question:
`Who played as the away team when they played at Brunswick Street Oval?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who played as the away team when they played at Brunswick Street Oval?`:
```sql
                SELECT "away_team" FROM "round_15" WHERE "venue"='brunswick street oval';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the VFL played Arden Street Oval?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when the VFL played Arden Street Oval?`:
```sql
                SELECT "home_team" FROM "round_15" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away side at junction oval?`

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

CREATE TABLE "round_9" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away side at junction oval?`:
```sql
                SELECT "away_team" FROM "round_9" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning driver of the Kraco Car Stereo 150?`

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

CREATE TABLE "race_results" (
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning driver of the Kraco Car Stereo 150?`:
```sql
                SELECT "winning_driver" FROM "race_results" WHERE "name"='kraco car stereo 150';
```
## Task
Generate a SQL query to answer the following question:
`What time was the fastest lap during Stoh's 200 in 1982?`

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

CREATE TABLE "race_results" (
  "name" text,
  "pole_position" text,
  "fastest_lap" text,
  "winning_driver" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was the fastest lap during Stoh's 200 in 1982?`:
```sql
                SELECT "fastest_lap" FROM "race_results" WHERE "name"='stoh''s 200';
```
## Task
Generate a SQL query to answer the following question:
`What is the date for the player who debuted later than 1972 against Limerick?`

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

CREATE TABLE "retirees" (
  "player" text,
  "team" text,
  "last_game" text,
  "date" text,
  "opposition" text,
  "d_but" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date for the player who debuted later than 1972 against Limerick?`:
```sql
                SELECT "date" FROM "retirees" WHERE "d_but">1972 AND "opposition"='limerick';
```
## Task
Generate a SQL query to answer the following question:
`Which player debuted in 1973 against Limerick and played his last game at the Munster semi-final?`

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

CREATE TABLE "retirees" (
  "player" text,
  "team" text,
  "last_game" text,
  "date" text,
  "opposition" text,
  "d_but" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player debuted in 1973 against Limerick and played his last game at the Munster semi-final?`:
```sql
                SELECT "player" FROM "retirees" WHERE "opposition"='limerick' AND "last_game"='munster semi-final' AND "d_but"=1973;
```
## Task
Generate a SQL query to answer the following question:
`What date had a Result of l 23–17 in a week later than 7?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date had a Result of l 23–17 in a week later than 7?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week">7 AND "result"='l 23–17';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game against the 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the game against the cincinnati bengals?`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "opponent"='cincinnati bengals';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for the game played at 3:31?`

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

CREATE TABLE "new_york_yankees_vs_boston_red_sox" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for the game played at 3:31?`:
```sql
                SELECT "attendance" FROM "new_york_yankees_vs_boston_red_sox" WHERE "time"='3:31';
```
## Task
Generate a SQL query to answer the following question:
`What was the time for game 4?`

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

CREATE TABLE "new_york_yankees_vs_boston_red_sox" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the time for game 4?`:
```sql
                SELECT "time" FROM "new_york_yankees_vs_boston_red_sox" WHERE "game"=4;
```
## Task
Generate a SQL query to answer the following question:
`What venue featured a home score of 8.9 (57)?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue featured a home score of 8.9 (57)?`:
```sql
                SELECT "venue" FROM "round_13" WHERE "home_team_score"='8.9 (57)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score at western oval?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score at western oval?`:
```sql
                SELECT "away_team_score" FROM "round_13" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`How many games featured a home team scoring 12.18 (90)?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games featured a home team scoring 12.18 (90)?`:
```sql
                SELECT COUNT("crowd") FROM "round_13" WHERE "home_team_score"='12.18 (90)';
```
## Task
Generate a SQL query to answer the following question:
`Before 2007, how many wins were there when the point total was 48?`

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

CREATE TABLE "porsche_supercup" (
  "year" real,
  "drivers" text,
  "wins" real,
  "points" text,
  "d_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `Before 2007, how many wins were there when the point total was 48?`:
```sql
                SELECT SUM("wins") FROM "porsche_supercup" WHERE "points"='48' AND "year"<2007;
```
## Task
Generate a SQL query to answer the following question:
`In 2011, how many wins did Michael Meadows have?`

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

CREATE TABLE "porsche_supercup" (
  "year" real,
  "drivers" text,
  "wins" real,
  "points" text,
  "d_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 2011, how many wins did Michael Meadows have?`:
```sql
                SELECT SUM("wins") FROM "porsche_supercup" WHERE "year"=2011 AND "drivers"='michael meadows';
```
## Task
Generate a SQL query to answer the following question:
`What is the service of the network Set Max from India?`

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

CREATE TABLE "singapore" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the service of the network Set Max from India?`:
```sql
                SELECT "service" FROM "singapore" WHERE "origin_of_programming"='india' AND "network"='set max';
```
## Task
Generate a SQL query to answer the following question:
`Which network's genre is music?`

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

CREATE TABLE "singapore" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which network's genre is music?`:
```sql
                SELECT "network" FROM "singapore" WHERE "genre"='music';
```
## Task
Generate a SQL query to answer the following question:
`What genre is Star Plus from India?`

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

CREATE TABLE "singapore" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `What genre is Star Plus from India?`:
```sql
                SELECT "genre" FROM "singapore" WHERE "origin_of_programming"='india' AND "network"='star plus';
```
## Task
Generate a SQL query to answer the following question:
`Where does the network Star Cricket originate?`

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

CREATE TABLE "singapore" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where does the network Star Cricket originate?`:
```sql
                SELECT "origin_of_programming" FROM "singapore" WHERE "genre"='cricket' AND "network"='star cricket';
```
## Task
Generate a SQL query to answer the following question:
`What genre is Set Max's Hindi programming?`

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

CREATE TABLE "singapore" (
  "network" text,
  "origin_of_programming" text,
  "language" text,
  "genre" text,
  "service" text
);
### SQL
Given the database schema, here is the SQL query that answers `What genre is Set Max's Hindi programming?`:
```sql
                SELECT "genre" FROM "singapore" WHERE "language"='hindi' AND "network"='set max';
```
## Task
Generate a SQL query to answer the following question:
`What is fitzroy's score as the home team?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is fitzroy's score as the home team?`:
```sql
                SELECT "home_team_score" FROM "round_14" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What is the listed crowd when the home team's score is 9.7 (61)?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the listed crowd when the home team's score is 9.7 (61)?`:
```sql
                SELECT "crowd" FROM "round_14" WHERE "home_team_score"='9.7 (61)';
```
## Task
Generate a SQL query to answer the following question:
`What is richmond's score as the home team?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is richmond's score as the home team?`:
```sql
                SELECT "home_team_score" FROM "round_14" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`When was the game where the away team had a score of 5.14 (44)?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the game where the away team had a score of 5.14 (44)?`:
```sql
                SELECT "date" FROM "round_4" WHERE "away_team_score"='5.14 (44)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the color commentator for Eric Dickerson and Melissa Stark in 2001?`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator_s" text,
  "sideline_reporter_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the color commentator for Eric Dickerson and Melissa Stark in 2001?`:
```sql
                SELECT "color_commentator_s" FROM "2000s" WHERE "sideline_reporter_s"='eric dickerson and melissa stark' AND "year"=2001;
```
## Task
Generate a SQL query to answer the following question:
`What network hosted Al Michaels, Dan Fouts and Dennis Miller in 2002?`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator_s" text,
  "sideline_reporter_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What network hosted Al Michaels, Dan Fouts and Dennis Miller in 2002?`:
```sql
                SELECT "network" FROM "2000s" WHERE "play_by_play"='al michaels' AND "color_commentator_s"='dan fouts and dennis miller' AND "year"<2002;
```
## Task
Generate a SQL query to answer the following question:
`Who was the 2004 color commentator?`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator_s" text,
  "sideline_reporter_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the 2004 color commentator?`:
```sql
                SELECT "color_commentator_s" FROM "2000s" WHERE "year"=2004;
```
## Task
Generate a SQL query to answer the following question:
`Who was the color commentator for Andrea Kremer and Tiki Barber?`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator_s" text,
  "sideline_reporter_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the color commentator for Andrea Kremer and Tiki Barber?`:
```sql
                SELECT "color_commentator_s" FROM "2000s" WHERE "sideline_reporter_s"='andrea kremer and tiki barber';
```
## Task
Generate a SQL query to answer the following question:
`Who was Al Michaels' color commentator in 2003?`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "color_commentator_s" text,
  "sideline_reporter_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was Al Michaels' color commentator in 2003?`:
```sql
                SELECT "color_commentator_s" FROM "2000s" WHERE "play_by_play"='al michaels' AND "year">2003;
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when Geelong was the away team?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team when Geelong was the away team?`:
```sql
                SELECT "home_team" FROM "round_12" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game when the home team scored 25.17 (167)?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game when the home team scored 25.17 (167)?`:
```sql
                SELECT "venue" FROM "round_12" WHERE "home_team_score"='25.17 (167)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score when home team Carlton scored 15.16 (106)?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score when home team Carlton scored 15.16 (106)?`:
```sql
                SELECT "away_team_score" FROM "round_12" WHERE "home_team_score"='15.16 (106)' AND "home_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest overall pick from the College of Southern Mississippi that was selected before round 6?`

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

CREATE TABLE "nfl_draft" (
  "player" text,
  "position" text,
  "round" real,
  "overall" real,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest overall pick from the College of Southern Mississippi that was selected before round 6?`:
```sql
                SELECT MAX("overall") FROM "nfl_draft" WHERE "college"='southern mississippi' AND "round"<6;
```
## Task
Generate a SQL query to answer the following question:
`Who, was the coach with an actual adjusted record of 0–19?`

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

CREATE TABLE "vacated_and_forfeited_games" (
  "season" real,
  "coach" text,
  "record_as_played" text,
  "actual_adjusted_record" text,
  "regular_season_vacated" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who, was the coach with an actual adjusted record of 0–19?`:
```sql
                SELECT "coach" FROM "vacated_and_forfeited_games" WHERE "actual_adjusted_record"='0–19';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Season for coach Fisher, and an actual adjusted record of 0–11?`

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

CREATE TABLE "vacated_and_forfeited_games" (
  "season" real,
  "coach" text,
  "record_as_played" text,
  "actual_adjusted_record" text,
  "regular_season_vacated" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Season for coach Fisher, and an actual adjusted record of 0–11?`:
```sql
                SELECT AVG("season") FROM "vacated_and_forfeited_games" WHERE "coach"='fisher' AND "actual_adjusted_record"='0–11';
```
## Task
Generate a SQL query to answer the following question:
`What is the regular season vacated for the Record as played of 12–19?`

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

CREATE TABLE "vacated_and_forfeited_games" (
  "season" real,
  "coach" text,
  "record_as_played" text,
  "actual_adjusted_record" text,
  "regular_season_vacated" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the regular season vacated for the Record as played of 12–19?`:
```sql
                SELECT "regular_season_vacated" FROM "vacated_and_forfeited_games" WHERE "record_as_played"='12–19';
```
## Task
Generate a SQL query to answer the following question:
`How many seasons did coach steve fisher have?`

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

CREATE TABLE "vacated_and_forfeited_games" (
  "season" real,
  "coach" text,
  "record_as_played" text,
  "actual_adjusted_record" text,
  "regular_season_vacated" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons did coach steve fisher have?`:
```sql
                SELECT COUNT("season") FROM "vacated_and_forfeited_games" WHERE "coach"='steve fisher';
```
## Task
Generate a SQL query to answer the following question:
`What is shown for Record as played with a Regular season Vacated of 24–0 later than 1997?`

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

CREATE TABLE "vacated_and_forfeited_games" (
  "season" real,
  "coach" text,
  "record_as_played" text,
  "actual_adjusted_record" text,
  "regular_season_vacated" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is shown for Record as played with a Regular season Vacated of 24–0 later than 1997?`:
```sql
                SELECT "record_as_played" FROM "vacated_and_forfeited_games" WHERE "regular_season_vacated"='24–0' AND "season">1997;
```
## Task
Generate a SQL query to answer the following question:
`How many seasons have an Actual adjusted record of 0–19?`

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

CREATE TABLE "vacated_and_forfeited_games" (
  "season" real,
  "coach" text,
  "record_as_played" text,
  "actual_adjusted_record" text,
  "regular_season_vacated" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons have an Actual adjusted record of 0–19?`:
```sql
                SELECT COUNT("season") FROM "vacated_and_forfeited_games" WHERE "actual_adjusted_record"='0–19';
```
## Task
Generate a SQL query to answer the following question:
`How many gold(s) for teams with a total of 14, and over 6 bronze 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 `How many gold(s) for teams with a total of 14, and over 6 bronze medals?`:
```sql
                SELECT SUM("gold") FROM "medal_table" WHERE "total"=14 AND "bronze">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of gold medals for the team ranked 7 with less than 3 bronze?`

### 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 highest number of gold medals for the team ranked 7 with less than 3 bronze?`:
```sql
                SELECT MAX("gold") FROM "medal_table" WHERE "rank"='7' AND "bronze"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of golds for nations with less than 2 silver, named uzbekistan, and less than 4 bronze?`

### 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 average number of golds for nations with less than 2 silver, named uzbekistan, and less than 4 bronze?`:
```sql
                SELECT AVG("gold") FROM "medal_table" WHERE "silver"<2 AND "nation"='uzbekistan' AND "bronze"<4;
```
## Task
Generate a SQL query to answer the following question:
`What was the away team for the match at Punt Road Oval?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team for the match at Punt Road Oval?`:
```sql
                SELECT "away_team" FROM "round_7" WHERE "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team that scored 5.7 (37)?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team that scored 5.7 (37)?`:
```sql
                SELECT "home_team" FROM "round_7" WHERE "home_team_score"='5.7 (37)';
```
## Task
Generate a SQL query to answer the following question:
`What was the smallest crowd size for the match played at Junction Oval?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the smallest crowd size for the match played at Junction Oval?`:
```sql
                SELECT MIN("crowd") FROM "round_7" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team that scored 12.21 (93)?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team that scored 12.21 (93)?`:
```sql
                SELECT "home_team" FROM "round_7" WHERE "home_team_score"='12.21 (93)';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team that played Collingwood?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team that played Collingwood?`:
```sql
                SELECT "home_team" FROM "round_7" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What was the sum of the crowd sizes when the home team scored 9.17 (71)?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the sum of the crowd sizes when the home team scored 9.17 (71)?`:
```sql
                SELECT SUM("crowd") FROM "round_7" WHERE "home_team_score"='9.17 (71)';
```
## Task
Generate a SQL query to answer the following question:
`Which province has Michael Kirby?`

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

CREATE TABLE "left_senate_during_the_39th_parliament" (
  "date" text,
  "name" text,
  "party" text,
  "province" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which province has Michael Kirby?`:
```sql
                SELECT "province" FROM "left_senate_during_the_39th_parliament" WHERE "name"='michael kirby';
```
## Task
Generate a SQL query to answer the following question:
`Which party is Madeleine Plamondon a member of?`

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

CREATE TABLE "left_senate_during_the_39th_parliament" (
  "date" text,
  "name" text,
  "party" text,
  "province" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which party is Madeleine Plamondon a member of?`:
```sql
                SELECT "party" FROM "left_senate_during_the_39th_parliament" WHERE "name"='madeleine plamondon';
```
## Task
Generate a SQL query to answer the following question:
`What are the details for Marisa Ferretti Barth?`

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

CREATE TABLE "left_senate_during_the_39th_parliament" (
  "date" text,
  "name" text,
  "party" text,
  "province" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the details for Marisa Ferretti Barth?`:
```sql
                SELECT "details" FROM "left_senate_during_the_39th_parliament" WHERE "name"='marisa ferretti barth';
```
## Task
Generate a SQL query to answer the following question:
`Which party had a member on August 26, 2008?`

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

CREATE TABLE "left_senate_during_the_39th_parliament" (
  "date" text,
  "name" text,
  "party" text,
  "province" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which party had a member on August 26, 2008?`:
```sql
                SELECT "party" FROM "left_senate_during_the_39th_parliament" WHERE "date"='august 26, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What are the details for John Buchanan?`

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

CREATE TABLE "left_senate_during_the_39th_parliament" (
  "date" text,
  "name" text,
  "party" text,
  "province" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the details for John Buchanan?`:
```sql
                SELECT "details" FROM "left_senate_during_the_39th_parliament" WHERE "name"='john buchanan';
```