cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the score for a match where Sophie Gustafson played?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "nation" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for a match where Sophie Gustafson played?`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "player"='sophie gustafson';
```
## Task
Generate a SQL query to answer the following question:
`with games more than 22 what is the rebound total?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `with games more than 22 what is the rebound total?`:
```sql
                SELECT SUM("rebounds") FROM "rebounds" WHERE "games">22;
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the b.c. open?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "winner" text,
  "score" text,
  "1st_prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the b.c. open?`:
```sql
                SELECT "location" FROM "tournament_results" WHERE "tournament"='b.c. open';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the tallahassee open, with a Score of 269 (–19)?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "winner" text,
  "score" text,
  "1st_prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the tallahassee open, with a Score of 269 (–19)?`:
```sql
                SELECT "location" FROM "tournament_results" WHERE "score"='269 (–19)' AND "tournament"='tallahassee open';
```
## Task
Generate a SQL query to answer the following question:
`What date did Lanny Wadkins (6) win?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "winner" text,
  "score" text,
  "1st_prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did Lanny Wadkins (6) win?`:
```sql
                SELECT "date" FROM "tournament_results" WHERE "winner"='lanny wadkins (6)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location for the buick-goodwrench open?`

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

CREATE TABLE "tournament_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "winner" text,
  "score" text,
  "1st_prize" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location for the buick-goodwrench open?`:
```sql
                SELECT "location" FROM "tournament_results" WHERE "tournament"='buick-goodwrench open';
```
## Task
Generate a SQL query to answer the following question:
`What is the Netflix episode that has a series episode of 6-02?`

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

CREATE TABLE "season_6_2005_2006" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Netflix episode that has a series episode of 6-02?`:
```sql
                SELECT "netflix" FROM "season_6_2005_2006" WHERE "series_ep"='6-02';
```
## Task
Generate a SQL query to answer the following question:
`Which segment A item that has a Segment D of wigs?`

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

CREATE TABLE "season_6_2005_2006" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which segment A item that has a Segment D of wigs?`:
```sql
                SELECT "segment_a" FROM "season_6_2005_2006" WHERE "segment_d"='wigs';
```
## Task
Generate a SQL query to answer the following question:
`Which series episode has a Netflix episode of S03E16?`

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

CREATE TABLE "season_6_2005_2006" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which series episode has a Netflix episode of S03E16?`:
```sql
                SELECT "series_ep" FROM "season_6_2005_2006" WHERE "netflix"='s03e16';
```
## Task
Generate a SQL query to answer the following question:
`Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone?`

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

CREATE TABLE "season_6_2005_2006" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone?`:
```sql
                SELECT "netflix" FROM "season_6_2005_2006" WHERE "episode"<69 AND "segment_d"='s trombone';
```
## Task
Generate a SQL query to answer the following question:
`Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode?`

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

CREATE TABLE "inter_molecular_interactions_micro_rna_u" (
  "name" text,
  "species_specific" text,
  "intra_molecular_structure" text,
  "comparative" text,
  "link" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode?`:
```sql
                SELECT "species_specific" FROM "inter_molecular_interactions_micro_rna_u" WHERE "comparative"='no' AND "intra_molecular_structure"='no' AND "link"='sourcecode';
```
## Task
Generate a SQL query to answer the following question:
`Which Intra-molecular structure has a Comparative of no, and a Name of mitarget?`

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

CREATE TABLE "inter_molecular_interactions_micro_rna_u" (
  "name" text,
  "species_specific" text,
  "intra_molecular_structure" text,
  "comparative" text,
  "link" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Intra-molecular structure has a Comparative of no, and a Name of mitarget?`:
```sql
                SELECT "intra_molecular_structure" FROM "inter_molecular_interactions_micro_rna_u" WHERE "comparative"='no' AND "name"='mitarget';
```
## Task
Generate a SQL query to answer the following question:
`Which Comparative has a Name of pictar?`

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

CREATE TABLE "inter_molecular_interactions_micro_rna_u" (
  "name" text,
  "species_specific" text,
  "intra_molecular_structure" text,
  "comparative" text,
  "link" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Comparative has a Name of pictar?`:
```sql
                SELECT "comparative" FROM "inter_molecular_interactions_micro_rna_u" WHERE "name"='pictar';
```
## Task
Generate a SQL query to answer the following question:
`Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no?`

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

CREATE TABLE "inter_molecular_interactions_micro_rna_u" (
  "name" text,
  "species_specific" text,
  "intra_molecular_structure" text,
  "comparative" text,
  "link" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no?`:
```sql
                SELECT "name" FROM "inter_molecular_interactions_micro_rna_u" WHERE "intra_molecular_structure"='no' AND "link"='webserver' AND "comparative"='no';
```
## Task
Generate a SQL query to answer the following question:
`Which Comparative has a Link of sourcecode webserver?`

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

CREATE TABLE "inter_molecular_interactions_micro_rna_u" (
  "name" text,
  "species_specific" text,
  "intra_molecular_structure" text,
  "comparative" text,
  "link" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Comparative has a Link of sourcecode webserver?`:
```sql
                SELECT "comparative" FROM "inter_molecular_interactions_micro_rna_u" WHERE "link"='sourcecode webserver';
```
## Task
Generate a SQL query to answer the following question:
`Which Species Specific has a Link of server/sourcecode?`

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

CREATE TABLE "inter_molecular_interactions_micro_rna_u" (
  "name" text,
  "species_specific" text,
  "intra_molecular_structure" text,
  "comparative" text,
  "link" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Species Specific has a Link of server/sourcecode?`:
```sql
                SELECT "species_specific" FROM "inter_molecular_interactions_micro_rna_u" WHERE "link"='server/sourcecode';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st leg for Instituto?`

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

CREATE TABLE "losers_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st leg for Instituto?`:
```sql
                SELECT "1st_leg" FROM "losers_knockout" WHERE "home_2nd_leg"='instituto';
```
## Task
Generate a SQL query to answer the following question:
`What Aggregate has a 2-1 1st leg, and is from Belgrano?`

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

CREATE TABLE "losers_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Aggregate has a 2-1 1st leg, and is from Belgrano?`:
```sql
                SELECT "aggregate" FROM "losers_knockout" WHERE "1st_leg"='2-1' AND "home_1st_leg"='belgrano';
```
## Task
Generate a SQL query to answer the following question:
`What Aggregate has a 0-0 1st leg, and a 0-1 second leg?`

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

CREATE TABLE "losers_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Aggregate has a 0-0 1st leg, and a 0-1 second leg?`:
```sql
                SELECT "aggregate" FROM "losers_knockout" WHERE "1st_leg"='0-0' AND "2nd_leg"='0-1';
```
## Task
Generate a SQL query to answer the following question:
`What aggregate has a 0-0 1st leg, and is from Instituto?`

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

CREATE TABLE "losers_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What aggregate has a 0-0 1st leg, and is from Instituto?`:
```sql
                SELECT "aggregate" FROM "losers_knockout" WHERE "1st_leg"='0-0' AND "home_2nd_leg"='instituto';
```
## Task
Generate a SQL query to answer the following question:
`What is the home of aggregate's 3-4?`

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

CREATE TABLE "losers_knockout" (
  "home_1st_leg" text,
  "home_2nd_leg" text,
  "1st_leg" text,
  "2nd_leg" text,
  "aggregate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home of aggregate's 3-4?`:
```sql
                SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "aggregate"='3-4';
```
## Task
Generate a SQL query to answer the following question:
`What round did the fight against Sofia Bagherdai go to?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round did the fight against Sofia Bagherdai go to?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "opponent"='sofia bagherdai';
```
## Task
Generate a SQL query to answer the following question:
`What was the method of fight completion for the Mars: Attack 1 event?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the method of fight completion for the Mars: Attack 1 event?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='mars: attack 1';
```
## Task
Generate a SQL query to answer the following question:
`what had a score of 70-71-68-72=281?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `what had a score of 70-71-68-72=281?`:
```sql
                SELECT "country" FROM "final_leaderboard" WHERE "score"='70-71-68-72=281';
```
## Task
Generate a SQL query to answer the following question:
`what had a score like roberto devicenzo`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `what had a score like roberto devicenzo`:
```sql
                SELECT "score" FROM "final_leaderboard" WHERE "player"='roberto devicenzo';
```
## Task
Generate a SQL query to answer the following question:
`What was the total number who attended during week 11?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total number who attended during week 11?`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`What was the total number of weeks with a result of l 31-21?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total number of weeks with a result of l 31-21?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "result"='l 31-21';
```
## Task
Generate a SQL query to answer the following question:
`What was the average week of a game attended by 12,985 with a result of W 38-14?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average week of a game attended by 12,985 with a result of W 38-14?`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "attendance">'12,985' AND "result"='w 38-14';
```
## Task
Generate a SQL query to answer the following question:
`Which 2003 has a 2012 of 1–4?`

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

CREATE TABLE "grand_slam_men_s_doubles_performance_tim" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2003 has a 2012 of 1–4?`:
```sql
                SELECT "2003" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2012"='1–4';
```
## Task
Generate a SQL query to answer the following question:
`Which 2007 has a 2008 of 0 / 4?`

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

CREATE TABLE "grand_slam_men_s_doubles_performance_tim" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2007 has a 2008 of 0 / 4?`:
```sql
                SELECT "2007" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2008"='0 / 4';
```
## Task
Generate a SQL query to answer the following question:
`Which 2007 has a 2003 of 2r, and a 2004 of 1r?`

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

CREATE TABLE "grand_slam_men_s_doubles_performance_tim" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2007 has a 2003 of 2r, and a 2004 of 1r?`:
```sql
                SELECT "2007" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2003"='2r' AND "2004"='1r';
```
## Task
Generate a SQL query to answer the following question:
`Which 2010 has a 2009 of 0 / 4?`

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

CREATE TABLE "grand_slam_men_s_doubles_performance_tim" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2010 has a 2009 of 0 / 4?`:
```sql
                SELECT "2010" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "2009"='0 / 4';
```
## Task
Generate a SQL query to answer the following question:
`Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10?`

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

CREATE TABLE "grand_slam_men_s_doubles_performance_tim" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10?`:
```sql
                SELECT "2011" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "1999"='a' AND "2004"='2r' AND "career_sr"='0 / 10';
```
## Task
Generate a SQL query to answer the following question:
`Which 2005 has a 1999 of 0–0?`

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

CREATE TABLE "grand_slam_men_s_doubles_performance_tim" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "career_sr" text,
  "career_win_loss" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2005 has a 1999 of 0–0?`:
```sql
                SELECT "2005" FROM "grand_slam_men_s_doubles_performance_tim" WHERE "1999"='0–0';
```
## Task
Generate a SQL query to answer the following question:
`what is the date of week 7`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date of week 7`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`Who was the visitor in the game that led to a 39-20-6 record?`

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

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visitor in the game that led to a 39-20-6 record?`:
```sql
                SELECT "visitor" FROM "march" WHERE "record"='39-20-6';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game that led to a 48-21-6 record?`

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

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game that led to a 48-21-6 record?`:
```sql
                SELECT "date" FROM "march" WHERE "record"='48-21-6';
```
## Task
Generate a SQL query to answer the following question:
`Name the average attendance from june 11`

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

CREATE TABLE "playoffs" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average attendance from june 11`:
```sql
                SELECT AVG("attendance") FROM "playoffs" WHERE "date"='june 11';
```
## Task
Generate a SQL query to answer the following question:
`What is south africa's margin of victory?`

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

CREATE TABLE "winners_and_honorees" (
  "year" real,
  "player" text,
  "country" text,
  "score" text,
  "margin_of_victory" text,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is south africa's margin of victory?`:
```sql
                SELECT "margin_of_victory" FROM "winners_and_honorees" WHERE "country"='south africa';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?`

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

CREATE TABLE "winners_and_honorees" (
  "year" real,
  "player" text,
  "country" text,
  "score" text,
  "margin_of_victory" text,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?`:
```sql
                SELECT "score" FROM "winners_and_honorees" WHERE "year">1980 AND "margin_of_victory"='2 strokes' AND "country"='united states' AND "player"='jim furyk';
```
## Task
Generate a SQL query to answer the following question:
`Which average Winner's share ($) has a Score of 281 (−7), and a Player of hale irwin, and a Year smaller than 1983?`

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

CREATE TABLE "winners_and_honorees" (
  "year" real,
  "player" text,
  "country" text,
  "score" text,
  "margin_of_victory" text,
  "winner_s_share" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Winner's share ($) has a Score of 281 (−7), and a Player of hale irwin, and a Year smaller than 1983?`:
```sql
                SELECT AVG("winner_s_share") FROM "winners_and_honorees" WHERE "score"='281 (−7)' AND "player"='hale irwin' AND "year"<1983;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest season with Barwa International Campos Team as champion?`

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

CREATE TABLE "champions" (
  "season" real,
  "champion" text,
  "second" text,
  "third" text,
  "team_champion" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest season with Barwa International Campos Team as champion?`:
```sql
                SELECT MAX("season") FROM "champions" WHERE "team_champion"='barwa international campos team';
```
## Task
Generate a SQL query to answer the following question:
`Who was third in Barwa International Campos Team?`

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

CREATE TABLE "champions" (
  "season" real,
  "champion" text,
  "second" text,
  "third" text,
  "team_champion" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was third in Barwa International Campos Team?`:
```sql
                SELECT "third" FROM "champions" WHERE "team_champion"='barwa international campos team';
```
## Task
Generate a SQL query to answer the following question:
`What year was the Beaudesert suburb club founded`

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

CREATE TABLE "clubs" (
  "club" text,
  "founded" real,
  "homeground" text,
  "suburb" text,
  "seniors" text,
  "juniors" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the Beaudesert suburb club founded`:
```sql
                SELECT "founded" FROM "clubs" WHERE "suburb"='beaudesert';
```
## Task
Generate a SQL query to answer the following question:
`What year did the Nerang Suburb get founded?`

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

CREATE TABLE "clubs" (
  "club" text,
  "founded" real,
  "homeground" text,
  "suburb" text,
  "seniors" text,
  "juniors" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did the Nerang Suburb get founded?`:
```sql
                SELECT COUNT("founded") FROM "clubs" WHERE "suburb"='nerang';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the Phillies played on April 28?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "save" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the Phillies played on April 28?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='april 28';
```
## Task
Generate a SQL query to answer the following question:
`What is the run rate for rank 4?`

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

CREATE TABLE "highest_team_totals_in_tests" (
  "rank" real,
  "score" text,
  "overs" real,
  "run_rate" real,
  "innings" real,
  "date" text,
  "test_no" real,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the run rate for rank 4?`:
```sql
                SELECT MAX("run_rate") FROM "highest_team_totals_in_tests" WHERE "rank"=4;
```
## Task
Generate a SQL query to answer the following question:
`Chinese title of 反正 卓文萱 had what released?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_title" text,
  "released" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Chinese title of 反正 卓文萱 had what released?`:
```sql
                SELECT "released" FROM "studio_albums" WHERE "chinese_title"='反正 卓文萱';
```
## Task
Generate a SQL query to answer the following question:
`Album # of 5th is what chinese title?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_title" text,
  "released" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Album # of 5th is what chinese title?`:
```sql
                SELECT "chinese_title" FROM "studio_albums" WHERE "albumnum"='5th';
```
## Task
Generate a SQL query to answer the following question:
`Album # of 1st was released on what date?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_title" text,
  "released" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Album # of 1st was released on what date?`:
```sql
                SELECT "released" FROM "studio_albums" WHERE "albumnum"='1st';
```
## Task
Generate a SQL query to answer the following question:
`Album # of 3rd is what chinese title?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_title" text,
  "released" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `Album # of 3rd is what chinese title?`:
```sql
                SELECT "chinese_title" FROM "studio_albums" WHERE "albumnum"='3rd';
```
## Task
Generate a SQL query to answer the following question:
`English title of oxygenie of happiness has what release date?`

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

CREATE TABLE "studio_albums" (
  "albumnum" text,
  "english_title" text,
  "chinese_title" text,
  "released" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `English title of oxygenie of happiness has what release date?`:
```sql
                SELECT "released" FROM "studio_albums" WHERE "english_title"='oxygenie of happiness';
```
## Task
Generate a SQL query to answer the following question:
`Which Score has a Home of quebec nordiques on april 16?`

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

CREATE TABLE "trades" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Score has a Home of quebec nordiques on april 16?`:
```sql
                SELECT "score" FROM "trades" WHERE "home"='quebec nordiques' AND "date"='april 16';
```
## Task
Generate a SQL query to answer the following question:
`WHich Record has a Visitor of quebec nordiques with a Score of 7–5?`

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

CREATE TABLE "trades" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Record has a Visitor of quebec nordiques with a Score of 7–5?`:
```sql
                SELECT "record" FROM "trades" WHERE "visitor"='quebec nordiques' AND "score"='7–5';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Visitor on april 8?`

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

CREATE TABLE "trades" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Visitor on april 8?`:
```sql
                SELECT "visitor" FROM "trades" WHERE "date"='april 8';
```
## Task
Generate a SQL query to answer the following question:
`When has Score of 4–5 and quebec nordiques as Visitor?`

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

CREATE TABLE "trades" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has Score of 4–5 and quebec nordiques as Visitor?`:
```sql
                SELECT "date" FROM "trades" WHERE "score"='4–5' AND "visitor"='quebec nordiques';
```
## Task
Generate a SQL query to answer the following question:
`WHo is the Visitor on april 14?`

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

CREATE TABLE "trades" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHo is the Visitor on april 14?`:
```sql
                SELECT "visitor" FROM "trades" WHERE "date"='april 14';
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Visitor of quebec nordiques with a Score of 4–5?`

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

CREATE TABLE "trades" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has a Visitor of quebec nordiques with a Score of 4–5?`:
```sql
                SELECT "record" FROM "trades" WHERE "visitor"='quebec nordiques' AND "score"='4–5';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points?`:
```sql
                SELECT MAX("december") FROM "regular_season" WHERE "game">27 AND "opponent"='pittsburgh penguins' AND "points"<41;
```
## Task
Generate a SQL query to answer the following question:
`What's the score for December of 30?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the score for December of 30?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "december"=30;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of games associated with 6 points and under 2 losses?`

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

CREATE TABLE "group_1" (
  "games" real,
  "drawn" real,
  "lost" real,
  "goal_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of games associated with 6 points and under 2 losses?`:
```sql
                SELECT AVG("games") FROM "group_1" WHERE "points"=6 AND "lost"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the low point total when there are over 5 games?`

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

CREATE TABLE "group_1" (
  "games" real,
  "drawn" real,
  "lost" real,
  "goal_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the low point total when there are over 5 games?`:
```sql
                SELECT MIN("points") FROM "group_1" WHERE "games">5;
```
## Task
Generate a SQL query to answer the following question:
`What was the share of votes when there were more than 56 electors and the year was more recent than 1950?`

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

CREATE TABLE "presidential_elections" (
  "year" real,
  "electors" real,
  "votes" text,
  "share_of_votes" text,
  "candidate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the share of votes when there were more than 56 electors and the year was more recent than 1950?`:
```sql
                SELECT "share_of_votes" FROM "presidential_elections" WHERE "electors">56 AND "year">1950;
```
## Task
Generate a SQL query to answer the following question:
`What is the total of electors when the share of votes was 11,0%?`

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

CREATE TABLE "presidential_elections" (
  "year" real,
  "electors" real,
  "votes" text,
  "share_of_votes" text,
  "candidate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of electors when the share of votes was 11,0%?`:
```sql
                SELECT SUM("electors") FROM "presidential_elections" WHERE "share_of_votes"='11,0%';
```
## Task
Generate a SQL query to answer the following question:
`Which Lost has Games larger than 7?`

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

CREATE TABLE "world_championship_group_b_denmark" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lost has Games larger than 7?`:
```sql
                SELECT AVG("lost") FROM "world_championship_group_b_denmark" WHERE "games">7;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Lost smaller than 1, and Games larger than 7?`

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

CREATE TABLE "world_championship_group_b_denmark" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Lost smaller than 1, and Games larger than 7?`:
```sql
                SELECT MAX("points") FROM "world_championship_group_b_denmark" WHERE "lost"<1 AND "games">7;
```
## Task
Generate a SQL query to answer the following question:
`Which Lost has Points larger than 13?`

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

CREATE TABLE "world_championship_group_b_denmark" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lost has Points larger than 13?`:
```sql
                SELECT AVG("lost") FROM "world_championship_group_b_denmark" WHERE "points">13;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Drawn larger than 1?`

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

CREATE TABLE "world_championship_group_b_denmark" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Drawn larger than 1?`:
```sql
                SELECT AVG("points") FROM "world_championship_group_b_denmark" WHERE "drawn">1;
```
## Task
Generate a SQL query to answer the following question:
`Which Diameter has a Year of Issue of 1977?`

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

CREATE TABLE "one_cent_test_tokens" (
  "year_of_issue" real,
  "weight" text,
  "diameter" text,
  "thickness" text,
  "edge" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Diameter has a Year of Issue of 1977?`:
```sql
                SELECT "diameter" FROM "one_cent_test_tokens" WHERE "year_of_issue"=1977;
```
## Task
Generate a SQL query to answer the following question:
`Which Year of Issue has a Thickness of 1.42mm?`

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

CREATE TABLE "one_cent_test_tokens" (
  "year_of_issue" real,
  "weight" text,
  "diameter" text,
  "thickness" text,
  "edge" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year of Issue has a Thickness of 1.42mm?`:
```sql
                SELECT MAX("year_of_issue") FROM "one_cent_test_tokens" WHERE "thickness"='1.42mm';
```
## Task
Generate a SQL query to answer the following question:
`Which Diameter has a Thickness of 1.3mm?`

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

CREATE TABLE "one_cent_test_tokens" (
  "year_of_issue" real,
  "weight" text,
  "diameter" text,
  "thickness" text,
  "edge" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Diameter has a Thickness of 1.3mm?`:
```sql
                SELECT "diameter" FROM "one_cent_test_tokens" WHERE "thickness"='1.3mm';
```
## Task
Generate a SQL query to answer the following question:
`Which party's candidate is Grech Louis Grech?`

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

CREATE TABLE "elected_me_ps_5" (
  "candidate" text,
  "party" text,
  "eu_party" text,
  "1st_count" real,
  "29th_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which party's candidate is Grech Louis Grech?`:
```sql
                SELECT "party" FROM "elected_me_ps_5" WHERE "candidate"='grech louis grech';
```
## Task
Generate a SQL query to answer the following question:
`Which eu party has a 29th count of 40,529?`

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

CREATE TABLE "elected_me_ps_5" (
  "candidate" text,
  "party" text,
  "eu_party" text,
  "1st_count" real,
  "29th_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which eu party has a 29th count of 40,529?`:
```sql
                SELECT "eu_party" FROM "elected_me_ps_5" WHERE "29th_count"='40,529';
```
## Task
Generate a SQL query to answer the following question:
`Which candidate's party is pl when the 29th count is 39,250?`

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

CREATE TABLE "elected_me_ps_5" (
  "candidate" text,
  "party" text,
  "eu_party" text,
  "1st_count" real,
  "29th_count" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which candidate's party is pl when the 29th count is 39,250?`:
```sql
                SELECT "candidate" FROM "elected_me_ps_5" WHERE "party"='pl' AND "29th_count"='39,250';
```
## Task
Generate a SQL query to answer the following question:
`What is the sport played in Iowa City on February 14, 2009?`

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

CREATE TABLE "2008_2009" (
  "date" text,
  "site" text,
  "sport" text,
  "winning_team" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sport played in Iowa City on February 14, 2009?`:
```sql
                SELECT "sport" FROM "2008_2009" WHERE "site"='iowa city' AND "date"='february 14, 2009';
```
## Task
Generate a SQL query to answer the following question:
`What is the series of the winning team in Iowa, for softball?`

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

CREATE TABLE "2008_2009" (
  "date" text,
  "site" text,
  "sport" text,
  "winning_team" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the series of the winning team in Iowa, for softball?`:
```sql
                SELECT "series" FROM "2008_2009" WHERE "winning_team"='iowa' AND "sport"='softball';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the match that was against alberto berasategui?`

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

CREATE TABLE "singles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the match that was against alberto berasategui?`:
```sql
                SELECT "score_in_the_final" FROM "singles" WHERE "opponent_in_the_final"='alberto berasategui';
```
## Task
Generate a SQL query to answer the following question:
`How many rebounds does Ann Wauters have?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many rebounds does Ann Wauters have?`:
```sql
                SELECT COUNT("rebounds") FROM "rebounds" WHERE "name"='ann wauters';
```
## Task
Generate a SQL query to answer the following question:
`Who played 10 games?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who played 10 games?`:
```sql
                SELECT "name" FROM "rebounds" WHERE "games"=10;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of rebounds values for Ann Wauters?`

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

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of rebounds values for Ann Wauters?`:
```sql
                SELECT COUNT("rebounds") FROM "rebounds" WHERE "name"='ann wauters';
```