cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the two-round score for Bob Tway?`

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

CREATE TABLE "second_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the two-round score for Bob Tway?`:
```sql
                SELECT "score" FROM "second_round" WHERE "player"='bob tway';
```
## Task
Generate a SQL query to answer the following question:
`How many people went to the game that lasted 2:37 after game 2?`

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

CREATE TABLE "summary" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many people went to the game that lasted 2:37 after game 2?`:
```sql
                SELECT SUM("attendance") FROM "summary" WHERE "game">2 AND "time"='2:37';
```
## Task
Generate a SQL query to answer the following question:
`What is the FCC info of the w214ba call sign with a frequency below 96.3?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FCC info of the w214ba call sign with a frequency below 96.3?`:
```sql
                SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz"<96.3 AND "call_sign"='w214ba';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of the ERP W with a call sign of w242ak?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of the ERP W with a call sign of w242ak?`:
```sql
                SELECT COUNT("erp_w") FROM "translators" WHERE "call_sign"='w242ak';
```
## Task
Generate a SQL query to answer the following question:
`What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida?`

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

CREATE TABLE "translators" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" real,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida?`:
```sql
                SELECT "fcc_info" FROM "translators" WHERE "frequency_m_hz">95.3 AND "erp_w"<27 AND "city_of_license"='ocala, florida';
```
## Task
Generate a SQL query to answer the following question:
`What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta?`

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

CREATE TABLE "doubles_26_16_10" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta?`:
```sql
                SELECT "date" FROM "doubles_26_16_10" WHERE "outcome"='runner-up' AND "score"='6–4, 6–2' AND "opponents"='gisela dulko flavia pennetta';
```
## Task
Generate a SQL query to answer the following question:
`In Round 10, what was the Overall for Ed Tomlin?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Round 10, what was the Overall for Ed Tomlin?`:
```sql
                SELECT AVG("overall") FROM "indianapolis_colts_draft_history" WHERE "round"=10 AND "name"='ed tomlin';
```
## Task
Generate a SQL query to answer the following question:
`What was the Position of Pick #23 in a Round less than 5 with 23 Overall?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Position of Pick #23 in a Round less than 5 with 23 Overall?`:
```sql
                SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "round"<5 AND "pick_num"=23 AND "overall"=23;
```
## Task
Generate a SQL query to answer the following question:
`What Average Pick # has an Overall of 296?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Average Pick # has an Overall of 296?`:
```sql
                SELECT AVG("pick_num") FROM "indianapolis_colts_draft_history" WHERE "overall"=296;
```
## Task
Generate a SQL query to answer the following question:
`In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23?`:
```sql
                SELECT "pick_num" FROM "indianapolis_colts_draft_history" WHERE "overall">23 AND "position"='guard' AND "round"=13;
```
## Task
Generate a SQL query to answer the following question:
`With an Overall larger than 107, in what Round was Jim Duncan picked?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `With an Overall larger than 107, in what Round was Jim Duncan picked?`:
```sql
                SELECT SUM("round") FROM "indianapolis_colts_draft_history" WHERE "name"='jim duncan' AND "overall">107;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Pick # for the College of Maryland-Eastern Shore?`

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

CREATE TABLE "indianapolis_colts_draft_history" (
  "round" real,
  "pick_num" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Pick # for the College of Maryland-Eastern Shore?`:
```sql
                SELECT MAX("pick_num") FROM "indianapolis_colts_draft_history" WHERE "college"='maryland-eastern shore';
```
## Task
Generate a SQL query to answer the following question:
`What is Brown Motors best point total using the Offenhauser L4 engine since 1950?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Brown Motors best point total using the Offenhauser L4 engine since 1950?`:
```sql
                SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "year">1950 AND "engine"='offenhauser l4' AND "entrant"='brown motors';
```
## Task
Generate a SQL query to answer the following question:
`Name the length for stage of ss6`

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

CREATE TABLE "special_stages" (
  "stage" text,
  "time_eest" text,
  "name" text,
  "length" text,
  "winner" text,
  "rally_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the length for stage of ss6`:
```sql
                SELECT "length" FROM "special_stages" WHERE "stage"='ss6';
```
## Task
Generate a SQL query to answer the following question:
`Name the stage for m. grönholm and winner of s.loeb with time of 17:57`

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

CREATE TABLE "special_stages" (
  "stage" text,
  "time_eest" text,
  "name" text,
  "length" text,
  "winner" text,
  "rally_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the stage for m. grönholm and winner of s.loeb with time of 17:57`:
```sql
                SELECT "stage" FROM "special_stages" WHERE "rally_leader"='m. grönholm' AND "winner"='s.loeb' AND "time_eest"='17:57';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner for schimatari 1`

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

CREATE TABLE "special_stages" (
  "stage" text,
  "time_eest" text,
  "name" text,
  "length" text,
  "winner" text,
  "rally_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner for schimatari 1`:
```sql
                SELECT "winner" FROM "special_stages" WHERE "name"='schimatari 1';
```
## Task
Generate a SQL query to answer the following question:
`Name the stage for 08:46`

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

CREATE TABLE "special_stages" (
  "stage" text,
  "time_eest" text,
  "name" text,
  "length" text,
  "winner" text,
  "rally_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the stage for 08:46`:
```sql
                SELECT "stage" FROM "special_stages" WHERE "time_eest"='08:46';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner with rally leader of c. atkinson and name of agia sotira 1`

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

CREATE TABLE "special_stages" (
  "stage" text,
  "time_eest" text,
  "name" text,
  "length" text,
  "winner" text,
  "rally_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner with rally leader of c. atkinson and name of agia sotira 1`:
```sql
                SELECT "winner" FROM "special_stages" WHERE "rally_leader"='c. atkinson' AND "name"='agia sotira 1';
```
## Task
Generate a SQL query to answer the following question:
`Name the winner for ss14`

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

CREATE TABLE "special_stages" (
  "stage" text,
  "time_eest" text,
  "name" text,
  "length" text,
  "winner" text,
  "rally_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the winner for ss14`:
```sql
                SELECT "winner" FROM "special_stages" WHERE "stage"='ss14';
```
## Task
Generate a SQL query to answer the following question:
`Who won the mixed doubles the same year that Andrew Downes won the men's singles?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "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 `Who won the mixed doubles the same year that Andrew Downes won the men's singles?`:
```sql
                SELECT "mixed_doubles" FROM "previous_winners" WHERE "men_s_singles"='andrew downes';
```
## Task
Generate a SQL query to answer the following question:
`Who won the mixed doubles in the years that the men's doubles has no competition?`

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

CREATE TABLE "previous_winners" (
  "year" text,
  "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 `Who won the mixed doubles in the years that the men's doubles has no competition?`:
```sql
                SELECT "mixed_doubles" FROM "previous_winners" WHERE "men_s_doubles"='no competition';
```
## Task
Generate a SQL query to answer the following question:
`Who lost when the mariners played on September 12?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who lost when the mariners played on September 12?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "opponent"='mariners' AND "date"='september 12';
```
## Task
Generate a SQL query to answer the following question:
`On September 7 what was the record?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On September 7 what was the record?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='september 7';
```
## Task
Generate a SQL query to answer the following question:
`Who plays on the date september 29?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who plays on the date september 29?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='september 29';
```
## Task
Generate a SQL query to answer the following question:
`Which city of license has a wriq Call sign?`

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

CREATE TABLE "radio_iq_full_power_affiliates" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city of license has a wriq Call sign?`:
```sql
                SELECT "city_of_license" FROM "radio_iq_full_power_affiliates" WHERE "call_sign"='wriq';
```
## Task
Generate a SQL query to answer the following question:
`What is the total of Frequency MHz with a Class of b1?`

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

CREATE TABLE "radio_iq_full_power_affiliates" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of Frequency MHz with a Class of b1?`:
```sql
                SELECT SUM("frequency_m_hz") FROM "radio_iq_full_power_affiliates" WHERE "class"='b1';
```
## Task
Generate a SQL query to answer the following question:
`Which ERP W has a Class of A, and a Call sign of wffc?`

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

CREATE TABLE "radio_iq_full_power_affiliates" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which ERP W has a Class of A, and a Call sign of wffc?`:
```sql
                SELECT "erp_w" FROM "radio_iq_full_power_affiliates" WHERE "class"='a' AND "call_sign"='wffc';
```
## Task
Generate a SQL query to answer the following question:
`Which class City of license of ferrum, virginia?`

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

CREATE TABLE "radio_iq_full_power_affiliates" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class City of license of ferrum, virginia?`:
```sql
                SELECT "class" FROM "radio_iq_full_power_affiliates" WHERE "city_of_license"='ferrum, virginia';
```
## Task
Generate a SQL query to answer the following question:
`Which call sign has a Class of A, and a Frequency MHz of 88.7?`

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

CREATE TABLE "radio_iq_full_power_affiliates" (
  "call_sign" text,
  "frequency_m_hz" real,
  "city_of_license" text,
  "erp_w" text,
  "class" text,
  "fcc_info" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which call sign has a Class of A, and a Frequency MHz of 88.7?`:
```sql
                SELECT "call_sign" FROM "radio_iq_full_power_affiliates" WHERE "class"='a' AND "frequency_m_hz"=88.7;
```
## Task
Generate a SQL query to answer the following question:
`what heat number had a time of 58.44?`

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

CREATE TABLE "heats" (
  "heat" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `what heat number had a time of 58.44?`:
```sql
                SELECT COUNT("heat") FROM "heats" WHERE "time"='58.44';
```
## Task
Generate a SQL query to answer the following question:
`what lane was new zealand in?`

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

CREATE TABLE "heats" (
  "heat" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `what lane was new zealand in?`:
```sql
                SELECT "lane" FROM "heats" WHERE "nationality"='new zealand';
```
## Task
Generate a SQL query to answer the following question:
`What stage of the race was held on the course Reggio Calabria to Catanzaro?`

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

CREATE TABLE "stage_results" (
  "stage" text,
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `What stage of the race was held on the course Reggio Calabria to Catanzaro?`:
```sql
                SELECT "stage" FROM "stage_results" WHERE "course"='reggio calabria to catanzaro';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner for the Rome to Teramo course?`

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

CREATE TABLE "stage_results" (
  "stage" text,
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner for the Rome to Teramo course?`:
```sql
                SELECT "winner" FROM "stage_results" WHERE "course"='rome to teramo';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner of stage 11?`

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

CREATE TABLE "stage_results" (
  "stage" text,
  "date" text,
  "course" text,
  "distance" text,
  "winner" text,
  "race_leader" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner of stage 11?`:
```sql
                SELECT "winner" FROM "stage_results" WHERE "stage"='11';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Apps of indonesia with Goals smaller than 1000?`

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

CREATE TABLE "club" (
  "season" text,
  "team" text,
  "country" text,
  "division" text,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Apps of indonesia with Goals smaller than 1000?`:
```sql
                SELECT AVG("apps") FROM "club" WHERE "country"='indonesia' AND "goals"<1000;
```
## Task
Generate a SQL query to answer the following question:
`What division is Traktor Tashkent in 2005?`

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

CREATE TABLE "club" (
  "season" text,
  "team" text,
  "country" text,
  "division" text,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What division is Traktor Tashkent in 2005?`:
```sql
                SELECT "division" FROM "club" WHERE "team"='traktor tashkent' AND "season"='2005';
```
## Task
Generate a SQL query to answer the following question:
`How many apps does Uzbekistan have in 2003?`

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

CREATE TABLE "club" (
  "season" text,
  "team" text,
  "country" text,
  "division" text,
  "apps" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many apps does Uzbekistan have in 2003?`:
```sql
                SELECT "apps" FROM "club" WHERE "country"='uzbekistan' AND "season"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance at the game when the record was 74-77?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance at the game when the record was 74-77?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "record"='74-77';
```
## Task
Generate a SQL query to answer the following question:
`What was score of the game when the record was 72-74?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was score of the game when the record was 72-74?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='72-74';
```
## Task
Generate a SQL query to answer the following question:
`What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6?`

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

CREATE TABLE "series_3" (
  "episode_no" real,
  "airdate" text,
  "total_viewers" real,
  "share" text,
  "bbc_one_weekly_ranking" real
);
### SQL
Given the database schema, here is the SQL query that answers `What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6?`:
```sql
                SELECT "airdate" FROM "series_3" WHERE "episode_no"<4 AND "bbc_one_weekly_ranking"=6;
```
## Task
Generate a SQL query to answer the following question:
`What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?`

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

CREATE TABLE "series_3" (
  "episode_no" real,
  "airdate" text,
  "total_viewers" real,
  "share" text,
  "bbc_one_weekly_ranking" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?`:
```sql
                SELECT "total_viewers" FROM "series_3" WHERE "bbc_one_weekly_ranking">7 AND "episode_no"<4;
```
## Task
Generate a SQL query to answer the following question:
`Name the most rank with bronze of 0 and silver more than 1 and gold more than 0`

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

CREATE TABLE "cultural_events" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most rank with bronze of 0 and silver more than 1 and gold more than 0`:
```sql
                SELECT MAX("rank") FROM "cultural_events" WHERE "bronze"=0 AND "silver">1 AND "gold">0;
```
## Task
Generate a SQL query to answer the following question:
`Name the average silver with total less than 1`

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

CREATE TABLE "cultural_events" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average silver with total less than 1`:
```sql
                SELECT AVG("silver") FROM "cultural_events" WHERE "total"<1;
```
## Task
Generate a SQL query to answer the following question:
`Name the average year for result of nominated`

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

CREATE TABLE "awards" (
  "year" real,
  "award" text,
  "festival" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the average year for result of nominated`:
```sql
                SELECT AVG("year") FROM "awards" WHERE "result"='nominated';
```
## Task
Generate a SQL query to answer the following question:
`Name the nominated work for 1996 and festival of black maria film and video festival`

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

CREATE TABLE "awards" (
  "year" real,
  "award" text,
  "festival" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nominated work for 1996 and festival of black maria film and video festival`:
```sql
                SELECT "nominated_work" FROM "awards" WHERE "year"=1996 AND "festival"='black maria film and video festival';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the away game that they lost to Accrington?`

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

CREATE TABLE "league" (
  "date" text,
  "team" text,
  "venue" text,
  "win_draw_lose" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the away game that they lost to Accrington?`:
```sql
                SELECT "date" FROM "league" WHERE "venue"='away' AND "win_draw_lose"='lost' AND "team"='accrington';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the home game against Accrington?`

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

CREATE TABLE "league" (
  "date" text,
  "team" text,
  "venue" text,
  "win_draw_lose" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the home game against Accrington?`:
```sql
                SELECT "date" FROM "league" WHERE "team"='accrington' AND "venue"='home';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the home game against Derby County?`

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

CREATE TABLE "league" (
  "date" text,
  "team" text,
  "venue" text,
  "win_draw_lose" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the home game against Derby County?`:
```sql
                SELECT "win_draw_lose" FROM "league" WHERE "venue"='home' AND "team"='derby county';
```
## Task
Generate a SQL query to answer the following question:
`What is the Standard cost (USD) by hans Oischinger Creator ?`

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

CREATE TABLE "for_the_x_window_system" (
  "name" text,
  "creator" text,
  "latest_stable_version" text,
  "standard_cost_usd" text,
  "software_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Standard cost (USD) by hans Oischinger Creator ?`:
```sql
                SELECT "standard_cost_usd" FROM "for_the_x_window_system" WHERE "creator"='hans oischinger';
```
## Task
Generate a SQL query to answer the following question:
`What is the Standard cost (USD) of Kwin team creator?`

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

CREATE TABLE "for_the_x_window_system" (
  "name" text,
  "creator" text,
  "latest_stable_version" text,
  "standard_cost_usd" text,
  "software_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Standard cost (USD) of Kwin team creator?`:
```sql
                SELECT "standard_cost_usd" FROM "for_the_x_window_system" WHERE "creator"='kwin team';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)?`

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

CREATE TABLE "for_the_x_window_system" (
  "name" text,
  "creator" text,
  "latest_stable_version" text,
  "standard_cost_usd" text,
  "software_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)?`:
```sql
                SELECT "creator" FROM "for_the_x_window_system" WHERE "latest_stable_version"='0.5.2 (part of compiz fusion release)';
```
## Task
Generate a SQL query to answer the following question:
`Who is  a Creator of hyriand?`

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

CREATE TABLE "for_the_x_window_system" (
  "name" text,
  "creator" text,
  "latest_stable_version" text,
  "standard_cost_usd" text,
  "software_license" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is  a Creator of hyriand?`:
```sql
                SELECT "name" FROM "for_the_x_window_system" WHERE "creator"='hyriand';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of people who attended the game later than game 6?`

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

CREATE TABLE "summary" (
  "game" real,
  "date" text,
  "score" text,
  "location" text,
  "time" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of people who attended the game later than game 6?`:
```sql
                SELECT COUNT("attendance") FROM "summary" WHERE "game">6;
```
## Task
Generate a SQL query to answer the following question:
`Which title has a year later than 1986 with an album as the format?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which title has a year later than 1986 with an album as the format?`:
```sql
                SELECT "title" FROM "recording_industry_association_of_americ" WHERE "year">1986 AND "format_s"='album';
```
## Task
Generate a SQL query to answer the following question:
`Which is the average year with the date of February 24?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which is the average year with the date of February 24?`:
```sql
                SELECT AVG("year") FROM "recording_industry_association_of_americ" WHERE "date"='february 24';
```
## Task
Generate a SQL query to answer the following question:
`Which award description has a year later than 1994 with a date of December 6?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which award description has a year later than 1994 with a date of December 6?`:
```sql
                SELECT "award_description_s" FROM "recording_industry_association_of_americ" WHERE "year">1994 AND "date"='december 6';
```
## Task
Generate a SQL query to answer the following question:
`How many goals have a Date of december 4, 2010, and a Score of 1-0?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals have a Date of december 4, 2010, and a Score of 1-0?`:
```sql
                SELECT COUNT("goal") FROM "international_goals" WHERE "date"='december 4, 2010' AND "score"='1-0';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has a Competition of 2008 myanmar grand royal challenge cup?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has a Competition of 2008 myanmar grand royal challenge cup?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "competition"='2008 myanmar grand royal challenge cup';
```
## Task
Generate a SQL query to answer the following question:
`Which venue has a Goal of 4?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue has a Goal of 4?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "goal"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest goal with a Score of 3-0?`

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

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest goal with a Score of 3-0?`:
```sql
                SELECT MAX("goal") FROM "international_goals" WHERE "score"='3-0';
```
## Task
Generate a SQL query to answer the following question:
`Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010?`

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

CREATE TABLE "doubles_24_12_12" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partnering" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010?`:
```sql
                SELECT "opponents_in_the_final" FROM "doubles_24_12_12" WHERE "partnering"='bruno soares' AND "surface"='clay' AND "date"='august 1, 2010';
```
## Task
Generate a SQL query to answer the following question:
`What surface was played on that resulted in a score of 4–6, 6–2, [10–7]?`

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

CREATE TABLE "doubles_24_12_12" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partnering" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What surface was played on that resulted in a score of 4–6, 6–2, [10–7]?`:
```sql
                SELECT "surface" FROM "doubles_24_12_12" WHERE "score"='4–6, 6–2, [10–7]';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome on May 25, 2009?`

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

CREATE TABLE "doubles_24_12_12" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partnering" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome on May 25, 2009?`:
```sql
                SELECT "outcome" FROM "doubles_24_12_12" WHERE "date"='may 25, 2009';
```
## Task
Generate a SQL query to answer the following question:
`What was the outcome on May 18, 2008?`

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

CREATE TABLE "doubles_24_12_12" (
  "outcome" text,
  "date" text,
  "surface" text,
  "partnering" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the outcome on May 18, 2008?`:
```sql
                SELECT "outcome" FROM "doubles_24_12_12" WHERE "date"='may 18, 2008';
```
## Task
Generate a SQL query to answer the following question:
`what is the place for Heath Slocum?`

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

CREATE TABLE "first_round_thursday" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the place for Heath Slocum?`:
```sql
                SELECT "place" FROM "first_round_thursday" WHERE "player"='heath slocum';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance for august 29?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance for august 29?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "date"='august 29';
```
## Task
Generate a SQL query to answer the following question:
`Which loss has an Opponent of @ angels, and a Date of august 1?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which loss has an Opponent of @ angels, and a Date of august 1?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "opponent"='@ angels' AND "date"='august 1';
```
## Task
Generate a SQL query to answer the following question:
`Which score has an Attendance of 31,178?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which score has an Attendance of 31,178?`:
```sql
                SELECT "score" FROM "game_log" WHERE "attendance"='31,178';
```
## Task
Generate a SQL query to answer the following question:
`Which record has a Date of august 28?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which record has a Date of august 28?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='august 28';
```
## Task
Generate a SQL query to answer the following question:
`Which loss has an Attendance of 23,952?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which loss has an Attendance of 23,952?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "attendance"='23,952';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Loss of corcoran (4-4)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a Loss of corcoran (4-4)?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "loss"='corcoran (4-4)';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the gold medal match?`

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

CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
  "match" text,
  "date" text,
  "location" text,
  "lineup" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the gold medal match?`:
```sql
                SELECT "location" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "competition"='gold medal match';
```
## Task
Generate a SQL query to answer the following question:
`What was the lineup that resulted in 1-0 AET W?`

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

CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
  "match" text,
  "date" text,
  "location" text,
  "lineup" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lineup that resulted in 1-0 AET W?`:
```sql
                SELECT "lineup" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "result"='1-0 aet w';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of match 25?`

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

CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
  "match" text,
  "date" text,
  "location" text,
  "lineup" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of match 25?`:
```sql
                SELECT "result" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "match"='25';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the London 2012 Women's Olympic Football Tournament?`

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

CREATE TABLE "matches_and_goals_scored_at_world_cup_an" (
  "match" text,
  "date" text,
  "location" text,
  "lineup" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the London 2012 Women's Olympic Football Tournament?`:
```sql
                SELECT "result" FROM "matches_and_goals_scored_at_world_cup_an" WHERE "location"='london 2012 women''s olympic football tournament';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game that had a loss of Wegman (2-6)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game that had a loss of Wegman (2-6)?`:
```sql
                SELECT "score" FROM "game_log" WHERE "loss"='wegman (2-6)';
```
## Task
Generate a SQL query to answer the following question:
`What was the record at the game that had a loss of Blyleven (4-5)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record at the game that had a loss of Blyleven (4-5)?`:
```sql
                SELECT "record" FROM "game_log" WHERE "loss"='blyleven (4-5)';
```
## Task
Generate a SQL query to answer the following question:
`Name the city with july of 88 °f / 31.1 °c`

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

CREATE TABLE "monthly_normal_low_and_high_temperatures" (
  "city" text,
  "jan" text,
  "feb" text,
  "mar" text,
  "apr" text,
  "jun" text,
  "jul" text,
  "aug" text,
  "sep" text,
  "oct" text,
  "nov" text,
  "dec" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the city with july of 88 °f / 31.1 °c`:
```sql
                SELECT "city" FROM "monthly_normal_low_and_high_temperatures" WHERE "jul"='88 °f / 31.1 °c';
```
## Task
Generate a SQL query to answer the following question:
`Name the city with Feb of 66 °f / 18.9 °c`

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

CREATE TABLE "monthly_normal_low_and_high_temperatures" (
  "city" text,
  "jan" text,
  "feb" text,
  "mar" text,
  "apr" text,
  "jun" text,
  "jul" text,
  "aug" text,
  "sep" text,
  "oct" text,
  "nov" text,
  "dec" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the city with Feb of 66 °f / 18.9 °c`:
```sql
                SELECT "city" FROM "monthly_normal_low_and_high_temperatures" WHERE "feb"='66 °f / 18.9 °c';
```
## Task
Generate a SQL query to answer the following question:
`Name the city with september of 83 °f / 28.3 °c`

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

CREATE TABLE "monthly_normal_low_and_high_temperatures" (
  "city" text,
  "jan" text,
  "feb" text,
  "mar" text,
  "apr" text,
  "jun" text,
  "jul" text,
  "aug" text,
  "sep" text,
  "oct" text,
  "nov" text,
  "dec" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the city with september of 83 °f / 28.3 °c`:
```sql
                SELECT "city" FROM "monthly_normal_low_and_high_temperatures" WHERE "sep"='83 °f / 28.3 °c';
```