cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)?`:
```sql
                SELECT COUNT("round") FROM "draft_picks" WHERE "nationality"='canada' AND "college_junior_club_team_league"='fort mcmurray oil barons (ajhl)';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno?`:
```sql
                SELECT AVG("round") FROM "draft_picks" WHERE "nhl_team"='edmonton oilers' AND "player"='vyacheslav trukhno';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "nationality" text,
  "nhl_team" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)?`:
```sql
                SELECT MIN("round") FROM "draft_picks" WHERE "nationality"='united states' AND "college_junior_club_team_league"='breck school (ushs)';
```
## Task
Generate a SQL query to answer the following question:
`What is the max 1-min wind mph when the minimum press is 997?`

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

CREATE TABLE "2010_pacific_hurricane_statistics" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the max 1-min wind mph when the minimum press is 997?`:
```sql
                SELECT "max_1_min_wind_mph_km_h" FROM "2010_pacific_hurricane_statistics" WHERE "min_press_mbar"='997';
```
## Task
Generate a SQL query to answer the following question:
`How many deaths occurred during Darby?`

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

CREATE TABLE "2010_pacific_hurricane_statistics" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many deaths occurred during Darby?`:
```sql
                SELECT "deaths" FROM "2010_pacific_hurricane_statistics" WHERE "storm_name"='darby';
```
## Task
Generate a SQL query to answer the following question:
`What is the distance from Jaffa of Jerusalem station?`

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

CREATE TABLE "original_stations" (
  "name_location" text,
  "other_later_names" text,
  "operation" text,
  "distance_from_jaffa" text,
  "elevation" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the distance from Jaffa of Jerusalem station?`:
```sql
                SELECT "distance_from_jaffa" FROM "original_stations" WHERE "name_location"='jerusalem';
```
## Task
Generate a SQL query to answer the following question:
`What visitor has February 11 as the date?`

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

CREATE TABLE "february" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What visitor has February 11 as the date?`:
```sql
                SELECT "visitor" FROM "february" WHERE "date"='february 11';
```
## Task
Generate a SQL query to answer the following question:
`Which venue is the friendly match in?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue is the friendly match in?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "competition"='friendly match';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the friendly match in Seoul?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the friendly match in Seoul?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "competition"='friendly match' AND "venue"='seoul';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the 2007 AFC asian cup?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the 2007 AFC asian cup?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "competition"='2007 afc asian cup';
```
## Task
Generate a SQL query to answer the following question:
`Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?`

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

CREATE TABLE "senior_pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?`:
```sql
                SELECT "runner_s_up" FROM "senior_pga_tour_wins_11" WHERE "margin_of_victory"='1 stroke' AND "tournament"='world seniors invitational';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Margin of victory of 4 strokes?`

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

CREATE TABLE "senior_pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Margin of victory of 4 strokes?`:
```sql
                SELECT "date" FROM "senior_pga_tour_wins_11" WHERE "margin_of_victory"='4 strokes';
```
## Task
Generate a SQL query to answer the following question:
`Which Runner(s)-up has a Tournament of general foods pga seniors' championship?`

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

CREATE TABLE "senior_pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Runner(s)-up has a Tournament of general foods pga seniors' championship?`:
```sql
                SELECT "runner_s_up" FROM "senior_pga_tour_wins_11" WHERE "tournament"='general foods pga seniors'' championship';
```
## Task
Generate a SQL query to answer the following question:
`Which Tournament has a Margin of victory of 2 strokes, and a Winning score of −14 (68-66-68=202)?`

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

CREATE TABLE "senior_pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tournament has a Margin of victory of 2 strokes, and a Winning score of −14 (68-66-68=202)?`:
```sql
                SELECT "tournament" FROM "senior_pga_tour_wins_11" WHERE "margin_of_victory"='2 strokes' AND "winning_score"='−14 (68-66-68=202)';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Winning score of −9 (70-64-70=203)?`

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

CREATE TABLE "senior_pga_tour_wins_11" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Winning score of −9 (70-64-70=203)?`:
```sql
                SELECT "date" FROM "senior_pga_tour_wins_11" WHERE "winning_score"='−9 (70-64-70=203)';
```
## Task
Generate a SQL query to answer the following question:
`What was the High points when date was February 11?`

### 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 the High points when date was February 11?`:
```sql
                SELECT "high_points" FROM "game_log" WHERE "date"='february 11';
```
## Task
Generate a SQL query to answer the following question:
`What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?`

### 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 the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?`:
```sql
                SELECT "team" FROM "game_log" WHERE "high_rebounds"='popeye jones (14)' AND "record"='16-28';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location Attendance when the Date was February 27?`

### 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 is the Location Attendance when the Date was February 27?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "date"='february 27';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the scores when Game had a Record of 17-29?`

### 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 is the score of the scores when Game had a Record of 17-29?`:
```sql
                SELECT SUM("game") FROM "game_log" WHERE "record"='17-29';
```
## Task
Generate a SQL query to answer the following question:
`Who has the lead on Lisa Weagle?`

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

CREATE TABLE "provincial_champions" (
  "year" real,
  "event" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has the lead on Lisa Weagle?`:
```sql
                SELECT "skip" FROM "provincial_champions" WHERE "lead"='lisa weagle';
```
## Task
Generate a SQL query to answer the following question:
`Which event shows Matt St. Louis in second and a skip of John Morris?`

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

CREATE TABLE "provincial_champions" (
  "year" real,
  "event" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event shows Matt St. Louis in second and a skip of John Morris?`:
```sql
                SELECT "event" FROM "provincial_champions" WHERE "skip"='john morris' AND "second"='matt st. louis';
```
## Task
Generate a SQL query to answer the following question:
`What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?`

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

CREATE TABLE "rushing" (
  "player" text,
  "attempts" real,
  "net_yards" real,
  "yards_per_attempt" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?`:
```sql
                SELECT MAX("attempts") FROM "rushing" WHERE "net_yards"<631 AND "touchdowns"=2;
```
## Task
Generate a SQL query to answer the following question:
`What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8?`

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

CREATE TABLE "rushing" (
  "player" text,
  "attempts" real,
  "net_yards" real,
  "yards_per_attempt" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8?`:
```sql
                SELECT AVG("net_yards") FROM "rushing" WHERE "touchdowns"=9 AND "attempts"=145 AND "yards_per_attempt">4.8;
```
## Task
Generate a SQL query to answer the following question:
`How many yards per attempt have net yards greater than 631?`

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

CREATE TABLE "rushing" (
  "player" text,
  "attempts" real,
  "net_yards" real,
  "yards_per_attempt" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many yards per attempt have net yards greater than 631?`:
```sql
                SELECT SUM("yards_per_attempt") FROM "rushing" WHERE "net_yards">631;
```
## Task
Generate a SQL query to answer the following question:
`What are the highest touchdowns that have net yards greater than 631, with attempts less than 145?`

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

CREATE TABLE "rushing" (
  "player" text,
  "attempts" real,
  "net_yards" real,
  "yards_per_attempt" real,
  "touchdowns" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the highest touchdowns that have net yards greater than 631, with attempts less than 145?`:
```sql
                SELECT MAX("touchdowns") FROM "rushing" WHERE "net_yards">631 AND "attempts"<145;
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Slalom in seasons later than 1994 and overall value greater than 22?`

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

CREATE TABLE "season_standings" (
  "season" real,
  "overall" real,
  "slalom" text,
  "giant_slalom" real,
  "super_g" text,
  "downhill" text,
  "combined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Slalom in seasons later than 1994 and overall value greater than 22?`:
```sql
                SELECT "slalom" FROM "season_standings" WHERE "season">1994 AND "overall">22;
```
## Task
Generate a SQL query to answer the following question:
`How many seasons had a Super G of 2 and overall of 3?`

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

CREATE TABLE "season_standings" (
  "season" real,
  "overall" real,
  "slalom" text,
  "giant_slalom" real,
  "super_g" text,
  "downhill" text,
  "combined" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many seasons had a Super G of 2 and overall of 3?`:
```sql
                SELECT COUNT("season") FROM "season_standings" WHERE "super_g"='2' AND "overall"=3;
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent in the Auckland, New Zealand Tournament?`

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Opponent in the Auckland, New Zealand Tournament?`:
```sql
                SELECT "opponent" FROM "singles_13_6_7" WHERE "tournament"='auckland, new zealand';
```
## Task
Generate a SQL query to answer the following question:
`On what Date was Rafael Nadal the Opponent?`

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what Date was Rafael Nadal the Opponent?`:
```sql
                SELECT "date" FROM "singles_13_6_7" WHERE "opponent"='rafael nadal';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent on a Hard (i) Surface?`

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Opponent on a Hard (i) Surface?`:
```sql
                SELECT "opponent" FROM "singles_13_6_7" WHERE "surface"='hard (i)';
```
## Task
Generate a SQL query to answer the following question:
`What was the Score at the Auckland, New Zealand Tournament?`

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

CREATE TABLE "singles_13_6_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Score at the Auckland, New Zealand Tournament?`:
```sql
                SELECT "score" FROM "singles_13_6_7" WHERE "tournament"='auckland, new zealand';
```
## Task
Generate a SQL query to answer the following question:
`What team plays in Dinamo, Brest?`

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

CREATE TABLE "teams_and_venues" (
  "team" text,
  "location" text,
  "venue" text,
  "capacity" real,
  "position_in_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team plays in Dinamo, Brest?`:
```sql
                SELECT "team" FROM "teams_and_venues" WHERE "venue"='dinamo, brest';
```
## Task
Generate a SQL query to answer the following question:
`What team plays at Spartak, Mogilev?`

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

CREATE TABLE "teams_and_venues" (
  "team" text,
  "location" text,
  "venue" text,
  "capacity" real,
  "position_in_1996" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team plays at Spartak, Mogilev?`:
```sql
                SELECT "team" FROM "teams_and_venues" WHERE "venue"='spartak, mogilev';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Producer/Director of Fear Beneath?`

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

CREATE TABLE "filmography" (
  "year" real,
  "film" text,
  "role" text,
  "producer_director" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Producer/Director of Fear Beneath?`:
```sql
                SELECT "producer_director" FROM "filmography" WHERE "film"='fear beneath';
```
## Task
Generate a SQL query to answer the following question:
`What film was released in 1996?`

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

CREATE TABLE "filmography" (
  "year" real,
  "film" text,
  "role" text,
  "producer_director" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What film was released in 1996?`:
```sql
                SELECT "film" FROM "filmography" WHERE "year"=1996;
```
## Task
Generate a SQL query to answer the following question:
`Who is the Producer/Director of Political Engagement?`

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

CREATE TABLE "filmography" (
  "year" real,
  "film" text,
  "role" text,
  "producer_director" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Producer/Director of Political Engagement?`:
```sql
                SELECT "producer_director" FROM "filmography" WHERE "film"='political engagement';
```
## Task
Generate a SQL query to answer the following question:
`What is the original airdate for episode 7-17 (195) from writer Sidney Slon?`

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

CREATE TABLE "season_7_1943_1944" (
  "episode" text,
  "title" text,
  "writer_s" text,
  "preservation" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the original airdate for episode 7-17 (195) from writer Sidney Slon?`:
```sql
                SELECT "original_airdate" FROM "season_7_1943_1944" WHERE "writer_s"='sidney slon' AND "episode"='7-17 (195)';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of Greg Norman who earned more than $12,507,322?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of Greg Norman who earned more than $12,507,322?`:
```sql
                SELECT AVG("rank") FROM "leaders" WHERE "player"='greg norman' AND "earnings">'12,507,322';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of the United States player Davis Love III with earnings under $12,487,463?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of the United States player Davis Love III with earnings under $12,487,463?`:
```sql
                SELECT MAX("rank") FROM "leaders" WHERE "country"='united states' AND "player"='davis love iii' AND "earnings"<'12,487,463';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the tournament played in Madrid, Spain?`

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

CREATE TABLE "wta_tour_singles_finals_19_7_12" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the tournament played in Madrid, Spain?`:
```sql
                SELECT "date" FROM "wta_tour_singles_finals_19_7_12" WHERE "tournament"='madrid, spain';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has final as the round?`

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

CREATE TABLE "2007_08_cardiff_city_f_c_season" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has final as the round?`:
```sql
                SELECT "opponent" FROM "2007_08_cardiff_city_f_c_season" WHERE "round"='final';
```
## Task
Generate a SQL query to answer the following question:
`What round has hereford united as the opponent?`

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

CREATE TABLE "2007_08_cardiff_city_f_c_season" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What round has hereford united as the opponent?`:
```sql
                SELECT "round" FROM "2007_08_cardiff_city_f_c_season" WHERE "opponent"='hereford united';
```
## Task
Generate a SQL query to answer the following question:
`Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may?`

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

CREATE TABLE "race_calendar" (
  "race_title" text,
  "circuit" text,
  "location_state" text,
  "date" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may?`:
```sql
                SELECT "location_state" FROM "race_calendar" WHERE "winner"='craig lowndes' AND "date"='29–31 may';
```
## Task
Generate a SQL query to answer the following question:
`Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?`

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

CREATE TABLE "race_calendar" (
  "race_title" text,
  "circuit" text,
  "location_state" text,
  "date" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?`:
```sql
                SELECT "team" FROM "race_calendar" WHERE "winner"='craig lowndes' AND "circuit"='phillip island grand prix circuit';
```
## Task
Generate a SQL query to answer the following question:
`Which Location/ State has a Date of 29–31 may?`

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

CREATE TABLE "race_calendar" (
  "race_title" text,
  "circuit" text,
  "location_state" text,
  "date" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Location/ State has a Date of 29–31 may?`:
```sql
                SELECT "location_state" FROM "race_calendar" WHERE "date"='29–31 may';
```
## Task
Generate a SQL query to answer the following question:
`Who won at the Circuit of lakeside international raceway?`

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

CREATE TABLE "race_calendar" (
  "race_title" text,
  "circuit" text,
  "location_state" text,
  "date" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won at the Circuit of lakeside international raceway?`:
```sql
                SELECT "winner" FROM "race_calendar" WHERE "circuit"='lakeside international raceway';
```
## Task
Generate a SQL query to answer the following question:
`What is the service charge of the boat howitzers with 456 made?`

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

CREATE TABLE "table_of_dahlgren_boat_howitzers" (
  "designation" text,
  "bore" text,
  "weight" text,
  "service_charge" text,
  "range_yards" text,
  "number_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the service charge of the boat howitzers with 456 made?`:
```sql
                SELECT "service_charge" FROM "table_of_dahlgren_boat_howitzers" WHERE "number_made"=456;
```
## Task
Generate a SQL query to answer the following question:
`What is the service chage of the boat howitzers with a 12-pdr light destination?`

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

CREATE TABLE "table_of_dahlgren_boat_howitzers" (
  "designation" text,
  "bore" text,
  "weight" text,
  "service_charge" text,
  "range_yards" text,
  "number_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the service chage of the boat howitzers with a 12-pdr light destination?`:
```sql
                SELECT "service_charge" FROM "table_of_dahlgren_boat_howitzers" WHERE "designation"='12-pdr light';
```
## Task
Generate a SQL query to answer the following question:
`What is the service charge of the boat howitzers with 1009 made?`

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

CREATE TABLE "table_of_dahlgren_boat_howitzers" (
  "designation" text,
  "bore" text,
  "weight" text,
  "service_charge" text,
  "range_yards" text,
  "number_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the service charge of the boat howitzers with 1009 made?`:
```sql
                SELECT "service_charge" FROM "table_of_dahlgren_boat_howitzers" WHERE "number_made"=1009;
```
## Task
Generate a SQL query to answer the following question:
`What is the bore of the boat howitzers with a 12-pdr heavy designation?`

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

CREATE TABLE "table_of_dahlgren_boat_howitzers" (
  "designation" text,
  "bore" text,
  "weight" text,
  "service_charge" text,
  "range_yards" text,
  "number_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bore of the boat howitzers with a 12-pdr heavy designation?`:
```sql
                SELECT "bore" FROM "table_of_dahlgren_boat_howitzers" WHERE "designation"='12-pdr heavy';
```
## Task
Generate a SQL query to answer the following question:
`Which attendance has 9 as the tie no.?`

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

CREATE TABLE "second_round" (
  "tie_no" real,
  "home_team" text,
  "score" text,
  "away_team" text,
  "report" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which attendance has 9 as the tie no.?`:
```sql
                SELECT "attendance" FROM "second_round" WHERE "tie_no"=9;
```
## Task
Generate a SQL query to answer the following question:
`How many Picks have a Position of defensive end, and an Overall smaller than 33?`

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

CREATE TABLE "jacksonville_jaguars_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Picks have a Position of defensive end, and an Overall smaller than 33?`:
```sql
                SELECT COUNT("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "position"='defensive end' AND "overall"<33;
```
## Task
Generate a SQL query to answer the following question:
`Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19?`

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

CREATE TABLE "jacksonville_jaguars_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19?`:
```sql
                SELECT MAX("overall") FROM "jacksonville_jaguars_draft_history" WHERE "name"='gregory spann' AND "pick_num">19;
```
## Task
Generate a SQL query to answer the following question:
`Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228?`

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

CREATE TABLE "jacksonville_jaguars_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228?`:
```sql
                SELECT AVG("pick_num") FROM "jacksonville_jaguars_draft_history" WHERE "round">5 AND "position"='wide receiver' AND "name"='gregory spann' AND "overall">228;
```
## Task
Generate a SQL query to answer the following question:
`What is the score from the 21-27 Record?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score from the 21-27 Record?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='21-27';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the May 28 game?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the May 28 game?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "date"='may 28';
```
## Task
Generate a SQL query to answer the following question:
`What is the average drawn number of the team with less than 70 points and less than 46 played?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_a" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average drawn number of the team with less than 70 points and less than 46 played?`:
```sql
                SELECT AVG("drawn") FROM "campeonato_brasileiro_s_rie_a" WHERE "points"<70 AND "played"<46;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest position of the team with 24 lost and a drawn greater than 9?`

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

CREATE TABLE "campeonato_brasileiro_s_rie_a" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest position of the team with 24 lost and a drawn greater than 9?`:
```sql
                SELECT MAX("position") FROM "campeonato_brasileiro_s_rie_a" WHERE "lost"=24 AND "drawn">9;
```
## Task
Generate a SQL query to answer the following question:
`How many Points has a Game of 82 and a April larger than 10?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "april" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points has a Game of 82 and a April larger than 10?`:
```sql
                SELECT AVG("points") FROM "regular_season" WHERE "game"=82 AND "april">10;
```
## Task
Generate a SQL query to answer the following question:
`How many Games have a Score of 3–3 ot?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "april" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Games have a Score of 3–3 ot?`:
```sql
                SELECT COUNT("game") FROM "regular_season" WHERE "score"='3–3 ot';
```
## Task
Generate a SQL query to answer the following question:
`Which April has a Game of 84`

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

CREATE TABLE "regular_season" (
  "game" real,
  "april" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which April has a Game of 84`:
```sql
                SELECT MAX("april") FROM "regular_season" WHERE "game"=84;
```
## Task
Generate a SQL query to answer the following question:
`what's the played status when the club was banwen rfc?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the played status when the club was banwen rfc?`:
```sql
                SELECT "played" FROM "2006_2007_table" WHERE "club"='banwen rfc';
```
## Task
Generate a SQL query to answer the following question:
`what's the points total when points against was points against?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `what's the points total when points against was points against?`:
```sql
                SELECT "points_for" FROM "2006_2007_table" WHERE "points_against"='points against';
```
## Task
Generate a SQL query to answer the following question:
`when points were 36 and points against 489 what is the lost?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `when points were 36 and points against 489 what is the lost?`:
```sql
                SELECT "lost" FROM "2006_2007_table" WHERE "points"='36' AND "points_against"='489';
```
## Task
Generate a SQL query to answer the following question:
`when points against was 387 what was the lost?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `when points against was 387 what was the lost?`:
```sql
                SELECT "lost" FROM "2006_2007_table" WHERE "points_against"='387';
```
## Task
Generate a SQL query to answer the following question:
`when points for was points for what was the points?`

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

CREATE TABLE "2006_2007_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `when points for was points for what was the points?`:
```sql
                SELECT "points" FROM "2006_2007_table" WHERE "points_for"='points for';
```
## Task
Generate a SQL query to answer the following question:
`What was 1948's pick?`

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

CREATE TABLE "player_selection" (
  "year" real,
  "pick" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was 1948's pick?`:
```sql
                SELECT "pick" FROM "player_selection" WHERE "year"=1948;
```
## Task
Generate a SQL query to answer the following question:
`What was the pick in 2004?`

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

CREATE TABLE "player_selection" (
  "year" real,
  "pick" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the pick in 2004?`:
```sql
                SELECT "pick" FROM "player_selection" WHERE "year"=2004;
```
## Task
Generate a SQL query to answer the following question:
`How many years have a Pick of 12, and a Position of dt, and a College of penn state?`

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

CREATE TABLE "player_selection" (
  "year" real,
  "pick" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years have a Pick of 12, and a Position of dt, and a College of penn state?`:
```sql
                SELECT COUNT("year") FROM "player_selection" WHERE "pick"='12' AND "position"='dt' AND "college"='penn state';
```
## Task
Generate a SQL query to answer the following question:
`What is the scoring average where the wins are 0?`

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

CREATE TABLE "lpga_tour_record" (
  "year" real,
  "wins" real,
  "earnings" text,
  "rank" real,
  "scoring_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the scoring average where the wins are 0?`:
```sql
                SELECT COUNT("scoring_average") FROM "lpga_tour_record" WHERE "wins"<0;
```
## Task
Generate a SQL query to answer the following question:
`What year has earnings of $557,158?`

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

CREATE TABLE "lpga_tour_record" (
  "year" real,
  "wins" real,
  "earnings" text,
  "rank" real,
  "scoring_average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year has earnings of $557,158?`:
```sql
                SELECT MAX("year") FROM "lpga_tour_record" WHERE "earnings"='557,158';
```
## Task
Generate a SQL query to answer the following question:
`Which Points have an Opponent of @ florida panthers, and a Game larger than 58?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have an Opponent of @ florida panthers, and a Game larger than 58?`:
```sql
                SELECT MIN("points") FROM "regular_season" WHERE "opponent"='@ florida panthers' AND "game">58;
```
## Task
Generate a SQL query to answer the following question:
`what is the catholic when the % catholic is 1.39%?`

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

CREATE TABLE "roman_catholicism_in_asia" (
  "region" text,
  "total_population" real,
  "catholic" real,
  "pct_catholic" text,
  "pct_of_global_catholic_pop" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the catholic when the % catholic is 1.39%?`:
```sql
                SELECT "catholic" FROM "roman_catholicism_in_asia" WHERE "pct_catholic"='1.39%';
```
## Task
Generate a SQL query to answer the following question:
`with catholic of 3.33% and total population more than 1,528,384,440, what is the % global catholic pop.?`

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

CREATE TABLE "roman_catholicism_in_asia" (
  "region" text,
  "total_population" real,
  "catholic" real,
  "pct_catholic" text,
  "pct_of_global_catholic_pop" text
);
### SQL
Given the database schema, here is the SQL query that answers `with catholic of 3.33% and total population more than 1,528,384,440, what is the % global catholic pop.?`:
```sql
                SELECT "pct_of_global_catholic_pop" FROM "roman_catholicism_in_asia" WHERE "total_population">'1,528,384,440' AND "pct_catholic"='3.33%';
```
## Task
Generate a SQL query to answer the following question:
`Which February has a Game of 64?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which February has a Game of 64?`:
```sql
                SELECT AVG("february") FROM "regular_season" WHERE "game"=64;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1?`:
```sql
                SELECT AVG("points") FROM "regular_season" WHERE "game"<60 AND "score"='2–0' AND "february">1;
```
## Task
Generate a SQL query to answer the following question:
`Which Game is the highest one that has a February of 25?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Game is the highest one that has a February of 25?`:
```sql
                SELECT MAX("game") FROM "regular_season" WHERE "february"=25;
```