cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the result when the record was 62–12?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when the record was 62–12?`:
```sql
                SELECT "result" FROM "season_schedule" WHERE "record"='62–12';
```
## Task
Generate a SQL query to answer the following question:
`What was the result with a record of 58–11?`

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

CREATE TABLE "season_schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result with a record of 58–11?`:
```sql
                SELECT "result" FROM "season_schedule" WHERE "record"='58–11';
```
## Task
Generate a SQL query to answer the following question:
`What's the number of the game played on January 2, 1936?`

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

CREATE TABLE "game_log" (
  "number" real,
  "result" text,
  "date" text,
  "score" text,
  "opponent" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the number of the game played on January 2, 1936?`:
```sql
                SELECT MIN("number") FROM "game_log" WHERE "date"='january 2, 1936';
```
## Task
Generate a SQL query to answer the following question:
`What's the record of game number 23?`

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

CREATE TABLE "game_log" (
  "number" real,
  "result" text,
  "date" text,
  "score" text,
  "opponent" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record of game number 23?`:
```sql
                SELECT "record" FROM "game_log" WHERE "number"=23;
```
## Task
Generate a SQL query to answer the following question:
`How many Points a February smaller than 1 have?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points a February smaller than 1 have?`:
```sql
                SELECT MIN("points") FROM "regular_season" WHERE "february"<1;
```
## Task
Generate a SQL query to answer the following question:
`How many February days have Points of 63 and a Score of 1–2?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many February days have Points of 63 and a Score of 1–2?`:
```sql
                SELECT COUNT("february") FROM "regular_season" WHERE "points"=63 AND "score"='1–2';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the player with less than 2 wins?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the player with less than 2 wins?`:
```sql
                SELECT "player" FROM "leaders" WHERE "wins"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of earning for more than 2 wins and less than 25 events?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of earning for more than 2 wins and less than 25 events?`:
```sql
                SELECT SUM("earnings") FROM "leaders" WHERE "wins">2 AND "events"<25;
```
## Task
Generate a SQL query to answer the following question:
`What is the largest events number for more than 2 wins and less than $446,893 in earnings?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest events number for more than 2 wins and less than $446,893 in earnings?`:
```sql
                SELECT MAX("events") FROM "leaders" WHERE "wins">2 AND "earnings"<'446,893';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest events with earning less than $384,489 ranked more than 4 with less than 1 win?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest events with earning less than $384,489 ranked more than 4 with less than 1 win?`:
```sql
                SELECT MAX("events") FROM "leaders" WHERE "earnings"<'384,489' AND "rank">4 AND "wins"<1;
```
## Task
Generate a SQL query to answer the following question:
`Who was the visitor at 5:00 pm?`

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

CREATE TABLE "pre_season" (
  "date" text,
  "time" text,
  "visitor" text,
  "score" text,
  "home" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visitor at 5:00 pm?`:
```sql
                SELECT "visitor" FROM "pre_season" WHERE "time"='5:00 pm';
```
## Task
Generate a SQL query to answer the following question:
`Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2?`

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

CREATE TABLE "pre_season" (
  "date" text,
  "time" text,
  "visitor" text,
  "score" text,
  "home" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2?`:
```sql
                SELECT "visitor" FROM "pre_season" WHERE "home"='pittsburgh penguins' AND "time"='7:00 pm' AND "record"='0-2-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the home in mellon arena at 7:30 pm with a record o 2-5-2?`

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

CREATE TABLE "pre_season" (
  "date" text,
  "time" text,
  "visitor" text,
  "score" text,
  "home" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home in mellon arena at 7:30 pm with a record o 2-5-2?`:
```sql
                SELECT "home" FROM "pre_season" WHERE "time"='7:30 pm' AND "location_attendance"='mellon arena' AND "record"='2-5-2';
```
## Task
Generate a SQL query to answer the following question:
`Which average Drawn has Games larger than 7?`

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

CREATE TABLE "world_championship_group_b_norway" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which average Drawn has Games larger than 7?`:
```sql
                SELECT AVG("drawn") FROM "world_championship_group_b_norway" WHERE "games">7;
```
## Task
Generate a SQL query to answer the following question:
`Which Make has a Pos of 3?`

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

CREATE TABLE "american_commercial_lines_200" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Make has a Pos of 3?`:
```sql
                SELECT "make" FROM "american_commercial_lines_200" WHERE "pos"=3;
```
## Task
Generate a SQL query to answer the following question:
`Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?`

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

CREATE TABLE "american_commercial_lines_200" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?`:
```sql
                SELECT MAX("car_num") FROM "american_commercial_lines_200" WHERE "make"='toyota' AND "driver"='mike skinner' AND "pos">3;
```
## Task
Generate a SQL query to answer the following question:
`Which Make has a Car # larger than 59?`

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

CREATE TABLE "american_commercial_lines_200" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Make has a Car # larger than 59?`:
```sql
                SELECT "make" FROM "american_commercial_lines_200" WHERE "car_num">59;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the Euro '64 qualifying game?`

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

CREATE TABLE "1962" (
  "date" text,
  "city" text,
  "opponent" text,
  "results" text,
  "type_of_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the Euro '64 qualifying game?`:
```sql
                SELECT "results" FROM "1962" WHERE "type_of_game"='euro ''64 qualifying';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the Euro '64 qualifying game?`

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

CREATE TABLE "1962" (
  "date" text,
  "city" text,
  "opponent" text,
  "results" text,
  "type_of_game" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the Euro '64 qualifying game?`:
```sql
                SELECT "date" FROM "1962" WHERE "type_of_game"='euro ''64 qualifying';
```
## Task
Generate a SQL query to answer the following question:
`What was the title in 1996?`

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

CREATE TABLE "television" (
  "year" text,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the title in 1996?`:
```sql
                SELECT "title" FROM "television" WHERE "year"='1996';
```
## Task
Generate a SQL query to answer the following question:
`What was the role in 2001?`

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

CREATE TABLE "television" (
  "year" text,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the role in 2001?`:
```sql
                SELECT "role" FROM "television" WHERE "year"='2001';
```
## Task
Generate a SQL query to answer the following question:
`What language was Taken in?`

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

CREATE TABLE "television" (
  "year" text,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What language was Taken in?`:
```sql
                SELECT "language" FROM "television" WHERE "title"='taken';
```
## Task
Generate a SQL query to answer the following question:
`Which title had Notes of 8 episodes?`

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

CREATE TABLE "television" (
  "year" text,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which title had Notes of 8 episodes?`:
```sql
                SELECT "title" FROM "television" WHERE "notes"='8 episodes';
```
## Task
Generate a SQL query to answer the following question:
`Which title is in Portuguese?`

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

CREATE TABLE "television" (
  "year" text,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which title is in Portuguese?`:
```sql
                SELECT "title" FROM "television" WHERE "language"='portuguese';
```
## Task
Generate a SQL query to answer the following question:
`What was the role in 1996?`

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

CREATE TABLE "television" (
  "year" text,
  "title" text,
  "role" text,
  "language" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the role in 1996?`:
```sql
                SELECT "role" FROM "television" WHERE "year"='1996';
```
## Task
Generate a SQL query to answer the following question:
`what date did the irwin storm take place`

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

CREATE TABLE "2011_pacific_hurricane_statistics" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `what date did the irwin storm take place`:
```sql
                SELECT "dates_active" FROM "2011_pacific_hurricane_statistics" WHERE "storm_name"='irwin';
```
## Task
Generate a SQL query to answer the following question:
`what is the minimum force of storm Adrian`

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

CREATE TABLE "2011_pacific_hurricane_statistics" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the minimum force of storm Adrian`:
```sql
                SELECT "min_press_mbar" FROM "2011_pacific_hurricane_statistics" WHERE "storm_name"='adrian';
```
## Task
Generate a SQL query to answer the following question:
`How many households are in highlands county?`

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

CREATE TABLE "florida_counties_ranked_by_per_capita_in" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many households are in highlands county?`:
```sql
                SELECT AVG("number_of_households") FROM "florida_counties_ranked_by_per_capita_in" WHERE "county"='highlands';
```
## Task
Generate a SQL query to answer the following question:
`What is the Median household income associated with a median family income of $46,616?`

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

CREATE TABLE "florida_counties_ranked_by_per_capita_in" (
  "county" text,
  "per_capita_income" text,
  "median_household_income" text,
  "median_family_income" text,
  "population" real,
  "number_of_households" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Median household income associated with a median family income of $46,616?`:
```sql
                SELECT "median_household_income" FROM "florida_counties_ranked_by_per_capita_in" WHERE "median_family_income"='$46,616';
```
## Task
Generate a SQL query to answer the following question:
`What time did the game at memorial stadium take place?`

### 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,
  "location" text,
  "time_et" text,
  "result" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time did the game at memorial stadium take place?`:
```sql
                SELECT "time_et" FROM "schedule" WHERE "location"='memorial stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of Bronze medals of the Nation with 64 total and silver greater than 16?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of Bronze medals of the Nation with 64 total and silver greater than 16?`:
```sql
                SELECT COUNT("bronze") FROM "medal_table" WHERE "total"=64 AND "silver">16;
```
## Task
Generate a SQL query to answer the following question:
`What is the bronze for Kyrgyzstan nation with a silver record of greater than 0?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the bronze for Kyrgyzstan nation with a silver record of greater than 0?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "nation"='kyrgyzstan' AND "silver">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1?`:
```sql
                SELECT AVG("gold") FROM "medal_table" WHERE "bronze"=1 AND "nation"='syria' AND "total"<1;
```
## Task
Generate a SQL query to answer the following question:
`When was the game with a result of w 27-24 (ot)?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "game_time" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the game with a result of w 27-24 (ot)?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='w 27-24 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`When was the game with a record of 9-3?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "game_time" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the game with a record of 9-3?`:
```sql
                SELECT "date" FROM "schedule" WHERE "record"='9-3';
```
## Task
Generate a SQL query to answer the following question:
`What time was the game with a record of 7-3?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "game_time" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was the game with a record of 7-3?`:
```sql
                SELECT "game_time" FROM "schedule" WHERE "record"='7-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "venue"='memorial stadium' AND "attendance"<'41,252';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "venue" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "date"='october 21, 1974' AND "attendance"<'50,623';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of the station that was launched on 21 August 1994?`

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

CREATE TABLE "stations" (
  "call_sign" text,
  "launched" text,
  "transmitting_from" text,
  "coverage" text,
  "languages" text,
  "frequency" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of the station that was launched on 21 August 1994?`:
```sql
                SELECT "frequency" FROM "stations" WHERE "launched"='21 august 1994';
```
## Task
Generate a SQL query to answer the following question:
`What is the launched date of the station in cora huichol tepehuano nahuatl language?`

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

CREATE TABLE "stations" (
  "call_sign" text,
  "launched" text,
  "transmitting_from" text,
  "coverage" text,
  "languages" text,
  "frequency" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the launched date of the station in cora huichol tepehuano nahuatl language?`:
```sql
                SELECT "launched" FROM "stations" WHERE "languages"='cora huichol tepehuano nahuatl';
```
## Task
Generate a SQL query to answer the following question:
`Where is the station with a coverage of yucatán quintana roo campeche transmitting from?`

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

CREATE TABLE "stations" (
  "call_sign" text,
  "launched" text,
  "transmitting_from" text,
  "coverage" text,
  "languages" text,
  "frequency" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the station with a coverage of yucatán quintana roo campeche transmitting from?`:
```sql
                SELECT "transmitting_from" FROM "stations" WHERE "coverage"='yucatán quintana roo campeche';
```
## Task
Generate a SQL query to answer the following question:
`What is the frequency of the station with a coverage of oaxaca guerrero puebla?`

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

CREATE TABLE "stations" (
  "call_sign" text,
  "launched" text,
  "transmitting_from" text,
  "coverage" text,
  "languages" text,
  "frequency" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the frequency of the station with a coverage of oaxaca guerrero puebla?`:
```sql
                SELECT "frequency" FROM "stations" WHERE "coverage"='oaxaca guerrero puebla';
```
## Task
Generate a SQL query to answer the following question:
`Where is the station that was launched on 17 July 1997 transmitting from?`

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

CREATE TABLE "stations" (
  "call_sign" text,
  "launched" text,
  "transmitting_from" text,
  "coverage" text,
  "languages" text,
  "frequency" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the station that was launched on 17 July 1997 transmitting from?`:
```sql
                SELECT "transmitting_from" FROM "stations" WHERE "launched"='17 july 1997';
```
## Task
Generate a SQL query to answer the following question:
`What is the coverage of the station that was launched on 22 January 1996?`

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

CREATE TABLE "stations" (
  "call_sign" text,
  "launched" text,
  "transmitting_from" text,
  "coverage" text,
  "languages" text,
  "frequency" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the coverage of the station that was launched on 22 January 1996?`:
```sql
                SELECT "coverage" FROM "stations" WHERE "launched"='22 january 1996';
```
## Task
Generate a SQL query to answer the following question:
`How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?`

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

CREATE TABLE "all_time_medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?`:
```sql
                SELECT COUNT("bronze") FROM "all_time_medal_table" WHERE "gold">14 AND "rank"='14' AND "silver">25;
```
## Task
Generate a SQL query to answer the following question:
`How many total medals for germany with under 56 bronzes?`

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

CREATE TABLE "all_time_medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total medals for germany with under 56 bronzes?`:
```sql
                SELECT SUM("total") FROM "all_time_medal_table" WHERE "nation"='germany' AND "bronze"<56;
```
## Task
Generate a SQL query to answer the following question:
`How many total medals for the nation with 1 gold and 6 bronzes?`

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

CREATE TABLE "all_time_medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total medals for the nation with 1 gold and 6 bronzes?`:
```sql
                SELECT COUNT("total") FROM "all_time_medal_table" WHERE "gold"=1 AND "bronze"=6;
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the game when the record was 32–34?`

### 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 loss of the game when the record was 32–34?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='32–34';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game with a score of 15–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" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game with a score of 15–6?`:
```sql
                SELECT "date" FROM "game_log" WHERE "score"='15–6';
```
## Task
Generate a SQL query to answer the following question:
`what is the frequency of visits to elmanana.com.mx`

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

CREATE TABLE "newspapers_and_news_sites" (
  "name" text,
  "frequency" text,
  "language" text,
  "city" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the frequency of visits to elmanana.com.mx`:
```sql
                SELECT "frequency" FROM "newspapers_and_news_sites" WHERE "website"='elmanana.com.mx';
```
## Task
Generate a SQL query to answer the following question:
`What was the game result against the minnesota vikings?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the game result against the minnesota vikings?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='minnesota vikings';
```
## Task
Generate a SQL query to answer the following question:
`What week shows for december 31, 1993?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What week shows for december 31, 1993?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "date"='december 31, 1993';
```
## Task
Generate a SQL query to answer the following question:
`What was the result on October 4, 1993?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result on October 4, 1993?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='october 4, 1993';
```
## Task
Generate a SQL query to answer the following question:
`What Week has a Result of l 17-14?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Week has a Result of l 17-14?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "result"='l 17-14';
```
## Task
Generate a SQL query to answer the following question:
`How many years have a position of 2nd?`

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

CREATE TABLE "achievemens" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years have a position of 2nd?`:
```sql
                SELECT COUNT("year") FROM "achievemens" WHERE "position"='2nd';
```
## Task
Generate a SQL query to answer the following question:
`Which event has a year of 2000?`

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

CREATE TABLE "achievemens" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event has a year of 2000?`:
```sql
                SELECT "event" FROM "achievemens" WHERE "year"=2000;
```
## Task
Generate a SQL query to answer the following question:
`What position has notes of 2:12:53?`

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

CREATE TABLE "achievemens" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position has notes of 2:12:53?`:
```sql
                SELECT "position" FROM "achievemens" WHERE "notes"='2:12:53';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round for draft pick #49 from Notre Dame?`

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

CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
  "round" real,
  "pick_num" text,
  "player" text,
  "position" text,
  "college" text,
  "tenure_w_steelers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round for draft pick #49 from Notre Dame?`:
```sql
                SELECT AVG("round") FROM "1978_pittsburgh_steelers_draft_selection" WHERE "college"='notre dame' AND "pick_num"='49';
```
## Task
Generate a SQL query to answer the following question:
`What college is draft pick #327 from?`

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

CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
  "round" real,
  "pick_num" text,
  "player" text,
  "position" text,
  "college" text,
  "tenure_w_steelers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college is draft pick #327 from?`:
```sql
                SELECT "college" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "pick_num"='327';
```
## Task
Generate a SQL query to answer the following question:
`What college is pick number 268 from?`

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

CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
  "round" real,
  "pick_num" text,
  "player" text,
  "position" text,
  "college" text,
  "tenure_w_steelers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college is pick number 268 from?`:
```sql
                SELECT "college" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "pick_num"='268';
```
## Task
Generate a SQL query to answer the following question:
`What round pick was pick number 101 who plays defensive back?`

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

CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
  "round" real,
  "pick_num" text,
  "player" text,
  "position" text,
  "college" text,
  "tenure_w_steelers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round pick was pick number 101 who plays defensive back?`:
```sql
                SELECT "round" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "position"='defensive back' AND "pick_num"='101';
```
## Task
Generate a SQL query to answer the following question:
`What pick number was from the college of maryland and was picked in a round larger than 7?`

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

CREATE TABLE "1978_pittsburgh_steelers_draft_selection" (
  "round" real,
  "pick_num" text,
  "player" text,
  "position" text,
  "college" text,
  "tenure_w_steelers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What pick number was from the college of maryland and was picked in a round larger than 7?`:
```sql
                SELECT "pick_num" FROM "1978_pittsburgh_steelers_draft_selection" WHERE "round">7 AND "college"='maryland';
```
## Task
Generate a SQL query to answer the following question:
`How much Overall has a Pick # of 26?`

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

CREATE TABLE "atlanta_falcons_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 `How much Overall has a Pick # of 26?`:
```sql
                SELECT SUM("overall") FROM "atlanta_falcons_draft_history" WHERE "pick_num"=26;
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Round smaller than 14, and a College of illinois?`

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

CREATE TABLE "atlanta_falcons_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 `Which Position has a Round smaller than 14, and a College of illinois?`:
```sql
                SELECT "position" FROM "atlanta_falcons_draft_history" WHERE "round"<14 AND "college"='illinois';
```
## Task
Generate a SQL query to answer the following question:
`How much Overall has a Round smaller than 6, and a Pick # of 26?`

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

CREATE TABLE "atlanta_falcons_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 `How much Overall has a Round smaller than 6, and a Pick # of 26?`:
```sql
                SELECT SUM("overall") FROM "atlanta_falcons_draft_history" WHERE "round"<6 AND "pick_num"=26;
```
## Task
Generate a SQL query to answer the following question:
`What is Roy Hall's highest round?`

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

CREATE TABLE "atlanta_falcons_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 Roy Hall's highest round?`:
```sql
                SELECT MAX("round") FROM "atlanta_falcons_draft_history" WHERE "name"='roy hall';
```
## Task
Generate a SQL query to answer the following question:
`How much Overall has a Pick # larger than 2, and a Name of claude humphrey?`

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

CREATE TABLE "atlanta_falcons_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 `How much Overall has a Pick # larger than 2, and a Name of claude humphrey?`:
```sql
                SELECT COUNT("overall") FROM "atlanta_falcons_draft_history" WHERE "pick_num">2 AND "name"='claude humphrey';
```
## Task
Generate a SQL query to answer the following question:
`What is the oppenent when the score was 5–0?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the oppenent when the score was 5–0?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "score"='5–0';
```
## Task
Generate a SQL query to answer the following question:
`What is the opponent before game 57 when the score was 4–5?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the opponent before game 57 when the score was 4–5?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "game"<57 AND "score"='4–5';
```
## Task
Generate a SQL query to answer the following question:
`What is the score when the points are larger than 74 and the game is 57?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "february" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score when the points are larger than 74 and the game is 57?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "points">74 AND "game"=57;
```
## Task
Generate a SQL query to answer the following question:
`When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?`:
```sql
                SELECT MAX("year") FROM "complete_formula_one_results" WHERE "chassis"='toro rosso str1' AND "points"<1;
```
## Task
Generate a SQL query to answer the following question:
`How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points?`:
```sql
                SELECT COUNT("year") FROM "complete_formula_one_results" WHERE "engine"='mercedes fo 108w 2.4l v8' AND "points">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the engine for the car with 3 points?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the engine for the car with 3 points?`:
```sql
                SELECT "engine" FROM "complete_formula_one_results" WHERE "points"=3;
```
## Task
Generate a SQL query to answer the following question:
`Code of 1.6 duratec ti-vct, and a Power@rpm of ps (kw; hp)@6300 has what torque@rpm?`

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

CREATE TABLE "duratec_ti_vct" (
  "code" text,
  "years" text,
  "displacement_bore_x_stroke_type" text,
  "power_rpm" text,
  "torque_rpm" text,
  "compression_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `Code of 1.6 duratec ti-vct, and a Power@rpm of ps (kw; hp)@6300 has what torque@rpm?`:
```sql
                SELECT "torque_rpm" FROM "duratec_ti_vct" WHERE "code"='1.6 duratec ti-vct' AND "power_rpm"='ps (kw; hp)@6300';
```
## Task
Generate a SQL query to answer the following question:
`Code of 1.6 duratec ti-vct, and a Power@rpm of ps (kw; hp)@6000 has what torque@rpm?`

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

CREATE TABLE "duratec_ti_vct" (
  "code" text,
  "years" text,
  "displacement_bore_x_stroke_type" text,
  "power_rpm" text,
  "torque_rpm" text,
  "compression_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `Code of 1.6 duratec ti-vct, and a Power@rpm of ps (kw; hp)@6000 has what torque@rpm?`:
```sql
                SELECT "torque_rpm" FROM "duratec_ti_vct" WHERE "code"='1.6 duratec ti-vct' AND "power_rpm"='ps (kw; hp)@6000';
```
## Task
Generate a SQL query to answer the following question:
`torque@rpm of n·m (lb·ft)@4050 has what code?`

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

CREATE TABLE "duratec_ti_vct" (
  "code" text,
  "years" text,
  "displacement_bore_x_stroke_type" text,
  "power_rpm" text,
  "torque_rpm" text,
  "compression_1" text
);
### SQL
Given the database schema, here is the SQL query that answers `torque@rpm of n·m (lb·ft)@4050 has what code?`:
```sql
                SELECT "code" FROM "duratec_ti_vct" WHERE "torque_rpm"='n·m (lb·ft)@4050';
```
## Task
Generate a SQL query to answer the following question:
`Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?`

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

CREATE TABLE "international_tourism_expenditure_2012" (
  "rank" real,
  "country" text,
  "unwto_region" text,
  "international_tourism_expenditure_2012" text,
  "international_tourism_expenditure_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?`:
```sql
                SELECT "international_tourism_expenditure_2012" FROM "international_tourism_expenditure_2012" WHERE "international_tourism_expenditure_2011"='$33.3 billion';
```
## Task
Generate a SQL query to answer the following question:
`What is Italy's UNWTO region?`

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

CREATE TABLE "international_tourism_expenditure_2012" (
  "rank" real,
  "country" text,
  "unwto_region" text,
  "international_tourism_expenditure_2012" text,
  "international_tourism_expenditure_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Italy's UNWTO region?`:
```sql
                SELECT "unwto_region" FROM "international_tourism_expenditure_2012" WHERE "country"='italy';
```
## Task
Generate a SQL query to answer the following question:
`What is China's  International tourism expenditure (2011)?`

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

CREATE TABLE "international_tourism_expenditure_2012" (
  "rank" real,
  "country" text,
  "unwto_region" text,
  "international_tourism_expenditure_2012" text,
  "international_tourism_expenditure_2011" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is China's  International tourism expenditure (2011)?`:
```sql
                SELECT "international_tourism_expenditure_2011" FROM "international_tourism_expenditure_2012" WHERE "country"='china';
```
## Task
Generate a SQL query to answer the following question:
`What was the format for the 4 disc season that had less than 22 episodes and n/a for region 4?`

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

CREATE TABLE "dvd_and_blu_ray_releases" (
  "dvd_season" text,
  "format" text,
  "num_episodes" real,
  "num_disc_s" real,
  "region_4" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the format for the 4 disc season that had less than 22 episodes and n/a for region 4?`:
```sql
                SELECT "format" FROM "dvd_and_blu_ray_releases" WHERE "num_episodes"<22 AND "num_disc_s"=4 AND "region_4"='n/a';
```