cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the winning score with a margin victory of 2 strokes?`

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

CREATE TABLE "lpga_tour_8" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the winning score with a margin victory of 2 strokes?`:
```sql
                SELECT "winning_score" FROM "lpga_tour_8" WHERE "margin_of_victory"='2 strokes';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Pct %, when Goals Against is less than 229?`

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "lost" real,
  "points" real,
  "pct_pct" real,
  "goals_for" real,
  "goals_against" real,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Pct %, when Goals Against is less than 229?`:
```sql
                SELECT MAX("pct_pct") FROM "season_by_season_results" WHERE "goals_against"<229;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?`

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "lost" real,
  "points" real,
  "pct_pct" real,
  "goals_for" real,
  "goals_against" real,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?`:
```sql
                SELECT AVG("goals_for") FROM "season_by_season_results" WHERE "playoffs"='lost in round 2' AND "games"<81;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68?`

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "lost" real,
  "points" real,
  "pct_pct" real,
  "goals_for" real,
  "goals_against" real,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68?`:
```sql
                SELECT SUM("goals_against") FROM "season_by_season_results" WHERE "lost"=45 AND "points">68;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506?`

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

CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "lost" real,
  "points" real,
  "pct_pct" real,
  "goals_for" real,
  "goals_against" real,
  "playoffs" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506?`:
```sql
                SELECT AVG("lost") FROM "season_by_season_results" WHERE "games"<82 AND "points"<95 AND "pct_pct"<0.506;
```
## Task
Generate a SQL query to answer the following question:
`What is the Class when Wessex Trains Pink is the Livery?`

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

CREATE TABLE "fleet" (
  "number" real,
  "class" real,
  "name" text,
  "livery" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Class when Wessex Trains Pink is the Livery?`:
```sql
                SELECT "class" FROM "fleet" WHERE "livery"='wessex trains pink';
```
## Task
Generate a SQL query to answer the following question:
`What is the Livery when the Number is 31468?`

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

CREATE TABLE "fleet" (
  "number" real,
  "class" real,
  "name" text,
  "livery" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Livery when the Number is 31468?`:
```sql
                SELECT "livery" FROM "fleet" WHERE "number"=31468;
```
## Task
Generate a SQL query to answer the following question:
`What was the Skip for Germany?`

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

CREATE TABLE "teams" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Skip for Germany?`:
```sql
                SELECT "skip" FROM "teams" WHERE "nation"='germany';
```
## Task
Generate a SQL query to answer the following question:
`What was the club for Great Britain?`

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

CREATE TABLE "teams" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the club for Great Britain?`:
```sql
                SELECT "club" FROM "teams" WHERE "nation"='great britain';
```
## Task
Generate a SQL query to answer the following question:
`Who is the alternate for Magnus Swartling as Second?`

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

CREATE TABLE "teams" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the alternate for Magnus Swartling as Second?`:
```sql
                SELECT "alternate" FROM "teams" WHERE "second"='magnus swartling';
```
## Task
Generate a SQL query to answer the following question:
`Which club has Jamie Korab as Lead?`

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

CREATE TABLE "teams" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which club has Jamie Korab as Lead?`:
```sql
                SELECT "club" FROM "teams" WHERE "lead"='jamie korab';
```
## Task
Generate a SQL query to answer the following question:
`Which Lead has Hans Frauenlob as a Third?`

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

CREATE TABLE "teams" (
  "nation" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text,
  "alternate" text,
  "club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lead has Hans Frauenlob as a Third?`:
```sql
                SELECT "lead" FROM "teams" WHERE "third"='hans frauenlob';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Home captain when the Result was Aus by 218 runs?`

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

CREATE TABLE "england_in_australia_1903_4" (
  "date" text,
  "home_captain" text,
  "away_captain" text,
  "venue" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Home captain when the Result was Aus by 218 runs?`:
```sql
                SELECT "home_captain" FROM "england_in_australia_1903_4" WHERE "result"='aus by 218 runs';
```
## Task
Generate a SQL query to answer the following question:
`What is the Film title used in nomination of the Film with a Serbian title of бело одело?`

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

CREATE TABLE "federal_republic_of_yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "serbian_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Film title used in nomination of the Film with a Serbian title of бело одело?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "federal_republic_of_yugoslavia" WHERE "serbian_title"='бело одело';
```
## Task
Generate a SQL query to answer the following question:
`In what Year was Labyrinth nominated?`

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

CREATE TABLE "federal_republic_of_yugoslavia" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "serbian_title" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Year was Labyrinth nominated?`:
```sql
                SELECT "year_ceremony" FROM "federal_republic_of_yugoslavia" WHERE "film_title_used_in_nomination"='labyrinth';
```
## Task
Generate a SQL query to answer the following question:
`What is the High assists for march 25?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the High assists for march 25?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "date"='march 25';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score when Donyell Marshall (26) had the high points?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score when Donyell Marshall (26) had the high points?`:
```sql
                SELECT "score" FROM "game_log" WHERE "high_points"='donyell marshall (26)';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Game when Morris Peterson (8) had the high assists?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Game when Morris Peterson (8) had the high assists?`:
```sql
                SELECT MAX("game") FROM "game_log" WHERE "high_assists"='morris peterson (8)';
```
## Task
Generate a SQL query to answer the following question:
`What is the High assists when jalen rose (22) had the high points?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the High assists when jalen rose (22) had the high points?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "high_points"='jalen rose (22)';
```
## Task
Generate a SQL query to answer the following question:
`What is the High assists when the record was 28–40?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the High assists when the record was 28–40?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "record"='28–40';
```
## Task
Generate a SQL query to answer the following question:
`Who were the Brazil scorers who scored 3-3?`

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

CREATE TABLE "brazil_national_team" (
  "date" text,
  "result" text,
  "score" text,
  "brazil_scorers" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the Brazil scorers who scored 3-3?`:
```sql
                SELECT "brazil_scorers" FROM "brazil_national_team" WHERE "score"='3-3';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Brazil scorer who scored 6-0?`

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

CREATE TABLE "brazil_national_team" (
  "date" text,
  "result" text,
  "score" text,
  "brazil_scorers" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Brazil scorer who scored 6-0?`:
```sql
                SELECT "brazil_scorers" FROM "brazil_national_team" WHERE "score"='6-0';
```
## Task
Generate a SQL query to answer the following question:
`With a score of 2-2, what was the Result?`

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

CREATE TABLE "brazil_national_team" (
  "date" text,
  "result" text,
  "score" text,
  "brazil_scorers" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `With a score of 2-2, what was the Result?`:
```sql
                SELECT "result" FROM "brazil_national_team" WHERE "score"='2-2';
```
## Task
Generate a SQL query to answer the following question:
`Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne?`

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

CREATE TABLE "candidates" (
  "background" text,
  "original_team" text,
  "hometown" text,
  "result" text,
  "raised" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne?`:
```sql
                SELECT "original_team" FROM "candidates" WHERE "hometown"='brooklyn, new york' AND "background"='comedienne';
```
## Task
Generate a SQL query to answer the following question:
`What is the Background of the contestant with a Hometown listed as Los Angeles, California?`

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

CREATE TABLE "candidates" (
  "background" text,
  "original_team" text,
  "hometown" text,
  "result" text,
  "raised" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Background of the contestant with a Hometown listed as Los Angeles, California?`:
```sql
                SELECT "background" FROM "candidates" WHERE "hometown"='los angeles, california';
```
## Task
Generate a SQL query to answer the following question:
`What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?`

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

CREATE TABLE "candidates" (
  "background" text,
  "original_team" text,
  "hometown" text,
  "result" text,
  "raised" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?`:
```sql
                SELECT "background" FROM "candidates" WHERE "result"='07 fired in task 6 (2009-04-05)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Original Team of the contestant from Wrightsville, Georgia ?`

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

CREATE TABLE "candidates" (
  "background" text,
  "original_team" text,
  "hometown" text,
  "result" text,
  "raised" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Original Team of the contestant from Wrightsville, Georgia ?`:
```sql
                SELECT "original_team" FROM "candidates" WHERE "hometown"='wrightsville, georgia';
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has an Opponent of carolina panthers?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance has an Opponent of carolina panthers?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='carolina panthers';
```
## Task
Generate a SQL query to answer the following question:
`Which Date has a Week smaller than 11, and a Attendance of 54,094?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Date has a Week smaller than 11, and a Attendance of 54,094?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"<11 AND "attendance"='54,094';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of the episode titled 'Sugar Daddy'?`

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

CREATE TABLE "uk_ratings" (
  "episode_number" real,
  "title" text,
  "original_airing_on_channel_4" text,
  "time_of_airing_on_channel_4" text,
  "total_viewers_and_rank_on_c4" text,
  "total_viewers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of the episode titled 'Sugar Daddy'?`:
```sql
                SELECT AVG("episode_number") FROM "uk_ratings" WHERE "title"='sugar daddy';
```
## Task
Generate a SQL query to answer the following question:
`Which nations have more than 1 gold medal and 4 silver medals?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which nations have more than 1 gold medal and 4 silver medals?`:
```sql
                SELECT "nation" FROM "medal_table" WHERE "gold">1 AND "silver"=4;
```
## Task
Generate a SQL query to answer the following question:
`In Week 7, what is the highest attendance number?`

### 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 `In Week 7, what is the highest attendance number?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`In Week 13, who was the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `In Week 13, who was the opponent?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=13;
```
## Task
Generate a SQL query to answer the following question:
`What date did Week 9 begin?`

### 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 date did Week 9 begin?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=9;
```
## Task
Generate a SQL query to answer the following question:
`Which award was given in 2012?`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "award" text,
  "production" text,
  "role" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which award was given in 2012?`:
```sql
                SELECT "award" FROM "awards_and_nominations" WHERE "year"='2012';
```
## Task
Generate a SQL query to answer the following question:
`Which award was given for the role of Elphaba in 2009?`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "award" text,
  "production" text,
  "role" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which award was given for the role of Elphaba in 2009?`:
```sql
                SELECT "award" FROM "awards_and_nominations" WHERE "role"='elphaba' AND "year"='2009';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for the role of Ellie Greenwich in 2005?`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "award" text,
  "production" text,
  "role" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for the role of Ellie Greenwich in 2005?`:
```sql
                SELECT "result" FROM "awards_and_nominations" WHERE "role"='ellie greenwich' AND "year"='2005';
```
## Task
Generate a SQL query to answer the following question:
`Which award was An Officer and a Gentleman nominated for?`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "award" text,
  "production" text,
  "role" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which award was An Officer and a Gentleman nominated for?`:
```sql
                SELECT "award" FROM "awards_and_nominations" WHERE "result"='nominated' AND "production"='an officer and a gentleman';
```
## Task
Generate a SQL query to answer the following question:
`During what year was Wicked associated with the Green Room Awards?`

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

CREATE TABLE "awards_and_nominations" (
  "year" text,
  "award" text,
  "production" text,
  "role" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what year was Wicked associated with the Green Room Awards?`:
```sql
                SELECT "year" FROM "awards_and_nominations" WHERE "production"='wicked' AND "award"='green room awards';
```
## Task
Generate a SQL query to answer the following question:
`What manufacturer makes locomotive number CTN 46?`

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

CREATE TABLE "engine_roster" (
  "locomotive_number" text,
  "model" text,
  "type" text,
  "propulsion" text,
  "manufacturer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What manufacturer makes locomotive number CTN 46?`:
```sql
                SELECT "manufacturer" FROM "engine_roster" WHERE "locomotive_number"='ctn 46';
```
## Task
Generate a SQL query to answer the following question:
`What type is locomotive number CTN 46?`

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

CREATE TABLE "engine_roster" (
  "locomotive_number" text,
  "model" text,
  "type" text,
  "propulsion" text,
  "manufacturer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type is locomotive number CTN 46?`:
```sql
                SELECT "type" FROM "engine_roster" WHERE "locomotive_number"='ctn 46';
```
## Task
Generate a SQL query to answer the following question:
`What type is locomotive CTN 1364?`

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

CREATE TABLE "engine_roster" (
  "locomotive_number" text,
  "model" text,
  "type" text,
  "propulsion" text,
  "manufacturer" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type is locomotive CTN 1364?`:
```sql
                SELECT "type" FROM "engine_roster" WHERE "locomotive_number"='ctn 1364';
```
## Task
Generate a SQL query to answer the following question:
`What cuts made has a wins less than 3 and 23 for the events?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What cuts made has a wins less than 3 and 23 for the events?`:
```sql
                SELECT "cuts_made" FROM "summary" WHERE "wins"<3 AND "events"=23;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?`:
```sql
                SELECT MIN("events") FROM "summary" WHERE "cuts_made"=17 AND "top_25"<8;
```
## Task
Generate a SQL query to answer the following question:
`What are the lowest cuts made that have events less than 4?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lowest cuts made that have events less than 4?`:
```sql
                SELECT MIN("cuts_made") FROM "summary" WHERE "events"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?`:
```sql
                SELECT MAX("top_10") FROM "summary" WHERE "tournament"='u.s. open' AND "top_25">12;
```
## Task
Generate a SQL query to answer the following question:
`How many points are there with more losses than 16, more goals than 44, and a smaller position than 13?`

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

CREATE TABLE "1_lyga" (
  "position" real,
  "club" text,
  "games_played" real,
  "wins" real,
  "draws" real,
  "loses" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points are there with more losses than 16, more goals than 44, and a smaller position than 13?`:
```sql
                SELECT COUNT("points") FROM "1_lyga" WHERE "loses">16 AND "goals_scored">44 AND "position"<13;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5?`

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

CREATE TABLE "1_lyga" (
  "position" real,
  "club" text,
  "games_played" real,
  "wins" real,
  "draws" real,
  "loses" real,
  "goals_scored" real,
  "goals_conceded" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5?`:
```sql
                SELECT SUM("points") FROM "1_lyga" WHERE "goals_conceded"<51 AND "position">1 AND "draws"=7 AND "loses">5;
```
## Task
Generate a SQL query to answer the following question:
`Which has a Score of 6–1, 3–0 ret.?`

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

CREATE TABLE "titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which has a Score of 6–1, 3–0 ret.?`:
```sql
                SELECT "surface" FROM "titles" WHERE "score"='6–1, 3–0 ret.';
```
## Task
Generate a SQL query to answer the following question:
`Which Surface is on 23 january 2011?`

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

CREATE TABLE "titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Surface is on 23 january 2011?`:
```sql
                SELECT "surface" FROM "titles" WHERE "date"='23 january 2011';
```
## Task
Generate a SQL query to answer the following question:
`When has a Surface of hard, a Tournament of wrexham , great britain?`

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

CREATE TABLE "titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `When has a Surface of hard, a Tournament of wrexham , great britain?`:
```sql
                SELECT "date" FROM "titles" WHERE "surface"='hard' AND "tournament"='wrexham , great britain';
```
## Task
Generate a SQL query to answer the following question:
`Which Surface has an Opponent in the final of stéphane robert?`

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

CREATE TABLE "titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Surface has an Opponent in the final of stéphane robert?`:
```sql
                SELECT "surface" FROM "titles" WHERE "opponent_in_the_final"='stéphane robert';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Surface has a Score of 6–4, 0–6, 6–2?`

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

CREATE TABLE "titles" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Surface has a Score of 6–4, 0–6, 6–2?`:
```sql
                SELECT "surface" FROM "titles" WHERE "score"='6–4, 0–6, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`Which Call sign has a Branding of cbc radio one?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Call sign has a Branding of cbc radio one?`:
```sql
                SELECT "call_sign" FROM "radio" WHERE "branding"='cbc radio one';
```
## Task
Generate a SQL query to answer the following question:
`WHich Frequency has a Format of country / news / sports?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich Frequency has a Format of country / news / sports?`:
```sql
                SELECT "frequency" FROM "radio" WHERE "format"='country / news / sports';
```
## Task
Generate a SQL query to answer the following question:
`Which Format has a Frequency of 100.5 fm?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Format has a Frequency of 100.5 fm?`:
```sql
                SELECT "format" FROM "radio" WHERE "frequency"='100.5 fm';
```
## Task
Generate a SQL query to answer the following question:
`Which Frequency has a Branding of country 600?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Frequency has a Branding of country 600?`:
```sql
                SELECT "frequency" FROM "radio" WHERE "branding"='country 600';
```
## Task
Generate a SQL query to answer the following question:
`WHich format has a Frequency of 99.3 fm?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHich format has a Frequency of 99.3 fm?`:
```sql
                SELECT "format" FROM "radio" WHERE "frequency"='99.3 fm';
```
## Task
Generate a SQL query to answer the following question:
`What is the Class AA where Class AA is Hale Center and Class AAAAA is Del Rio?`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Class AA where Class AA is Hale Center and Class AAAAA is Del Rio?`:
```sql
                SELECT "class_aaa" FROM "individual" WHERE "class_aa"='hale center' AND "class_aaaaa"='del rio';
```
## Task
Generate a SQL query to answer the following question:
`What School Year has a Class AAAA of Dickinson?`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What School Year has a Class AAAA of Dickinson?`:
```sql
                SELECT "school_year" FROM "individual" WHERE "class_aaaa"='dickinson';
```
## Task
Generate a SQL query to answer the following question:
`If the Class A is Anton and Class AAA is Burnet, what is Class AA?`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `If the Class A is Anton and Class AAA is Burnet, what is Class AA?`:
```sql
                SELECT "class_aa" FROM "individual" WHERE "class_a"='anton' AND "class_aaa"='burnet';
```
## Task
Generate a SQL query to answer the following question:
`If Class AAAA is Schertz Clemens and SChool Year is 1987-88, what is Class AA?`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `If Class AAAA is Schertz Clemens and SChool Year is 1987-88, what is Class AA?`:
```sql
                SELECT "class_aa" FROM "individual" WHERE "class_aaaa"='schertz clemens' AND "school_year"='1987-88';
```
## Task
Generate a SQL query to answer the following question:
`Where Class AAA is Atlanta and Class AA is Weimar, what is Class AAAAA?`

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

CREATE TABLE "individual" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where Class AAA is Atlanta and Class AA is Weimar, what is Class AAAAA?`:
```sql
                SELECT "class_aaaaa" FROM "individual" WHERE "class_aaa"='atlanta' AND "class_aa"='weimar';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game on 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,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game on week 11?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins?`

### 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,
  "record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins?`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "game_site"='rich stadium' AND "opponent"='miami dolphins' AND "week">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance when the opponent is the San Francisco 49ers?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance when the opponent is the San Francisco 49ers?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='san francisco 49ers';
```
## Task
Generate a SQL query to answer the following question:
`What is the result when the week is greater than 6 and the Buffalo Bills are the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result when the week is greater than 6 and the Buffalo Bills are the opponent?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week">6 AND "opponent"='buffalo bills';
```
## Task
Generate a SQL query to answer the following question:
`What is the result when the attendance is 54,814?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result when the attendance is 54,814?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance"='54,814';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of weeks when the New York Jets are the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of weeks when the New York Jets are the opponent?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "opponent"='new york jets';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the game when the attendance is 56,906?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the game when the attendance is 56,906?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance"='56,906';
```
## Task
Generate a SQL query to answer the following question:
`What Song has a Group Song of Ring Ring Ring and a Score of 6.0 + 6.5 + 5.0 + 6.5 = 24.0?`

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

CREATE TABLE "episode_5_23_february_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Song has a Group Song of Ring Ring Ring and a Score of 6.0 + 6.5 + 5.0 + 6.5 = 24.0?`:
```sql
                SELECT "song" FROM "episode_5_23_february_2008" WHERE "group_song"='ring ring ring' AND "score"='6.0 + 6.5 + 5.0 + 6.5 = 24.0';
```
## Task
Generate a SQL query to answer the following question:
`What is Song's 会呼吸的痛 Index?`

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

CREATE TABLE "episode_5_23_february_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Song's 会呼吸的痛 Index?`:
```sql
                SELECT "index" FROM "episode_5_23_february_2008" WHERE "song"='会呼吸的痛';
```
## Task
Generate a SQL query to answer the following question:
`What Song's Index is F6?`

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

CREATE TABLE "episode_5_23_february_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Song's Index is F6?`:
```sql
                SELECT "song" FROM "episode_5_23_february_2008" WHERE "index"='f6';
```
## Task
Generate a SQL query to answer the following question:
`What Group Song of Shine 王幸儿?`

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

CREATE TABLE "episode_5_23_february_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Group Song of Shine 王幸儿?`:
```sql
                SELECT "group_song" FROM "episode_5_23_february_2008" WHERE "name"='shine 王幸儿';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of 我等的人会是谁?`

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

CREATE TABLE "episode_5_23_february_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of 我等的人会是谁?`:
```sql
                SELECT "score" FROM "episode_5_23_february_2008" WHERE "song"='我等的人会是谁';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name of Index F3?`

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

CREATE TABLE "episode_5_23_february_2008" (
  "index" text,
  "name" text,
  "song" text,
  "group_song" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name of Index F3?`:
```sql
                SELECT "name" FROM "episode_5_23_february_2008" WHERE "index"='f3';
```
## Task
Generate a SQL query to answer the following question:
`What is the record after the game on Feb 10?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record after the game on Feb 10?`:
```sql
                SELECT "record" FROM "schedule_and_results" WHERE "february"=10;
```
## Task
Generate a SQL query to answer the following question:
`What is the earliest day that had a game against the Boston Bruins?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the earliest day that had a game against the Boston Bruins?`:
```sql
                SELECT MIN("february") FROM "schedule_and_results" WHERE "opponent"='boston bruins';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?`

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

CREATE TABLE "type_metal_alloys_mentioned_in_the_uk_mo" (
  "sn_sb_pct" text,
  "liquidat_c" real,
  "solidat_c" real,
  "hardness_brinell" real,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?`:
```sql
                SELECT SUM("solidat_c") FROM "type_metal_alloys_mentioned_in_the_uk_mo" WHERE "purpose"='display type, heavy duty jobs' AND "hardness_brinell"<33;
```
## Task
Generate a SQL query to answer the following question:
`When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?`

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

CREATE TABLE "type_metal_alloys_mentioned_in_the_uk_mo" (
  "sn_sb_pct" text,
  "liquidat_c" real,
  "solidat_c" real,
  "hardness_brinell" real,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?`:
```sql
                SELECT SUM("solidat_c") FROM "type_metal_alloys_mentioned_in_the_uk_mo" WHERE "sn_sb_pct"='13/17' AND "liquidat_c">283;
```