cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What Report is on June 3, 2000?`

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

CREATE TABLE "2000_in_paraguayan_football" (
  "date" text,
  "venue" text,
  "score" text,
  "comp" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Report is on June 3, 2000?`:
```sql
                SELECT "report" FROM "2000_in_paraguayan_football" WHERE "date"='june 3, 2000';
```
## Task
Generate a SQL query to answer the following question:
`What is the Report on November 15, 2000?`

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

CREATE TABLE "2000_in_paraguayan_football" (
  "date" text,
  "venue" text,
  "score" text,
  "comp" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Report on November 15, 2000?`:
```sql
                SELECT "report" FROM "2000_in_paraguayan_football" WHERE "date"='november 15, 2000';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score on October 7, 2000?`

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

CREATE TABLE "2000_in_paraguayan_football" (
  "date" text,
  "venue" text,
  "score" text,
  "comp" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score on October 7, 2000?`:
```sql
                SELECT "score" FROM "2000_in_paraguayan_football" WHERE "date"='october 7, 2000';
```
## Task
Generate a SQL query to answer the following question:
`What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk?`

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

CREATE TABLE "records" (
  "world_record" text,
  "snatch" text,
  "yang_lian_chn" text,
  "98kg" text,
  "santo_domingo_dominican" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk?`:
```sql
                SELECT "santo_domingo_dominican" FROM "records" WHERE "world_record"='clean & jerk';
```
## Task
Generate a SQL query to answer the following question:
`What is the 98kg for Santo Domingo, Domincan on 1 October 2006?`

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

CREATE TABLE "records" (
  "world_record" text,
  "snatch" text,
  "yang_lian_chn" text,
  "98kg" text,
  "santo_domingo_dominican" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 98kg for Santo Domingo, Domincan on 1 October 2006?`:
```sql
                SELECT "98kg" FROM "records" WHERE "santo_domingo_dominican"='1 october 2006';
```
## Task
Generate a SQL query to answer the following question:
`What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?`

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

CREATE TABLE "demographics" (
  "municipality" text,
  "fips_code" real,
  "founded" real,
  "population_2010" real,
  "area" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?`:
```sql
                SELECT AVG("fips_code") FROM "demographics" WHERE "area"='114.76 sq mi (297.23 sq km)' AND "population_2010"<'166,327';
```
## Task
Generate a SQL query to answer the following question:
`What is the FIPS code for the municipality that has an area of 58.60 sq mi (151.77 sq km) and had a 2010 population smaller than 166,327?`

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

CREATE TABLE "demographics" (
  "municipality" text,
  "fips_code" real,
  "founded" real,
  "population_2010" real,
  "area" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FIPS code for the municipality that has an area of 58.60 sq mi (151.77 sq km) and had a 2010 population smaller than 166,327?`:
```sql
                SELECT COUNT("fips_code") FROM "demographics" WHERE "population_2010"<'166,327' AND "area"='58.60 sq mi (151.77 sq km)';
```
## Task
Generate a SQL query to answer the following question:
`In what year was Yauco, which had over 42,043 people in 2010, founded?`

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

CREATE TABLE "demographics" (
  "municipality" text,
  "fips_code" real,
  "founded" real,
  "population_2010" real,
  "area" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was Yauco, which had over 42,043 people in 2010, founded?`:
```sql
                SELECT AVG("founded") FROM "demographics" WHERE "municipality"='yauco' AND "population_2010">'42,043';
```
## Task
Generate a SQL query to answer the following question:
`Which Result has an Attendance larger than 38,354, and a Date of october 23, 1988?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Result has an Attendance larger than 38,354, and a Date of october 23, 1988?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance">'38,354' AND "date"='october 23, 1988';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance for a week smaller than 9 with a result of L 38-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 is the attendance for a week smaller than 9 with a result of L 38-20?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "result"='l 38-20' AND "week"<9;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "county" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?`:
```sql
                SELECT "school" FROM "membership" WHERE "ihsaa_class"='a' AND "enrollment_08_09"=244;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the County that has the Location of shelbyville?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment_08_09" real,
  "ihsaa_class" text,
  "county" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the County that has the Location of shelbyville?`:
```sql
                SELECT "county" FROM "membership" WHERE "location"='shelbyville';
```
## Task
Generate a SQL query to answer the following question:
`How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917?`

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

CREATE TABLE "summary_of_raiding_history" (
  "date" text,
  "ship_name" text,
  "flag" text,
  "tonnage_grt" real,
  "fate" text,
  "deaths" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917?`:
```sql
                SELECT COUNT("deaths") FROM "summary_of_raiding_history" WHERE "fate"='damaged' AND "tonnage_grt"<'4,917';
```
## Task
Generate a SQL query to answer the following question:
`Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940?`

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

CREATE TABLE "summary_of_raiding_history" (
  "date" text,
  "ship_name" text,
  "flag" text,
  "tonnage_grt" real,
  "fate" text,
  "deaths" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940?`:
```sql
                SELECT "tonnage_grt" FROM "summary_of_raiding_history" WHERE "fate"='sunk' AND "deaths"<17 AND "date"='16 november 1940';
```
## Task
Generate a SQL query to answer the following question:
`How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2?`

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

CREATE TABLE "summary_of_raiding_history" (
  "date" text,
  "ship_name" text,
  "flag" text,
  "tonnage_grt" real,
  "fate" text,
  "deaths" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2?`:
```sql
                SELECT SUM("tonnage_grt") FROM "summary_of_raiding_history" WHERE "fate"='sunk' AND "flag"='great britain' AND "date"='26 september 1940' AND "deaths"=2;
```
## Task
Generate a SQL query to answer the following question:
`Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian?`

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

CREATE TABLE "summary_of_raiding_history" (
  "date" text,
  "ship_name" text,
  "flag" text,
  "tonnage_grt" real,
  "fate" text,
  "deaths" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian?`:
```sql
                SELECT MIN("tonnage_grt") FROM "summary_of_raiding_history" WHERE "date"='26 september 1940' AND "ship_name"='ashantian';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest lane for Brazil, ranked less than 8?`

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

CREATE TABLE "semifinal_2" (
  "rank" real,
  "lane" real,
  "athlete" text,
  "country" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest lane for Brazil, ranked less than 8?`:
```sql
                SELECT MAX("lane") FROM "semifinal_2" WHERE "country"='brazil' AND "rank"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is the total population with less than 789 males?`

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

CREATE TABLE "population_of_hiroo_district_july_2008" (
  "district" text,
  "number_of_households" real,
  "total_population" real,
  "male" real,
  "female" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total population with less than 789 males?`:
```sql
                SELECT COUNT("total_population") FROM "population_of_hiroo_district_july_2008" WHERE "male"<789;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?`

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

CREATE TABLE "population_of_hiroo_district_july_2008" (
  "district" text,
  "number_of_households" real,
  "total_population" real,
  "male" real,
  "female" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?`:
```sql
                SELECT MIN("female") FROM "population_of_hiroo_district_july_2008" WHERE "district"='hiroo 1-chōme' AND "number_of_households">'1,666';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of males where there are 1,202 females and more than 1,127 households?`

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

CREATE TABLE "population_of_hiroo_district_july_2008" (
  "district" text,
  "number_of_households" real,
  "total_population" real,
  "male" real,
  "female" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of males where there are 1,202 females and more than 1,127 households?`:
```sql
                SELECT MAX("male") FROM "population_of_hiroo_district_july_2008" WHERE "female"='1,202' AND "number_of_households">'1,127';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of females where the total population is less than 2,195?`

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

CREATE TABLE "population_of_hiroo_district_july_2008" (
  "district" text,
  "number_of_households" real,
  "total_population" real,
  "male" real,
  "female" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of females where the total population is less than 2,195?`:
```sql
                SELECT COUNT("female") FROM "population_of_hiroo_district_july_2008" WHERE "total_population"<'2,195';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome when the partner was Iryna Bremond?`

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

CREATE TABLE "doubles_6_3_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome when the partner was Iryna Bremond?`:
```sql
                SELECT "outcome" FROM "doubles_6_3_3" WHERE "partner"='iryna bremond';
```
## Task
Generate a SQL query to answer the following question:
`What tournament had a Score of 6–3, 2–6, [10–8]?`

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

CREATE TABLE "doubles_6_3_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament had a Score of 6–3, 2–6, [10–8]?`:
```sql
                SELECT "tournament" FROM "doubles_6_3_3" WHERE "score"='6–3, 2–6, [10–8]';
```
## Task
Generate a SQL query to answer the following question:
`Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6?`

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

CREATE TABLE "doubles_6_3_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6?`:
```sql
                SELECT "partner" FROM "doubles_6_3_3" WHERE "surface"='clay' AND "outcome"='runner-up' AND "score"='4–6, 1–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of Manuel Cortina Martínez?`

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

CREATE TABLE "heat_4" (
  "rank" real,
  "athletes" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of Manuel Cortina Martínez?`:
```sql
                SELECT "rank" FROM "heat_4" WHERE "athletes"='manuel cortina martínez';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank if the person with a time of 1:40.626?`

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

CREATE TABLE "heat_4" (
  "rank" real,
  "athletes" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank if the person with a time of 1:40.626?`:
```sql
                SELECT SUM("rank") FROM "heat_4" WHERE "time"='1:40.626';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of the person with a time of 1:44.757?`

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

CREATE TABLE "heat_4" (
  "rank" real,
  "athletes" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of the person with a time of 1:44.757?`:
```sql
                SELECT MAX("rank") FROM "heat_4" WHERE "time"='1:44.757';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank of Israel?`

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

CREATE TABLE "heat_4" (
  "rank" real,
  "athletes" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank of Israel?`:
```sql
                SELECT MAX("rank") FROM "heat_4" WHERE "country"='israel';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the athlete from Myanmar?`

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

CREATE TABLE "heat_4" (
  "rank" real,
  "athletes" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the athlete from Myanmar?`:
```sql
                SELECT "athletes" FROM "heat_4" WHERE "country"='myanmar';
```
## Task
Generate a SQL query to answer the following question:
`What are the notes for the person ranked larger than 2, and a time of 1:48.179?`

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

CREATE TABLE "heat_4" (
  "rank" real,
  "athletes" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the notes for the person ranked larger than 2, and a time of 1:48.179?`:
```sql
                SELECT "notes" FROM "heat_4" WHERE "rank">2 AND "time"='1:48.179';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire?`

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

CREATE TABLE "summary_of_results_2005" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire?`:
```sql
                SELECT MIN("chorley") FROM "summary_of_results_2005" WHERE "preston"=6 AND "west_lancashire"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the average rating for a Flyde that has a Burnley less than 0?`

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

CREATE TABLE "summary_of_results_2005" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average rating for a Flyde that has a Burnley less than 0?`:
```sql
                SELECT AVG("fylde") FROM "summary_of_results_2005" WHERE "burnley"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2?`

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

CREATE TABLE "summary_of_results_2005" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2?`:
```sql
                SELECT MAX("west_lancashire") FROM "summary_of_results_2005" WHERE "pendle">1 AND "rossendale">2;
```
## Task
Generate a SQL query to answer the following question:
`What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1?`

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

CREATE TABLE "summary_of_results_2005" (
  "party" text,
  "burnley" real,
  "chorley" real,
  "fylde" real,
  "hyndburn" real,
  "lancaster" real,
  "pendle" real,
  "preston" real,
  "ribble_valley" real,
  "rossendale" real,
  "south_ribble" real,
  "west_lancashire" real,
  "wyre" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1?`:
```sql
                SELECT AVG("chorley") FROM "summary_of_results_2005" WHERE "rossendale">0 AND "party"='labour' AND "pendle"<1;
```
## Task
Generate a SQL query to answer the following question:
`In what season was Schädlich the top goalscorer?`

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

CREATE TABLE "1945_63" (
  "season" text,
  "division" text,
  "rank" text,
  "avg_att" text,
  "top_goalscorer" text,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `In what season was Schädlich the top goalscorer?`:
```sql
                SELECT "season" FROM "1945_63" WHERE "top_goalscorer"='schädlich';
```
## Task
Generate a SQL query to answer the following question:
`What is the average attendance when the rank is 5?`

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

CREATE TABLE "1945_63" (
  "season" text,
  "division" text,
  "rank" text,
  "avg_att" text,
  "top_goalscorer" text,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average attendance when the rank is 5?`:
```sql
                SELECT "avg_att" FROM "1945_63" WHERE "rank"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is the Speed for Chris Swallow?`

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

CREATE TABLE "race_2_senior_classic_race" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Speed for Chris Swallow?`:
```sql
                SELECT "speed" FROM "race_2_senior_classic_race" WHERE "rider"='chris swallow';
```
## Task
Generate a SQL query to answer the following question:
`What is the speed when the rank is larger than 2, and team is 500cc norton manx?`

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

CREATE TABLE "race_2_senior_classic_race" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the speed when the rank is larger than 2, and team is 500cc norton manx?`:
```sql
                SELECT "speed" FROM "race_2_senior_classic_race" WHERE "rank">2 AND "team"='500cc norton manx';
```
## Task
Generate a SQL query to answer the following question:
`What is the time for Alan Oversby?`

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

CREATE TABLE "race_2_senior_classic_race" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time for Alan Oversby?`:
```sql
                SELECT "time" FROM "race_2_senior_classic_race" WHERE "rider"='alan oversby';
```
## Task
Generate a SQL query to answer the following question:
`What is the Speed when the rank is smaller than 3, and time is 1:06.19.90?`

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

CREATE TABLE "race_2_senior_classic_race" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Speed when the rank is smaller than 3, and time is 1:06.19.90?`:
```sql
                SELECT "speed" FROM "race_2_senior_classic_race" WHERE "rank"<3 AND "time"='1:06.19.90';
```
## Task
Generate a SQL query to answer the following question:
`What is the team when the time is 1:11.19.89?`

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

CREATE TABLE "race_2_senior_classic_race" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team when the time is 1:11.19.89?`:
```sql
                SELECT "team" FROM "race_2_senior_classic_race" WHERE "time"='1:11.19.89';
```
## Task
Generate a SQL query to answer the following question:
`Which actor plays the character Helga Beimer?`

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

CREATE TABLE "germany" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which actor plays the character Helga Beimer?`:
```sql
                SELECT "actor" FROM "germany" WHERE "character"='helga beimer';
```
## Task
Generate a SQL query to answer the following question:
`How long did the soap opera run in which Nadine Spruß acted in?`

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

CREATE TABLE "germany" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `How long did the soap opera run in which Nadine Spruß acted in?`:
```sql
                SELECT "character" FROM "germany" WHERE "actor"='nadine spruß';
```
## Task
Generate a SQL query to answer the following question:
`How many years did the soap opera run in which the character Clemens Richter was included?`

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

CREATE TABLE "germany" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years did the soap opera run in which the character Clemens Richter was included?`:
```sql
                SELECT "duration" FROM "germany" WHERE "character"='clemens richter';
```
## Task
Generate a SQL query to answer the following question:
`What years did Marienhof run, which featured Leonore Capell and lasted 10 years?`

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

CREATE TABLE "germany" (
  "actor" text,
  "character" text,
  "soap_opera" text,
  "years" text,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did Marienhof run, which featured Leonore Capell and lasted 10 years?`:
```sql
                SELECT "years" FROM "germany" WHERE "soap_opera"='marienhof' AND "duration"='10 years' AND "actor"='leonore capell';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent in week 6?`

### 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 `Who was the opponent in week 6?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`What's the result when the Carolina Panthers were the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the result when the Carolina Panthers were the opponent?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='carolina panthers';
```
## Task
Generate a SQL query to answer the following question:
`What date had a result of W 41-0?`

### 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 date had a result of W 41-0?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='w 41-0';
```
## Task
Generate a SQL query to answer the following question:
`What's the attendance when the week was more than 16?`

### 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 attendance when the week was more than 16?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week">16;
```
## Task
Generate a SQL query to answer the following question:
`What was the year of the World Half Marathon Championships with a result of 3rd?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the year of the World Half Marathon Championships with a result of 3rd?`:
```sql
                SELECT "year" FROM "achievements" WHERE "tournament"='world half marathon championships' AND "result"='3rd';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the tournament in 2001?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the tournament in 2001?`:
```sql
                SELECT "result" FROM "achievements" WHERE "year"=2001;
```
## Task
Generate a SQL query to answer the following question:
`What is the average capacity for the vehicle having a navigator of Macneall?`

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

CREATE TABLE "modern_competition" (
  "driver" text,
  "navigator" text,
  "vehicle" text,
  "class" text,
  "capacity" real,
  "total_time" text,
  "margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average capacity for the vehicle having a navigator of Macneall?`:
```sql
                SELECT AVG("capacity") FROM "modern_competition" WHERE "navigator"='macneall';
```
## Task
Generate a SQL query to answer the following question:
`Which vehicle had a class of CM14?`

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

CREATE TABLE "modern_competition" (
  "driver" text,
  "navigator" text,
  "vehicle" text,
  "class" text,
  "capacity" real,
  "total_time" text,
  "margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which vehicle had a class of CM14?`:
```sql
                SELECT "vehicle" FROM "modern_competition" WHERE "class"='cm14';
```
## Task
Generate a SQL query to answer the following question:
`Who was the driver of the vehicle having class of CM22 and navigator of Macneall?`

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

CREATE TABLE "modern_competition" (
  "driver" text,
  "navigator" text,
  "vehicle" text,
  "class" text,
  "capacity" real,
  "total_time" text,
  "margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the driver of the vehicle having class of CM22 and navigator of Macneall?`:
```sql
                SELECT "driver" FROM "modern_competition" WHERE "class"='cm22' AND "navigator"='macneall';
```
## Task
Generate a SQL query to answer the following question:
`What is the total time of the vehicle having a navigator of Vandenberg?`

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

CREATE TABLE "modern_competition" (
  "driver" text,
  "navigator" text,
  "vehicle" text,
  "class" text,
  "capacity" real,
  "total_time" text,
  "margin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total time of the vehicle having a navigator of Vandenberg?`:
```sql
                SELECT "total_time" FROM "modern_competition" WHERE "navigator"='vandenberg';
```
## Task
Generate a SQL query to answer the following question:
`What is the bronze with more than 2 gold and less than 14 total and 4 silver?`

### 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 bronze with more than 2 gold and less than 14 total and 4 silver?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "gold">2 AND "total"<14 AND "silver"=4;
```
## Task
Generate a SQL query to answer the following question:
`How many silvers are there with a total of 11?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many silvers are there with a total of 11?`:
```sql
                SELECT SUM("silver") FROM "medal_table" WHERE "total"=11;
```
## Task
Generate a SQL query to answer the following question:
`How many silvers are there with more than 2 golds in Germany?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many silvers are there with more than 2 golds in Germany?`:
```sql
                SELECT COUNT("silver") FROM "medal_table" WHERE "gold">2 AND "nation"='germany';
```
## Task
Generate a SQL query to answer the following question:
`What is the average reaction for brigitte foster-hylton after heat 1?`

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

CREATE TABLE "semifinals" (
  "heat" real,
  "name" text,
  "nationality" text,
  "reaction" real,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average reaction for brigitte foster-hylton after heat 1?`:
```sql
                SELECT AVG("reaction") FROM "semifinals" WHERE "heat">1 AND "name"='brigitte foster-hylton';
```
## Task
Generate a SQL query to answer the following question:
`What round did the home team Pohang Steelers play?`

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

CREATE TABLE "fixtures" (
  "round" real,
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did the home team Pohang Steelers play?`:
```sql
                SELECT "round" FROM "fixtures" WHERE "home_team"='pohang steelers';
```
## Task
Generate a SQL query to answer the following question:
`What is the latest round for Pohang Steelers as the away team?`

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

CREATE TABLE "fixtures" (
  "round" real,
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" real,
  "stadium" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the latest round for Pohang Steelers as the away team?`:
```sql
                SELECT MAX("round") FROM "fixtures" WHERE "away_team"='pohang steelers';
```
## Task
Generate a SQL query to answer the following question:
`what is the album when the remix is dead guys remix and the year is after 2003?`

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

CREATE TABLE "remixes" (
  "year" real,
  "artist" text,
  "song" text,
  "album" text,
  "remix" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the album when the remix is dead guys remix and the year is after 2003?`:
```sql
                SELECT "album" FROM "remixes" WHERE "remix"='dead guys remix' AND "year">2003;
```
## Task
Generate a SQL query to answer the following question:
`what is the album with the song "party like ur 18" feat. sway?`

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

CREATE TABLE "remixes" (
  "year" real,
  "artist" text,
  "song" text,
  "album" text,
  "remix" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the album with the song "party like ur 18" feat. sway?`:
```sql
                SELECT "album" FROM "remixes" WHERE "song"='\"party like ur 18\" feat. sway';
```
## Task
Generate a SQL query to answer the following question:
`What is Joselito Escobar's Pick number?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Joselito Escobar's Pick number?`:
```sql
                SELECT SUM("pick") FROM "round_1" WHERE "player"='joselito escobar';
```
## Task
Generate a SQL query to answer the following question:
`What is the Pick 3 Player from East College?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Pick 3 Player from East College?`:
```sql
                SELECT "player" FROM "round_1" WHERE "college"='east' AND "pick"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is Ateneo de Manila's PBA Team?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ateneo de Manila's PBA Team?`:
```sql
                SELECT "pba_team" FROM "round_1" WHERE "college"='ateneo de manila';
```
## Task
Generate a SQL query to answer the following question:
`What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?`:
```sql
                SELECT "college" FROM "round_1" WHERE "pick"<3 AND "pba_team"='alaska milkmen';
```
## Task
Generate a SQL query to answer the following question:
`What is the College of the Player from San Miguel Beermen PBA Team?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the College of the Player from San Miguel Beermen PBA Team?`:
```sql
                SELECT "college" FROM "round_1" WHERE "pba_team"='san miguel beermen';
```
## Task
Generate a SQL query to answer the following question:
`who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)?`

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

CREATE TABLE "comparison_chart" (
  "project" text,
  "license" text,
  "date" text,
  "protocol" text,
  "technology" text,
  "server" text,
  "client" text,
  "web_client" text,
  "multiple_sessions" text,
  "encryption" text,
  "authentication" text,
  "data_compression" text,
  "image_quality" text,
  "color_quality" text,
  "file_transfer" text,
  "clipboard_transfer" text,
  "chat" text,
  "relay" text,
  "http_tunnel" text,
  "proxy" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)?`:
```sql
                SELECT "web_client" FROM "comparison_chart" WHERE "client"='x' AND "project"='goto servers vnc java server (gsvncj)';
```
## Task
Generate a SQL query to answer the following question:
`what is the color quality when the proxy is x, the encryption is x, the webclient is x and authentication is  ✓?`

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

CREATE TABLE "comparison_chart" (
  "project" text,
  "license" text,
  "date" text,
  "protocol" text,
  "technology" text,
  "server" text,
  "client" text,
  "web_client" text,
  "multiple_sessions" text,
  "encryption" text,
  "authentication" text,
  "data_compression" text,
  "image_quality" text,
  "color_quality" text,
  "file_transfer" text,
  "clipboard_transfer" text,
  "chat" text,
  "relay" text,
  "http_tunnel" text,
  "proxy" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the color quality when the proxy is x, the encryption is x, the webclient is x and authentication is  ✓?`:
```sql
                SELECT "color_quality" FROM "comparison_chart" WHERE "proxy"='x' AND "encryption"='x' AND "web_client"='x' AND "authentication"='✓';
```
## Task
Generate a SQL query to answer the following question:
`what is the color quality when the relay is ✓?`

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

CREATE TABLE "comparison_chart" (
  "project" text,
  "license" text,
  "date" text,
  "protocol" text,
  "technology" text,
  "server" text,
  "client" text,
  "web_client" text,
  "multiple_sessions" text,
  "encryption" text,
  "authentication" text,
  "data_compression" text,
  "image_quality" text,
  "color_quality" text,
  "file_transfer" text,
  "clipboard_transfer" text,
  "chat" text,
  "relay" text,
  "http_tunnel" text,
  "proxy" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the color quality when the relay is ✓?`:
```sql
                SELECT "color_quality" FROM "comparison_chart" WHERE "relay"='✓';
```
## Task
Generate a SQL query to answer the following question:
`what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary?`

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

CREATE TABLE "comparison_chart" (
  "project" text,
  "license" text,
  "date" text,
  "protocol" text,
  "technology" text,
  "server" text,
  "client" text,
  "web_client" text,
  "multiple_sessions" text,
  "encryption" text,
  "authentication" text,
  "data_compression" text,
  "image_quality" text,
  "color_quality" text,
  "file_transfer" text,
  "clipboard_transfer" text,
  "chat" text,
  "relay" text,
  "http_tunnel" text,
  "proxy" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary?`:
```sql
                SELECT "proxy" FROM "comparison_chart" WHERE "image_quality"='✓' AND "encryption"='ssl' AND "license"='proprietary';
```
## Task
Generate a SQL query to answer the following question:
`what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007?`

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

CREATE TABLE "comparison_chart" (
  "project" text,
  "license" text,
  "date" text,
  "protocol" text,
  "technology" text,
  "server" text,
  "client" text,
  "web_client" text,
  "multiple_sessions" text,
  "encryption" text,
  "authentication" text,
  "data_compression" text,
  "image_quality" text,
  "color_quality" text,
  "file_transfer" text,
  "clipboard_transfer" text,
  "chat" text,
  "relay" text,
  "http_tunnel" text,
  "proxy" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007?`:
```sql
                SELECT "image_quality" FROM "comparison_chart" WHERE "multiple_sessions"='x' AND "authentication"='✓' AND "date"='may 15, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860?`

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

CREATE TABLE "45_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "turbo" text,
  "cores" text,
  "l2_cache" text,
  "l3_cache" text,
  "i_o_bus" text,
  "mult" text,
  "memory" text,
  "voltage" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860?`:
```sql
                SELECT "cores" FROM "45_nm" WHERE "l3_cache"='8 mb' AND "model_number"='core i7-860';
```