cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What percentage of users were using mobile browsers during the period in which 2.62% were using Opera?`

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

CREATE TABLE "usage_share_data_from_wikimedia_visitor_" (
  "period" text,
  "internet_explorer" text,
  "firefox" text,
  "chrome" text,
  "safari" text,
  "opera" text,
  "other_mozilla" text,
  "mobile" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of users were using mobile browsers during the period in which 2.62% were using Opera?`:
```sql
                SELECT "mobile" FROM "usage_share_data_from_wikimedia_visitor_" WHERE "opera"='2.62%';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?`

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

CREATE TABLE "usage_share_data_from_wikimedia_visitor_" (
  "period" text,
  "internet_explorer" text,
  "firefox" text,
  "chrome" text,
  "safari" text,
  "opera" text,
  "other_mozilla" text,
  "mobile" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?`:
```sql
                SELECT "mobile" FROM "usage_share_data_from_wikimedia_visitor_" WHERE "chrome"='9.00%';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of users were using Safari during the period in which 30.82% were using Firefox?`

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

CREATE TABLE "usage_share_data_from_wikimedia_visitor_" (
  "period" text,
  "internet_explorer" text,
  "firefox" text,
  "chrome" text,
  "safari" text,
  "opera" text,
  "other_mozilla" text,
  "mobile" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of users were using Safari during the period in which 30.82% were using Firefox?`:
```sql
                SELECT "safari" FROM "usage_share_data_from_wikimedia_visitor_" WHERE "firefox"='30.82%';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers?`

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

CREATE TABLE "usage_share_data_from_wikimedia_visitor_" (
  "period" text,
  "internet_explorer" text,
  "firefox" text,
  "chrome" text,
  "safari" text,
  "opera" text,
  "other_mozilla" text,
  "mobile" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers?`:
```sql
                SELECT "internet_explorer" FROM "usage_share_data_from_wikimedia_visitor_" WHERE "mobile"='2.1%';
```
## Task
Generate a SQL query to answer the following question:
`What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome?`

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

CREATE TABLE "usage_share_data_from_wikimedia_visitor_" (
  "period" text,
  "internet_explorer" text,
  "firefox" text,
  "chrome" text,
  "safari" text,
  "opera" text,
  "other_mozilla" text,
  "mobile" text
);
### SQL
Given the database schema, here is the SQL query that answers `What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome?`:
```sql
                SELECT "other_mozilla" FROM "usage_share_data_from_wikimedia_visitor_" WHERE "chrome"='9.00%';
```
## Task
Generate a SQL query to answer the following question:
`What date has w 14-10 as the result?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date has w 14-10 as the result?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='w 14-10';
```
## Task
Generate a SQL query to answer the following question:
`What opponent has a week less than 12, with November 25, 1965 as the date?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What opponent has a week less than 12, with November 25, 1965 as the date?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "week"<12 AND "date"='november 25, 1965';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "date"='september 19, 1965' AND "attendance"<'46,941';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest week that has 51,499 as the attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest week that has 51,499 as the attendance?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "attendance"='51,499';
```
## Task
Generate a SQL query to answer the following question:
`What is the result that has an attendance greater than 45,658, a week greater than 8, with baltimore colts as the opponent?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result that has an attendance greater than 45,658, a week greater than 8, with baltimore colts as the opponent?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance">'45,658' AND "week">8 AND "opponent"='baltimore colts';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for the active rock format?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for the active rock format?`:
```sql
                SELECT "frequency" FROM "radio" WHERE "format"='active rock';
```
## Task
Generate a SQL query to answer the following question:
`What is the branding for fm 88.9?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the branding for fm 88.9?`:
```sql
                SELECT "branding" FROM "radio" WHERE "frequency"='fm 88.9';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the owner of rock 97.7?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the owner of rock 97.7?`:
```sql
                SELECT "owner" FROM "radio" WHERE "branding"='rock 97.7';
```
## Task
Generate a SQL query to answer the following question:
`What is the branding for cbxp-fm?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the branding for cbxp-fm?`:
```sql
                SELECT "branding" FROM "radio" WHERE "call_sign"='cbxp-fm';
```
## Task
Generate a SQL query to answer the following question:
`What is the call sign for country station fm 93.1?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the call sign for country station fm 93.1?`:
```sql
                SELECT "call_sign" FROM "radio" WHERE "format"='country' AND "frequency"='fm 93.1';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency for the country station owned by Jim Pattison Group?`

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

CREATE TABLE "radio" (
  "frequency" text,
  "call_sign" text,
  "branding" text,
  "format" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency for the country station owned by Jim Pattison Group?`:
```sql
                SELECT "frequency" FROM "radio" WHERE "format"='country' AND "owner"='jim pattison group';
```
## Task
Generate a SQL query to answer the following question:
`What game was located at the Los Angeles Memorial Sports Arena?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game was located at the Los Angeles Memorial Sports Arena?`:
```sql
                SELECT "game" FROM "game_log" WHERE "location_attendance"='los angeles memorial sports arena';
```
## Task
Generate a SQL query to answer the following question:
`What is the location for the game with a score of w 106-81?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location for the game with a score of w 106-81?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "score"='w 106-81';
```
## Task
Generate a SQL query to answer the following question:
`Where is the location of Game 4?`

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

CREATE TABLE "game_log" (
  "game" text,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the location of Game 4?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"='4';
```
## Task
Generate a SQL query to answer the following question:
`What is the lane total when rank is 2?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lane total when rank is 2?`:
```sql
                SELECT SUM("lane") FROM "semifinal_1" WHERE "rank"=2;
```
## Task
Generate a SQL query to answer the following question:
`Gemma Spofforth has what time?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Gemma Spofforth has what time?`:
```sql
                SELECT "time" FROM "semifinal_1" WHERE "name"='gemma spofforth';
```
## Task
Generate a SQL query to answer the following question:
`Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4?`

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

CREATE TABLE "tallest_buildings_by_pinnacle_height" (
  "pinn_rank" real,
  "std_rank" real,
  "name" text,
  "pinnacle_height_ft_m" text,
  "standard_height_ft_m" text,
  "floors" real,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4?`:
```sql
                SELECT AVG("floors") FROM "tallest_buildings_by_pinnacle_height" WHERE "pinnacle_height_ft_m"='1,136 (346)' AND "pinn_rank">4;
```
## Task
Generate a SQL query to answer the following question:
`How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?`

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

CREATE TABLE "tallest_buildings_by_pinnacle_height" (
  "pinn_rank" real,
  "std_rank" real,
  "name" text,
  "pinnacle_height_ft_m" text,
  "standard_height_ft_m" text,
  "floors" real,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?`:
```sql
                SELECT SUM("std_rank") FROM "tallest_buildings_by_pinnacle_height" WHERE "name"='311 south wacker drive' AND "year">1990;
```
## Task
Generate a SQL query to answer the following question:
`Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?`

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

CREATE TABLE "tallest_buildings_by_pinnacle_height" (
  "pinn_rank" real,
  "std_rank" real,
  "name" text,
  "pinnacle_height_ft_m" text,
  "standard_height_ft_m" text,
  "floors" real,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6?`:
```sql
                SELECT MAX("floors") FROM "tallest_buildings_by_pinnacle_height" WHERE "pinnacle_height_ft_m"='995 (303)' AND "std_rank">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the average time with a rank lower than 2 for Andy Turner?`

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

CREATE TABLE "semi_finals" (
  "rank" real,
  "heat" real,
  "name" text,
  "nationality" text,
  "time" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average time with a rank lower than 2 for Andy Turner?`:
```sql
                SELECT AVG("time") FROM "semi_finals" WHERE "rank">2 AND "name"='andy turner';
```
## Task
Generate a SQL query to answer the following question:
`What was the date for morocco when the year was lerger than 1981?`

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

CREATE TABLE "expansions_by_region" (
  "continent" text,
  "location" text,
  "city" text,
  "date" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date for morocco when the year was lerger than 1981?`:
```sql
                SELECT "date" FROM "expansions_by_region" WHERE "year">1981 AND "location"='morocco';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest year when the city is casablanca?`

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

CREATE TABLE "expansions_by_region" (
  "continent" text,
  "location" text,
  "city" text,
  "date" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest year when the city is casablanca?`:
```sql
                SELECT MIN("year") FROM "expansions_by_region" WHERE "city"='casablanca';
```
## Task
Generate a SQL query to answer the following question:
`What year was the expansion in the city of San Juan?`

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

CREATE TABLE "expansions_by_region" (
  "continent" text,
  "location" text,
  "city" text,
  "date" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What year was the expansion in the city of San Juan?`:
```sql
                SELECT COUNT("year") FROM "expansions_by_region" WHERE "city"='san juan';
```
## Task
Generate a SQL query to answer the following question:
`What city was located in the Netherlands?`

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

CREATE TABLE "expansions_by_region" (
  "continent" text,
  "location" text,
  "city" text,
  "date" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What city was located in the Netherlands?`:
```sql
                SELECT "city" FROM "expansions_by_region" WHERE "location"='netherlands';
```
## Task
Generate a SQL query to answer the following question:
`What location had a year of 1971 and a city of Tokyo?`

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

CREATE TABLE "expansions_by_region" (
  "continent" text,
  "location" text,
  "city" text,
  "date" text,
  "year" real
);
### SQL
Given the database schema, here is the SQL query that answers `What location had a year of 1971 and a city of Tokyo?`:
```sql
                SELECT "location" FROM "expansions_by_region" WHERE "year"=1971 AND "city"='tokyo';
```
## Task
Generate a SQL query to answer the following question:
`What award did they win before 2005?`

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

CREATE TABLE "awards_and_nominations" (
  "year" real,
  "organization" text,
  "award" text,
  "work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What award did they win before 2005?`:
```sql
                SELECT "award" FROM "awards_and_nominations" WHERE "year"<2005;
```
## Task
Generate a SQL query to answer the following question:
`When was Southend United the home team?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Southend United the home team?`:
```sql
                SELECT "date" FROM "second_round_proper" WHERE "home_team"='southend united';
```
## Task
Generate a SQL query to answer the following question:
`For the game on 13 December 1975 with Halifax Town as the away team what was the score?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the game on 13 December 1975 with Halifax Town as the away team what was the score?`:
```sql
                SELECT "score" FROM "second_round_proper" WHERE "date"='13 december 1975' AND "away_team"='halifax town';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team when 6 was the tie no?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team when 6 was the tie no?`:
```sql
                SELECT "away_team" FROM "second_round_proper" WHERE "tie_no"='6';
```
## Task
Generate a SQL query to answer the following question:
`The game with 13 as the tie no had what as the score?`

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

CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `The game with 13 as the tie no had what as the score?`:
```sql
                SELECT "score" FROM "second_round_proper" WHERE "tie_no"='13';
```
## Task
Generate a SQL query to answer the following question:
`Which conference joined in 1954 with a beavers mascot?`

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

CREATE TABLE "old_northern_state_conference_membership" (
  "school_ihsaa_i_dnum" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "year_joined" real,
  "year_left" real,
  "conference_joined" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which conference joined in 1954 with a beavers mascot?`:
```sql
                SELECT "conference_joined" FROM "old_northern_state_conference_membership" WHERE "year_joined"=1954 AND "mascot"='beavers';
```
## Task
Generate a SQL query to answer the following question:
`What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS?`

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

CREATE TABLE "2008_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS?`:
```sql
                SELECT "romaji_title" FROM "2008_spring_season" WHERE "tv_station"='tbs' AND "japanese_title"='around40〜注文の多いオンナたち〜';
```
## Task
Generate a SQL query to answer the following question:
`What station has average ratings of 14.7%?`

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

CREATE TABLE "2008_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What station has average ratings of 14.7%?`:
```sql
                SELECT "tv_station" FROM "2008_spring_season" WHERE "average_ratings"='14.7%';
```
## Task
Generate a SQL query to answer the following question:
`What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?`

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

CREATE TABLE "2008_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?`:
```sql
                SELECT "japanese_title" FROM "2008_spring_season" WHERE "episodes">10 AND "tv_station"='tbs' AND "average_ratings"='14.8%';
```
## Task
Generate a SQL query to answer the following question:
`What episode has average ratings of 7.4%?`

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

CREATE TABLE "2008_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What episode has average ratings of 7.4%?`:
```sql
                SELECT AVG("episodes") FROM "2008_spring_season" WHERE "average_ratings"='7.4%';
```
## Task
Generate a SQL query to answer the following question:
`What is the episode on Fuji TV titled Absolute Boyfriend?`

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

CREATE TABLE "2008_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the episode on Fuji TV titled Absolute Boyfriend?`:
```sql
                SELECT MIN("episodes") FROM "2008_spring_season" WHERE "tv_station"='fuji tv' AND "romaji_title"='absolute boyfriend';
```
## Task
Generate a SQL query to answer the following question:
`What is the episode on NHK with average ratings of 9.2%?`

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

CREATE TABLE "2008_spring_season" (
  "japanese_title" text,
  "romaji_title" text,
  "tv_station" text,
  "episodes" real,
  "average_ratings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the episode on NHK with average ratings of 9.2%?`:
```sql
                SELECT COUNT("episodes") FROM "2008_spring_season" WHERE "tv_station"='nhk' AND "average_ratings"='9.2%';
```
## Task
Generate a SQL query to answer the following question:
`Which School has a Year Joined larger than 1926, and a Mascot of vikings?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment" real,
  "ihsaa_class_football_soccer" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which School has a Year Joined larger than 1926, and a Mascot of vikings?`:
```sql
                SELECT "school" FROM "membership" WHERE "year_joined">1926 AND "mascot"='vikings';
```
## Task
Generate a SQL query to answer the following question:
`Which Mascot has a School of logansport community?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment" real,
  "ihsaa_class_football_soccer" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Mascot has a School of logansport community?`:
```sql
                SELECT "mascot" FROM "membership" WHERE "school"='logansport community';
```
## Task
Generate a SQL query to answer the following question:
`Which #/ County has an Enrollment larger than 1,108, and a School of anderson?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment" real,
  "ihsaa_class_football_soccer" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which #/ County has an Enrollment larger than 1,108, and a School of anderson?`:
```sql
                SELECT "num_county" FROM "membership" WHERE "enrollment">'1,108' AND "school"='anderson';
```
## Task
Generate a SQL query to answer the following question:
`Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment" real,
  "ihsaa_class_football_soccer" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926?`:
```sql
                SELECT "previous_conference" FROM "membership" WHERE "ihsaa_class_football_soccer"='4a/5a/2a' AND "year_joined">1926;
```
## Task
Generate a SQL query to answer the following question:
`Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic?`

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

CREATE TABLE "membership" (
  "school" text,
  "location" text,
  "mascot" text,
  "num_county" text,
  "enrollment" real,
  "ihsaa_class_football_soccer" text,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic?`:
```sql
                SELECT "num_county" FROM "membership" WHERE "year_joined">1926 AND "previous_conference"='olympic';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the 1996 Asian Cup Qualification on June 29, 1996?`

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

CREATE TABLE "international_goals" (
  "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 Score of the 1996 Asian Cup Qualification on June 29, 1996?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='1996 asian cup qualification' AND "date"='june 29, 1996';
```
## Task
Generate a SQL query to answer the following question:
`What was the Venue of the King's Cup 1998?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Venue of the King's Cup 1998?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "competition"='king''s cup 1998';
```
## Task
Generate a SQL query to answer the following question:
`What is the Venue of the Competition with a Score of 4-1?`

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

CREATE TABLE "international_goals" (
  "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 Venue of the Competition with a Score of 4-1?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "score"='4-1';
```
## Task
Generate a SQL query to answer the following question:
`Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?`

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

CREATE TABLE "resources" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_class" text,
  "county" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa?`:
```sql
                SELECT "enrollment" FROM "resources" WHERE "primary_conference"='mid-hoosier' AND "county"='16 decatur' AND "ihsaa_class"='aa';
```
## Task
Generate a SQL query to answer the following question:
`Where is Indian Creek school located?`

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

CREATE TABLE "resources" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_class" text,
  "county" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is Indian Creek school located?`:
```sql
                SELECT "location" FROM "resources" WHERE "school"='indian creek';
```
## Task
Generate a SQL query to answer the following question:
`Which school is located in trafalgar?`

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

CREATE TABLE "resources" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_class" text,
  "county" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school is located in trafalgar?`:
```sql
                SELECT "school" FROM "resources" WHERE "location"='trafalgar';
```
## Task
Generate a SQL query to answer the following question:
`Which IHSAA Class is located in charlottesville?`

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

CREATE TABLE "resources" (
  "school" text,
  "location" text,
  "mascot" text,
  "enrollment" real,
  "ihsaa_class" text,
  "county" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IHSAA Class is located in charlottesville?`:
```sql
                SELECT "ihsaa_class" FROM "resources" WHERE "location"='charlottesville';
```
## Task
Generate a SQL query to answer the following question:
`Which country had notes of sa/b and a rank of 2?`

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

CREATE TABLE "heat_1" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country had notes of sa/b and a rank of 2?`:
```sql
                SELECT "country" FROM "heat_1" WHERE "notes"='sa/b' AND "rank"=2;
```
## Task
Generate a SQL query to answer the following question:
`What was the rank for Great Britain?`

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

CREATE TABLE "heat_1" (
  "rank" real,
  "rowers" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rank for Great Britain?`:
```sql
                SELECT COUNT("rank") FROM "heat_1" WHERE "country"='great britain';
```
## Task
Generate a SQL query to answer the following question:
`What was the tv time for the game on week 12?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the tv time for the game on week 12?`:
```sql
                SELECT "tv_time" FROM "schedule" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for the game against miami dolphins?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for the game against miami dolphins?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='miami dolphins';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the game with 67,715 fans attending?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the game with 67,715 fans attending?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance"='67,715';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent for the game that had 90,287 in attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "record" text,
  "tv_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent for the game that had 90,287 in attendance?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "attendance"='90,287';
```
## Task
Generate a SQL query to answer the following question:
`Who had rahat as their 2008 club?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had rahat as their 2008 club?`:
```sql
                SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='rahat';
```
## Task
Generate a SQL query to answer the following question:
`What was the height of the player that had a 2008 club of iller bankasi?`

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

CREATE TABLE "volleyball_at_the_2008_summer_olympics_w" (
  "name" text,
  "height" text,
  "weight" text,
  "spike" text,
  "2008_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the height of the player that had a 2008 club of iller bankasi?`:
```sql
                SELECT "height" FROM "volleyball_at_the_2008_summer_olympics_w" WHERE "2008_club"='iller bankasi';
```
## Task
Generate a SQL query to answer the following question:
`What is the team with 1st period at 12:37?`

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

CREATE TABLE "scoring_summary" (
  "period" text,
  "team" text,
  "goal" text,
  "assist_s" text,
  "time" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team with 1st period at 12:37?`:
```sql
                SELECT "team" FROM "scoring_summary" WHERE "period"='1st' AND "time"='12:37';
```
## Task
Generate a SQL query to answer the following question:
`who is the athlete with the time 6:02.46?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `who is the athlete with the time 6:02.46?`:
```sql
                SELECT "athlete" FROM "semifinal_a_b_2" WHERE "time"='6:02.46';
```
## Task
Generate a SQL query to answer the following question:
`what is the country for rank 6?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the country for rank 6?`:
```sql
                SELECT "country" FROM "semifinal_a_b_2" WHERE "rank"=6;
```
## Task
Generate a SQL query to answer the following question:
`what is the notes when the rank is less than 2?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the notes when the rank is less than 2?`:
```sql
                SELECT "notes" FROM "semifinal_a_b_2" WHERE "rank"<2;
```
## Task
Generate a SQL query to answer the following question:
`what is the rank for athlete hauffe, seifert, kaeufer, adamski?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the rank for athlete hauffe, seifert, kaeufer, adamski?`:
```sql
                SELECT SUM("rank") FROM "semifinal_a_b_2" WHERE "athlete"='hauffe, seifert, kaeufer, adamski';
```
## Task
Generate a SQL query to answer the following question:
`what is the notes for the time 6:05.21?`

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

CREATE TABLE "semifinal_a_b_2" (
  "rank" real,
  "athlete" text,
  "country" text,
  "time" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the notes for the time 6:05.21?`:
```sql
                SELECT "notes" FROM "semifinal_a_b_2" WHERE "time"='6:05.21';
```
## Task
Generate a SQL query to answer the following question:
`Who was the discoverer of the object with an Aphelion above 97 in 2004?`

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

CREATE TABLE "possible_detached_objects" (
  "name" text,
  "diameter_km" text,
  "perihelion_au" real,
  "aphelion_au" real,
  "year_discovered" real,
  "discoverer_s" text,
  "type" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the discoverer of the object with an Aphelion above 97 in 2004?`:
```sql
                SELECT "discoverer_s" FROM "possible_detached_objects" WHERE "aphelion_au">97 AND "year_discovered"=2004;
```
## Task
Generate a SQL query to answer the following question:
`What model number has part number cl8064701510101?`

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

CREATE TABLE "haswell_h_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What model number has part number cl8064701510101?`:
```sql
                SELECT "model_number" FROM "haswell_h_quad_core_22_nm" WHERE "part_number_s"='cl8064701510101';
```
## Task
Generate a SQL query to answer the following question:
`What is the I/O bus entry for the processor with a release price of $657?`

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

CREATE TABLE "haswell_h_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the I/O bus entry for the processor with a release price of $657?`:
```sql
                SELECT "i_o_bus" FROM "haswell_h_quad_core_22_nm" WHERE "release_price_usd"='$657';
```
## Task
Generate a SQL query to answer the following question:
`What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz?`

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

CREATE TABLE "haswell_h_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz?`:
```sql
                SELECT "l2_cache" FROM "haswell_h_quad_core_22_nm" WHERE "gpu_model"='iris pro graphics 5200' AND "frequency"='2.6 ghz';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)?`

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

CREATE TABLE "haswell_h_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)?`:
```sql
                SELECT "frequency" FROM "haswell_h_quad_core_22_nm" WHERE "release_price_usd"='$383' AND "s_spec_number"='sr15f(c0)';
```
## Task
Generate a SQL query to answer the following question:
`What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)?`

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

CREATE TABLE "haswell_h_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)?`:
```sql
                SELECT "gpu_frequency" FROM "haswell_h_quad_core_22_nm" WHERE "release_date"='june 2013' AND "s_spec_number"='sr17l(c0)';
```
## Task
Generate a SQL query to answer the following question:
`What is the L3 cache of the processor with a release price of $440?`

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

CREATE TABLE "haswell_h_quad_core_22_nm" (
  "model_number" text,
  "s_spec_number" text,
  "cores" text,
  "frequency" text,
  "turbo" text,
  "l2_cache" text,
  "l3_cache" text,
  "gpu_model" text,
  "gpu_frequency" text,
  "socket" text,
  "i_o_bus" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the L3 cache of the processor with a release price of $440?`:
```sql
                SELECT "l3_cache" FROM "haswell_h_quad_core_22_nm" WHERE "release_price_usd"='$440';
```
## Task
Generate a SQL query to answer the following question:
`What is the OS X for the Home Media Center?`

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

CREATE TABLE "see_also" (
  "name" text,
  "license" text,
  "os_x" text,
  "unix_like" text,
  "windows" text,
  "web_interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the OS X for the Home Media Center?`:
```sql
                SELECT "os_x" FROM "see_also" WHERE "name"='home media center';
```