cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AVERAGE POLES WITH POINTS N/A?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "races" real,
  "poles" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AVERAGE POLES WITH POINTS N/A?`:
```sql
                SELECT AVG("poles") FROM "career_summary" WHERE "points"='n/a';
```
## Task
Generate a SQL query to answer the following question:
`Who is that player from South Africa who had a total score under 293?`

### 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" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is that player from South Africa who had a total score under 293?`:
```sql
                SELECT "player" FROM "made_the_cut" WHERE "total"<293 AND "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`What is the best when the qual 2 is 1:47.042?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the best when the qual 2 is 1:47.042?`:
```sql
                SELECT "best" FROM "qualifying_results" WHERE "qual_2"='1:47.042';
```
## Task
Generate a SQL query to answer the following question:
`What is the team when the name is alex sperafico?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team when the name is alex sperafico?`:
```sql
                SELECT "team" FROM "qualifying_results" WHERE "name"='alex sperafico';
```
## Task
Generate a SQL query to answer the following question:
`What is the qual 2 when the best is 1:45.172?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the qual 2 when the best is 1:45.172?`:
```sql
                SELECT "qual_2" FROM "qualifying_results" WHERE "best"='1:45.172';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for the best of 1:45.361?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for the best of 1:45.361?`:
```sql
                SELECT "name" FROM "qualifying_results" WHERE "best"='1:45.361';
```
## Task
Generate a SQL query to answer the following question:
`What name has a qual 2 of 1:43.374?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name has a qual 2 of 1:43.374?`:
```sql
                SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:43.374';
```
## Task
Generate a SQL query to answer the following question:
`What name has a qual 2 of 1:46.025?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name has a qual 2 of 1:46.025?`:
```sql
                SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:46.025';
```
## Task
Generate a SQL query to answer the following question:
`What was the streak on March 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,
  "opponent" text,
  "result" text,
  "team_points" real,
  "opponent_score" real,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the streak on March 27?`:
```sql
                SELECT "streak" FROM "game_log" WHERE "date"='march 27';
```
## Task
Generate a SQL query to answer the following question:
`Which streak before game 12 had a team points larger than 113 on November 16?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "team_points" real,
  "opponent_score" real,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which streak before game 12 had a team points larger than 113 on November 16?`:
```sql
                SELECT "streak" FROM "game_log" WHERE "team_points">113 AND "game"<12 AND "date"='november 16';
```
## Task
Generate a SQL query to answer the following question:
`Who scored the lowest with 8 gold medals and less than 4 silver medals?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who scored the lowest with 8 gold medals and less than 4 silver medals?`:
```sql
                SELECT MIN("total") FROM "medal_table" WHERE "gold"=8 AND "silver"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the rank for the 3 silver medals?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank for the 3 silver medals?`:
```sql
                SELECT "rank" FROM "medal_table" WHERE "silver"=3;
```
## Task
Generate a SQL query to answer the following question:
`Which young classification has an aggressive rider of Tim Johnson?`

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

CREATE TABLE "jersey_progress" (
  "stage_winner" text,
  "general_classification" text,
  "young_classification" text,
  "sprint_classification" text,
  "aggressive_rider" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which young classification has an aggressive rider of Tim Johnson?`:
```sql
                SELECT "young_classification" FROM "jersey_progress" WHERE "aggressive_rider"='tim johnson';
```
## Task
Generate a SQL query to answer the following question:
`what was the overall pick number for rich dobbert?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `what was the overall pick number for rich dobbert?`:
```sql
                SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "name"='rich dobbert';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the rounds where the overall pick was more than 295 and the pick was smaller than 10 and the player was rich dobbert?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the rounds where the overall pick was more than 295 and the pick was smaller than 10 and the player was rich dobbert?`:
```sql
                SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "overall">295 AND "name"='rich dobbert' AND "pick"<10;
```
## Task
Generate a SQL query to answer the following question:
`What position did eric norri play who was the overall pick less than 322 on a round larger than 3?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did eric norri play who was the overall pick less than 322 on a round larger than 3?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "overall"<322 AND "round">3 AND "name"='eric norri';
```
## Task
Generate a SQL query to answer the following question:
`What was the report for the game with the home team of the Townsville Crocodiles?`

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

CREATE TABLE "round_2" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the report for the game with the home team of the Townsville Crocodiles?`:
```sql
                SELECT "report" FROM "round_2" WHERE "home_team"='townsville crocodiles';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue that featured the Melbourne Tigers as the away team?`

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

CREATE TABLE "round_2" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue that featured the Melbourne Tigers as the away team?`:
```sql
                SELECT "venue" FROM "round_2" WHERE "away_team"='melbourne tigers';
```
## Task
Generate a SQL query to answer the following question:
`What was the report for the game played at the Hisense Arena?`

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

CREATE TABLE "round_2" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the report for the game played at the Hisense Arena?`:
```sql
                SELECT "report" FROM "round_2" WHERE "venue"='hisense arena';
```
## Task
Generate a SQL query to answer the following question:
`When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference?`:
```sql
                SELECT "goal_difference" FROM "final_table" WHERE "points_1"='51' AND "goals_against"<66;
```
## Task
Generate a SQL query to answer the following question:
`What is the total of Played where the Goals For is higher than 60, the Lost is 8, and the Position is less than 1?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of Played where the Goals For is higher than 60, the Lost is 8, and the Position is less than 1?`:
```sql
                SELECT SUM("played") FROM "final_table" WHERE "goals_for">60 AND "lost"=8 AND "position"<1;
```
## Task
Generate a SQL query to answer the following question:
`What was the Goal Difference for Postion 22?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Goal Difference for Postion 22?`:
```sql
                SELECT "goal_difference" FROM "final_table" WHERE "position"=22;
```
## Task
Generate a SQL query to answer the following question:
`When Team Hyde United had more than 59 Goals For and fewer than 15 Drawn, what was the Lost?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Team Hyde United had more than 59 Goals For and fewer than 15 Drawn, what was the Lost?`:
```sql
                SELECT "lost" FROM "final_table" WHERE "goals_for">59 AND "drawn"<15 AND "team"='hyde united';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Lost for Team Matlock Town when the Goals Against is higher than 66?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Lost for Team Matlock Town when the Goals Against is higher than 66?`:
```sql
                SELECT AVG("lost") FROM "final_table" WHERE "team"='matlock town' AND "goals_against">66;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on October 17?`

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

CREATE TABLE "pittsburgh_pirates_vs_atlanta_braves" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance on October 17?`:
```sql
                SELECT "attendance" FROM "pittsburgh_pirates_vs_atlanta_braves" WHERE "date"='october 17';
```
## Task
Generate a SQL query to answer the following question:
`Where was the attendance more than 57,347?`

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

CREATE TABLE "pittsburgh_pirates_vs_atlanta_braves" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the attendance more than 57,347?`:
```sql
                SELECT "location" FROM "pittsburgh_pirates_vs_atlanta_braves" WHERE "attendance">'57,347';
```
## Task
Generate a SQL query to answer the following question:
`When was the last game that had a time of 2:46 and attendance of more than 57,533?`

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

CREATE TABLE "pittsburgh_pirates_vs_atlanta_braves" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was the last game that had a time of 2:46 and attendance of more than 57,533?`:
```sql
                SELECT MAX("game") FROM "pittsburgh_pirates_vs_atlanta_braves" WHERE "time"='2:46' AND "attendance">'57,533';
```
## Task
Generate a SQL query to answer the following question:
`What place is South Africa?`

### 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 place is South Africa?`:
```sql
                SELECT "place" FROM "final_round" WHERE "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`What was the average year when shri. shambu nath khajuria won the padma shri awards?`

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

CREATE TABLE "1998" (
  "year" real,
  "name" text,
  "field" text,
  "state" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average year when shri. shambu nath khajuria won the padma shri awards?`:
```sql
                SELECT AVG("year") FROM "1998" WHERE "name"='shri. shambu nath khajuria';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of years that prof. aditya naraian purohit won?`

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

CREATE TABLE "1998" (
  "year" real,
  "name" text,
  "field" text,
  "state" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of years that prof. aditya naraian purohit won?`:
```sql
                SELECT COUNT("year") FROM "1998" WHERE "name"='prof. aditya naraian purohit';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?`

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

CREATE TABLE "1998" (
  "year" real,
  "name" text,
  "field" text,
  "state" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?`:
```sql
                SELECT SUM("year") FROM "1998" WHERE "state"='orissa' AND "name"='prof. priyambada mohanty hejmadi';
```
## Task
Generate a SQL query to answer the following question:
`Which event was part of the World Cross Country championships?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event was part of the World Cross Country championships?`:
```sql
                SELECT "event" FROM "achievements" WHERE "competition"='world cross country championships';
```
## Task
Generate a SQL query to answer the following question:
`What department as 6 years experience?`

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

CREATE TABLE "external_links" (
  "college_code" text,
  "faculty_name" text,
  "designation" text,
  "qualification" text,
  "department" text,
  "experience" text
);
### SQL
Given the database schema, here is the SQL query that answers `What department as 6 years experience?`:
```sql
                SELECT "department" FROM "external_links" WHERE "experience"='6 years';
```
## Task
Generate a SQL query to answer the following question:
`What is the designation for the m.tech (e.c.e) qualification?`

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

CREATE TABLE "external_links" (
  "college_code" text,
  "faculty_name" text,
  "designation" text,
  "qualification" text,
  "department" text,
  "experience" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the designation for the m.tech (e.c.e) qualification?`:
```sql
                SELECT "designation" FROM "external_links" WHERE "qualification"='m.tech (e.c.e)';
```
## Task
Generate a SQL query to answer the following question:
`What department has an m.phil (physics) qualification?`

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

CREATE TABLE "external_links" (
  "college_code" text,
  "faculty_name" text,
  "designation" text,
  "qualification" text,
  "department" text,
  "experience" text
);
### SQL
Given the database schema, here is the SQL query that answers `What department has an m.phil (physics) qualification?`:
```sql
                SELECT "department" FROM "external_links" WHERE "qualification"='m.phil (physics)';
```
## Task
Generate a SQL query to answer the following question:
`hat is the Result F– A when they played against Leeds United?`

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

CREATE TABLE "league_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `hat is the Result F– A when they played against Leeds United?`:
```sql
                SELECT "result_f_a" FROM "league_cup" WHERE "opponents"='leeds united';
```
## Task
Generate a SQL query to answer the following question:
`What is the round when they played against Middlesbrough, and the h/a was h?`

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

CREATE TABLE "league_cup" (
  "date" text,
  "round" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round when they played against Middlesbrough, and the h/a was h?`:
```sql
                SELECT "round" FROM "league_cup" WHERE "opponents"='middlesbrough' AND "h_a"='h';
```
## Task
Generate a SQL query to answer the following question:
`How many games have 61-16 as the record?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have 61-16 as the record?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "record"='61-16';
```
## Task
Generate a SQL query to answer the following question:
`What date has 104-113 as the score?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has 104-113 as the score?`:
```sql
                SELECT "date" FROM "game_log" WHERE "score"='104-113';
```
## Task
Generate a SQL query to answer the following question:
`What date has 113-115 (ot) as the score?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has 113-115 (ot) as the score?`:
```sql
                SELECT "date" FROM "game_log" WHERE "score"='113-115 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`What is the mean game played on January 9?`

### 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 mean game played on January 9?`:
```sql
                SELECT AVG("game") FROM "game_log" WHERE "date"='january 9';
```
## Task
Generate a SQL query to answer the following question:
`Which game number includes a record of 1-2?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game number includes a record of 1-2?`:
```sql
                SELECT "game" FROM "playoffs" WHERE "record"='1-2';
```
## Task
Generate a SQL query to answer the following question:
`For the game where Joel Przybilla (4) received high assists, what was the final score?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the game where Joel Przybilla (4) received high assists, what was the final score?`:
```sql
                SELECT "score" FROM "playoffs" WHERE "high_assists"='joel przybilla (4)';
```
## Task
Generate a SQL query to answer the following question:
`For the game that had an end record of 2-4, who was the high points scorer?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the game that had an end record of 2-4, who was the high points scorer?`:
```sql
                SELECT "high_points" FROM "playoffs" WHERE "record"='2-4';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance of the game against the New Orleans Saints before game 11?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "falcons_points" real,
  "opponents" real,
  "record" text,
  "streak" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance of the game against the New Orleans Saints before game 11?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "opponent"='new orleans saints' AND "game"<11;
```
## Task
Generate a SQL query to answer the following question:
`On what date was the streak at lost 7?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "falcons_points" real,
  "opponents" real,
  "record" text,
  "streak" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the streak at lost 7?`:
```sql
                SELECT "date" FROM "schedule" WHERE "streak"='lost 7';
```
## Task
Generate a SQL query to answer the following question:
`What was the date for Round 2r?`

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

CREATE TABLE "singles_7" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date for Round 2r?`:
```sql
                SELECT "date" FROM "singles_7" WHERE "round"='2r';
```
## Task
Generate a SQL query to answer the following question:
`What date did the opponent George Khrikadze play?`

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

CREATE TABLE "singles_7" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the opponent George Khrikadze play?`:
```sql
                SELECT "date" FROM "singles_7" WHERE "opponent"='george khrikadze';
```
## Task
Generate a SQL query to answer the following question:
`What round resulted in 6-0, 6-1, 6-2?`

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

CREATE TABLE "singles_7" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round resulted in 6-0, 6-1, 6-2?`:
```sql
                SELECT "round" FROM "singles_7" WHERE "result"='6-0, 6-1, 6-2';
```
## Task
Generate a SQL query to answer the following question:
`What round was the opponent Sergiy Stakhovsky?`

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

CREATE TABLE "singles_7" (
  "edition" text,
  "round" text,
  "date" text,
  "against" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round was the opponent Sergiy Stakhovsky?`:
```sql
                SELECT "round" FROM "singles_7" WHERE "opponent"='sergiy stakhovsky';
```
## Task
Generate a SQL query to answer the following question:
`What is the record on December 11?`

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

CREATE TABLE "regular_season" (
  "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 is the record on December 11?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "date"='december 11';
```
## Task
Generate a SQL query to answer the following question:
`What date was the game that resulted in L 30-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 `What date was the game that resulted in L 30-27?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='l 30-27';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest attendance of games that resulted in L 23-20?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest attendance of games that resulted in L 23-20?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "result"='l 23-20';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the opponent was manchester united in venue h?`

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

CREATE TABLE "fa_cup" (
  "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 was the result when the opponent was manchester united in venue h?`:
```sql
                SELECT "result" FROM "fa_cup" WHERE "opponent"='manchester united' AND "venue"='h';
```
## Task
Generate a SQL query to answer the following question:
`What's the greatest 1st RU that has a 2nd RU less than 0?`

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

CREATE TABLE "by_country_tally" (
  "rank" real,
  "country" text,
  "miss_united_continent" real,
  "virreina" real,
  "1st_ru" real,
  "2nd_ru" real,
  "3rd_ru" real,
  "4th_ru" real,
  "semifinalists" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the greatest 1st RU that has a 2nd RU less than 0?`:
```sql
                SELECT MAX("1st_ru") FROM "by_country_tally" WHERE "2nd_ru"<0;
```
## Task
Generate a SQL query to answer the following question:
`How many semifinalists had a total less than 2, 1st RU greater than 0, 2nd RU was 0 and Miss United Continent of 0?`

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

CREATE TABLE "by_country_tally" (
  "rank" real,
  "country" text,
  "miss_united_continent" real,
  "virreina" real,
  "1st_ru" real,
  "2nd_ru" real,
  "3rd_ru" real,
  "4th_ru" real,
  "semifinalists" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many semifinalists had a total less than 2, 1st RU greater than 0, 2nd RU was 0 and Miss United Continent of 0?`:
```sql
                SELECT COUNT("semifinalists") FROM "by_country_tally" WHERE "miss_united_continent"=0 AND "2nd_ru"=0 AND "1st_ru">0 AND "total"<2;
```
## Task
Generate a SQL query to answer the following question:
`What rank was Peru with a total greater than 3?`

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

CREATE TABLE "by_country_tally" (
  "rank" real,
  "country" text,
  "miss_united_continent" real,
  "virreina" real,
  "1st_ru" real,
  "2nd_ru" real,
  "3rd_ru" real,
  "4th_ru" real,
  "semifinalists" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What rank was Peru with a total greater than 3?`:
```sql
                SELECT MAX("rank") FROM "by_country_tally" WHERE "country"='peru' AND "total">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the least 3rd RU that is ranked less than 8 with a 4th RU greater than 0?`

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

CREATE TABLE "by_country_tally" (
  "rank" real,
  "country" text,
  "miss_united_continent" real,
  "virreina" real,
  "1st_ru" real,
  "2nd_ru" real,
  "3rd_ru" real,
  "4th_ru" real,
  "semifinalists" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the least 3rd RU that is ranked less than 8 with a 4th RU greater than 0?`:
```sql
                SELECT MIN("3rd_ru") FROM "by_country_tally" WHERE "4th_ru">0 AND "rank"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008?`:
```sql
                SELECT "result" FROM "goals_for_senior_national_team" WHERE "competition"='2010 fifa world cup qualification' AND "date"='10 september 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008?`:
```sql
                SELECT "venue" FROM "goals_for_senior_national_team" WHERE "competition"='2010 fifa world cup qualification' AND "result"='won' AND "date"='14 june 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is Competition, when Date is 30 December 2005?`

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

CREATE TABLE "goals_for_senior_national_team" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Competition, when Date is 30 December 2005?`:
```sql
                SELECT "competition" FROM "goals_for_senior_national_team" WHERE "date"='30 december 2005';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place when the score is less than 71, and Country is zimbabwe?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Place when the score is less than 71, and Country is zimbabwe?`:
```sql
                SELECT "place" FROM "first_round" WHERE "score"<71 AND "country"='zimbabwe';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Score when the Country is canada?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Score when the Country is canada?`:
```sql
                SELECT MIN("score") FROM "first_round" WHERE "country"='canada';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score when the Player is toru taniguchi?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score when the Player is toru taniguchi?`:
```sql
                SELECT "score" FROM "first_round" WHERE "player"='toru taniguchi';
```
## Task
Generate a SQL query to answer the following question:
`What is the Game number when the Rangers have a Record of 25-24-11?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Game number when the Rangers have a Record of 25-24-11?`:
```sql
                SELECT COUNT("game") FROM "schedule_and_results" WHERE "record"='25-24-11';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the game on March 18?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the game on March 18?`:
```sql
                SELECT "score" FROM "schedule_and_results" WHERE "march"=18;
```
## Task
Generate a SQL query to answer the following question:
`What is the qual 2 of team rocketsports racing, which has the best of 1:10.949?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the qual 2 of team rocketsports racing, which has the best of 1:10.949?`:
```sql
                SELECT "qual_2" FROM "qualifying_results" WHERE "team"='rocketsports racing' AND "best"='1:10.949';
```
## Task
Generate a SQL query to answer the following question:
`Which team has a 1:10.998 best?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has a 1:10.998 best?`:
```sql
                SELECT "team" FROM "qualifying_results" WHERE "best"='1:10.998';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the person with a 1:10.771 qual 2?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the person with a 1:10.771 qual 2?`:
```sql
                SELECT "name" FROM "qualifying_results" WHERE "qual_2"='1:10.771';
```
## Task
Generate a SQL query to answer the following question:
`What is the qual 2 with a 1:10.949 best?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the qual 2 with a 1:10.949 best?`:
```sql
                SELECT "qual_2" FROM "qualifying_results" WHERE "best"='1:10.949';
```
## Task
Generate a SQL query to answer the following question:
`What is the qual 2 of team Forsythe racing, which has a 1:09.515 best?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the qual 2 of team Forsythe racing, which has a 1:09.515 best?`:
```sql
                SELECT "qual_2" FROM "qualifying_results" WHERE "team"='forsythe racing' AND "best"='1:09.515';
```
## Task
Generate a SQL query to answer the following question:
`What is the qual 1 with a 1:09.567 best?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the qual 1 with a 1:09.567 best?`:
```sql
                SELECT "qual_1" FROM "qualifying_results" WHERE "best"='1:09.567';
```
## Task
Generate a SQL query to answer the following question:
`What were highest points received from someone using a zabel-wsp with a position greater than 7?`

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

CREATE TABLE "the_2011_season" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "bike_no" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were highest points received from someone using a zabel-wsp with a position greater than 7?`:
```sql
                SELECT MAX("points") FROM "the_2011_season" WHERE "equipment"='zabel-wsp' AND "position">7;
```
## Task
Generate a SQL query to answer the following question:
`What's the lowest attendance recorded for week 15?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the lowest attendance recorded for week 15?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "week"=15;
```
## Task
Generate a SQL query to answer the following question:
`When Marlene was nominated for the Olivier Award, what was the result?`

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

CREATE TABLE "awards_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Marlene was nominated for the Olivier Award, what was the result?`:
```sql
                SELECT "result" FROM "awards_nominations" WHERE "nominated_work"='marlene' AND "award"='olivier award';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for the Bafta Tv award?`

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

CREATE TABLE "awards_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for the Bafta Tv award?`:
```sql
                SELECT "result" FROM "awards_nominations" WHERE "award"='bafta tv award';
```
## Task
Generate a SQL query to answer the following question:
`What is the pick of Texas-San Antonio?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the pick of Texas-San Antonio?`:
```sql
                SELECT AVG("pick") FROM "draft_picks" WHERE "college"='texas-san antonio';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player that has a round greater than 2 and a pick bigger than 83?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player that has a round greater than 2 and a pick bigger than 83?`:
```sql
                SELECT "player" FROM "draft_picks" WHERE "round">2 AND "pick">83;
```
## Task
Generate a SQL query to answer the following question:
`What's the nationality of Louisiana Tech?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the nationality of Louisiana Tech?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "college"='louisiana tech';
```
## Task
Generate a SQL query to answer the following question:
`What number pick is Ray Hall?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number pick is Ray Hall?`:
```sql
                SELECT "pick" FROM "draft_picks" WHERE "player"='ray hall';
```