cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Tell me the naame of Investigation of thrombus imaging`

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

CREATE TABLE "indium_111" (
  "name" text,
  "investigation" text,
  "route_of_administration" text,
  "in_vitro_in_vivo" text,
  "imaging_non_imaging" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the naame of Investigation of thrombus imaging`:
```sql
                SELECT "name" FROM "indium_111" WHERE "investigation"='thrombus imaging';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the name for Investigation of thrombus imaging and Route of administration of iv`

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

CREATE TABLE "indium_111" (
  "name" text,
  "investigation" text,
  "route_of_administration" text,
  "in_vitro_in_vivo" text,
  "imaging_non_imaging" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the name for Investigation of thrombus imaging and Route of administration of iv`:
```sql
                SELECT "name" FROM "indium_111" WHERE "route_of_administration"='iv' AND "investigation"='thrombus imaging';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging`

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

CREATE TABLE "indium_111" (
  "name" text,
  "investigation" text,
  "route_of_administration" text,
  "in_vitro_in_vivo" text,
  "imaging_non_imaging" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging`:
```sql
                SELECT "in_vitro_in_vivo" FROM "indium_111" WHERE "route_of_administration"='iv' AND "investigation"='somatostatin receptor imaging';
```
## Task
Generate a SQL query to answer the following question:
`The player is Tim Regan and the pick # is position of d, what's the sum?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `The player is Tim Regan and the pick # is position of d, what's the sum?`:
```sql
                SELECT SUM("pick_num") FROM "round_two" WHERE "position"='d' AND "player"='tim regan';
```
## Task
Generate a SQL query to answer the following question:
`The position that has a pick # of 16 is what?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `The position that has a pick # of 16 is what?`:
```sql
                SELECT "position" FROM "round_two" WHERE "pick_num"=16;
```
## Task
Generate a SQL query to answer the following question:
`Damani Ralph is associated with which lowest pick #?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Damani Ralph is associated with which lowest pick #?`:
```sql
                SELECT MIN("pick_num") FROM "round_two" WHERE "player"='damani ralph';
```
## Task
Generate a SQL query to answer the following question:
`Chicago fire has a total of a total of how many #s?`

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

CREATE TABLE "round_two" (
  "pick_num" real,
  "mls_team" text,
  "player" text,
  "position" text,
  "affiliation" text
);
### SQL
Given the database schema, here is the SQL query that answers `Chicago fire has a total of a total of how many #s?`:
```sql
                SELECT COUNT("pick_num") FROM "round_two" WHERE "mls_team"='chicago fire';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the score for score in legs and year less than 2012`

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

CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" (
  "outcome" text,
  "year" real,
  "championship" text,
  "opponent_in_the_final" text,
  "score_l_score_in_legs_s_score_in_sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the score for score in legs and year less than 2012`:
```sql
                SELECT "score_l_score_in_legs_s_score_in_sets" FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "year"<2012;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the championship for runner-up outcome of 2010`

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

CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" (
  "outcome" text,
  "year" real,
  "championship" text,
  "opponent_in_the_final" text,
  "score_l_score_in_legs_s_score_in_sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the championship for runner-up outcome of 2010`:
```sql
                SELECT "championship" FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "outcome"='runner-up' AND "year"=2010;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the outcome for premier league darts`

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

CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" (
  "outcome" text,
  "year" real,
  "championship" text,
  "opponent_in_the_final" text,
  "score_l_score_in_legs_s_score_in_sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the outcome for premier league darts`:
```sql
                SELECT "outcome" FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "championship"='premier league darts';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the sum of Year for outcome of runner-up for world darts championship`

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

CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" (
  "outcome" text,
  "year" real,
  "championship" text,
  "opponent_in_the_final" text,
  "score_l_score_in_legs_s_score_in_sets" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the sum of Year for outcome of runner-up for world darts championship`:
```sql
                SELECT SUM("year") FROM "pdc_premier_event_finals_5_1_title_4_run" WHERE "outcome"='runner-up' AND "championship"='world darts championship';
```
## Task
Generate a SQL query to answer the following question:
`In 2007, how many points were won when more than 5 matches were played?`

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

CREATE TABLE "solheim_cup_record" (
  "year" text,
  "total_matches" real,
  "total_w_l_h" text,
  "singles_w_l_h" text,
  "points_won" real,
  "points_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `In 2007, how many points were won when more than 5 matches were played?`:
```sql
                SELECT COUNT("points_won") FROM "solheim_cup_record" WHERE "year"='2007' AND "total_matches">5;
```
## Task
Generate a SQL query to answer the following question:
`In 2007, what is the average total matches with points % larger than 33.3?`

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

CREATE TABLE "solheim_cup_record" (
  "year" text,
  "total_matches" real,
  "total_w_l_h" text,
  "singles_w_l_h" text,
  "points_won" real,
  "points_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `In 2007, what is the average total matches with points % larger than 33.3?`:
```sql
                SELECT AVG("total_matches") FROM "solheim_cup_record" WHERE "points_pct">33.3 AND "year"='2007';
```
## Task
Generate a SQL query to answer the following question:
`Which player attended school at Georgia Tech?`

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

CREATE TABLE "s" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player attended school at Georgia Tech?`:
```sql
                SELECT "player" FROM "s" WHERE "school_club_team"='georgia tech';
```
## Task
Generate a SQL query to answer the following question:
`What position does Ed Stokes hold?`

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

CREATE TABLE "s" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does Ed Stokes hold?`:
```sql
                SELECT "position" FROM "s" WHERE "player"='ed stokes';
```
## Task
Generate a SQL query to answer the following question:
`What is Michael Stewart's school or club team?`

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

CREATE TABLE "s" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_toronto" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Michael Stewart's school or club team?`:
```sql
                SELECT "school_club_team" FROM "s" WHERE "player"='michael stewart';
```
## Task
Generate a SQL query to answer the following question:
`What tournament was played on May 29, 2010?`

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

CREATE TABLE "doubles_8_10" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournament was played on May 29, 2010?`:
```sql
                SELECT "tournament" FROM "doubles_8_10" WHERE "date"='may 29, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What was the surface made of in the contest where Paula Ormaechea was the partner?`

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

CREATE TABLE "doubles_8_10" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the surface made of in the contest where Paula Ormaechea was the partner?`:
```sql
                SELECT "surface" FROM "doubles_8_10" WHERE "partner"='paula ormaechea';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of year for class pos of 3rd and laps larger than 353`

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

CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "laps" real,
  "pos" text,
  "class_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of year for class pos of 3rd and laps larger than 353`:
```sql
                SELECT COUNT("year") FROM "24_hours_of_le_mans_results" WHERE "class_pos"='3rd' AND "laps">353;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the method with a record of 4-2`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the method with a record of 4-2`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='4-2';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the record for yukiya naito`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the record for yukiya naito`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='yukiya naito';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the record for kazuhiro nakamura`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the record for kazuhiro nakamura`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='kazuhiro nakamura';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the method for stanislav nuschik`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the method for stanislav nuschik`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='stanislav nuschik';
```
## Task
Generate a SQL query to answer the following question:
`What was the Result of IFL: Los Angeles?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Result of IFL: Los Angeles?`:
```sql
                SELECT "res" FROM "mixed_martial_arts_record" WHERE "event"='ifl: los angeles';
```
## Task
Generate a SQL query to answer the following question:
`Which Event resulted in a Win for Opponent, Shane Ott?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Event resulted in a Win for Opponent, Shane Ott?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "opponent"='shane ott';
```
## Task
Generate a SQL query to answer the following question:
`Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?`

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

CREATE TABLE "critical_temperature_t_c_crystal_structu" (
  "formula" text,
  "notation" text,
  "t_c_k" real,
  "no_of_cu_o_planes_in_unit_cell" real,
  "crystal_structure" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?`:
```sql
                SELECT "crystal_structure" FROM "critical_temperature_t_c_crystal_structu" WHERE "no_of_cu_o_planes_in_unit_cell"=3 AND "t_c_k"=110;
```
## Task
Generate a SQL query to answer the following question:
`Name the gold with total larger than 33`

### 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 `Name the gold with total larger than 33`:
```sql
                SELECT "gold" FROM "medal_table" WHERE "total">33;
```
## Task
Generate a SQL query to answer the following question:
`Name the fewest gold for tanzania with bronze less than 0`

### 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 `Name the fewest gold for tanzania with bronze less than 0`:
```sql
                SELECT MIN("gold") FROM "medal_table" WHERE "nation"='tanzania' AND "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`Who is the opponent for week 10?`

### 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 `Who is the opponent for week 10?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"=10;
```
## Task
Generate a SQL query to answer the following question:
`For countries that won more than 32 gold medals, what was the highest number of golds?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `For countries that won more than 32 gold medals, what was the highest number of golds?`:
```sql
                SELECT MAX("gold") FROM "medal_table" WHERE "total">32;
```
## Task
Generate a SQL query to answer the following question:
`Tell me fourth place for year of 2010`

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

CREATE TABLE "australasian_championships" (
  "year" real,
  "host" text,
  "winners" text,
  "runners_up" text,
  "third_place" text,
  "fourth_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me fourth place for year of 2010`:
```sql
                SELECT "fourth_place" FROM "australasian_championships" WHERE "year"=2010;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the result for 2010 fifa world cup qualification`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the result for 2010 fifa world cup qualification`:
```sql
                SELECT "result" FROM "international_goals" WHERE "competition"='2010 fifa world cup qualification';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for 2010 fifa world cup qualification`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the date for 2010 fifa world cup qualification`:
```sql
                SELECT "date" FROM "international_goals" WHERE "competition"='2010 fifa world cup qualification';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the surface for november 28, 2010`

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

CREATE TABLE "singles_8_1" (
  "outcome" text,
  "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 `Tell me the surface for november 28, 2010`:
```sql
                SELECT "surface" FROM "singles_8_1" WHERE "date"='november 28, 2010';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the tournament with a hard surface for 6–1, 6–2`

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

CREATE TABLE "singles_8_1" (
  "outcome" text,
  "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 `Tell me the tournament with a hard surface for 6–1, 6–2`:
```sql
                SELECT "tournament" FROM "singles_8_1" WHERE "surface"='hard' AND "score"='6–1, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for 6–3, 6–2`

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

CREATE TABLE "singles_8_1" (
  "outcome" text,
  "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 `Tell me the date for 6–3, 6–2`:
```sql
                SELECT "date" FROM "singles_8_1" WHERE "score"='6–3, 6–2';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date for johanna konta`

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

CREATE TABLE "singles_8_1" (
  "outcome" text,
  "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 `Tell me the date for johanna konta`:
```sql
                SELECT "date" FROM "singles_8_1" WHERE "opponent_in_the_final"='johanna konta';
```
## Task
Generate a SQL query to answer the following question:
`What is the time value for the rider Brian Finch and a rank greater than 3?`

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

CREATE TABLE "1970_isle_of_man_production_500_cc_tt_fi" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time value for the rider Brian Finch and a rank greater than 3?`:
```sql
                SELECT "time" FROM "1970_isle_of_man_production_500_cc_tt_fi" WHERE "rank">3 AND "rider"='brian finch';
```
## Task
Generate a SQL query to answer the following question:
`What result does the project Once Upon A Time In The West, directed by Sergio Leone have?`

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

CREATE TABLE "prizes_and_awards" (
  "year" real,
  "director" text,
  "project" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What result does the project Once Upon A Time In The West, directed by Sergio Leone have?`:
```sql
                SELECT "result" FROM "prizes_and_awards" WHERE "director"='sergio leone' AND "project"='once upon a time in the west';
```
## Task
Generate a SQL query to answer the following question:
`What year was Bulworth nominated?`

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

CREATE TABLE "prizes_and_awards" (
  "year" real,
  "director" text,
  "project" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Bulworth nominated?`:
```sql
                SELECT "year" FROM "prizes_and_awards" WHERE "project"='bulworth';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Year for the project The Untouchables?`

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

CREATE TABLE "prizes_and_awards" (
  "year" real,
  "director" text,
  "project" text,
  "category" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Year for the project The Untouchables?`:
```sql
                SELECT AVG("year") FROM "prizes_and_awards" WHERE "project"='the untouchables';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the section for position of 8th and season of 2003`

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

CREATE TABLE "season_to_season" (
  "season" text,
  "level" text,
  "division" text,
  "section" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the section for position of 8th and season of 2003`:
```sql
                SELECT "section" FROM "season_to_season" WHERE "position"='8th' AND "season"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of week 17?`

### 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 date of week 17?`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=17;
```
## Task
Generate a SQL query to answer the following question:
`What was the latest week that the Tampa Bay Buccaneers were an 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 was the latest week that the Tampa Bay Buccaneers were an opponent?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "opponent"='tampa bay buccaneers';
```
## Task
Generate a SQL query to answer the following question:
`Name the fewest tries for leicester tigers with points less than 207`

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

CREATE TABLE "points" (
  "points" real,
  "name" text,
  "club" text,
  "tries" real,
  "drop" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the fewest tries for leicester tigers with points less than 207`:
```sql
                SELECT MIN("tries") FROM "points" WHERE "club"='leicester tigers' AND "points"<207;
```
## Task
Generate a SQL query to answer the following question:
`Name the date of st albans city for result of drew 0-0`

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

CREATE TABLE "2006_07_york_city_f_c_season" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date of st albans city for result of drew 0-0`:
```sql
                SELECT "date" FROM "2006_07_york_city_f_c_season" WHERE "opponent"='st albans city' AND "result"='drew 0-0';
```
## Task
Generate a SQL query to answer the following question:
`Name the venue for 15 august 2006`

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

CREATE TABLE "2006_07_york_city_f_c_season" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the venue for 15 august 2006`:
```sql
                SELECT "venue" FROM "2006_07_york_city_f_c_season" WHERE "date"='15 august 2006';
```
## Task
Generate a SQL query to answer the following question:
`Name the most attendance for tamworth with home venue`

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

CREATE TABLE "2006_07_york_city_f_c_season" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most attendance for tamworth with home venue`:
```sql
                SELECT MAX("attendance") FROM "2006_07_york_city_f_c_season" WHERE "opponent"='tamworth' AND "venue"='home';
```
## Task
Generate a SQL query to answer the following question:
`Name the least attendance for 10 october 2006`

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

CREATE TABLE "2006_07_york_city_f_c_season" (
  "date" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least attendance for 10 october 2006`:
```sql
                SELECT MIN("attendance") FROM "2006_07_york_city_f_c_season" WHERE "date"='10 october 2006';
```
## Task
Generate a SQL query to answer the following question:
`I want the average bronze for total of 19 and silver of 8 with rank of 31`

### 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 `I want the average bronze for total of 19 and silver of 8 with rank of 31`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "total"=19 AND "silver"=8 AND "rank"='31';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the average bronze for rank of 43 and total less than 11`

### 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 `Tell me the average bronze for rank of 43 and total less than 11`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "rank"='43' AND "total"<11;
```
## Task
Generate a SQL query to answer the following question:
`Say the frequency of 1290 khz`

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

CREATE TABLE "affiliates" (
  "calls" text,
  "frequency" text,
  "branding" text,
  "format" text,
  "timeslot" text,
  "group_owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Say the frequency of 1290 khz`:
```sql
                SELECT "format" FROM "affiliates" WHERE "frequency"='1290 khz';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the timeslot of calls of wrko`

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

CREATE TABLE "affiliates" (
  "calls" text,
  "frequency" text,
  "branding" text,
  "format" text,
  "timeslot" text,
  "group_owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the timeslot of calls of wrko`:
```sql
                SELECT "timeslot" FROM "affiliates" WHERE "calls"='wrko';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the format for calls of wrko`

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

CREATE TABLE "affiliates" (
  "calls" text,
  "frequency" text,
  "branding" text,
  "format" text,
  "timeslot" text,
  "group_owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the format for calls of wrko`:
```sql
                SELECT "format" FROM "affiliates" WHERE "calls"='wrko';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the calls for frequency of 1290 khz`

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

CREATE TABLE "affiliates" (
  "calls" text,
  "frequency" text,
  "branding" text,
  "format" text,
  "timeslot" text,
  "group_owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the calls for frequency of 1290 khz`:
```sql
                SELECT "calls" FROM "affiliates" WHERE "frequency"='1290 khz';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the branding for frequency of 680 khz`

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

CREATE TABLE "affiliates" (
  "calls" text,
  "frequency" text,
  "branding" text,
  "format" text,
  "timeslot" text,
  "group_owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the branding for frequency of 680 khz`:
```sql
                SELECT "branding" FROM "affiliates" WHERE "frequency"='680 khz';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the timeslot for calls of whyn`

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

CREATE TABLE "affiliates" (
  "calls" text,
  "frequency" text,
  "branding" text,
  "format" text,
  "timeslot" text,
  "group_owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the timeslot for calls of whyn`:
```sql
                SELECT "timeslot" FROM "affiliates" WHERE "calls"='whyn';
```
## Task
Generate a SQL query to answer the following question:
`For how long did Bolivia have a lane greater than 6?`

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

CREATE TABLE "heats" (
  "heat_rank" real,
  "lane" real,
  "swimmer" text,
  "country" text,
  "time" real,
  "overall_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `For how long did Bolivia have a lane greater than 6?`:
```sql
                SELECT COUNT("time") FROM "heats" WHERE "country"='bolivia' AND "lane">6;
```
## Task
Generate a SQL query to answer the following question:
`In heat rank 7, what is the sum of lanes?`

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

CREATE TABLE "heats" (
  "heat_rank" real,
  "lane" real,
  "swimmer" text,
  "country" text,
  "time" real,
  "overall_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `In heat rank 7, what is the sum of lanes?`:
```sql
                SELECT SUM("lane") FROM "heats" WHERE "heat_rank"=7;
```
## Task
Generate a SQL query to answer the following question:
`Which country is ranked 56 overall and has a heat rank smaller than 8?`

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

CREATE TABLE "heats" (
  "heat_rank" real,
  "lane" real,
  "swimmer" text,
  "country" text,
  "time" real,
  "overall_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country is ranked 56 overall and has a heat rank smaller than 8?`:
```sql
                SELECT "country" FROM "heats" WHERE "heat_rank"<8 AND "overall_rank"='56';
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest lane with an overall rank of 79 and a time larger than 26.1?`

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

CREATE TABLE "heats" (
  "heat_rank" real,
  "lane" real,
  "swimmer" text,
  "country" text,
  "time" real,
  "overall_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest lane with an overall rank of 79 and a time larger than 26.1?`:
```sql
                SELECT MAX("lane") FROM "heats" WHERE "overall_rank"='79' AND "time">26.1;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the highest week for metropolitan stadium for attendance more than 47,644`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the highest week for metropolitan stadium for attendance more than 47,644`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "venue"='metropolitan stadium' AND "attendance">'47,644';
```
## Task
Generate a SQL query to answer the following question:
`Name the sum of played for serik berdalin and drawn more than 4`

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

CREATE TABLE "coaches" (
  "manager" text,
  "period" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sum of played for serik berdalin and drawn more than 4`:
```sql
                SELECT SUM("played") FROM "coaches" WHERE "manager"='serik berdalin' AND "drawn">4;
```
## Task
Generate a SQL query to answer the following question:
`Who had the highest total PR seats of 48 with a District seat larger than than 73?`

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

CREATE TABLE "results" (
  "party" text,
  "pr_seats" real,
  "district_seats" real,
  "total_elected_2001" text,
  "total_seats" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the highest total PR seats of 48 with a District seat larger than than 73?`:
```sql
                SELECT MAX("total_seats") FROM "results" WHERE "pr_seats"=48 AND "district_seats">73;
```
## Task
Generate a SQL query to answer the following question:
`In 1955 which party did Thomas Mitchell belong to?`

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

CREATE TABLE "since_1945" (
  "candidate" text,
  "party" text,
  "constituency" text,
  "year" text,
  "days" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1955 which party did Thomas Mitchell belong to?`:
```sql
                SELECT "party" FROM "since_1945" WHERE "year"='1955' AND "candidate"='thomas mitchell';
```
## Task
Generate a SQL query to answer the following question:
`What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone?`

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

CREATE TABLE "since_1945" (
  "candidate" text,
  "party" text,
  "constituency" text,
  "year" text,
  "days" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone?`:
```sql
                SELECT "days" FROM "since_1945" WHERE "party"='ulster unionist' AND "constituency"='fermanagh and south tyrone';
```
## Task
Generate a SQL query to answer the following question:
`What are the number of days in 1945 where the constituent was heywood and radcliffe?`

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

CREATE TABLE "since_1945" (
  "candidate" text,
  "party" text,
  "constituency" text,
  "year" text,
  "days" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the number of days in 1945 where the constituent was heywood and radcliffe?`:
```sql
                SELECT "days" FROM "since_1945" WHERE "year"='1945' AND "constituency"='heywood and radcliffe';
```
## Task
Generate a SQL query to answer the following question:
`What year was Hazel Grove the constituent for the liberal party?`

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

CREATE TABLE "since_1945" (
  "candidate" text,
  "party" text,
  "constituency" text,
  "year" text,
  "days" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was Hazel Grove the constituent for the liberal party?`:
```sql
                SELECT "year" FROM "since_1945" WHERE "party"='liberal' AND "constituency"='hazel grove';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison`

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

CREATE TABLE "superbike_race_2_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison`:
```sql
                SELECT AVG("laps") FROM "superbike_race_2_classification" WHERE "grid">12 AND "bike"='ducati 999rs' AND "rider"='dean ellison';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the highest Laps for grid less than 22 and riderS of ruben xaus`

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

CREATE TABLE "superbike_race_2_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the highest Laps for grid less than 22 and riderS of ruben xaus`:
```sql
                SELECT MAX("laps") FROM "superbike_race_2_classification" WHERE "grid"<22 AND "rider"='ruben xaus';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the total number of grid for rider of james toseland`

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

CREATE TABLE "superbike_race_2_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the total number of grid for rider of james toseland`:
```sql
                SELECT COUNT("grid") FROM "superbike_race_2_classification" WHERE "rider"='james toseland';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the least Laps for grid larger than 2 with 35:26.734`

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

CREATE TABLE "superbike_race_2_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the least Laps for grid larger than 2 with 35:26.734`:
```sql
                SELECT MIN("laps") FROM "superbike_race_2_classification" WHERE "time"='35:26.734' AND "grid">2;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the date with week of 13`

### 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 `Tell me the date with week of 13`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"=13;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the average week for attendance of 48,113`

### 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 `Tell me the average week for attendance of 48,113`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "attendance"='48,113';
```
## Task
Generate a SQL query to answer the following question:
`Which Album had a year less than 2005 with a Label by Ministry of Sound?`

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

CREATE TABLE "albums" (
  "year" real,
  "album" text,
  "song" text,
  "label" text,
  "catalognum" text,
  "format" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Album had a year less than 2005 with a Label by Ministry of Sound?`:
```sql
                SELECT "album" FROM "albums" WHERE "year"<2005 AND "label"='ministry of sound';
```
## Task
Generate a SQL query to answer the following question:
`Which Album had a bigger year than 2005 and whose country was Australia?`

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

CREATE TABLE "albums" (
  "year" real,
  "album" text,
  "song" text,
  "label" text,
  "catalognum" text,
  "format" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Album had a bigger year than 2005 and whose country was Australia?`:
```sql
                SELECT "album" FROM "albums" WHERE "year">2005 AND "country"='australia';
```
## Task
Generate a SQL query to answer the following question:
`Which song had Central Station as a label and whose album was Various - Wild Nights 4?`

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

CREATE TABLE "albums" (
  "year" real,
  "album" text,
  "song" text,
  "label" text,
  "catalognum" text,
  "format" text,
  "country" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song had Central Station as a label and whose album was Various - Wild Nights 4?`:
```sql
                SELECT "song" FROM "albums" WHERE "label"='central station' AND "album"='various - wild nights 4';
```
## Task
Generate a SQL query to answer the following question:
`Where did Zimbabwe play?`

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

CREATE TABLE "in_a_match" (
  "sixes" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did Zimbabwe play?`:
```sql
                SELECT "venue" FROM "in_a_match" WHERE "opponent"='zimbabwe';
```
## Task
Generate a SQL query to answer the following question:
`What is the date when Canada played?`

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

CREATE TABLE "in_a_match" (
  "sixes" text,
  "player" text,
  "opponent" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date when Canada played?`:
```sql
                SELECT "date" FROM "in_a_match" WHERE "opponent"='canada';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the lowest silver for rank of 9 and bronze less than 2`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the lowest silver for rank of 9 and bronze less than 2`:
```sql
                SELECT MIN("silver") FROM "medal_table" WHERE "rank"=9 AND "bronze"<2;
```
## Task
Generate a SQL query to answer the following question:
`Name the report for raymond sommer`

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

CREATE TABLE "non_championship_grands_prix" (
  "name" text,
  "circuit" text,
  "date" text,
  "winning_driver" text,
  "winning_constructor" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the report for raymond sommer`:
```sql
                SELECT "report" FROM "non_championship_grands_prix" WHERE "winning_driver"='raymond sommer';
```