cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`During which competition were a total of 36 points scored?`

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

CREATE TABLE "most_points_scored_by_a_team" (
  "points" real,
  "score" text,
  "premiers" text,
  "runners_up" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `During which competition were a total of 36 points scored?`:
```sql
                SELECT "details" FROM "most_points_scored_by_a_team" WHERE "points"=36;
```
## Task
Generate a SQL query to answer the following question:
`What's the total sum of points scored by the Brisbane Broncos?`

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

CREATE TABLE "most_points_scored_by_a_team" (
  "points" real,
  "score" text,
  "premiers" text,
  "runners_up" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total sum of points scored by the Brisbane Broncos?`:
```sql
                SELECT SUM("points") FROM "most_points_scored_by_a_team" WHERE "premiers"='brisbane broncos';
```
## Task
Generate a SQL query to answer the following question:
`What is the premier team that has 38 points and won with a score of 38-0?`

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

CREATE TABLE "most_points_scored_by_a_team" (
  "points" real,
  "score" text,
  "premiers" text,
  "runners_up" text,
  "details" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the premier team that has 38 points and won with a score of 38-0?`:
```sql
                SELECT "premiers" FROM "most_points_scored_by_a_team" WHERE "points"=38 AND "score"='38-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the tie no when the away team was northwich victoria?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tie no when the away team was northwich victoria?`:
```sql
                SELECT "tie_no" FROM "first_round_proper" WHERE "away_team"='northwich victoria';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for the match where cambridge united was the home team?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for the match where cambridge united was the home team?`:
```sql
                SELECT "attendance" FROM "first_round_proper" WHERE "home_team"='cambridge united';
```
## Task
Generate a SQL query to answer the following question:
`How many times was the award inte awards?`

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

CREATE TABLE "awards_and_nominations" (
  "award" text,
  "year" real,
  "category" text,
  "work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times was the award inte awards?`:
```sql
                SELECT COUNT("year") FROM "awards_and_nominations" WHERE "award"='inte awards';
```
## Task
Generate a SQL query to answer the following question:
`what is the work when the result is won and the year is after 2002?`

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

CREATE TABLE "awards_and_nominations" (
  "award" text,
  "year" real,
  "category" text,
  "work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the work when the result is won and the year is after 2002?`:
```sql
                SELECT "work" FROM "awards_and_nominations" WHERE "result"='won' AND "year">2002;
```
## Task
Generate a SQL query to answer the following question:
`what is the work when the result is won and the year is before 2003?`

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

CREATE TABLE "awards_and_nominations" (
  "award" text,
  "year" real,
  "category" text,
  "work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the work when the result is won and the year is before 2003?`:
```sql
                SELECT "work" FROM "awards_and_nominations" WHERE "result"='won' AND "year"<2003;
```
## Task
Generate a SQL query to answer the following question:
`Which venue had the opposing team Natal?`

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

CREATE TABLE "matches" (
  "opposing_team" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue had the opposing team Natal?`:
```sql
                SELECT "venue" FROM "matches" WHERE "opposing_team"='natal';
```
## Task
Generate a SQL query to answer the following question:
`What day was the against 22 and the status tour match?`

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

CREATE TABLE "matches" (
  "opposing_team" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day was the against 22 and the status tour match?`:
```sql
                SELECT "date" FROM "matches" WHERE "status"='tour match' AND "against"=22;
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has a Week of 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,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance has a Week of 8?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "week"=8;
```
## Task
Generate a SQL query to answer the following question:
`Which Opponent that has a Week smaller than 7 on september 12, 1988?`

### 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 `Which Opponent that has a Week smaller than 7 on september 12, 1988?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"<7 AND "date"='september 12, 1988';
```
## Task
Generate a SQL query to answer the following question:
`When has a Result of w 41-27?`

### 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 `When has a Result of w 41-27?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='w 41-27';
```
## Task
Generate a SQL query to answer the following question:
`Which Weight (kg) has a Manufacturer of fujitsu, and a Model of lifebook p1610?`

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

CREATE TABLE "subnotebooks" (
  "model" text,
  "manufacturer" text,
  "weight_kg" real,
  "display_size_in" real,
  "processor_model" text,
  "storage_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Weight (kg) has a Manufacturer of fujitsu, and a Model of lifebook p1610?`:
```sql
                SELECT AVG("weight_kg") FROM "subnotebooks" WHERE "manufacturer"='fujitsu' AND "model"='lifebook p1610';
```
## Task
Generate a SQL query to answer the following question:
`Which Display size (in) has a Model of versapro vy10f/bh-l?`

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

CREATE TABLE "subnotebooks" (
  "model" text,
  "manufacturer" text,
  "weight_kg" real,
  "display_size_in" real,
  "processor_model" text,
  "storage_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Display size (in) has a Model of versapro vy10f/bh-l?`:
```sql
                SELECT MIN("display_size_in") FROM "subnotebooks" WHERE "model"='versapro vy10f/bh-l';
```
## Task
Generate a SQL query to answer the following question:
`Which Display size (in) has a Model of vaio pcg-u3?`

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

CREATE TABLE "subnotebooks" (
  "model" text,
  "manufacturer" text,
  "weight_kg" real,
  "display_size_in" real,
  "processor_model" text,
  "storage_type" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Display size (in) has a Model of vaio pcg-u3?`:
```sql
                SELECT COUNT("display_size_in") FROM "subnotebooks" WHERE "model"='vaio pcg-u3';
```
## Task
Generate a SQL query to answer the following question:
`What method was used in the match that went to round 1, and had a 6-3-1 record?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What method was used in the match that went to round 1, and had a 6-3-1 record?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "record"='6-3-1';
```
## Task
Generate a SQL query to answer the following question:
`In the match against Marcus Aurélio with a method of decision (unanimous), what was the results?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the match against Marcus Aurélio with a method of decision (unanimous), what was the results?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "method"='decision (unanimous)' AND "opponent"='marcus aurélio';
```
## Task
Generate a SQL query to answer the following question:
`Where was the Deep - 30 Impact event held?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the Deep - 30 Impact event held?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='deep - 30 impact';
```
## Task
Generate a SQL query to answer the following question:
`COunt the average Diameter (km) which has ketian (yenisey r.) main evil goddess.?`

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

CREATE TABLE "fossae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `COunt the average Diameter (km) which has ketian (yenisey r.) main evil goddess.?`:
```sql
                SELECT AVG("diameter_km") FROM "fossae" WHERE "name_origin"='ketian (yenisey r.) main evil goddess.';
```
## Task
Generate a SQL query to answer the following question:
`COunt the sum of Diameter (km) which has a Latitude of 62.7n?`

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

CREATE TABLE "fossae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `COunt the sum of Diameter (km) which has a Latitude of 62.7n?`:
```sql
                SELECT SUM("diameter_km") FROM "fossae" WHERE "latitude"='62.7n';
```
## Task
Generate a SQL query to answer the following question:
`WHich Name origin has a Longitude of 332.5e?`

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

CREATE TABLE "fossae" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Name origin has a Longitude of 332.5e?`:
```sql
                SELECT "name_origin" FROM "fossae" WHERE "longitude"='332.5e';
```
## Task
Generate a SQL query to answer the following question:
`In which round was Dustin Hazelett the opponent?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which round was Dustin Hazelett the opponent?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='dustin hazelett';
```
## Task
Generate a SQL query to answer the following question:
`What is TV Time, when Opponent is At 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is TV Time, when Opponent is At Cincinnati Bengals?`:
```sql
                SELECT "tv_time" FROM "schedule" WHERE "opponent"='at cincinnati bengals';
```
## Task
Generate a SQL query to answer the following question:
`What is TV Time, when Date is December 22, 1996?`

### 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is TV Time, when Date is December 22, 1996?`:
```sql
                SELECT "tv_time" FROM "schedule" WHERE "date"='december 22, 1996';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Opponent is 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,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Opponent is Cincinnati Bengals?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='cincinnati bengals';
```
## Task
Generate a SQL query to answer the following question:
`What was their record bfore game 54?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was their record bfore game 54?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game"=54;
```
## Task
Generate a SQL query to answer the following question:
`Who had the most rebounds in the game against Chicago?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the most rebounds in the game against Chicago?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "team"='chicago';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest attendance at the game against chicago when conklin made the decision?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest attendance at the game against chicago when conklin made the decision?`:
```sql
                SELECT MIN("attendance") FROM "game_log" WHERE "decision"='conklin' AND "visitor"='chicago';
```
## Task
Generate a SQL query to answer the following question:
`For Tie #2, who was the home team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `For Tie #2, who was the home team?`:
```sql
                SELECT "home_team" FROM "second_round_proper" WHERE "tie_no"='2';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score for the match where Hereford United was the home team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score for the match where Hereford United was the home team?`:
```sql
                SELECT "score" FROM "second_round_proper" WHERE "home_team"='hereford united';
```
## Task
Generate a SQL query to answer the following question:
`In Tie #18, who was the away team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Tie #18, who was the away team?`:
```sql
                SELECT "away_team" FROM "second_round_proper" WHERE "tie_no"='18';
```
## Task
Generate a SQL query to answer the following question:
`In Tie #19, what was the name of the away team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Tie #19, what was the name of the away team?`:
```sql
                SELECT "away_team" FROM "second_round_proper" WHERE "tie_no"='19';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tie number for the match where Dartford was the hone team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tie number for the match where Dartford was the hone team?`:
```sql
                SELECT "tie_no" FROM "second_round_proper" WHERE "home_team"='dartford';
```
## Task
Generate a SQL query to answer the following question:
`In the match played against Telford United, who was the home team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the match played against Telford United, who was the home team?`:
```sql
                SELECT "home_team" FROM "second_round_proper" WHERE "away_team"='telford united';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards?`

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

CREATE TABLE "winners" (
  "season" text,
  "player" text,
  "school" text,
  "position" text,
  "class" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards?`:
```sql
                SELECT "position" FROM "winners" WHERE "class"='sophomore' AND "player"='shaquille o''neal category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Class is "senior", when Position is "shooting guard", and when School is "Bradley"?`

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

CREATE TABLE "winners" (
  "season" text,
  "player" text,
  "school" text,
  "position" text,
  "class" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Class is "senior", when Position is "shooting guard", and when School is "Bradley"?`:
```sql
                SELECT "player" FROM "winners" WHERE "class"='senior' AND "position"='shooting guard' AND "school"='bradley';
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when Player is "Kevin Durant category:articles with hCards"?`

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

CREATE TABLE "winners" (
  "season" text,
  "player" text,
  "school" text,
  "position" text,
  "class" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when Player is "Kevin Durant category:articles with hCards"?`:
```sql
                SELECT "position" FROM "winners" WHERE "player"='kevin durant category:articles with hcards';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the match on August 23, 2004?`

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

CREATE TABLE "doubles_11_6_5" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the match on August 23, 2004?`:
```sql
                SELECT "score" FROM "doubles_11_6_5" WHERE "date"='august 23, 2004';
```
## Task
Generate a SQL query to answer the following question:
`What was the Score of the Spain F32, Gran Canaria Tournament?`

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

CREATE TABLE "doubles_11_6_5" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Score of the Spain F32, Gran Canaria Tournament?`:
```sql
                SELECT "score" FROM "doubles_11_6_5" WHERE "tournament"='spain f32, gran canaria';
```
## Task
Generate a SQL query to answer the following question:
`On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?`

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

CREATE TABLE "doubles_11_6_5" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?`:
```sql
                SELECT "surface" FROM "doubles_11_6_5" WHERE "outcome"='runner-up' AND "score"='6–4, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Outcome of the match with Partner Andoni Vivanco?`

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

CREATE TABLE "doubles_11_6_5" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Outcome of the match with Partner Andoni Vivanco?`:
```sql
                SELECT "outcome" FROM "doubles_11_6_5" WHERE "partner"='andoni vivanco';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Leading Scorer in the Game with a Score of 96-87?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "score" text,
  "leading_scorer" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Leading Scorer in the Game with a Score of 96-87?`:
```sql
                SELECT "leading_scorer" FROM "season_schedule" WHERE "score"='96-87';
```
## Task
Generate a SQL query to answer the following question:
`What Country with a MC Format has a ATCO Records Label?`

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

CREATE TABLE "release_history" (
  "format" text,
  "country" text,
  "label" text,
  "catalogue_no" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Country with a MC Format has a ATCO Records Label?`:
```sql
                SELECT "country" FROM "release_history" WHERE "label"='atco records' AND "format"='mc';
```
## Task
Generate a SQL query to answer the following question:
`What team has a location and attendance at the Seattle Center Coliseum 12,591?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has a location and attendance at the Seattle Center Coliseum 12,591?`:
```sql
                SELECT "team" FROM "game_log" WHERE "location_attendance"='seattle center coliseum 12,591';
```
## Task
Generate a SQL query to answer the following question:
`What is 1st Leg, when Team #2 is "Emelec"?`

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

CREATE TABLE "round_of_16" (
  "team_num1" text,
  "points" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1st Leg, when Team #2 is "Emelec"?`:
```sql
                SELECT "1st_leg" FROM "round_of_16" WHERE "team_num2"='emelec';
```
## Task
Generate a SQL query to answer the following question:
`What is 1st Leg, when Team #1 is "San Lorenzo"?`

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

CREATE TABLE "round_of_16" (
  "team_num1" text,
  "points" text,
  "team_num2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1st Leg, when Team #1 is "San Lorenzo"?`:
```sql
                SELECT "1st_leg" FROM "round_of_16" WHERE "team_num1"='san lorenzo';
```
## Task
Generate a SQL query to answer the following question:
`What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi?`

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

CREATE TABLE "38_comparisons" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "max_pressure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi?`:
```sql
                SELECT "muzzle_energy" FROM "38_comparisons" WHERE "bullet_weight"='grains (g)' AND "max_pressure"='35,000 psi';
```
## Task
Generate a SQL query to answer the following question:
`What is the bullet weight with a 12,000 cup max pressure?`

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

CREATE TABLE "38_comparisons" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "max_pressure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bullet weight with a 12,000 cup max pressure?`:
```sql
                SELECT "bullet_weight" FROM "38_comparisons" WHERE "max_pressure"='12,000 cup';
```
## Task
Generate a SQL query to answer the following question:
`What is the max pressure for the 468ft•lbf (634 j) muzzle energy?`

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

CREATE TABLE "38_comparisons" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "max_pressure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the max pressure for the 468ft•lbf (634 j) muzzle energy?`:
```sql
                SELECT "max_pressure" FROM "38_comparisons" WHERE "muzzle_energy"='468ft•lbf (634 j)';
```
## Task
Generate a SQL query to answer the following question:
`What is the muzzle velocity for the muzzle energy 351ft•lbf (476 j)?`

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

CREATE TABLE "38_comparisons" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "max_pressure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the muzzle velocity for the muzzle energy 351ft•lbf (476 j)?`:
```sql
                SELECT "muzzle_velocity" FROM "38_comparisons" WHERE "muzzle_energy"='351ft•lbf (476 j)';
```
## Task
Generate a SQL query to answer the following question:
`What is the muzzle velocity for the .38 long colt cartridge?`

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

CREATE TABLE "38_comparisons" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "max_pressure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the muzzle velocity for the .38 long colt cartridge?`:
```sql
                SELECT "muzzle_velocity" FROM "38_comparisons" WHERE "cartridge"='.38 long colt';
```
## Task
Generate a SQL query to answer the following question:
`What is the muzzle energy with 40,000 psi max pressure?`

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

CREATE TABLE "38_comparisons" (
  "cartridge" text,
  "bullet_weight" text,
  "muzzle_velocity" text,
  "muzzle_energy" text,
  "max_pressure" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the muzzle energy with 40,000 psi max pressure?`:
```sql
                SELECT "muzzle_energy" FROM "38_comparisons" WHERE "max_pressure"='40,000 psi';
```
## Task
Generate a SQL query to answer the following question:
`What is the home country of the player who placed t5 and had a score of 69-71=140?`

### 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 home country of the player who placed t5 and had a score of 69-71=140?`:
```sql
                SELECT "country" FROM "second_round" WHERE "place"='t5' AND "score"='69-71=140';
```
## Task
Generate a SQL query to answer the following question:
`What was the place for the player whose final score was 71-69=140?`

### 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 was the place for the player whose final score was 71-69=140?`:
```sql
                SELECT "place" FROM "second_round" WHERE "score"='71-69=140';
```
## Task
Generate a SQL query to answer the following question:
`What was the To par for the player whose final score was 67-71=138?`

### 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 was the To par for the player whose final score was 67-71=138?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "score"='67-71=138';
```
## Task
Generate a SQL query to answer the following question:
`What was Nolan Henke's To par when he placed in t3?`

### 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 was Nolan Henke's To par when he placed in t3?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t3' AND "player"='nolan henke';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE MEANING WITH Pīnyīn of chē?`

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

CREATE TABLE "table_of_radicals" (
  "radical_variants" text,
  "stroke_count" real,
  "p_ny_n" text,
  "hiragana_romaji" text,
  "meaning" text,
  "frequency" real,
  "examples" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE MEANING WITH Pīnyīn of chē?`:
```sql
                SELECT "meaning" FROM "table_of_radicals" WHERE "p_ny_n"='chē';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?`

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

CREATE TABLE "table_of_radicals" (
  "radical_variants" text,
  "stroke_count" real,
  "p_ny_n" text,
  "hiragana_romaji" text,
  "meaning" text,
  "frequency" real,
  "examples" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?`:
```sql
                SELECT "radical_variants" FROM "table_of_radicals" WHERE "p_ny_n"='gǔ' AND "stroke_count"=7;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE STROKE COUNT WITH RADICAL OF 生, FRQUENCY SMALLER THAN 22?`

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

CREATE TABLE "table_of_radicals" (
  "radical_variants" text,
  "stroke_count" real,
  "p_ny_n" text,
  "hiragana_romaji" text,
  "meaning" text,
  "frequency" real,
  "examples" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE STROKE COUNT WITH RADICAL OF 生, FRQUENCY SMALLER THAN 22?`:
```sql
                SELECT COUNT("stroke_count") FROM "table_of_radicals" WHERE "radical_variants"='生' AND "frequency"<22;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE STROKE COUNT WITH RADICAL 皿 FREQUENCY SMALLER THAN 129?`

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

CREATE TABLE "table_of_radicals" (
  "radical_variants" text,
  "stroke_count" real,
  "p_ny_n" text,
  "hiragana_romaji" text,
  "meaning" text,
  "frequency" real,
  "examples" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE STROKE COUNT WITH RADICAL 皿 FREQUENCY SMALLER THAN 129?`:
```sql
                SELECT AVG("stroke_count") FROM "table_of_radicals" WHERE "radical_variants"='皿' AND "frequency"<129;
```
## Task
Generate a SQL query to answer the following question:
`What is the Flagship of the Show Hosted by Rover (Shane French)?`

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

CREATE TABLE "talk_shows" (
  "show" text,
  "host_s" text,
  "flagship" text,
  "market" text,
  "i_heart_radio" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Flagship of the Show Hosted by Rover (Shane French)?`:
```sql
                SELECT "flagship" FROM "talk_shows" WHERE "host_s"='rover (shane french)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Host of the Show with a Market of New York?`

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

CREATE TABLE "talk_shows" (
  "show" text,
  "host_s" text,
  "flagship" text,
  "market" text,
  "i_heart_radio" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Host of the Show with a Market of New York?`:
```sql
                SELECT "host_s" FROM "talk_shows" WHERE "market"='new york';
```
## Task
Generate a SQL query to answer the following question:
`What is the iHeartRadio of the Bronson and Christine Show?`

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

CREATE TABLE "talk_shows" (
  "show" text,
  "host_s" text,
  "flagship" text,
  "market" text,
  "i_heart_radio" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the iHeartRadio of the Bronson and Christine Show?`:
```sql
                SELECT "i_heart_radio" FROM "talk_shows" WHERE "show"='bronson and christine';
```
## Task
Generate a SQL query to answer the following question:
`What is the to total number of par with laurie ayton?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to total number of par with laurie ayton?`:
```sql
                SELECT COUNT("to_par") FROM "final_leaderboard" WHERE "player"='laurie ayton';
```
## Task
Generate a SQL query to answer the following question:
`Where is bobby jones (a)?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is bobby jones (a)?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "player"='bobby jones (a)';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the total number of Top 5 that has the Year smaller than 2009, and the Wins larger than 0?`

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

CREATE TABLE "nascar_camping_world_truck_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the total number of Top 5 that has the Year smaller than 2009, and the Wins larger than 0?`:
```sql
                SELECT COUNT("top_5") FROM "nascar_camping_world_truck_series" WHERE "year"<2009 AND "wins">0;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?`

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

CREATE TABLE "nascar_camping_world_truck_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?`:
```sql
                SELECT "wins" FROM "nascar_camping_world_truck_series" WHERE "starts">1 AND "top_5"=3;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the sum of Starts that the Winnings of $139,774, and the Wins smaller than 0?`

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

CREATE TABLE "nascar_camping_world_truck_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" text,
  "winnings" text,
  "position" text,
  "team_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the sum of Starts that the Winnings of $139,774, and the Wins smaller than 0?`:
```sql
                SELECT SUM("starts") FROM "nascar_camping_world_truck_series" WHERE "winnings"='$139,774' AND "wins"<0;
```
## Task
Generate a SQL query to answer the following question:
`Who is affiliated with the nickname Ramblers?`

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

CREATE TABLE "north_conference" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is affiliated with the nickname Ramblers?`:
```sql
                SELECT "affiliation" FROM "north_conference" WHERE "nickname"='ramblers';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent in the match with a Score of 6–3, 6–4?`

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

CREATE TABLE "singles_14_6_8" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Opponent in the match with a Score of 6–3, 6–4?`:
```sql
                SELECT "opponent" FROM "singles_14_6_8" WHERE "score"='6–3, 6–4';
```
## Task
Generate a SQL query to answer the following question:
`On what Surface was the match against Malek Jaziri played?`

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

CREATE TABLE "singles_14_6_8" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Surface was the match against Malek Jaziri played?`:
```sql
                SELECT "surface" FROM "singles_14_6_8" WHERE "opponent"='malek jaziri';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12?`:
```sql
                SELECT COUNT("year_s_won") FROM "made_the_cut" WHERE "player"='ed furgol' AND "to_par">12;
```
## Task
Generate a SQL query to answer the following question:
`What is Year(s) Won, when Player is Arnold Palmer?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Year(s) Won, when Player is Arnold Palmer?`:
```sql
                SELECT "year_s_won" FROM "made_the_cut" WHERE "player"='arnold palmer';
```
## Task
Generate a SQL query to answer the following question:
`What is Highest Total, when Year(s) Won is before 1959?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Highest Total, when Year(s) Won is before 1959?`:
```sql
                SELECT MAX("total") FROM "made_the_cut" WHERE "year_s_won"<1959;
```
## Task
Generate a SQL query to answer the following question:
`What is Player, when Year(s) Won is before 1961, and when To Par is 6?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Player, when Year(s) Won is before 1961, and when To Par is 6?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "year_s_won"<1961 AND "to_par"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" real,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "to_par">6 AND "year_s_won"<1961;
```
## Task
Generate a SQL query to answer the following question:
`What is Top Par, when Country is Sweden?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Top Par, when Country is Sweden?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "country"='sweden';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Money ($), when Top Par is E, and when Player is Ernie Els?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Money ($), when Top Par is E, and when Player is Ernie Els?`:
```sql
                SELECT MAX("money") FROM "final_round" WHERE "to_par"='e' AND "player"='ernie els';
```