cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the winner's share of champion hideto tanihara?`

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

CREATE TABLE "winners" (
  "year" real,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the winner's share of champion hideto tanihara?`:
```sql
                SELECT "winner_s_share" FROM "winners" WHERE "champion"='hideto tanihara';
```
## Task
Generate a SQL query to answer the following question:
`Who is the champion with a ¥200,000,000 purse?`

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

CREATE TABLE "winners" (
  "year" real,
  "dates" text,
  "champion" text,
  "country" text,
  "score" text,
  "tournament_location" text,
  "purse" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the champion with a ¥200,000,000 purse?`:
```sql
                SELECT "champion" FROM "winners" WHERE "purse"='¥200,000,000';
```
## Task
Generate a SQL query to answer the following question:
`What round had Canada with a draft of 1970 and a pick of 7?`

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

CREATE TABLE "draft_picks" (
  "draft" real,
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round had Canada with a draft of 1970 and a pick of 7?`:
```sql
                SELECT MAX("round") FROM "draft_picks" WHERE "nationality"='canada' AND "draft"<1970 AND "pick"=7;
```
## Task
Generate a SQL query to answer the following question:
`Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon?`

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

CREATE TABLE "miss_universe" (
  "year" real,
  "delegate" text,
  "hometown" text,
  "placement_in_miss_universe" text,
  "other_awards" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon?`:
```sql
                SELECT "placement_in_miss_universe" FROM "miss_universe" WHERE "delegate"='janine mari raymundo tugonon';
```
## Task
Generate a SQL query to answer the following question:
`Which Placement in Miss Universe is  armi barbara quiray crespo?`

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

CREATE TABLE "miss_universe" (
  "year" real,
  "delegate" text,
  "hometown" text,
  "placement_in_miss_universe" text,
  "other_awards" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Placement in Miss Universe is  armi barbara quiray crespo?`:
```sql
                SELECT "placement_in_miss_universe" FROM "miss_universe" WHERE "delegate"='armi barbara quiray crespo';
```
## Task
Generate a SQL query to answer the following question:
`Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal?`

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

CREATE TABLE "miss_universe" (
  "year" real,
  "delegate" text,
  "hometown" text,
  "placement_in_miss_universe" text,
  "other_awards" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal?`:
```sql
                SELECT "delegate" FROM "miss_universe" WHERE "placement_in_miss_universe"='fourth runner-up' AND "hometown"='makati , rizal';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Placement in Miss Universe that rosita cornell capuyon is in?`

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

CREATE TABLE "miss_universe" (
  "year" real,
  "delegate" text,
  "hometown" text,
  "placement_in_miss_universe" text,
  "other_awards" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Placement in Miss Universe that rosita cornell capuyon is in?`:
```sql
                SELECT "placement_in_miss_universe" FROM "miss_universe" WHERE "delegate"='rosita cornell capuyon';
```
## Task
Generate a SQL query to answer the following question:
`Which Year jennifer tarol barrientos is in?`

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

CREATE TABLE "miss_universe" (
  "year" real,
  "delegate" text,
  "hometown" text,
  "placement_in_miss_universe" text,
  "other_awards" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year jennifer tarol barrientos is in?`:
```sql
                SELECT MAX("year") FROM "miss_universe" WHERE "delegate"='jennifer tarol barrientos';
```
## Task
Generate a SQL query to answer the following question:
`WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?`

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

CREATE TABLE "major_competition_record" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" real
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?`:
```sql
                SELECT SUM("year") FROM "major_competition_record" WHERE "competition"='world championships' AND "notes"=39.01;
```
## Task
Generate a SQL query to answer the following question:
`What's the sum of money ($) that angela park has won?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the sum of money ($) that angela park has won?`:
```sql
                SELECT SUM("money") FROM "final_round" WHERE "player"='angela park';
```
## Task
Generate a SQL query to answer the following question:
`What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?`

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

CREATE TABLE "national_football_league" (
  "year" text,
  "round" real,
  "pick" real,
  "overall" real,
  "position" text,
  "nfl_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?`:
```sql
                SELECT "pick" FROM "national_football_league" WHERE "position"='dt' AND "round">1 AND "overall"<155 AND "year"='1952';
```
## Task
Generate a SQL query to answer the following question:
`Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?`

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

CREATE TABLE "national_football_league" (
  "year" text,
  "round" real,
  "pick" real,
  "overall" real,
  "position" text,
  "nfl_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?`:
```sql
                SELECT "nfl_team" FROM "national_football_league" WHERE "overall">118 AND "pick">9 AND "round">5 AND "position"='de';
```
## Task
Generate a SQL query to answer the following question:
`What is 2006, when 2007 is "1R", and when 2002 is "Q2"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" 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,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 2006, when 2007 is "1R", and when 2002 is "Q2"?`:
```sql
                SELECT "2006" FROM "singles_performance_timeline" WHERE "2007"='1r' AND "2002"='q2';
```
## Task
Generate a SQL query to answer the following question:
`What is 2001, when 2007 is "1R", and when 2008 is "Q1"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" 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,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 2001, when 2007 is "1R", and when 2008 is "Q1"?`:
```sql
                SELECT "2001" FROM "singles_performance_timeline" WHERE "2007"='1r' AND "2008"='q1';
```
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when 2003 is "A"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" 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,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tournament, when 2003 is "A"?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "2003"='a';
```
## Task
Generate a SQL query to answer the following question:
`What is 2012, when Tournament is "French Open"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" 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,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 2012, when Tournament is "French Open"?`:
```sql
                SELECT "2012" FROM "singles_performance_timeline" WHERE "tournament"='french open';
```
## Task
Generate a SQL query to answer the following question:
`What is Tournament, when 2012 is "Grand Slam Tournaments"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" 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,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tournament, when 2012 is "Grand Slam Tournaments"?`:
```sql
                SELECT "tournament" FROM "singles_performance_timeline" WHERE "2012"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`What is 2004, when 2010 is "Grand Slam Tournaments"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" 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,
  "2013" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 2004, when 2010 is "Grand Slam Tournaments"?`:
```sql
                SELECT "2004" FROM "singles_performance_timeline" WHERE "2010"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`Which Member has an Electorate of southern melbourne?`

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

CREATE TABLE "notes" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Member has an Electorate of southern melbourne?`:
```sql
                SELECT "member" FROM "notes" WHERE "electorate"='southern melbourne';
```
## Task
Generate a SQL query to answer the following question:
`When was H.B. Higgins first elected?`

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

CREATE TABLE "notes" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" real
);
### SQL
Given the database schema, here is the SQL query that answers `When was H.B. Higgins first elected?`:
```sql
                SELECT "first_elected" FROM "notes" WHERE "member"='h.b. higgins';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of byes when draws are larger than 0?`

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

CREATE TABLE "2011_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of byes when draws are larger than 0?`:
```sql
                SELECT MAX("byes") FROM "2011_ladder" WHERE "draws">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest amount of losses when the goldne rivers is quambatook, wins are smaller than 15 and draws larger than 0?`

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

CREATE TABLE "2011_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest amount of losses when the goldne rivers is quambatook, wins are smaller than 15 and draws larger than 0?`:
```sql
                SELECT MIN("losses") FROM "2011_ladder" WHERE "wins"<15 AND "golden_rivers"='quambatook' AND "draws">0;
```
## Task
Generate a SQL query to answer the following question:
`How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2?`

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

CREATE TABLE "2011_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2?`:
```sql
                SELECT COUNT("losses") FROM "2011_ladder" WHERE "wins"<12 AND "golden_rivers"='ultima' AND "byes">2;
```
## Task
Generate a SQL query to answer the following question:
`How many losses did the Golden rivers of hay have?`

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

CREATE TABLE "2011_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses did the Golden rivers of hay have?`:
```sql
                SELECT AVG("losses") FROM "2011_ladder" WHERE "golden_rivers"='hay';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of byes when the wins were 9?`

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

CREATE TABLE "2011_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of byes when the wins were 9?`:
```sql
                SELECT COUNT("byes") FROM "2011_ladder" WHERE "wins"=9;
```
## Task
Generate a SQL query to answer the following question:
`What is th average dras when wins are less than 12 and the against is 989?`

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

CREATE TABLE "2011_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is th average dras when wins are less than 12 and the against is 989?`:
```sql
                SELECT AVG("draws") FROM "2011_ladder" WHERE "against"=989 AND "wins"<12;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest pole for class 125 cc and a WChmp more than 1?`

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

CREATE TABLE "by_class" (
  "class" text,
  "seas" text,
  "1st_gp" text,
  "1st_pod" text,
  "1st_win" text,
  "race" real,
  "podiums" real,
  "pole" real,
  "f_lap" real,
  "w_chmp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest pole for class 125 cc and a WChmp more than 1?`:
```sql
                SELECT MAX("pole") FROM "by_class" WHERE "class"='125 cc' AND "w_chmp">1;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest flap for class 500 cc?`

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

CREATE TABLE "by_class" (
  "class" text,
  "seas" text,
  "1st_gp" text,
  "1st_pod" text,
  "1st_win" text,
  "race" real,
  "podiums" real,
  "pole" real,
  "f_lap" real,
  "w_chmp" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest flap for class 500 cc?`:
```sql
                SELECT MAX("f_lap") FROM "by_class" WHERE "class"='500 cc';
```
## Task
Generate a SQL query to answer the following question:
`Name the Result F – A that has a League position of 1st on  4 january 1994?`

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

CREATE TABLE "fa_premier_league" (
  "date" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real,
  "league_position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Result F – A that has a League position of 1st on  4 january 1994?`:
```sql
                SELECT "result_f_a" FROM "fa_premier_league" WHERE "league_position"='1st' AND "date"='4 january 1994';
```
## Task
Generate a SQL query to answer the following question:
`What is the Thai name for the word abbreviated มี.ค.?`

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

CREATE TABLE "months" (
  "english_name" text,
  "thai_name" text,
  "abbr" text,
  "transcription" text,
  "sanskrit_word" text,
  "zodiac_sign" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Thai name for the word abbreviated มี.ค.?`:
```sql
                SELECT "thai_name" FROM "months" WHERE "abbr"='มี.ค.';
```
## Task
Generate a SQL query to answer the following question:
`What is the English word that is abbreviated พ.ย.?`

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

CREATE TABLE "months" (
  "english_name" text,
  "thai_name" text,
  "abbr" text,
  "transcription" text,
  "sanskrit_word" text,
  "zodiac_sign" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the English word that is abbreviated พ.ย.?`:
```sql
                SELECT "english_name" FROM "months" WHERE "abbr"='พ.ย.';
```
## Task
Generate a SQL query to answer the following question:
`What is the transcription for the English word March?`

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

CREATE TABLE "months" (
  "english_name" text,
  "thai_name" text,
  "abbr" text,
  "transcription" text,
  "sanskrit_word" text,
  "zodiac_sign" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the transcription for the English word March?`:
```sql
                SELECT "transcription" FROM "months" WHERE "english_name"='march';
```
## Task
Generate a SQL query to answer the following question:
`What is the zodiac sign for the English March?`

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

CREATE TABLE "months" (
  "english_name" text,
  "thai_name" text,
  "abbr" text,
  "transcription" text,
  "sanskrit_word" text,
  "zodiac_sign" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the zodiac sign for the English March?`:
```sql
                SELECT "zodiac_sign" FROM "months" WHERE "english_name"='march';
```
## Task
Generate a SQL query to answer the following question:
`What is the abbreviation for the sign of Capricorn?`

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

CREATE TABLE "months" (
  "english_name" text,
  "thai_name" text,
  "abbr" text,
  "transcription" text,
  "sanskrit_word" text,
  "zodiac_sign" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the abbreviation for the sign of Capricorn?`:
```sql
                SELECT "abbr" FROM "months" WHERE "zodiac_sign"='capricorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the transcription for the English March?`

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

CREATE TABLE "months" (
  "english_name" text,
  "thai_name" text,
  "abbr" text,
  "transcription" text,
  "sanskrit_word" text,
  "zodiac_sign" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the transcription for the English March?`:
```sql
                SELECT "transcription" FROM "months" WHERE "english_name"='march';
```
## Task
Generate a SQL query to answer the following question:
`What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?`

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

CREATE TABLE "singles_5_6" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?`:
```sql
                SELECT "date" FROM "singles_5_6" WHERE "edition"='1988 world group i' AND "result"='7–6 (7–5) , 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent on april 24, 1999?`

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

CREATE TABLE "singles_5_6" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent on april 24, 1999?`:
```sql
                SELECT "opponent" FROM "singles_5_6" WHERE "date"='april 24, 1999';
```
## Task
Generate a SQL query to answer the following question:
`What's the result for the clay surface edition on july 17, 1992?`

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

CREATE TABLE "singles_5_6" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the result for the clay surface edition on july 17, 1992?`:
```sql
                SELECT "result" FROM "singles_5_6" WHERE "surface"='clay' AND "date"='july 17, 1992';
```
## Task
Generate a SQL query to answer the following question:
`What round had a result of 6–7 (6–8) , 1–6?`

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

CREATE TABLE "singles_5_6" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round had a result of 6–7 (6–8) , 1–6?`:
```sql
                SELECT "round" FROM "singles_5_6" WHERE "result"='6–7 (6–8) , 1–6';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the result was 7–6 (7–5) , 6–3?`

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

CREATE TABLE "singles_5_6" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the result was 7–6 (7–5) , 6–3?`:
```sql
                SELECT "opponent" FROM "singles_5_6" WHERE "result"='7–6 (7–5) , 6–3';
```
## Task
Generate a SQL query to answer the following question:
`What clay surface edition had an opponent of miho saeki?`

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

CREATE TABLE "singles_5_6" (
  "edition" text,
  "round" text,
  "date" text,
  "surface" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What clay surface edition had an opponent of miho saeki?`:
```sql
                SELECT "edition" FROM "singles_5_6" WHERE "surface"='clay' AND "opponent"='miho saeki';
```
## Task
Generate a SQL query to answer the following question:
`What is To par, when Country is "Spain"?`

### 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 is To par, when Country is "Spain"?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "country"='spain';
```
## Task
Generate a SQL query to answer the following question:
`What is Country, when Player is "José María Olazábal"?`

### 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 is Country, when Player is "José María Olazábal"?`:
```sql
                SELECT "country" FROM "second_round" WHERE "player"='josé maría olazábal';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Player is "John Cook"?`

### 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 is Place, when Player is "John Cook"?`:
```sql
                SELECT "place" FROM "second_round" WHERE "player"='john cook';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Country is "United States", and when Player is "Raymond Floyd"?`

### 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 is Score, when Country is "United States", and when Player is "Raymond Floyd"?`:
```sql
                SELECT "score" FROM "second_round" WHERE "country"='united states' AND "player"='raymond floyd';
```
## Task
Generate a SQL query to answer the following question:
`What is To par, when Player is "Larry Rinker"?`

### 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 is To par, when Player is "Larry Rinker"?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "player"='larry rinker';
```
## Task
Generate a SQL query to answer the following question:
`What is Country, when Place is "T8", and when Score is "70-67=137"?`

### 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 is Country, when Place is "T8", and when Score is "70-67=137"?`:
```sql
                SELECT "country" FROM "second_round" WHERE "place"='t8' AND "score"='70-67=137';
```
## Task
Generate a SQL query to answer the following question:
`What Country is player Sandy Lyle from when she scored less than 69?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Country is player Sandy Lyle from when she scored less than 69?`:
```sql
                SELECT "country" FROM "first_round" WHERE "score"<69 AND "player"='sandy lyle';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of Philip Parkin?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of Philip Parkin?`:
```sql
                SELECT "to_par" FROM "first_round" WHERE "player"='philip parkin';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest attendance was the opponent was chelsea?`

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

CREATE TABLE "fa_cup" (
  "round" text,
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest attendance was the opponent was chelsea?`:
```sql
                SELECT MIN("attendance") FROM "fa_cup" WHERE "opponent"='chelsea';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of Birth of the CB Player with a Height of m (ft 4in)?`

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

CREATE TABLE "hungary" (
  "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 Date of Birth of the CB Player with a Height of m (ft 4in)?`:
```sql
                SELECT "date_of_birth" FROM "hungary" WHERE "pos"='cb' AND "height"='m (ft 4in)';
```
## Task
Generate a SQL query to answer the following question:
`Which country had a t4 place and scored 66-73=139?`

### 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 country had a t4 place and scored 66-73=139?`:
```sql
                SELECT "country" FROM "second_round" WHERE "place"='t4' AND "score"='66-73=139';
```
## Task
Generate a SQL query to answer the following question:
`Who placed t1 in Scotland?`

### 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 `Who placed t1 in Scotland?`:
```sql
                SELECT "player" FROM "second_round" WHERE "place"='t1' AND "country"='scotland';
```
## Task
Generate a SQL query to answer the following question:
`Who had a to par of e and scored 71-69=140?`

### 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 `Who had a to par of e and scored 71-69=140?`:
```sql
                SELECT "player" FROM "second_round" WHERE "to_par"='e' AND "score"='71-69=140';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par for t10 and Colin Montgomerie?`

### 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 is the to par for t10 and Colin Montgomerie?`:
```sql
                SELECT "to_par" FROM "second_round" WHERE "place"='t10' AND "player"='colin montgomerie';
```
## Task
Generate a SQL query to answer the following question:
`What week's game had a result of bye?`

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

CREATE TABLE "regular_season" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week's game had a result of bye?`:
```sql
                SELECT "week" FROM "regular_season" WHERE "result"='bye';
```
## Task
Generate a SQL query to answer the following question:
`What was the record at week 9?`

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

CREATE TABLE "regular_season" (
  "week" text,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record at week 9?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "week"='9';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of player vijay singh?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of player vijay singh?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "player"='vijay singh';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with playoff money from the United States?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player with playoff money from the United States?`:
```sql
                SELECT "player" FROM "final_round" WHERE "money"='playoff' AND "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`What is the place of the player from New Zealand?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place of the player from New Zealand?`:
```sql
                SELECT "place" FROM "final_round" WHERE "country"='new zealand';
```
## Task
Generate a SQL query to answer the following question:
`What is the to par of the player from the United States with a t1 place?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the to par of the player from the United States with a t1 place?`:
```sql
                SELECT "to_par" FROM "final_round" WHERE "country"='united states' AND "place"='t1';
```
## Task
Generate a SQL query to answer the following question:
`How much money does the player with a 72-70-71-72=285 score have?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much money does the player with a 72-70-71-72=285 score have?`:
```sql
                SELECT "money" FROM "final_round" WHERE "score"='72-70-71-72=285';
```
## Task
Generate a SQL query to answer the following question:
`What is the save of the game with a 7-6 score?`

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

CREATE TABLE "schedule_results" (
  "date" text,
  "opponent" text,
  "score" text,
  "site_stadium" text,
  "loss" text,
  "save" text,
  "attendance" real,
  "overall_record" text,
  "ncaat_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the save of the game with a 7-6 score?`:
```sql
                SELECT "save" FROM "schedule_results" WHERE "score"='7-6';
```
## Task
Generate a SQL query to answer the following question:
`What is the save of the game where moran (1-2) lost?`

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

CREATE TABLE "schedule_results" (
  "date" text,
  "opponent" text,
  "score" text,
  "site_stadium" text,
  "loss" text,
  "save" text,
  "attendance" real,
  "overall_record" text,
  "ncaat_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the save of the game where moran (1-2) lost?`:
```sql
                SELECT "save" FROM "schedule_results" WHERE "loss"='moran (1-2)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent on June 15?`

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

CREATE TABLE "schedule_results" (
  "date" text,
  "opponent" text,
  "score" text,
  "site_stadium" text,
  "loss" text,
  "save" text,
  "attendance" real,
  "overall_record" text,
  "ncaat_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent on June 15?`:
```sql
                SELECT "opponent" FROM "schedule_results" WHERE "date"='june 15';
```
## Task
Generate a SQL query to answer the following question:
`What is the save of the game with rice as the opponent?`

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

CREATE TABLE "schedule_results" (
  "date" text,
  "opponent" text,
  "score" text,
  "site_stadium" text,
  "loss" text,
  "save" text,
  "attendance" real,
  "overall_record" text,
  "ncaat_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the save of the game with rice as the opponent?`:
```sql
                SELECT "save" FROM "schedule_results" WHERE "opponent"='rice';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Goals Agains, when Played is greater than 34?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Goals Agains, when Played is greater than 34?`:
```sql
                SELECT MIN("goals_against") FROM "second_division_final_table" WHERE "played">34;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Lost, when Goals For is greater than 52, when Points 1 is "44", and when Drawn is less than 8?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Lost, when Goals For is greater than 52, when Points 1 is "44", and when Drawn is less than 8?`:
```sql
                SELECT MIN("lost") FROM "second_division_final_table" WHERE "goals_for">52 AND "points_1"='44' AND "drawn"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Lost, when Played is less than 34?`

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

CREATE TABLE "second_division_final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Lost, when Played is less than 34?`:
```sql
                SELECT COUNT("lost") FROM "second_division_final_table" WHERE "played"<34;
```
## Task
Generate a SQL query to answer the following question:
`Which song has a U.S. R&B 100 in 2010?`

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

CREATE TABLE "solo_singles" (
  "year" real,
  "song" text,
  "u_s_hot_100" text,
  "u_s_r_b" text,
  "u_s_hot_adult_cont" text,
  "album" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song has a U.S. R&B 100 in 2010?`:
```sql
                SELECT "song" FROM "solo_singles" WHERE "year"=2010 AND "u_s_r_b"='100';
```
## Task
Generate a SQL query to answer the following question:
`What is the Lowest value in Against with Wins % of 50.4% and Losses less than 20?`

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

CREATE TABLE "overall" (
  "team" text,
  "matches" real,
  "wins" real,
  "wins_pct" text,
  "draws" real,
  "draws_pct" text,
  "losses" real,
  "losses_pct" text,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Lowest value in Against with Wins % of 50.4% and Losses less than 20?`:
```sql
                SELECT MIN("against") FROM "overall" WHERE "wins_pct"='50.4%' AND "losses"<20;
```
## Task
Generate a SQL query to answer the following question:
`Which Losses have a Wins % of 48.6%?`

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

CREATE TABLE "overall" (
  "team" text,
  "matches" real,
  "wins" real,
  "wins_pct" text,
  "draws" real,
  "draws_pct" text,
  "losses" real,
  "losses_pct" text,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Losses have a Wins % of 48.6%?`:
```sql
                SELECT "losses" FROM "overall" WHERE "wins_pct"='48.6%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?`

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

CREATE TABLE "men_s_doubles" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?`:
```sql
                SELECT "champion" FROM "men_s_doubles" WHERE "location"='sopot' AND "year"<2006 AND "score"='6–4, 6–7(7), 6–3';
```
## Task
Generate a SQL query to answer the following question:
`In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3?`

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

CREATE TABLE "men_s_doubles" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3?`:
```sql
                SELECT COUNT("year") FROM "men_s_doubles" WHERE "location"='sopot' AND "score"='2–6, 6–2, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Which Team has Podiums of 0, and a Position of nc†?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team has Podiums of 0, and a Position of nc†?`:
```sql
                SELECT "team" FROM "career_summary" WHERE "podiums"='0' AND "position"='nc†';
```
## Task
Generate a SQL query to answer the following question:
`Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?`:
```sql
                SELECT "wins" FROM "career_summary" WHERE "team"='scuderia toro rosso' AND "poles"='0' AND "races"='16';
```
## Task
Generate a SQL query to answer the following question:
`Which Season has Podiums of 0, and Races of 16?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Season has Podiums of 0, and Races of 16?`:
```sql
                SELECT MAX("season") FROM "career_summary" WHERE "podiums"='0' AND "races"='16';
```
## Task
Generate a SQL query to answer the following question:
`Which Wins has Podiums of 0, and a Series of masters of formula 3?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" text,
  "wins" text,
  "poles" text,
  "podiums" text,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wins has Podiums of 0, and a Series of masters of formula 3?`:
```sql
                SELECT "wins" FROM "career_summary" WHERE "podiums"='0' AND "series"='masters of formula 3';
```