cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Club of the Player with a Date of Birth of 1979-01-29?`

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

CREATE TABLE "germany" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Club of the Player with a Date of Birth of 1979-01-29?`:
```sql
                SELECT "club" FROM "germany" WHERE "date_of_birth"='1979-01-29';
```
## Task
Generate a SQL query to answer the following question:
`What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)?`

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

CREATE TABLE "germany" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)?`:
```sql
                SELECT "weight" FROM "germany" WHERE "club"='spandau 04' AND "height"='m (ft 5in)';
```
## Task
Generate a SQL query to answer the following question:
`What is Spandau 04 Player Jens Pohlmann's Pos.?`

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

CREATE TABLE "germany" (
  "name" text,
  "pos" text,
  "height" text,
  "weight" text,
  "date_of_birth" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Spandau 04 Player Jens Pohlmann's Pos.?`:
```sql
                SELECT "pos" FROM "germany" WHERE "club"='spandau 04' AND "name"='jens pohlmann';
```
## Task
Generate a SQL query to answer the following question:
`Which play is from Ireland?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which play is from Ireland?`:
```sql
                SELECT "player" FROM "first_round" WHERE "country"='ireland';
```
## Task
Generate a SQL query to answer the following question:
`Which country is Howard Clark from?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country is Howard Clark from?`:
```sql
                SELECT "country" FROM "first_round" WHERE "player"='howard clark';
```
## Task
Generate a SQL query to answer the following question:
`What is the most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and more than 15 of them being bronze?`

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

CREATE TABLE "medals_by_country" (
  "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 most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and more than 15 of them being bronze?`:
```sql
                SELECT MAX("silver") FROM "medals_by_country" WHERE "total">40 AND "gold"<25 AND "bronze">15;
```
## Task
Generate a SQL query to answer the following question:
`Of the 1978 winners, who had finish totals smaller than 292?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Of the 1978 winners, who had finish totals smaller than 292?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "total"<292 AND "year_s_won"='1978';
```
## Task
Generate a SQL query to answer the following question:
`What were the finishes by David Graham with totals lower than 292?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the finishes by David Graham with totals lower than 292?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "total"=292 AND "player"='david graham';
```
## Task
Generate a SQL query to answer the following question:
`What is Australia´s finish?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Australia´s finish?`:
```sql
                SELECT "finish" FROM "made_the_cut" WHERE "country"='australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the church that is located in florø?`

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

CREATE TABLE "churches_in_flora" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" text,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the church that is located in florø?`:
```sql
                SELECT "church_name" FROM "churches_in_flora" WHERE "location_of_the_church"='florø';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the church that is located in eikefjord?`

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

CREATE TABLE "churches_in_flora" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" text,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the church that is located in eikefjord?`:
```sql
                SELECT "church_name" FROM "churches_in_flora" WHERE "location_of_the_church"='eikefjord';
```
## Task
Generate a SQL query to answer the following question:
`In which Parish (Prestegjeld) is the church called Stavang Kyrkje?`

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

CREATE TABLE "churches_in_flora" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" text,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which Parish (Prestegjeld) is the church called Stavang Kyrkje?`:
```sql
                SELECT "parish_prestegjeld" FROM "churches_in_flora" WHERE "church_name"='stavang kyrkje';
```
## Task
Generate a SQL query to answer the following question:
`What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?`

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

CREATE TABLE "churches_in_flora" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" text,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?`:
```sql
                SELECT "sub_parish_sokn" FROM "churches_in_flora" WHERE "year_built"='1957' AND "location_of_the_church"='stavang';
```
## Task
Generate a SQL query to answer the following question:
`In what year was the church located in florø built?`

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

CREATE TABLE "churches_in_flora" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" text,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what year was the church located in florø built?`:
```sql
                SELECT "year_built" FROM "churches_in_flora" WHERE "location_of_the_church"='florø';
```
## Task
Generate a SQL query to answer the following question:
`Which Parish (Prestegjeld) was built in 1907?`

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

CREATE TABLE "churches_in_flora" (
  "parish_prestegjeld" text,
  "sub_parish_sokn" text,
  "church_name" text,
  "year_built" text,
  "location_of_the_church" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Parish (Prestegjeld) was built in 1907?`:
```sql
                SELECT "parish_prestegjeld" FROM "churches_in_flora" WHERE "year_built"='1907';
```
## Task
Generate a SQL query to answer the following question:
`What's the height in feet of Mount Queen Bess with a height in metres less than 3298 and a prominence in feet of more than 7,126?`

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

CREATE TABLE "high_prominence_peaks" (
  "mountain_peak" text,
  "height_metres" real,
  "prominence_metres" real,
  "height_feet" real,
  "prominence_feet" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the height in feet of Mount Queen Bess with a height in metres less than 3298 and a prominence in feet of more than 7,126?`:
```sql
                SELECT MAX("height_feet") FROM "high_prominence_peaks" WHERE "prominence_feet">'7,126' AND "mountain_peak"='mount queen bess' AND "height_metres"<3298;
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of prominence in metres when the prominence is 7,356 ft and less than 2692 metres in height?`

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

CREATE TABLE "high_prominence_peaks" (
  "mountain_peak" text,
  "height_metres" real,
  "prominence_metres" real,
  "height_feet" real,
  "prominence_feet" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of prominence in metres when the prominence is 7,356 ft and less than 2692 metres in height?`:
```sql
                SELECT COUNT("prominence_metres") FROM "high_prominence_peaks" WHERE "prominence_feet"='7,356' AND "height_metres"<2692;
```
## Task
Generate a SQL query to answer the following question:
`What's the total number of prominence in metres of Otter Mountain with a height of less than 2692 metres and taller than 11,663 ft?`

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

CREATE TABLE "high_prominence_peaks" (
  "mountain_peak" text,
  "height_metres" real,
  "prominence_metres" real,
  "height_feet" real,
  "prominence_feet" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total number of prominence in metres of Otter Mountain with a height of less than 2692 metres and taller than 11,663 ft?`:
```sql
                SELECT COUNT("prominence_metres") FROM "high_prominence_peaks" WHERE "height_feet">'11,663' AND "mountain_peak"='otter mountain' AND "height_metres"<2692;
```
## Task
Generate a SQL query to answer the following question:
`What's the average year that sara orlesky and farhan lalji are the sideline reporters?`

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

CREATE TABLE "2000s" (
  "year" real,
  "network" text,
  "play_by_play" text,
  "colour_commentator_s" text,
  "sideline_reporters" text,
  "pregame_host" text,
  "pregame_analysts" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average year that sara orlesky and farhan lalji are the sideline reporters?`:
```sql
                SELECT AVG("year") FROM "2000s" WHERE "sideline_reporters"='sara orlesky and farhan lalji';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on september 29?`

### 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 attendance on september 29?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "date"='september 29';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on september 8?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance on september 8?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "date"='september 8';
```
## Task
Generate a SQL query to answer the following question:
`Which Week has a Result of l 10–30, and an Attendance larger than 57,312?`

### 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 `Which Week has a Result of l 10–30, and an Attendance larger than 57,312?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "result"='l 10–30' AND "attendance">'57,312';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Tie no is "3"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Tie no is "3"?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "tie_no"='3';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Away Team is "Brentford"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Away Team is "Brentford"?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='brentford';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Home Team is "Everton"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Home Team is "Everton"?`:
```sql
                SELECT "date" FROM "sixth_round_proper" WHERE "home_team"='everton';
```
## Task
Generate a SQL query to answer the following question:
`What is Away Team, when Home Team is "West Ham United"?`

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

CREATE TABLE "sixth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Away Team, when Home Team is "West Ham United"?`:
```sql
                SELECT "away_team" FROM "sixth_round_proper" WHERE "home_team"='west ham united';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Balls is "148"?`

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

CREATE TABLE "list_of_centuries" (
  "name" text,
  "score" text,
  "balls" real,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Balls is "148"?`:
```sql
                SELECT "venue" FROM "list_of_centuries" WHERE "balls"=148;
```
## Task
Generate a SQL query to answer the following question:
`What is Name, when Score is "101"?`

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

CREATE TABLE "list_of_centuries" (
  "name" text,
  "score" text,
  "balls" real,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Name, when Score is "101"?`:
```sql
                SELECT "name" FROM "list_of_centuries" WHERE "score"='101';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?`

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

CREATE TABLE "list_of_centuries" (
  "name" text,
  "score" text,
  "balls" real,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?`:
```sql
                SELECT "date" FROM "list_of_centuries" WHERE "venue"='taunton' AND "name"='sc ganguly';
```
## Task
Generate a SQL query to answer the following question:
`What is Balls, when Venue is "Bristol", and when Score is "104*"?`

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

CREATE TABLE "list_of_centuries" (
  "name" text,
  "score" text,
  "balls" real,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Balls, when Venue is "Bristol", and when Score is "104*"?`:
```sql
                SELECT "balls" FROM "list_of_centuries" WHERE "venue"='bristol' AND "score"='104*';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of silver when bronze is less than 0?`

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

CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of silver when bronze is less than 0?`:
```sql
                SELECT COUNT("silver") FROM "performances_by_nation" WHERE "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the gold when silver is less than 1, rank is 12, and total is less than 3?`

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

CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gold when silver is less than 1, rank is 12, and total is less than 3?`:
```sql
                SELECT MAX("gold") FROM "performances_by_nation" WHERE "silver"<1 AND "rank"=12 AND "total"<3;
```
## Task
Generate a SQL query to answer the following question:
`What shows for gold when the rank is less than 3, and silver less than 1?`

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

CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for gold when the rank is less than 3, and silver less than 1?`:
```sql
                SELECT SUM("gold") FROM "performances_by_nation" WHERE "rank"<3 AND "silver"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the total when gold is 1, and rank is more than 4, and bronze is 0?`

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

CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total when gold is 1, and rank is more than 4, and bronze is 0?`:
```sql
                SELECT COUNT("total") FROM "performances_by_nation" WHERE "gold"=1 AND "rank">4 AND "bronze"=0;
```
## Task
Generate a SQL query to answer the following question:
`What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?`

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

CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?`:
```sql
                SELECT SUM("bronze") FROM "performances_by_nation" WHERE "silver"=1 AND "rank"<4 AND "gold">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?`

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

CREATE TABLE "performances_by_nation" (
  "rank" real,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?`:
```sql
                SELECT SUM("gold") FROM "performances_by_nation" WHERE "silver"=1 AND "rank">3 AND "total"<2 AND "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`What player is from France?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player is from France?`:
```sql
                SELECT "player" FROM "second_round" WHERE "country"='france';
```
## Task
Generate a SQL query to answer the following question:
`What place is S.K. Ho in?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place is S.K. Ho in?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='s.k. ho';
```
## Task
Generate a SQL query to answer the following question:
`What player is from Scotland and has a score of 74-70=144?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player is from Scotland and has a score of 74-70=144?`:
```sql
                SELECT "player" FROM "second_round" WHERE "score"='74-70=144' AND "country"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`Which player is from South Africa?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is from South Africa?`:
```sql
                SELECT "player" FROM "second_round" WHERE "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`What country is the player with a score of 72-72=144 from?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is the player with a score of 72-72=144 from?`:
```sql
                SELECT "country" FROM "second_round" WHERE "score"='72-72=144';
```
## Task
Generate a SQL query to answer the following question:
`Which Geelong DFL has 8 losses and more than 4 wins?`

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

CREATE TABLE "2010_ladder" (
  "geelong_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Geelong DFL has 8 losses and more than 4 wins?`:
```sql
                SELECT "geelong_dfl" FROM "2010_ladder" WHERE "wins">4 AND "losses"=8;
```
## Task
Generate a SQL query to answer the following question:
`What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?`

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

CREATE TABLE "academic_performance" (
  "year" real,
  "number_of_examinees" real,
  "number_of_passed_students" real,
  "pass_percentage" text,
  "obtained_gpa_5" real
);
### SQL
Given the database schema, here is the SQL query that answers `What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?`:
```sql
                SELECT COUNT("number_of_examinees") FROM "academic_performance" WHERE "year">2005 AND "pass_percentage"='78.35%' AND "number_of_passed_students"<297;
```
## Task
Generate a SQL query to answer the following question:
`Which venue was founded after 1967 and had the league North American Soccer League?`

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

CREATE TABLE "sports" (
  "club" text,
  "sport" text,
  "founded" real,
  "league" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue was founded after 1967 and had the league North American Soccer League?`:
```sql
                SELECT "venue" FROM "sports" WHERE "founded">1967 AND "league"='north american soccer league';
```
## Task
Generate a SQL query to answer the following question:
`Which venue was fouded before 2000 for basketball?`

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

CREATE TABLE "sports" (
  "club" text,
  "sport" text,
  "founded" real,
  "league" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue was fouded before 2000 for basketball?`:
```sql
                SELECT "venue" FROM "sports" WHERE "founded"<2000 AND "sport"='basketball';
```
## Task
Generate a SQL query to answer the following question:
`Which club had football at Mitchel Athletic Field?`

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

CREATE TABLE "sports" (
  "club" text,
  "sport" text,
  "founded" real,
  "league" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which club had football at Mitchel Athletic Field?`:
```sql
                SELECT "club" FROM "sports" WHERE "sport"='football' AND "venue"='mitchel athletic field';
```
## Task
Generate a SQL query to answer the following question:
`Which club was founded in 1962?`

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

CREATE TABLE "sports" (
  "club" text,
  "sport" text,
  "founded" real,
  "league" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which club was founded in 1962?`:
```sql
                SELECT "club" FROM "sports" WHERE "founded"=1962;
```
## Task
Generate a SQL query to answer the following question:
`What is the total sum of the player from the United States who won in 1986?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total sum of the player from the United States who won in 1986?`:
```sql
                SELECT SUM("total") FROM "made_the_cut" WHERE "country"='united states' AND "year_s_won"='1986';
```
## Task
Generate a SQL query to answer the following question:
`What year did the player with a total less than 300 and a to par of 9 have a win?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the player with a total less than 300 and a to par of 9 have a win?`:
```sql
                SELECT "year_s_won" FROM "made_the_cut" WHERE "total"<300 AND "to_par"=9;
```
## Task
Generate a SQL query to answer the following question:
`What is total number of the to par of player john mahaffey, who has a total less than 298?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is total number of the to par of player john mahaffey, who has a total less than 298?`:
```sql
                SELECT COUNT("to_par") FROM "made_the_cut" WHERE "player"='john mahaffey' AND "total"<298;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the total of the player who won in 1979?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the total of the player who won in 1979?`:
```sql
                SELECT SUM("total") FROM "made_the_cut" WHERE "year_s_won"='1979';
```
## Task
Generate a SQL query to answer the following question:
`What is the country of the player who has a total larger than 300?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the country of the player who has a total larger than 300?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "total">300;
```
## Task
Generate a SQL query to answer the following question:
`What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?`

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

CREATE TABLE "season_by_season_performance" (
  "season" text,
  "division" text,
  "tier" real,
  "points" real,
  "fa_cup" text,
  "fa_trophy" text,
  "shropshire_senior_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?`:
```sql
                SELECT "shropshire_senior_cup" FROM "season_by_season_performance" WHERE "points">78 AND "fa_cup"='pre';
```
## Task
Generate a SQL query to answer the following question:
`What season had 78 points?`

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

CREATE TABLE "season_by_season_performance" (
  "season" text,
  "division" text,
  "tier" real,
  "points" real,
  "fa_cup" text,
  "fa_trophy" text,
  "shropshire_senior_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What season had 78 points?`:
```sql
                SELECT "season" FROM "season_by_season_performance" WHERE "points"=78;
```
## Task
Generate a SQL query to answer the following question:
`For the match against Arema Malang that ended in a draw, what was the final score?`

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

CREATE TABLE "asian_champions_league_appearances" (
  "date" text,
  "venue" text,
  "opponent" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the match against Arema Malang that ended in a draw, what was the final score?`:
```sql
                SELECT "score" FROM "asian_champions_league_appearances" WHERE "result"='draw' AND "opponent"='arema malang';
```
## Task
Generate a SQL query to answer the following question:
`What was the final score for the match held on April 11, 2007?`

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

CREATE TABLE "asian_champions_league_appearances" (
  "date" text,
  "venue" text,
  "opponent" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the final score for the match held on April 11, 2007?`:
```sql
                SELECT "score" FROM "asian_champions_league_appearances" WHERE "date"='april 11, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What was the location for the match held on April 11, 2007, which ended with a score of 0-0?`

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

CREATE TABLE "asian_champions_league_appearances" (
  "date" text,
  "venue" text,
  "opponent" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the location for the match held on April 11, 2007, which ended with a score of 0-0?`:
```sql
                SELECT "venue" FROM "asian_champions_league_appearances" WHERE "score"='0-0' AND "date"='april 11, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What was the location for the match held on March 7, 2007, which ended with a score of 0-0?`

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

CREATE TABLE "asian_champions_league_appearances" (
  "date" text,
  "venue" text,
  "opponent" text,
  "score" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the location for the match held on March 7, 2007, which ended with a score of 0-0?`:
```sql
                SELECT "venue" FROM "asian_champions_league_appearances" WHERE "score"='0-0' AND "date"='march 7, 2007';
```
## Task
Generate a SQL query to answer the following question:
`What is on at 12:30pm when Local Programs are on at 8am?`

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

CREATE TABLE "summer_1998" (
  "7_30_am" text,
  "8_00_am" text,
  "9_00_am" text,
  "11_00_am" text,
  "noon" text,
  "12_30_pm" text,
  "1_00_pm" text,
  "1_30_pm" text,
  "2_00_pm" text,
  "3_00_pm" text,
  "3_30_pm" text,
  "4_00_pm" text,
  "5_00_pm" text,
  "6_30_pm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is on at 12:30pm when Local Programs are on at 8am?`:
```sql
                SELECT "12_30_pm" FROM "summer_1998" WHERE "8_00_am"='local programs';
```
## Task
Generate a SQL query to answer the following question:
`What is on at 1:30 if Pinky and the Brain is on a 4:00pm?`

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

CREATE TABLE "summer_1998" (
  "7_30_am" text,
  "8_00_am" text,
  "9_00_am" text,
  "11_00_am" text,
  "noon" text,
  "12_30_pm" text,
  "1_00_pm" text,
  "1_30_pm" text,
  "2_00_pm" text,
  "3_00_pm" text,
  "3_30_pm" text,
  "4_00_pm" text,
  "5_00_pm" text,
  "6_30_pm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is on at 1:30 if Pinky and the Brain is on a 4:00pm?`:
```sql
                SELECT "1_30_pm" FROM "summer_1998" WHERE "4_00_pm"='pinky and the brain';
```
## Task
Generate a SQL query to answer the following question:
`What is the 12:30 program of Good Morning America is on at 8:00am?`

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

CREATE TABLE "summer_1998" (
  "7_30_am" text,
  "8_00_am" text,
  "9_00_am" text,
  "11_00_am" text,
  "noon" text,
  "12_30_pm" text,
  "1_00_pm" text,
  "1_30_pm" text,
  "2_00_pm" text,
  "3_00_pm" text,
  "3_30_pm" text,
  "4_00_pm" text,
  "5_00_pm" text,
  "6_30_pm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 12:30 program of Good Morning America is on at 8:00am?`:
```sql
                SELECT "12_30_pm" FROM "summer_1998" WHERE "8_00_am"='good morning america';
```
## Task
Generate a SQL query to answer the following question:
`What is on at 8am if The Young and the Restless is on at 12:30?`

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

CREATE TABLE "summer_1998" (
  "7_30_am" text,
  "8_00_am" text,
  "9_00_am" text,
  "11_00_am" text,
  "noon" text,
  "12_30_pm" text,
  "1_00_pm" text,
  "1_30_pm" text,
  "2_00_pm" text,
  "3_00_pm" text,
  "3_30_pm" text,
  "4_00_pm" text,
  "5_00_pm" text,
  "6_30_pm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is on at 8am if The Young and the Restless is on at 12:30?`:
```sql
                SELECT "8_00_am" FROM "summer_1998" WHERE "12_30_pm"='the young and the restless';
```
## Task
Generate a SQL query to answer the following question:
`What is on at 3:00pm if Port Charles is on at 12:30?`

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

CREATE TABLE "summer_1998" (
  "7_30_am" text,
  "8_00_am" text,
  "9_00_am" text,
  "11_00_am" text,
  "noon" text,
  "12_30_pm" text,
  "1_00_pm" text,
  "1_30_pm" text,
  "2_00_pm" text,
  "3_00_pm" text,
  "3_30_pm" text,
  "4_00_pm" text,
  "5_00_pm" text,
  "6_30_pm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is on at 3:00pm if Port Charles is on at 12:30?`:
```sql
                SELECT "3_00_pm" FROM "summer_1998" WHERE "12_30_pm"='port charles';
```
## Task
Generate a SQL query to answer the following question:
`Amritpur has what constituency number?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `Amritpur has what constituency number?`:
```sql
                SELECT "constituency_number" FROM "assembly_segments" WHERE "name"='amritpur';
```
## Task
Generate a SQL query to answer the following question:
`With the number of electorates (2009) greater than 272,902, and 192 as the constituency number, what is the reserved for (SC / ST /None)?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `With the number of electorates (2009) greater than 272,902, and 192 as the constituency number, what is the reserved for (SC / ST /None)?`:
```sql
                SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "number_of_electorates_2009">'272,902' AND "constituency_number"='192';
```
## Task
Generate a SQL query to answer the following question:
`Kaimganj has what reserved for (SC / ST /None)?`

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

CREATE TABLE "assembly_segments" (
  "constituency_number" text,
  "name" text,
  "reserved_for_sc_st_none" text,
  "district" text,
  "number_of_electorates_2009" real
);
### SQL
Given the database schema, here is the SQL query that answers `Kaimganj has what reserved for (SC / ST /None)?`:
```sql
                SELECT "reserved_for_sc_st_none" FROM "assembly_segments" WHERE "name"='kaimganj';
```
## Task
Generate a SQL query to answer the following question:
`Which country is bob tway from?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country is bob tway from?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "player"='bob tway';
```
## Task
Generate a SQL query to answer the following question:
`Which country won in 1986?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country won in 1986?`:
```sql
                SELECT "country" FROM "made_the_cut" WHERE "year_s_won"='1986';
```
## Task
Generate a SQL query to answer the following question:
`What is Fiji's lowest total?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Fiji's lowest total?`:
```sql
                SELECT MIN("total") FROM "made_the_cut" WHERE "country"='fiji';
```
## Task
Generate a SQL query to answer the following question:
`What is the date with the local name, дан државности србије, dan državnosti srbije, and what is February 15, 2012?`

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

CREATE TABLE "public_holidays" (
  "date" text,
  "name" text,
  "local_name" text,
  "2012_date" text,
  "2013_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date with the local name, дан државности србије, dan državnosti srbije, and what is February 15, 2012?`:
```sql
                SELECT "date" FROM "public_holidays" WHERE "local_name"='дан државности србије, dan državnosti srbije' AND "2012_date"='february 15';
```
## Task
Generate a SQL query to answer the following question:
`What is the local name for January 7, 2013?`

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

CREATE TABLE "public_holidays" (
  "date" text,
  "name" text,
  "local_name" text,
  "2012_date" text,
  "2013_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the local name for January 7, 2013?`:
```sql
                SELECT "local_name" FROM "public_holidays" WHERE "2013_date"='january 7';
```
## Task
Generate a SQL query to answer the following question:
`What was on January 7, 2012?`

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

CREATE TABLE "public_holidays" (
  "date" text,
  "name" text,
  "local_name" text,
  "2012_date" text,
  "2013_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was on January 7, 2012?`:
```sql
                SELECT "date" FROM "public_holidays" WHERE "2012_date"='january 7';
```
## Task
Generate a SQL query to answer the following question:
`What Country had a Player with a Score of 72-66-72=210?`

### 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 Country had a Player with a Score of 72-66-72=210?`:
```sql
                SELECT "country" FROM "third_round" WHERE "score"='72-66-72=210';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player with a To par of –6?`

### 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 of the Player with a To par of –6?`:
```sql
                SELECT "place" FROM "third_round" WHERE "to_par"='–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Place of the Player with a Score of 68-73-76=217?`

### 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 of the Player with a Score of 68-73-76=217?`:
```sql
                SELECT "place" FROM "third_round" WHERE "score"='68-73-76=217';
```
## Task
Generate a SQL query to answer the following question:
`What is Justin Leonard's To par?`

### 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 Justin Leonard's To par?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "player"='justin leonard';
```
## Task
Generate a SQL query to answer the following question:
`What is the architecture version of Model 1b?`

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

CREATE TABLE "godson_microprocessor_specifications" (
  "name_generation" text,
  "model" text,
  "frequency_m_hz" text,
  "architecture_version" text,
  "cores" text,
  "process_nm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the architecture version of Model 1b?`:
```sql
                SELECT "architecture_version" FROM "godson_microprocessor_specifications" WHERE "model"='1b';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?`

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

CREATE TABLE "godson_microprocessor_specifications" (
  "name_generation" text,
  "model" text,
  "frequency_m_hz" text,
  "architecture_version" text,
  "cores" text,
  "process_nm" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?`:
```sql
                SELECT "name_generation" FROM "godson_microprocessor_specifications" WHERE "architecture_version"='mips-iii 64-bit' AND "model"='2b';
```