cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the TV time for the game where the Giants had 14 points?`

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

CREATE TABLE "schedule" (
  "game" real,
  "date" text,
  "opponent" text,
  "result" text,
  "giants_points" text,
  "opponents_points" text,
  "record" text,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the TV time for the game where the Giants had 14 points?`:
```sql
                SELECT "tv_time" FROM "schedule" WHERE "giants_points"='14';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks had an attendance at 69,149?`

### 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 `How many weeks had an attendance at 69,149?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "attendance"='69,149';
```
## Task
Generate a SQL query to answer the following question:
`On what date did week 6 occur?`

### 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 `On what date did week 6 occur?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=6;
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent on December 18, 2005?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent on December 18, 2005?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='december 18, 2005';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game against the Queen of the South attended by more than 14,176?`

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

CREATE TABLE "tennent_s_scottish_cup" (
  "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 date of the game against the Queen of the South attended by more than 14,176?`:
```sql
                SELECT "date" FROM "tennent_s_scottish_cup" WHERE "attendance">'14,176' AND "opponent"='queen of the south';
```
## Task
Generate a SQL query to answer the following question:
`What is the result/score for the match report recap on week 14?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "time" text,
  "game_site" text,
  "result_score" text,
  "record" text,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result/score for the match report recap on week 14?`:
```sql
                SELECT "result_score" FROM "regular_season" WHERE "match_report"='recap' AND "week"=14;
```
## Task
Generate a SQL query to answer the following question:
`How many weeks have w 51-29 as the result/score?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "time" text,
  "game_site" text,
  "result_score" text,
  "record" text,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks have w 51-29 as the result/score?`:
```sql
                SELECT SUM("week") FROM "regular_season" WHERE "result_score"='w 51-29';
```
## Task
Generate a SQL query to answer the following question:
`What is the result/score that has 6-5 as the record?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "time" text,
  "game_site" text,
  "result_score" text,
  "record" text,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result/score that has 6-5 as the record?`:
```sql
                SELECT "result_score" FROM "regular_season" WHERE "record"='6-5';
```
## Task
Generate a SQL query to answer the following question:
`Which match report has l 7-30 as the result/score?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "time" text,
  "game_site" text,
  "result_score" text,
  "record" text,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which match report has l 7-30 as the result/score?`:
```sql
                SELECT "match_report" FROM "regular_season" WHERE "result_score"='l 7-30';
```
## Task
Generate a SQL query to answer the following question:
`Which game site has a recap as the match report for week 7?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "opponent" text,
  "time" text,
  "game_site" text,
  "result_score" text,
  "record" text,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which game site has a recap as the match report for week 7?`:
```sql
                SELECT "game_site" FROM "regular_season" WHERE "match_report"='recap' AND "week"=7;
```
## Task
Generate a SQL query to answer the following question:
`Which shooter's time is more than 8.97 and has a year prior to 2013?`

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

CREATE TABLE "steel_challenge_men_s_world_records" (
  "stage" text,
  "shooter" text,
  "time" real,
  "avg_run" real,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which shooter's time is more than 8.97 and has a year prior to 2013?`:
```sql
                SELECT "shooter" FROM "steel_challenge_men_s_world_records" WHERE "time">8.97 AND "year"<2013;
```
## Task
Generate a SQL query to answer the following question:
`What country was the race in on April 27?`

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

CREATE TABLE "races" (
  "date" text,
  "race" text,
  "country" text,
  "winner" text,
  "team" text,
  "world_cup_leader" text,
  "leader_s_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country was the race in on April 27?`:
```sql
                SELECT "country" FROM "races" WHERE "date"='april 27';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the leader's team when the race was in France on October 5?`

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

CREATE TABLE "races" (
  "date" text,
  "race" text,
  "country" text,
  "winner" text,
  "team" text,
  "world_cup_leader" text,
  "leader_s_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the leader's team when the race was in France on October 5?`:
```sql
                SELECT "leader_s_team" FROM "races" WHERE "country"='france' AND "date"='october 5';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the team leading on August 17?`

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

CREATE TABLE "races" (
  "date" text,
  "race" text,
  "country" text,
  "winner" text,
  "team" text,
  "world_cup_leader" text,
  "leader_s_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the team leading on August 17?`:
```sql
                SELECT "team" FROM "races" WHERE "date"='august 17';
```
## Task
Generate a SQL query to answer the following question:
`In the Ronde Van Vlaanderen race what is the leader's team?`

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

CREATE TABLE "races" (
  "date" text,
  "race" text,
  "country" text,
  "winner" text,
  "team" text,
  "world_cup_leader" text,
  "leader_s_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the Ronde Van Vlaanderen race what is the leader's team?`:
```sql
                SELECT "leader_s_team" FROM "races" WHERE "race"='ronde van vlaanderen';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the race when Quick Step-Davitamon is the leader's team and the team of team telekom?`

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

CREATE TABLE "races" (
  "date" text,
  "race" text,
  "country" text,
  "winner" text,
  "team" text,
  "world_cup_leader" text,
  "leader_s_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the race when Quick Step-Davitamon is the leader's team and the team of team telekom?`:
```sql
                SELECT "race" FROM "races" WHERE "leader_s_team"='quick step-davitamon' AND "team"='team telekom';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Ranking Round Rank for Russia with a Final Rank over 11?`

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

CREATE TABLE "ranking_round" (
  "final_rank" real,
  "ranking_round_rank" real,
  "nation" text,
  "ranking_score" real,
  "round_of_16" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Ranking Round Rank for Russia with a Final Rank over 11?`:
```sql
                SELECT MAX("ranking_round_rank") FROM "ranking_round" WHERE "nation"='russia' AND "final_rank">11;
```
## Task
Generate a SQL query to answer the following question:
`Which Music has a Points Jury of 18 (5,5,4,4)?`

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

CREATE TABLE "po_prostu_taniec_just_dance" (
  "team" text,
  "dance" text,
  "music" text,
  "points_jury" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Music has a Points Jury of 18 (5,5,4,4)?`:
```sql
                SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "points_jury"='18 (5,5,4,4)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Music if the Dance is Jive?`

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

CREATE TABLE "po_prostu_taniec_just_dance" (
  "team" text,
  "dance" text,
  "music" text,
  "points_jury" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Music if the Dance is Jive?`:
```sql
                SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "dance"='jive';
```
## Task
Generate a SQL query to answer the following question:
`What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?`

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

CREATE TABLE "po_prostu_taniec_just_dance" (
  "team" text,
  "dance" text,
  "music" text,
  "points_jury" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?`:
```sql
                SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "team"='anna guzik & rafał kamiński' AND "points_jury"='24 (7,5,6,6)';
```
## Task
Generate a SQL query to answer the following question:
`Which Music has a Dance of Modern?`

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

CREATE TABLE "po_prostu_taniec_just_dance" (
  "team" text,
  "dance" text,
  "music" text,
  "points_jury" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Music has a Dance of Modern?`:
```sql
                SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "dance"='modern';
```
## Task
Generate a SQL query to answer the following question:
`What is the Points Jury for Dance pop?`

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

CREATE TABLE "po_prostu_taniec_just_dance" (
  "team" text,
  "dance" text,
  "music" text,
  "points_jury" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Points Jury for Dance pop?`:
```sql
                SELECT "points_jury" FROM "po_prostu_taniec_just_dance" WHERE "dance"='pop';
```
## Task
Generate a SQL query to answer the following question:
`Which Place has a Points Jury of 34 (7,8,9,10)?`

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

CREATE TABLE "po_prostu_taniec_just_dance" (
  "team" text,
  "dance" text,
  "music" text,
  "points_jury" text,
  "place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Place has a Points Jury of 34 (7,8,9,10)?`:
```sql
                SELECT "place" FROM "po_prostu_taniec_just_dance" WHERE "points_jury"='34 (7,8,9,10)';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2013 press freedom index of the country Egypt?`

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

CREATE TABLE "list_by_country" (
  "country" text,
  "freedom_in_the_world_2013" text,
  "2013_index_of_economic_freedom" text,
  "2013_press_freedom_index" text,
  "2012_democracy_index" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2013 press freedom index of the country Egypt?`:
```sql
                SELECT "2013_press_freedom_index" FROM "list_by_country" WHERE "country"='egypt';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2013 index of economic freedom of Slovenia?`

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

CREATE TABLE "list_by_country" (
  "country" text,
  "freedom_in_the_world_2013" text,
  "2013_index_of_economic_freedom" text,
  "2013_press_freedom_index" text,
  "2012_democracy_index" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2013 index of economic freedom of Slovenia?`:
```sql
                SELECT "2013_index_of_economic_freedom" FROM "list_by_country" WHERE "country"='slovenia';
```
## Task
Generate a SQL query to answer the following question:
`How many FA Trophy has a Total larger than 17 and a Player of david gamble and a League Cup larger than 0?`

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

CREATE TABLE "topscorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many FA Trophy has a Total larger than 17 and a Player of david gamble and a League Cup larger than 0?`:
```sql
                SELECT COUNT("fa_trophy") FROM "topscorers_in_order_of_league_goals" WHERE "total">17 AND "player"='david gamble' AND "league_cup">0;
```
## Task
Generate a SQL query to answer the following question:
`Which League Cup that has a Total of 19 and a League smaller than 15?`

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

CREATE TABLE "topscorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which League Cup that has a Total of 19 and a League smaller than 15?`:
```sql
                SELECT AVG("league_cup") FROM "topscorers_in_order_of_league_goals" WHERE "total"=19 AND "league"<15;
```
## Task
Generate a SQL query to answer the following question:
`How many FA Trophy that have a Player of paul dobson, and a League Cup smaller than 2?`

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

CREATE TABLE "topscorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many FA Trophy that have a Player of paul dobson, and a League Cup smaller than 2?`:
```sql
                SELECT COUNT("fa_trophy") FROM "topscorers_in_order_of_league_goals" WHERE "player"='paul dobson' AND "league_cup"<2;
```
## Task
Generate a SQL query to answer the following question:
`For what country is the skip Andy Kapp?`

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

CREATE TABLE "teams" (
  "team" text,
  "country" text,
  "home" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `For what country is the skip Andy Kapp?`:
```sql
                SELECT "country" FROM "teams" WHERE "skip"='andy kapp';
```
## Task
Generate a SQL query to answer the following question:
`Who is the second on the North America team for which Cathy Overton-Clapham the third?`

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

CREATE TABLE "teams" (
  "team" text,
  "country" text,
  "home" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the second on the North America team for which Cathy Overton-Clapham the third?`:
```sql
                SELECT "second" FROM "teams" WHERE "team"='north america' AND "third"='cathy overton-clapham';
```
## Task
Generate a SQL query to answer the following question:
`Who is the lead of the team from Lockerbie?`

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

CREATE TABLE "teams" (
  "team" text,
  "country" text,
  "home" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the lead of the team from Lockerbie?`:
```sql
                SELECT "lead" FROM "teams" WHERE "home"='lockerbie';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the team from Stirling?`

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

CREATE TABLE "teams" (
  "team" text,
  "country" text,
  "home" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the team from Stirling?`:
```sql
                SELECT "team" FROM "teams" WHERE "home"='stirling';
```
## Task
Generate a SQL query to answer the following question:
`Who is the lead on the Europe team that has a Liudmila Privivkova as the skip?`

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

CREATE TABLE "teams" (
  "team" text,
  "country" text,
  "home" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the lead on the Europe team that has a Liudmila Privivkova as the skip?`:
```sql
                SELECT "lead" FROM "teams" WHERE "team"='europe' AND "skip"='liudmila privivkova';
```
## Task
Generate a SQL query to answer the following question:
`Who is the second of the North America team from Edmonton, Canada?`

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

CREATE TABLE "teams" (
  "team" text,
  "country" text,
  "home" text,
  "skip" text,
  "third" text,
  "second" text,
  "lead" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the second of the North America team from Edmonton, Canada?`:
```sql
                SELECT "second" FROM "teams" WHERE "team"='north america' AND "country"='canada' AND "home"='edmonton';
```
## Task
Generate a SQL query to answer the following question:
`What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?`

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

CREATE TABLE "locomotives" (
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?`:
```sql
                SELECT "livery" FROM "locomotives" WHERE "locomotive_type"='steam' AND "year_built">1950 AND "wheel_arrangement"='2-6-2';
```
## Task
Generate a SQL query to answer the following question:
`What livery belongs to the steam Locomotive type builder that was building before 1989?`

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

CREATE TABLE "locomotives" (
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real
);
### SQL
Given the database schema, here is the SQL query that answers `What livery belongs to the steam Locomotive type builder that was building before 1989?`:
```sql
                SELECT "livery" FROM "locomotives" WHERE "year_built"<1989 AND "locomotive_type"='steam';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of medals when the gold is more than 2 and silver more than 2?`

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

CREATE TABLE "medal_count" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of medals when the gold is more than 2 and silver more than 2?`:
```sql
                SELECT COUNT("total") FROM "medal_count" WHERE "gold">2 AND "silver">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the most silver medals when the total is less than 4 and the rank is 12?`

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

CREATE TABLE "medal_count" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most silver medals when the total is less than 4 and the rank is 12?`:
```sql
                SELECT MAX("silver") FROM "medal_count" WHERE "total"<4 AND "rank"='12';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?`

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

CREATE TABLE "medal_count" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?`:
```sql
                SELECT SUM("bronze") FROM "medal_count" WHERE "silver">0 AND "total"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?`

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

CREATE TABLE "medal_count" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?`:
```sql
                SELECT COUNT("total") FROM "medal_count" WHERE "bronze">1 AND "nation"='germany' AND "gold"<1;
```
## Task
Generate a SQL query to answer the following question:
`When Oscar Míguez had over 107 goals, what was the lowest he ranked?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `When Oscar Míguez had over 107 goals, what was the lowest he ranked?`:
```sql
                SELECT MIN("rank") FROM "list_of_top_association_football_goal_sc" WHERE "name"='oscar míguez' AND "goals">107;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest number of goals for 1922–1935?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest number of goals for 1922–1935?`:
```sql
                SELECT MAX("goals") FROM "list_of_top_association_football_goal_sc" WHERE "years"='1922–1935';
```
## Task
Generate a SQL query to answer the following question:
`Which pick number was there for Jason French?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which pick number was there for Jason French?`:
```sql
                SELECT "pick_num" FROM "round_two" WHERE "player"='jason french';
```
## Task
Generate a SQL query to answer the following question:
`Which cfl team was associated with the college of manitoba?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which cfl team was associated with the college of manitoba?`:
```sql
                SELECT "cfl_team" FROM "round_two" WHERE "college"='manitoba';
```
## Task
Generate a SQL query to answer the following question:
`Which college's cfl team is the hamilton tiger-cats?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college's cfl team is the hamilton tiger-cats?`:
```sql
                SELECT "college" FROM "round_two" WHERE "cfl_team"='hamilton tiger-cats';
```
## Task
Generate a SQL query to answer the following question:
`Which position's cfl team was the Montreal Alouettes when the pick number was less than 15?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position's cfl team was the Montreal Alouettes when the pick number was less than 15?`:
```sql
                SELECT "position" FROM "round_two" WHERE "cfl_team"='montreal alouettes' AND "pick_num"<15;
```
## Task
Generate a SQL query to answer the following question:
`Which player was drafted by the Saskatchewan Roughriders?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player was drafted by the Saskatchewan Roughriders?`:
```sql
                SELECT "player" FROM "round_three" WHERE "cfl_team"='saskatchewan roughriders';
```
## Task
Generate a SQL query to answer the following question:
`What college did Ben Wearing play for?`

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

CREATE TABLE "round_three" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Ben Wearing play for?`:
```sql
                SELECT "college" FROM "round_three" WHERE "player"='ben wearing';
```
## Task
Generate a SQL query to answer the following question:
`What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals?`

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

CREATE TABLE "goals" (
  "name" text,
  "league_goals" real,
  "fa_cup_goals" real,
  "fl_cup_goals" real,
  "other_goals" real,
  "total" real,
  "career" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals?`:
```sql
                SELECT AVG("fa_cup_goals") FROM "goals" WHERE "other_goals"=0 AND "fl_cup_goals"=0 AND "league_goals"<39;
```
## Task
Generate a SQL query to answer the following question:
`On what date were the Ottawa Swans the away team?`

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

CREATE TABLE "round_thirteen" (
  "date" text,
  "time" text,
  "home" text,
  "away" text,
  "score" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date were the Ottawa Swans the away team?`:
```sql
                SELECT "date" FROM "round_thirteen" WHERE "away"='ottawa swans';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game with the Etobicoke Kangaroos as the home team?`

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

CREATE TABLE "round_thirteen" (
  "date" text,
  "time" text,
  "home" text,
  "away" text,
  "score" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game with the Etobicoke Kangaroos as the home team?`:
```sql
                SELECT "score" FROM "round_thirteen" WHERE "home"='etobicoke kangaroos';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game with the Broadview Hawks as the home team?`

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

CREATE TABLE "round_thirteen" (
  "date" text,
  "time" text,
  "home" text,
  "away" text,
  "score" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game with the Broadview Hawks as the home team?`:
```sql
                SELECT "score" FROM "round_thirteen" WHERE "home"='broadview hawks';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the Broadview Hawks home game?`

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

CREATE TABLE "round_thirteen" (
  "date" text,
  "time" text,
  "home" text,
  "away" text,
  "score" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the Broadview Hawks home game?`:
```sql
                SELECT "score" FROM "round_thirteen" WHERE "home"='broadview hawks';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team for the Etobicoke Kangaroos home game?`

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

CREATE TABLE "round_thirteen" (
  "date" text,
  "time" text,
  "home" text,
  "away" text,
  "score" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team for the Etobicoke Kangaroos home game?`:
```sql
                SELECT "away" FROM "round_thirteen" WHERE "home"='etobicoke kangaroos';
```
## Task
Generate a SQL query to answer the following question:
`What was the date for the 130-56 game?`

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

CREATE TABLE "round_thirteen" (
  "date" text,
  "time" text,
  "home" text,
  "away" text,
  "score" text,
  "ground" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date for the 130-56 game?`:
```sql
                SELECT "date" FROM "round_thirteen" WHERE "score"='130-56';
```
## Task
Generate a SQL query to answer the following question:
`Which men's singles has a women's singles of marketa koudelková as well as a Men's doubles of jan lanik / pavel weigner??`

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

CREATE TABLE "junior_champions" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which men's singles has a women's singles of marketa koudelková as well as a Men's doubles of jan lanik / pavel weigner??`:
```sql
                SELECT "men_s_singles" FROM "junior_champions" WHERE "women_s_singles"='marketa koudelková' AND "men_s_doubles"='jan lanik / pavel weigner';
```
## Task
Generate a SQL query to answer the following question:
`Which men's singles had a women's doubles team of irena ferencová / yweta trminková?`

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

CREATE TABLE "junior_champions" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which men's singles had a women's doubles team of irena ferencová / yweta trminková?`:
```sql
                SELECT "men_s_singles" FROM "junior_champions" WHERE "women_s_doubles"='irena ferencová / yweta trminková';
```
## Task
Generate a SQL query to answer the following question:
`What is the mean year when the women's doubles team was helena turcinková / buresová?`

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

CREATE TABLE "junior_champions" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the mean year when the women's doubles team was helena turcinková / buresová?`:
```sql
                SELECT AVG("year") FROM "junior_champions" WHERE "women_s_doubles"='helena turcinková / buresová';
```
## Task
Generate a SQL query to answer the following question:
`What is the date with Cuba is Home team?`

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

CREATE TABLE "2013_fixtures_and_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "home_team" text,
  "score" text,
  "away_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date with Cuba is Home team?`:
```sql
                SELECT "date" FROM "2013_fixtures_and_results" WHERE "home_team"='cuba';
```
## Task
Generate a SQL query to answer the following question:
`What is the location with Honduras is Home team?`

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

CREATE TABLE "2013_fixtures_and_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "home_team" text,
  "score" text,
  "away_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location with Honduras is Home team?`:
```sql
                SELECT "location" FROM "2013_fixtures_and_results" WHERE "home_team"='honduras';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of 11 April 2013 and Mexico Home team?`

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

CREATE TABLE "2013_fixtures_and_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "home_team" text,
  "score" text,
  "away_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of 11 April 2013 and Mexico Home team?`:
```sql
                SELECT "location" FROM "2013_fixtures_and_results" WHERE "home_team"='mexico' AND "date"='11 april 2013';
```
## Task
Generate a SQL query to answer the following question:
`What is the date that is Away team is Honduras?`

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

CREATE TABLE "2013_fixtures_and_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "home_team" text,
  "score" text,
  "away_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date that is Away team is Honduras?`:
```sql
                SELECT "date" FROM "2013_fixtures_and_results" WHERE "away_team"='honduras';
```
## Task
Generate a SQL query to answer the following question:
`What is the date where Guatemala is the Away team?`

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

CREATE TABLE "2013_fixtures_and_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "home_team" text,
  "score" text,
  "away_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date where Guatemala is the Away team?`:
```sql
                SELECT "date" FROM "2013_fixtures_and_results" WHERE "away_team"='guatemala';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for 17 April 2013?`

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

CREATE TABLE "2013_fixtures_and_results" (
  "date" text,
  "tournament" text,
  "location" text,
  "home_team" text,
  "score" text,
  "away_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score for 17 April 2013?`:
```sql
                SELECT "score" FROM "2013_fixtures_and_results" WHERE "date"='17 april 2013';
```
## Task
Generate a SQL query to answer the following question:
`How many weeks have September 14, 2008 as the date?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time_pt" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks have September 14, 2008 as the date?`:
```sql
                SELECT SUM("week") FROM "regular_season" WHERE "date"='september 14, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has a week less than 16, with September 7, 2008 as the date?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time_pt" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has a week less than 16, with September 7, 2008 as the date?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "week"<16 AND "date"='september 7, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What record has candlestick park as the game site, and october 12, 2008 as the date?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time_pt" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record has candlestick park as the game site, and october 12, 2008 as the date?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "game_site"='candlestick park' AND "date"='october 12, 2008';
```
## Task
Generate a SQL query to answer the following question:
`What date has new england patriots as the opponent?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time_pt" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has new england patriots as the opponent?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "opponent"='new england patriots';
```
## Task
Generate a SQL query to answer the following question:
`What date has 10 for the week?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time_pt" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has 10 for the week?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "week"=10;
```
## Task
Generate a SQL query to answer the following question:
`What game site has w 10-3 as the result?`

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

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time_pt" text,
  "opponent" text,
  "result" text,
  "record" text,
  "game_site" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game site has w 10-3 as the result?`:
```sql
                SELECT "game_site" FROM "regular_season" WHERE "result"='w 10-3';
```
## Task
Generate a SQL query to answer the following question:
`what is the victory margin in 2013 with a Winner's share of 1,440,000`

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

CREATE TABLE "winners" (
  "year" text,
  "champion" text,
  "country" text,
  "to_par" text,
  "margin_of_victory" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the victory margin in 2013 with a Winner's share of 1,440,000`:
```sql
                SELECT "margin_of_victory" FROM "winners" WHERE "winner_s_share"='1,440,000' AND "year"='2013';
```
## Task
Generate a SQL query to answer the following question:
`what is the victory margin with a 45,000 Winner's share`

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

CREATE TABLE "winners" (
  "year" text,
  "champion" text,
  "country" text,
  "to_par" text,
  "margin_of_victory" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the victory margin with a 45,000 Winner's share`:
```sql
                SELECT "margin_of_victory" FROM "winners" WHERE "winner_s_share"='45,000';
```
## Task
Generate a SQL query to answer the following question:
`what is the margin of victory with a 183,800 Winner's share`

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

CREATE TABLE "winners" (
  "year" text,
  "champion" text,
  "country" text,
  "to_par" text,
  "margin_of_victory" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the margin of victory with a 183,800 Winner's share`:
```sql
                SELECT "margin_of_victory" FROM "winners" WHERE "winner_s_share"='183,800';
```
## Task
Generate a SQL query to answer the following question:
`what is to par for the Winner's share 450,000`

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

CREATE TABLE "winners" (
  "year" text,
  "champion" text,
  "country" text,
  "to_par" text,
  "margin_of_victory" text,
  "winner_s_share" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is to par for the Winner's share 450,000`:
```sql
                SELECT "to_par" FROM "winners" WHERE "winner_s_share"='450,000';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?`

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

CREATE TABLE "goalscorers" (
  "rank" real,
  "name" text,
  "s_league" text,
  "singapore_cup" text,
  "singapore_league_cup" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?`:
```sql
                SELECT SUM("rank") FROM "goalscorers" WHERE "singapore_cup"='0 (1)' AND "name"='masrezwan masturi';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name of the person with a Total of 3 (15), and Rank of more than 3?`

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

CREATE TABLE "goalscorers" (
  "rank" real,
  "name" text,
  "s_league" text,
  "singapore_cup" text,
  "singapore_league_cup" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name of the person with a Total of 3 (15), and Rank of more than 3?`:
```sql
                SELECT "name" FROM "goalscorers" WHERE "total"='3 (15)' AND "rank">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Singapore Cup when the S-League is 5 (14)?`

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

CREATE TABLE "goalscorers" (
  "rank" real,
  "name" text,
  "s_league" text,
  "singapore_cup" text,
  "singapore_league_cup" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Singapore Cup when the S-League is 5 (14)?`:
```sql
                SELECT "singapore_cup" FROM "goalscorers" WHERE "s_league"='5 (14)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?`

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

CREATE TABLE "goalscorers" (
  "rank" real,
  "name" text,
  "s_league" text,
  "singapore_cup" text,
  "singapore_league_cup" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?`:
```sql
                SELECT "singapore_league_cup" FROM "goalscorers" WHERE "rank">4 AND "s_league"='2 (12)';
```