cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120?`

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

CREATE TABLE "cities_between_100_000_and_1_000_000_pop" (
  "rank" real,
  "city" text,
  "province" text,
  "date_of_official_foundation_of_municipality" real,
  "2006" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120?`:
```sql
                SELECT MAX("rank") FROM "cities_between_100_000_and_1_000_000_pop" WHERE "date_of_official_foundation_of_municipality"=1952 AND "2006"<189120;
```
## Task
Generate a SQL query to answer the following question:
`What is Province, when 2006 is less than 153748, when Date of Official Foundation of Municipality is after 1958, and when City is "Pakdasht"?`

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

CREATE TABLE "cities_between_100_000_and_1_000_000_pop" (
  "rank" real,
  "city" text,
  "province" text,
  "date_of_official_foundation_of_municipality" real,
  "2006" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Province, when 2006 is less than 153748, when Date of Official Foundation of Municipality is after 1958, and when City is "Pakdasht"?`:
```sql
                SELECT "province" FROM "cities_between_100_000_and_1_000_000_pop" WHERE "2006"<153748 AND "date_of_official_foundation_of_municipality">1958 AND "city"='pakdasht';
```
## Task
Generate a SQL query to answer the following question:
`what is the place when the score is 68-70-68=206?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the place when the score is 68-70-68=206?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='68-70-68=206';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the score is 71-65-69=205?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country when the score is 71-65-69=205?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='71-65-69=205';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the score is 72-68-67=207?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country when the score is 72-68-67=207?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='72-68-67=207';
```
## Task
Generate a SQL query to answer the following question:
`what is the country when the score is 68-72-67=207?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country when the score is 68-72-67=207?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='68-72-67=207';
```
## Task
Generate a SQL query to answer the following question:
`who is the player when the place is t5 and the score is 69-66-71=206?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the player when the place is t5 and the score is 69-66-71=206?`:
```sql
                SELECT "player" FROM "third_round" WHERE "place"='t5' AND "score"='69-66-71=206';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?`

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

CREATE TABLE "results" (
  "pos" text,
  "class" text,
  "entrant" text,
  "drivers" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?`:
```sql
                SELECT MAX("laps") FROM "results" WHERE "class"='v8' AND "entrant"='diet-coke racing';
```
## Task
Generate a SQL query to answer the following question:
`What is the tie with a win of 0?`

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

CREATE TABLE "senior_team_season_records" (
  "season" text,
  "division" text,
  "wins" text,
  "ties" text,
  "final_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the tie with a win of 0?`:
```sql
                SELECT "ties" FROM "senior_team_season_records" WHERE "wins"='0';
```
## Task
Generate a SQL query to answer the following question:
`What is the final position with ties of 0, and wins of 5?`

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

CREATE TABLE "senior_team_season_records" (
  "season" text,
  "division" text,
  "wins" text,
  "ties" text,
  "final_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the final position with ties of 0, and wins of 5?`:
```sql
                SELECT "final_position" FROM "senior_team_season_records" WHERE "ties"='0' AND "wins"='5';
```
## Task
Generate a SQL query to answer the following question:
`What are the ties for division of bafl division two south?`

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

CREATE TABLE "senior_team_season_records" (
  "season" text,
  "division" text,
  "wins" text,
  "ties" text,
  "final_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the ties for division of bafl division two south?`:
```sql
                SELECT "ties" FROM "senior_team_season_records" WHERE "division"='bafl division two south';
```
## Task
Generate a SQL query to answer the following question:
`What is the final position for the season 2008?`

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

CREATE TABLE "senior_team_season_records" (
  "season" text,
  "division" text,
  "wins" text,
  "ties" text,
  "final_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the final position for the season 2008?`:
```sql
                SELECT "final_position" FROM "senior_team_season_records" WHERE "season"='2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the final position for the season 2012?`

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

CREATE TABLE "senior_team_season_records" (
  "season" text,
  "division" text,
  "wins" text,
  "ties" text,
  "final_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the final position for the season 2012?`:
```sql
                SELECT "final_position" FROM "senior_team_season_records" WHERE "season"='2012';
```
## Task
Generate a SQL query to answer the following question:
`What is the division with wins of 2?`

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

CREATE TABLE "senior_team_season_records" (
  "season" text,
  "division" text,
  "wins" text,
  "ties" text,
  "final_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the division with wins of 2?`:
```sql
                SELECT "division" FROM "senior_team_season_records" WHERE "wins"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Hietalahti Stadium?`

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

CREATE TABLE "overview" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Hietalahti Stadium?`:
```sql
                SELECT "location" FROM "overview" WHERE "stadium"='hietalahti stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Tapiolan Urheilupuisto Stadium with a Capacity or more than 15,000?`

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

CREATE TABLE "overview" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Tapiolan Urheilupuisto Stadium with a Capacity or more than 15,000?`:
```sql
                SELECT "location" FROM "overview" WHERE "capacity">'15,000' AND "stadium"='tapiolan urheilupuisto';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location of the Stadium where Job Dragtsma is Manager?`

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

CREATE TABLE "overview" (
  "club" text,
  "location" text,
  "stadium" text,
  "capacity" real,
  "manager" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location of the Stadium where Job Dragtsma is Manager?`:
```sql
                SELECT "location" FROM "overview" WHERE "manager"='job dragtsma';
```
## Task
Generate a SQL query to answer the following question:
`what is the react when the lane is 3 and heat is 2?`

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

CREATE TABLE "semifinals" (
  "heat" real,
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the react when the lane is 3 and heat is 2?`:
```sql
                SELECT "react" FROM "semifinals" WHERE "lane"=3 AND "heat"=2;
```
## Task
Generate a SQL query to answer the following question:
`what is the highest lane number for johan wissman when the react is less than 0.242?`

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

CREATE TABLE "semifinals" (
  "heat" real,
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the highest lane number for johan wissman when the react is less than 0.242?`:
```sql
                SELECT MAX("lane") FROM "semifinals" WHERE "name"='johan wissman' AND "react"<0.242;
```
## Task
Generate a SQL query to answer the following question:
`what is the heat when the country is united kingdom and react is less than 0.232?`

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

CREATE TABLE "semifinals" (
  "heat" real,
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the heat when the country is united kingdom and react is less than 0.232?`:
```sql
                SELECT MAX("heat") FROM "semifinals" WHERE "country"='united kingdom' AND "react"<0.232;
```
## Task
Generate a SQL query to answer the following question:
`what is the react when the country is sweden and the lane is higher than 6?`

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

CREATE TABLE "semifinals" (
  "heat" real,
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the react when the country is sweden and the lane is higher than 6?`:
```sql
                SELECT SUM("react") FROM "semifinals" WHERE "country"='sweden' AND "lane">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club?`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club?`:
```sql
                SELECT "1st_leg" FROM "european_record" WHERE "competition"='uefa champions league' AND "club"='skonto riga';
```
## Task
Generate a SQL query to answer the following question:
`Which season has the Renova Club?`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which season has the Renova Club?`:
```sql
                SELECT "season" FROM "european_record" WHERE "club"='renova';
```
## Task
Generate a SQL query to answer the following question:
`Which season has the Werder Bremen Club and is in Round 2r?`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which season has the Werder Bremen Club and is in Round 2r?`:
```sql
                SELECT "season" FROM "european_record" WHERE "club"='werder bremen' AND "round"='2r';
```
## Task
Generate a SQL query to answer the following question:
`Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub?`

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

CREATE TABLE "european_record" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub?`:
```sql
                SELECT "round" FROM "european_record" WHERE "competition"='uefa cup' AND "club"='kolkheti-1913 poti';
```
## Task
Generate a SQL query to answer the following question:
`What is the PAL B, G, H for the PAL I 4.43361875mhz?`

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

CREATE TABLE "color_standards" (
  "ntsc_m" text,
  "pal_b_g_h" text,
  "pal_i" text,
  "pal_n" text,
  "pal_m" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the PAL B, G, H for the PAL I 4.43361875mhz?`:
```sql
                SELECT "pal_b_g_h" FROM "color_standards" WHERE "pal_i"='4.43361875mhz';
```
## Task
Generate a SQL query to answer the following question:
`Which PAL has a PAL B, G, H of 4.43361875mhz?`

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

CREATE TABLE "color_standards" (
  "ntsc_m" text,
  "pal_b_g_h" text,
  "pal_i" text,
  "pal_n" text,
  "pal_m" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which PAL has a PAL B, G, H of 4.43361875mhz?`:
```sql
                SELECT "pal_n" FROM "color_standards" WHERE "pal_b_g_h"='4.43361875mhz';
```
## Task
Generate a SQL query to answer the following question:
`Which PAL M has a PAL I of 50HZ?`

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

CREATE TABLE "color_standards" (
  "ntsc_m" text,
  "pal_b_g_h" text,
  "pal_i" text,
  "pal_n" text,
  "pal_m" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which PAL M has a PAL I of 50HZ?`:
```sql
                SELECT "pal_m" FROM "color_standards" WHERE "pal_i"='50hz';
```
## Task
Generate a SQL query to answer the following question:
`What is the NTSC M for Pal M 525/60?`

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

CREATE TABLE "color_standards" (
  "ntsc_m" text,
  "pal_b_g_h" text,
  "pal_i" text,
  "pal_n" text,
  "pal_m" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the NTSC M for Pal M 525/60?`:
```sql
                SELECT "ntsc_m" FROM "color_standards" WHERE "pal_m"='525/60';
```
## Task
Generate a SQL query to answer the following question:
`What is the PAL M for the NTSC M 4.5mhz?`

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

CREATE TABLE "color_standards" (
  "ntsc_m" text,
  "pal_b_g_h" text,
  "pal_i" text,
  "pal_n" text,
  "pal_m" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the PAL M for the NTSC M 4.5mhz?`:
```sql
                SELECT "pal_m" FROM "color_standards" WHERE "ntsc_m"='4.5mhz';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Year, when Rank is less than 19?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Year, when Rank is less than 19?`:
```sql
                SELECT SUM("year") FROM "accolades" WHERE "rank"<19;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11?`:
```sql
                SELECT SUM("year") FROM "accolades" WHERE "publication"='vh1' AND "rank">11;
```
## Task
Generate a SQL query to answer the following question:
`What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and when Rank is "48"?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and when Rank is "48"?`:
```sql
                SELECT "accolade" FROM "accolades" WHERE "year"<2002 AND "publication"='rolling stone' AND "rank"=48;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Year, when Rank is greater than 85?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Year, when Rank is greater than 85?`:
```sql
                SELECT MIN("year") FROM "accolades" WHERE "rank">85;
```
## Task
Generate a SQL query to answer the following question:
`What is Accolade, when Country is "United States", and when Year is "1999"?`

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

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Accolade, when Country is "United States", and when Year is "1999"?`:
```sql
                SELECT "accolade" FROM "accolades" WHERE "country"='united states' AND "year"=1999;
```
## Task
Generate a SQL query to answer the following question:
`What is Pick, when Player is "Dexter Bailey"?`

### 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,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pick, when Player is "Dexter Bailey"?`:
```sql
                SELECT "pick" FROM "draft_picks" WHERE "player"='dexter bailey';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Round, when Nationality is "United States", and when Pick is "125"?`

### 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,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Round, when Nationality is "United States", and when Pick is "125"?`:
```sql
                SELECT SUM("round") FROM "draft_picks" WHERE "nationality"='united states' AND "pick"=125;
```
## Task
Generate a SQL query to answer the following question:
`What is Round, when School/Club Team is "Tennessee-Chattanooga"?`

### 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,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Round, when School/Club Team is "Tennessee-Chattanooga"?`:
```sql
                SELECT "round" FROM "draft_picks" WHERE "school_club_team"='tennessee-chattanooga';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Pick, when Player is "Willie White",and when Round is less than 2?`

### 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,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Pick, when Player is "Willie White",and when Round is less than 2?`:
```sql
                SELECT AVG("pick") FROM "draft_picks" WHERE "player"='willie white' AND "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the total height of the peak with a prominence of 12,867 ft and a prominence in m greater than 3,922?`

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

CREATE TABLE "geography" (
  "name_of_peak" text,
  "height_m" real,
  "height_ft" real,
  "prominence_m" real,
  "prominence_ft" real,
  "nearest_higher_neighbor" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total height of the peak with a prominence of 12,867 ft and a prominence in m greater than 3,922?`:
```sql
                SELECT COUNT("height_m") FROM "geography" WHERE "prominence_ft"='12,867' AND "prominence_m">'3,922';
```
## Task
Generate a SQL query to answer the following question:
`What is the total prominence in ft of the peak of kangchenjunga central, which has a prominence in m less than 32?`

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

CREATE TABLE "geography" (
  "name_of_peak" text,
  "height_m" real,
  "height_ft" real,
  "prominence_m" real,
  "prominence_ft" real,
  "nearest_higher_neighbor" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total prominence in ft of the peak of kangchenjunga central, which has a prominence in m less than 32?`:
```sql
                SELECT COUNT("prominence_ft") FROM "geography" WHERE "name_of_peak"='kangchenjunga central' AND "prominence_m"<32;
```
## Task
Generate a SQL query to answer the following question:
`What is the total prominence in m of kangchenjunga west (yalung kang) peak, which has a height in m greater than 7,903 and a height in ft less than 27,904?`

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

CREATE TABLE "geography" (
  "name_of_peak" text,
  "height_m" real,
  "height_ft" real,
  "prominence_m" real,
  "prominence_ft" real,
  "nearest_higher_neighbor" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total prominence in m of kangchenjunga west (yalung kang) peak, which has a height in m greater than 7,903 and a height in ft less than 27,904?`:
```sql
                SELECT COUNT("prominence_m") FROM "geography" WHERE "height_m">'7,903' AND "name_of_peak"='kangchenjunga west (yalung kang)' AND "height_ft"<'27,904';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest prominence in ft of the peak with a prominence in m less than 103?`

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

CREATE TABLE "geography" (
  "name_of_peak" text,
  "height_m" real,
  "height_ft" real,
  "prominence_m" real,
  "prominence_ft" real,
  "nearest_higher_neighbor" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest prominence in ft of the peak with a prominence in m less than 103?`:
```sql
                SELECT MAX("prominence_ft") FROM "geography" WHERE "prominence_m"<103;
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the attendance was 78,793?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when the attendance was 78,793?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance"='78,793';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance when the result was a bye?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance when the result was a bye?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "result"='bye';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance total for week 10?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance total for week 10?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=10;
```
## Task
Generate a SQL query to answer the following question:
`What's the game date for week 7?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the game date for week 7?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE ROUND WITH PICK OF 7?`

### 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 ROUND WITH PICK OF 7?`:
```sql
                SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "pick"=7;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181?`

### 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 PICK WITH K POSITION AND OVERALL SMALLER THAN 181?`:
```sql
                SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "position"='k' AND "overall"<181;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?`

### 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 ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?`:
```sql
                SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "college"='michigan' AND "overall">37;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE LOWEST ROUND FOR CB POSITION?`

### 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 LOWEST ROUND FOR CB POSITION?`:
```sql
                SELECT MIN("round") FROM "washington_redskins_draft_history" WHERE "position"='cb';
```
## Task
Generate a SQL query to answer the following question:
`Who's the Writer with an Original Airdate of september 4, 2005 (hbo)?`

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

CREATE TABLE "season_1_2005" (
  "episode" real,
  "title" text,
  "writer" text,
  "director" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who's the Writer with an Original Airdate of september 4, 2005 (hbo)?`:
```sql
                SELECT "writer" FROM "season_1_2005" WHERE "original_airdate"='september 4, 2005 (hbo)';
```
## Task
Generate a SQL query to answer the following question:
`Which Director has an Episode of 13?`

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

CREATE TABLE "season_1_2005" (
  "episode" real,
  "title" text,
  "writer" text,
  "director" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Director has an Episode of 13?`:
```sql
                SELECT "director" FROM "season_1_2005" WHERE "episode"=13;
```
## Task
Generate a SQL query to answer the following question:
`Which Original Airdate has an Episode of 1?`

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

CREATE TABLE "season_1_2005" (
  "episode" real,
  "title" text,
  "writer" text,
  "director" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Original Airdate has an Episode of 1?`:
```sql
                SELECT "original_airdate" FROM "season_1_2005" WHERE "episode"=1;
```
## Task
Generate a SQL query to answer the following question:
`On what date was the venue A with a result of 3–0?`

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

CREATE TABLE "scottish_premier_division" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the venue A with a result of 3–0?`:
```sql
                SELECT "date" FROM "scottish_premier_division" WHERE "venue"='a' AND "result"='3–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the most noteworthy Bike No that has a Position bigger than 1, and a Points bigger than 369, and an Equipment of zabel-wsp?`

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

CREATE TABLE "the_2012_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 is the most noteworthy Bike No that has a Position bigger than 1, and a Points bigger than 369, and an Equipment of zabel-wsp?`:
```sql
                SELECT MAX("bike_no") FROM "the_2012_season" WHERE "position">1 AND "points">369 AND "equipment"='zabel-wsp';
```
## Task
Generate a SQL query to answer the following question:
`What is the aggregate number of Position that has a Bike No of 4?`

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

CREATE TABLE "the_2012_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 is the aggregate number of Position that has a Bike No of 4?`:
```sql
                SELECT COUNT("position") FROM "the_2012_season" WHERE "bike_no"=4;
```
## Task
Generate a SQL query to answer the following question:
`When was the result l 14–24?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was the result l 14–24?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='l 14–24';
```
## Task
Generate a SQL query to answer the following question:
`What was the first week when there was an attendance over 75,007 at Mile High Stadium?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the first week when there was an attendance over 75,007 at Mile High Stadium?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "game_site"='mile high stadium' AND "attendance">'75,007';
```
## Task
Generate a SQL query to answer the following question:
`Away team Swindon Town had a Tie no listing of Replay with what as an Attendance?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Away team Swindon Town had a Tie no listing of Replay with what as an Attendance?`:
```sql
                SELECT "attendance" FROM "fifth_round_proper" WHERE "tie_no"='replay' AND "away_team"='swindon town';
```
## Task
Generate a SQL query to answer the following question:
`Liverpool as a home team as listed what in the Tie no column?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Liverpool as a home team as listed what in the Tie no column?`:
```sql
                SELECT "tie_no" FROM "fifth_round_proper" WHERE "home_team"='liverpool';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for the away team of Grimsby Town?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for the away team of Grimsby Town?`:
```sql
                SELECT "score" FROM "fifth_round_proper" WHERE "away_team"='grimsby town';
```
## Task
Generate a SQL query to answer the following question:
`Which Pick has a Round larger than 1, a School/Club Team of alcorn state, and a Position of defensive back?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pick has a Round larger than 1, a School/Club Team of alcorn state, and a Position of defensive back?`:
```sql
                SELECT SUM("pick") FROM "nfl_draft" WHERE "round">1 AND "school_club_team"='alcorn state' AND "position"='defensive back';
```
## Task
Generate a SQL query to answer the following question:
`Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2?`:
```sql
                SELECT COUNT("pick") FROM "nfl_draft" WHERE "position"='offensive guard' AND "player"='reggie mckenzie' AND "round">2;
```
## Task
Generate a SQL query to answer the following question:
`Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie?`:
```sql
                SELECT "school_club_team" FROM "nfl_draft" WHERE "round"<5 AND "pick">1 AND "player"='reggie mckenzie';
```
## Task
Generate a SQL query to answer the following question:
`Which Player has a Round smaller than 2?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player has a Round smaller than 2?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`What was the record on march 26?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record on march 26?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='march 26';
```
## Task
Generate a SQL query to answer the following question:
`Who visited on march 26?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who visited on march 26?`:
```sql
                SELECT "visitor" FROM "game_log" WHERE "date"='march 26';
```
## Task
Generate a SQL query to answer the following question:
`What were the lowest points on march 2?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the lowest points on march 2?`:
```sql
                SELECT MIN("points") FROM "game_log" WHERE "date"='march 2';
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Record of 21–36–9, and an Attendance larger than 14,768?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Record of 21–36–9, and an Attendance larger than 14,768?`:
```sql
                SELECT SUM("points") FROM "game_log" WHERE "record"='21–36–9' AND "attendance">'14,768';
```
## Task
Generate a SQL query to answer the following question:
`which Name has a Loss larger than 2, and a Avg/G larger than -16, and a GP-GS of 11–7, and a Gain larger than 86?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gp_gs" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `which Name has a Loss larger than 2, and a Avg/G larger than -16, and a GP-GS of 11–7, and a Gain larger than 86?`:
```sql
                SELECT "name" FROM "rushing" WHERE "loss">2 AND "avg_g">-16 AND "gp_gs"='11–7' AND "gain">86;
```
## Task
Generate a SQL query to answer the following question:
`Name the highest Long that has an Avg/G smaller than 8.4, and an GP-GS of 4–0?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gp_gs" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the highest Long that has an Avg/G smaller than 8.4, and an GP-GS of 4–0?`:
```sql
                SELECT MAX("long") FROM "rushing" WHERE "avg_g"<8.4 AND "gp_gs"='4–0';
```
## Task
Generate a SQL query to answer the following question:
`Name the lowest Gain which has a Long of 0, and a GP-GS of 4–0, and a Loss smaller than 3?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gp_gs" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the lowest Gain which has a Long of 0, and a GP-GS of 4–0, and a Loss smaller than 3?`:
```sql
                SELECT MIN("gain") FROM "rushing" WHERE "long"=0 AND "gp_gs"='4–0' AND "loss"<3;
```
## Task
Generate a SQL query to answer the following question:
`Name the total of Loss which has an Avg/G of 8.4?`

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

CREATE TABLE "rushing" (
  "name" text,
  "gp_gs" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total of Loss which has an Avg/G of 8.4?`:
```sql
                SELECT COUNT("loss") FROM "rushing" WHERE "avg_g"=8.4;
```
## Task
Generate a SQL query to answer the following question:
`Which Team has Points of 15?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team has Points of 15?`:
```sql
                SELECT "team" FROM "classification" WHERE "points"='15';
```
## Task
Generate a SQL query to answer the following question:
`Which Laps has a Points of lead changes: 13 between 8 drivers?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Laps has a Points of lead changes: 13 between 8 drivers?`:
```sql
                SELECT "laps" FROM "classification" WHERE "points"='lead changes: 13 between 8 drivers';
```
## Task
Generate a SQL query to answer the following question:
`Which Driver has a Grid of 1?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Driver has a Grid of 1?`:
```sql
                SELECT "driver" FROM "classification" WHERE "grid"='1';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE HIGHEST WINS WITH A SERIES OF BRITISH FORMULA THREE, SEASON 2005, POLES SMALLER THAN 0?`

### 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 HIGHEST WINS WITH A SERIES OF BRITISH FORMULA THREE, SEASON 2005, POLES SMALLER THAN 0?`:
```sql
                SELECT MAX("wins") FROM "career_summary" WHERE "series"='british formula three' AND "season"='2005' AND "poles"<0;
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SUM OF RACES WITH 9 POINTS?`

### 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 SUM OF RACES WITH 9 POINTS?`:
```sql
                SELECT SUM("races") FROM "career_summary" WHERE "points"='9';
```