cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`For Model e64 what is the zAAPs/zIIPs?`

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

CREATE TABLE "enterprise_class" (
  "model" text,
  "books_p_us" text,
  "if_ls_u_if_ls" text,
  "z_aa_ps_z_ii_ps" text,
  "ic_fs" text,
  "opt_sa_ps" text,
  "std_sa_ps" real,
  "std_spares" real,
  "standard_memory_gb" text,
  "flexible_memory_gb" text
);
### SQL
Given the database schema, here is the SQL query that answers `For Model e64 what is the zAAPs/zIIPs?`:
```sql
                SELECT "z_aa_ps_z_ii_ps" FROM "enterprise_class" WHERE "model"='e64';
```
## Task
Generate a SQL query to answer the following question:
`For Model e12 what is the IFLs/uIFLs?`

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

CREATE TABLE "enterprise_class" (
  "model" text,
  "books_p_us" text,
  "if_ls_u_if_ls" text,
  "z_aa_ps_z_ii_ps" text,
  "ic_fs" text,
  "opt_sa_ps" text,
  "std_sa_ps" real,
  "std_spares" real,
  "standard_memory_gb" text,
  "flexible_memory_gb" text
);
### SQL
Given the database schema, here is the SQL query that answers `For Model e12 what is the IFLs/uIFLs?`:
```sql
                SELECT "if_ls_u_if_ls" FROM "enterprise_class" WHERE "model"='e12';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Natural Change (Per 1000), when Crude Death Rate (Per 1000) is greater than 13.2, when Deaths is 4,142, and when Natural Change is less than 752?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1000" real,
  "live_births" real,
  "deaths" real,
  "natural_change" real,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Natural Change (Per 1000), when Crude Death Rate (Per 1000) is greater than 13.2, when Deaths is 4,142, and when Natural Change is less than 752?`:
```sql
                SELECT AVG("natural_change_per_1000") FROM "vital_statistics" WHERE "crude_death_rate_per_1000">13.2 AND "deaths"='4,142' AND "natural_change"<752;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Crude Death Rate (per 1000), when Natural Change (Per 1000) is greater than 16.1, when Natural Change is 5,049, and when Crude Birth Rate (Per 1000) is less than 27.1?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1000" real,
  "live_births" real,
  "deaths" real,
  "natural_change" real,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Crude Death Rate (per 1000), when Natural Change (Per 1000) is greater than 16.1, when Natural Change is 5,049, and when Crude Birth Rate (Per 1000) is less than 27.1?`:
```sql
                SELECT MAX("crude_death_rate_per_1000") FROM "vital_statistics" WHERE "natural_change_per_1000">16.1 AND "natural_change"='5,049' AND "crude_birth_rate_per_1000"<27.1;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Natural Change, when Natural Change (Per 1000) is greater than 5.4, when Crude Death Rate (Per 1000) is less than 14.3, when Live Births is less than 6,950, and when Crude Birth Rate (Per 1000) is less than 28.2?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1000" real,
  "live_births" real,
  "deaths" real,
  "natural_change" real,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Natural Change, when Natural Change (Per 1000) is greater than 5.4, when Crude Death Rate (Per 1000) is less than 14.3, when Live Births is less than 6,950, and when Crude Birth Rate (Per 1000) is less than 28.2?`:
```sql
                SELECT SUM("natural_change") FROM "vital_statistics" WHERE "natural_change_per_1000">5.4 AND "crude_death_rate_per_1000"<14.3 AND "live_births"<'6,950' AND "crude_birth_rate_per_1000"<28.2;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Crude Death Rate (Per 1000), when Natural Change (Per 1000) is less than 5.2, when Average Population (x 1000) is 305, when Crude Birth Rate (Per 1000) is 16.1, and when Natural Change is greater than 954?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1000" real,
  "live_births" real,
  "deaths" real,
  "natural_change" real,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Crude Death Rate (Per 1000), when Natural Change (Per 1000) is less than 5.2, when Average Population (x 1000) is 305, when Crude Birth Rate (Per 1000) is 16.1, and when Natural Change is greater than 954?`:
```sql
                SELECT MAX("crude_death_rate_per_1000") FROM "vital_statistics" WHERE "natural_change_per_1000"<5.2 AND "average_population_x_1000"=305 AND "crude_birth_rate_per_1000"=16.1 AND "natural_change">954;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Natural Change, when Natural Change (Per 1000) is 19.1, and when Crude Birth Rate (Per 1000) is less than 28.3?`

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

CREATE TABLE "vital_statistics" (
  "average_population_x_1000" real,
  "live_births" real,
  "deaths" real,
  "natural_change" real,
  "crude_birth_rate_per_1000" real,
  "crude_death_rate_per_1000" real,
  "natural_change_per_1000" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Natural Change, when Natural Change (Per 1000) is 19.1, and when Crude Birth Rate (Per 1000) is less than 28.3?`:
```sql
                SELECT MIN("natural_change") FROM "vital_statistics" WHERE "natural_change_per_1000"=19.1 AND "crude_birth_rate_per_1000"<28.3;
```
## Task
Generate a SQL query to answer the following question:
`Which Player has a School/Club Team of Illinois?`

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

CREATE TABLE "c" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player has a School/Club Team of Illinois?`:
```sql
                SELECT "player" FROM "c" WHERE "school_club_team"='illinois';
```
## Task
Generate a SQL query to answer the following question:
`Which Player plays Guard-Forward Position for School/Club Team Pepperdine?`

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

CREATE TABLE "c" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Player plays Guard-Forward Position for School/Club Team Pepperdine?`:
```sql
                SELECT "player" FROM "c" WHERE "position"='guard-forward' AND "school_club_team"='pepperdine';
```
## Task
Generate a SQL query to answer the following question:
`What Position does the Player Vince Carter hold?`

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

CREATE TABLE "c" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Position does the Player Vince Carter hold?`:
```sql
                SELECT "position" FROM "c" WHERE "player"='vince carter';
```
## Task
Generate a SQL query to answer the following question:
`Which School/Club Team does Vince Carter Play for?`

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

CREATE TABLE "c" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which School/Club Team does Vince Carter Play for?`:
```sql
                SELECT "school_club_team" FROM "c" WHERE "player"='vince carter';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Player for School/Club Team Illinois?`

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

CREATE TABLE "c" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Player for School/Club Team Illinois?`:
```sql
                SELECT "player" FROM "c" WHERE "school_club_team"='illinois';
```
## Task
Generate a SQL query to answer the following question:
`What score has 7-0 as the result?`

### 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 score has 7-0 as the result?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "result"='7-0';
```
## Task
Generate a SQL query to answer the following question:
`What competition has 17-1 as the result?`

### 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 competition has 17-1 as the result?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "result"='17-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the set 2 with a 25-23 set 1 and a 17-19 set 5?`

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

CREATE TABLE "results_pool_b" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the set 2 with a 25-23 set 1 and a 17-19 set 5?`:
```sql
                SELECT "set_2" FROM "results_pool_b" WHERE "set_1"='25-23' AND "set_5"='17-19';
```
## Task
Generate a SQL query to answer the following question:
`What is the set 5 with a 25-23 set 3?`

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

CREATE TABLE "results_pool_b" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the set 5 with a 25-23 set 3?`:
```sql
                SELECT "set_5" FROM "results_pool_b" WHERE "set_3"='25-23';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high pick of the round of 10 for Fairmont State college?`

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

CREATE TABLE "1970_new_york_giants_season" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high pick of the round of 10 for Fairmont State college?`:
```sql
                SELECT MAX("pick") FROM "1970_new_york_giants_season" WHERE "college"='fairmont state' AND "round">10;
```
## Task
Generate a SQL query to answer the following question:
`What was the name of the player for pick 402?`

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

CREATE TABLE "1970_new_york_giants_season" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the name of the player for pick 402?`:
```sql
                SELECT "player" FROM "1970_new_york_giants_season" WHERE "pick"=402;
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the week 4 game?`

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

CREATE TABLE "season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the week 4 game?`:
```sql
                SELECT "date" FROM "season_schedule" WHERE "week"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the game on October 17, 1965?`

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

CREATE TABLE "season_schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the game on October 17, 1965?`:
```sql
                SELECT "result" FROM "season_schedule" WHERE "date"='october 17, 1965';
```
## Task
Generate a SQL query to answer the following question:
`What is the Rank for Viktors Dobrecovs with less than 325 Matches?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Rank for Viktors Dobrecovs with less than 325 Matches?`:
```sql
                SELECT AVG("rank") FROM "list_of_top_association_football_goal_sc" WHERE "name"='viktors dobrecovs' AND "matches"<325;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of Matches for Vits Rimkus with a Rank of less than 3?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of Matches for Vits Rimkus with a Rank of less than 3?`:
```sql
                SELECT AVG("matches") FROM "list_of_top_association_football_goal_sc" WHERE "name"='vits rimkus' AND "rank"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Date for the game at michie stadium • west point, ny?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date for the game at michie stadium • west point, ny?`:
```sql
                SELECT "date" FROM "schedule" WHERE "location"='michie stadium • west point, ny';
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Opponent when the location was groves stadium • winston-salem, nc, with a result of t 17-17?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "location"='groves stadium • winston-salem, nc' AND "result"='t 17-17';
```
## Task
Generate a SQL query to answer the following question:
`In 1879-81 with number built 4, what is the LMS nos?`

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

CREATE TABLE "hugh_smellie_1878_1890" (
  "class" real,
  "date" text,
  "builder" text,
  "no_built" real,
  "1919_nos" text,
  "lms_class" text,
  "lms_nos" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1879-81 with number built 4, what is the LMS nos?`:
```sql
                SELECT "lms_nos" FROM "hugh_smellie_1878_1890" WHERE "date"='1879-81' AND "no_built"=4;
```
## Task
Generate a SQL query to answer the following question:
`On which date was the class 157?`

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

CREATE TABLE "hugh_smellie_1878_1890" (
  "class" real,
  "date" text,
  "builder" text,
  "no_built" real,
  "1919_nos" text,
  "lms_class" text,
  "lms_nos" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which date was the class 157?`:
```sql
                SELECT "date" FROM "hugh_smellie_1878_1890" WHERE "class"=157;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17?`

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

CREATE TABLE "standings" (
  "locale" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17?`:
```sql
                SELECT MIN("ends_lost") FROM "standings" WHERE "locale"='norway' AND "blank_ends">17;
```
## Task
Generate a SQL query to answer the following question:
`What was the Margin of Victory of winning score 68-67-69-65=269?`

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

CREATE TABLE "european_tour_wins_19" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Margin of Victory of winning score 68-67-69-65=269?`:
```sql
                SELECT "margin_of_victory" FROM "european_tour_wins_19" WHERE "winning_score"='68-67-69-65=269';
```
## Task
Generate a SQL query to answer the following question:
`What is the To Par of winning score 71-66-70-67=274?`

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

CREATE TABLE "european_tour_wins_19" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the To Par of winning score 71-66-70-67=274?`:
```sql
                SELECT "to_par" FROM "european_tour_wins_19" WHERE "winning_score"='71-66-70-67=274';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament had a winning score of 67-61-68-67=263?`

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

CREATE TABLE "european_tour_wins_19" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament had a winning score of 67-61-68-67=263?`:
```sql
                SELECT "tournament" FROM "european_tour_wins_19" WHERE "winning_score"='67-61-68-67=263';
```
## Task
Generate a SQL query to answer the following question:
`How many tries for are associated with 5 points and 2 tries against?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many tries for are associated with 5 points and 2 tries against?`:
```sql
                SELECT "tries_for" FROM "league_table" WHERE "points"='5' AND "tries_against"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is the losing bonus associated with 0 tries for?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text,
  "losing_bonus" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the losing bonus associated with 0 tries for?`:
```sql
                SELECT "losing_bonus" FROM "league_table" WHERE "tries_for"='0';
```
## Task
Generate a SQL query to answer the following question:
`What's the highest against score that drew more than 5, and had more than 18 points?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest against score that drew more than 5, and had more than 18 points?`:
```sql
                SELECT MAX("against") FROM "campeonato_paulista" WHERE "drawn">5 AND "points">18;
```
## Task
Generate a SQL query to answer the following question:
`What's the number of losses where played was less than 17?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the number of losses where played was less than 17?`:
```sql
                SELECT COUNT("lost") FROM "campeonato_paulista" WHERE "played"<17;
```
## Task
Generate a SQL query to answer the following question:
`What is team ypiranga-sp's average position when they lost by less than 7?`

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

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is team ypiranga-sp's average position when they lost by less than 7?`:
```sql
                SELECT AVG("position") FROM "campeonato_paulista" WHERE "team"='ypiranga-sp' AND "lost"<7;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14?`:
```sql
                SELECT COUNT("attendance") FROM "schedule" WHERE "location"='groves stadium • winston-salem, nc' AND "result"='l 0-14';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the result was L 0-14?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the result was L 0-14?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "result"='l 0-14';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the position of the person whose hometown is Queens, NY?`

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

CREATE TABLE "roster" (
  "name" text,
  "number" real,
  "position" text,
  "year" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the position of the person whose hometown is Queens, NY?`:
```sql
                SELECT "position" FROM "roster" WHERE "hometown"='queens, ny';
```
## Task
Generate a SQL query to answer the following question:
`What is Tim Andree's greatest number?`

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

CREATE TABLE "roster" (
  "name" text,
  "number" real,
  "position" text,
  "year" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tim Andree's greatest number?`:
```sql
                SELECT MAX("number") FROM "roster" WHERE "name"='tim andree';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of the player with a hometown of Bellwood, IL?`

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

CREATE TABLE "roster" (
  "name" text,
  "number" real,
  "position" text,
  "year" text,
  "hometown" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of the player with a hometown of Bellwood, IL?`:
```sql
                SELECT MIN("number") FROM "roster" WHERE "hometown"='bellwood, il';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Attendance is 2,444?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Attendance is 2,444?`:
```sql
                SELECT "score" FROM "first_round_proper" WHERE "attendance"='2,444';
```
## Task
Generate a SQL query to answer the following question:
`What is Home Team, when Tie No is Replay, and when Attendance is 2,048?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Home Team, when Tie No is Replay, and when Attendance is 2,048?`:
```sql
                SELECT "home_team" FROM "first_round_proper" WHERE "tie_no"='replay' AND "attendance"='2,048';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Tie No is 17?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Tie No is 17?`:
```sql
                SELECT "score" FROM "first_round_proper" WHERE "tie_no"='17';
```
## Task
Generate a SQL query to answer the following question:
`What is Away Team, when Tie No is 4?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Away Team, when Tie No is 4?`:
```sql
                SELECT "away_team" FROM "first_round_proper" WHERE "tie_no"='4';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Attendance is 3,416?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Attendance is 3,416?`:
```sql
                SELECT "score" FROM "first_round_proper" WHERE "attendance"='3,416';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest No Result when there were less than 7 losses, and more than 3 away wins, with a success Rate of 50.00%?`

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

CREATE TABLE "overall_results_in_the_ipl" (
  "year" text,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "success_rate" text,
  "away_wins" real,
  "away_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest No Result when there were less than 7 losses, and more than 3 away wins, with a success Rate of 50.00%?`:
```sql
                SELECT MAX("no_result") FROM "overall_results_in_the_ipl" WHERE "losses">7 AND "away_wins">3 AND "success_rate"='50.00%';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Away Losses with a No Result of more than 0, losses of more than 6, and matches of more than 91?`

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

CREATE TABLE "overall_results_in_the_ipl" (
  "year" text,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "success_rate" text,
  "away_wins" real,
  "away_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Away Losses with a No Result of more than 0, losses of more than 6, and matches of more than 91?`:
```sql
                SELECT SUM("away_losses") FROM "overall_results_in_the_ipl" WHERE "no_result">0 AND "losses">6 AND "matches">91;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Wins with a result of 0, and the away wins of 1, and the losses are less than 5?`

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

CREATE TABLE "overall_results_in_the_ipl" (
  "year" text,
  "matches" real,
  "wins" real,
  "losses" real,
  "no_result" real,
  "success_rate" text,
  "away_wins" real,
  "away_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Wins with a result of 0, and the away wins of 1, and the losses are less than 5?`:
```sql
                SELECT SUM("wins") FROM "overall_results_in_the_ipl" WHERE "no_result"=0 AND "away_wins"=1 AND "losses"<5;
```
## Task
Generate a SQL query to answer the following question:
`What stadium was the December 29, 2008 game played at?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What stadium was the December 29, 2008 game played at?`:
```sql
                SELECT "stadium" FROM "bowl_games" WHERE "date"='december 29, 2008';
```
## Task
Generate a SQL query to answer the following question:
`Which bowl game had a conference matchup of Ohio State vs. Texas?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which bowl game had a conference matchup of Ohio State vs. Texas?`:
```sql
                SELECT "bowl_game" FROM "bowl_games" WHERE "conference_matchups"='ohio state vs. texas';
```
## Task
Generate a SQL query to answer the following question:
`What stadium was the Fiesta Bowl played at?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What stadium was the Fiesta Bowl played at?`:
```sql
                SELECT "stadium" FROM "bowl_games" WHERE "bowl_game"='fiesta bowl';
```
## Task
Generate a SQL query to answer the following question:
`What was the payout in US dollars at the Insight Bowl?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the payout in US dollars at the Insight Bowl?`:
```sql
                SELECT "payout_us" FROM "bowl_games" WHERE "bowl_game"='insight bowl';
```
## Task
Generate a SQL query to answer the following question:
`What was the conference matchup in the bowl game with a $3 million payout?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the conference matchup in the bowl game with a $3 million payout?`:
```sql
                SELECT "conference_matchups" FROM "bowl_games" WHERE "payout_us"='$3 million';
```
## Task
Generate a SQL query to answer the following question:
`What was the conference matchup for the bowl game played in Glendale, Arizona?`

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

CREATE TABLE "bowl_games" (
  "bowl_game" text,
  "date" text,
  "stadium" text,
  "city" text,
  "television" text,
  "conference_matchups" text,
  "payout_us" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the conference matchup for the bowl game played in Glendale, Arizona?`:
```sql
                SELECT "conference_matchups" FROM "bowl_games" WHERE "city"='glendale, arizona';
```
## Task
Generate a SQL query to answer the following question:
`Which Team has Tries for smaller than 10?`

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

CREATE TABLE "pool_3" (
  "team" text,
  "tries_for" real,
  "tries_against" real,
  "try_diff" text,
  "points_for" real,
  "points_against" real,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team has Tries for smaller than 10?`:
```sql
                SELECT "team" FROM "pool_3" WHERE "tries_for"<10;
```
## Task
Generate a SQL query to answer the following question:
`Which Tries against have Points against larger than 109?`

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

CREATE TABLE "pool_3" (
  "team" text,
  "tries_for" real,
  "tries_against" real,
  "try_diff" text,
  "points_for" real,
  "points_against" real,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tries against have Points against larger than 109?`:
```sql
                SELECT MAX("tries_against") FROM "pool_3" WHERE "points_against">109;
```
## Task
Generate a SQL query to answer the following question:
`What Tries against that have a Points against of 95 and Tries for larger than 20?`

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

CREATE TABLE "pool_3" (
  "team" text,
  "tries_for" real,
  "tries_against" real,
  "try_diff" text,
  "points_for" real,
  "points_against" real,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tries against that have a Points against of 95 and Tries for larger than 20?`:
```sql
                SELECT SUM("tries_against") FROM "pool_3" WHERE "points_against"=95 AND "tries_for">20;
```
## Task
Generate a SQL query to answer the following question:
`What Tries for has a Team of neath, and Points against larger than 109?`

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

CREATE TABLE "pool_3" (
  "team" text,
  "tries_for" real,
  "tries_against" real,
  "try_diff" text,
  "points_for" real,
  "points_against" real,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tries for has a Team of neath, and Points against larger than 109?`:
```sql
                SELECT SUM("tries_for") FROM "pool_3" WHERE "team"='neath' AND "points_against">109;
```
## Task
Generate a SQL query to answer the following question:
`How many Points against that have a Team of harlequins and Tries against smaller than 8?`

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

CREATE TABLE "pool_3" (
  "team" text,
  "tries_for" real,
  "tries_against" real,
  "try_diff" text,
  "points_for" real,
  "points_against" real,
  "points_diff" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Points against that have a Team of harlequins and Tries against smaller than 8?`:
```sql
                SELECT SUM("points_against") FROM "pool_3" WHERE "team"='harlequins' AND "tries_against"<8;
```
## Task
Generate a SQL query to answer the following question:
`What is the power that belongs to Class A with an Identifier of CBOC-FM?`

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

CREATE TABLE "s_rebroadcaster_of_cbo_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the power that belongs to Class A with an Identifier of CBOC-FM?`:
```sql
                SELECT "power" FROM "s_rebroadcaster_of_cbo_fm" WHERE "class"='a' AND "identifier"='cboc-fm';
```
## Task
Generate a SQL query to answer the following question:
`Which class has a frequency of 91.9 fm?`

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

CREATE TABLE "s_rebroadcaster_of_cbo_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which class has a frequency of 91.9 fm?`:
```sql
                SELECT "class" FROM "s_rebroadcaster_of_cbo_fm" WHERE "frequency"='91.9 fm';
```
## Task
Generate a SQL query to answer the following question:
`What power belongs to the LP Class and has an Identifier of CBLI?`

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

CREATE TABLE "s_rebroadcaster_of_cbo_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What power belongs to the LP Class and has an Identifier of CBLI?`:
```sql
                SELECT "power" FROM "s_rebroadcaster_of_cbo_fm" WHERE "class"='lp' AND "identifier"='cbli';
```
## Task
Generate a SQL query to answer the following question:
`Which city has a C1 class and Identifier of CBCD-FM?`

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

CREATE TABLE "s_rebroadcaster_of_cbo_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which city has a C1 class and Identifier of CBCD-FM?`:
```sql
                SELECT "city_of_license" FROM "s_rebroadcaster_of_cbo_fm" WHERE "class"='c1' AND "identifier"='cbcd-fm';
```
## Task
Generate a SQL query to answer the following question:
`Which Power has a CBLI Identifier?`

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

CREATE TABLE "s_rebroadcaster_of_cbo_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Power has a CBLI Identifier?`:
```sql
                SELECT "power" FROM "s_rebroadcaster_of_cbo_fm" WHERE "identifier"='cbli';
```
## Task
Generate a SQL query to answer the following question:
`What is the RECNet belonging to Class A with a Power of 3,000 watts?`

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

CREATE TABLE "s_rebroadcaster_of_cbo_fm" (
  "city_of_license" text,
  "identifier" text,
  "frequency" text,
  "power" text,
  "class" text,
  "rec_net" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the RECNet belonging to Class A with a Power of 3,000 watts?`:
```sql
                SELECT "rec_net" FROM "s_rebroadcaster_of_cbo_fm" WHERE "class"='a' AND "power"='3,000 watts';
```
## Task
Generate a SQL query to answer the following question:
`What is the report in the tournament that started at 12:30?`

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

CREATE TABLE "tournament_3" (
  "date" text,
  "time" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "total" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the report in the tournament that started at 12:30?`:
```sql
                SELECT "report" FROM "tournament_3" WHERE "time"='12:30';
```
## Task
Generate a SQL query to answer the following question:
`Which 2007 has a 2003 of 1r?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2007 has a 2003 of 1r?`:
```sql
                SELECT "2007" FROM "grand_slam_tournament_performance_timeli" WHERE "2003"='1r';
```
## Task
Generate a SQL query to answer the following question:
`Which 2006 has a 2012 of a, and a 2011 of 3r?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2006 has a 2012 of a, and a 2011 of 3r?`:
```sql
                SELECT "2006" FROM "grand_slam_tournament_performance_timeli" WHERE "2012"='a' AND "2011"='3r';
```
## Task
Generate a SQL query to answer the following question:
`Which 2008 has a 2002 of a, and a Tournament of australian open?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2008 has a 2002 of a, and a Tournament of australian open?`:
```sql
                SELECT "2008" FROM "grand_slam_tournament_performance_timeli" WHERE "2002"='a' AND "tournament"='australian open';
```
## Task
Generate a SQL query to answer the following question:
`Which 2012 has a 2008 of grand slam tournaments?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2012 has a 2008 of grand slam tournaments?`:
```sql
                SELECT "2012" FROM "grand_slam_tournament_performance_timeli" WHERE "2008"='grand slam tournaments';
```
## Task
Generate a SQL query to answer the following question:
`Which 2002 has a 2009 of 2r?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2002 has a 2009 of 2r?`:
```sql
                SELECT "2002" FROM "grand_slam_tournament_performance_timeli" WHERE "2009"='2r';
```
## Task
Generate a SQL query to answer the following question:
`Which 2010 has a 2002 of 2r?`

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

CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "win_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 2010 has a 2002 of 2r?`:
```sql
                SELECT "2010" FROM "grand_slam_tournament_performance_timeli" WHERE "2002"='2r';
```
## Task
Generate a SQL query to answer the following question:
`What is th US A.C. in 1985 with a US hot 100 of 57?`

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

CREATE TABLE "singles" (
  "year" real,
  "song" text,
  "canada_singles" text,
  "us_hot_100" text,
  "us_a_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is th US A.C. in 1985 with a US hot 100 of 57?`:
```sql
                SELECT "us_a_c" FROM "singles" WHERE "year"=1985 AND "us_hot_100"='57';
```
## Task
Generate a SQL query to answer the following question:
`What is the Canada singles in 1979 with a US A.C. of 24?`

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

CREATE TABLE "singles" (
  "year" real,
  "song" text,
  "canada_singles" text,
  "us_hot_100" text,
  "us_a_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Canada singles in 1979 with a US A.C. of 24?`:
```sql
                SELECT "canada_singles" FROM "singles" WHERE "year"=1979 AND "us_a_c"='24';
```