cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the function percentage when the estimated function percentage is 20?`

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

CREATE TABLE "references" (
  "grade" text,
  "description" text,
  "measurement" text,
  "function_pct" text,
  "estimated_function_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the function percentage when the estimated function percentage is 20?`:
```sql
                SELECT "function_pct" FROM "references" WHERE "estimated_function_pct"=20;
```
## Task
Generate a SQL query to answer the following question:
`What is the measurement where the estimated function % is less than 20?`

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

CREATE TABLE "references" (
  "grade" text,
  "description" text,
  "measurement" text,
  "function_pct" text,
  "estimated_function_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the measurement where the estimated function % is less than 20?`:
```sql
                SELECT "measurement" FROM "references" WHERE "estimated_function_pct"<20;
```
## Task
Generate a SQL query to answer the following question:
`What is the estimated function % when the measurement is 8/8?`

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

CREATE TABLE "references" (
  "grade" text,
  "description" text,
  "measurement" text,
  "function_pct" text,
  "estimated_function_pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the estimated function % when the measurement is 8/8?`:
```sql
                SELECT "estimated_function_pct" FROM "references" WHERE "measurement"='8/8';
```
## Task
Generate a SQL query to answer the following question:
`What place did jacky cupit take when his To par was under 13?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `What place did jacky cupit take when his To par was under 13?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "to_par"<13 AND "player"='jacky cupit';
```
## Task
Generate a SQL query to answer the following question:
`Which united states player had a To par of 12?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which united states player had a To par of 12?`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "to_par"=12 AND "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`Which player had a To par of 13?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" real,
  "money" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had a To par of 13?`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "to_par"=13;
```
## Task
Generate a SQL query to answer the following question:
`What did vijay singh score with a +5 to par?`

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

CREATE TABLE "final_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What did vijay singh score with a +5 to par?`:
```sql
                SELECT "score" FROM "final_round" WHERE "to_par"='+5' AND "player"='vijay singh';
```
## Task
Generate a SQL query to answer the following question:
`What was the average rank for south africa when they had more than 8 silver medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average rank for south africa when they had more than 8 silver medals?`:
```sql
                SELECT AVG("rank") FROM "medal_table" WHERE "nation"='south africa' AND "silver">8;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of gold medals the netherlands got when they had more than 4 bronze medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of gold medals the netherlands got when they had more than 4 bronze medals?`:
```sql
                SELECT AVG("gold") FROM "medal_table" WHERE "nation"='netherlands' AND "bronze">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals?`:
```sql
                SELECT SUM("gold") FROM "medal_table" WHERE "silver">8 AND "nation"='great britain' AND "total"<61;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of bronze medals that israel acheived when they got less than 3 silver medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of bronze medals that israel acheived when they got less than 3 silver medals?`:
```sql
                SELECT MAX("bronze") FROM "medal_table" WHERE "nation"='israel' AND "silver"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals?`

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

CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals?`:
```sql
                SELECT COUNT("gold") FROM "medal_table" WHERE "bronze"=2 AND "silver">5;
```
## Task
Generate a SQL query to answer the following question:
`What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)?`

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

CREATE TABLE "doubles_5_2_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)?`:
```sql
                SELECT "partner" FROM "doubles_5_2_3" WHERE "surface"='hard' AND "score"='6–3, 7–6(0)';
```
## Task
Generate a SQL query to answer the following question:
`What is Opponents, when Partner is Vitalia Diatchenko?`

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

CREATE TABLE "doubles_5_2_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Opponents, when Partner is Vitalia Diatchenko?`:
```sql
                SELECT "opponents" FROM "doubles_5_2_3" WHERE "partner"='vitalia diatchenko';
```
## Task
Generate a SQL query to answer the following question:
`What is Partner, when Outcome is Winner, and when Date is 12 October 2003?`

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

CREATE TABLE "doubles_5_2_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Partner, when Outcome is Winner, and when Date is 12 October 2003?`:
```sql
                SELECT "partner" FROM "doubles_5_2_3" WHERE "outcome"='winner' AND "date"='12 october 2003';
```
## Task
Generate a SQL query to answer the following question:
`What is Opponents, when Partner is Mervana Jugić-Salkić?`

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

CREATE TABLE "doubles_5_2_3" (
  "outcome" text,
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Opponents, when Partner is Mervana Jugić-Salkić?`:
```sql
                SELECT "opponents" FROM "doubles_5_2_3" WHERE "partner"='mervana jugić-salkić';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Field Goal %, when Free Throw % is greater than 0.5, when Rebounds is 159, and when Points Per Game is less than 7.1?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "minutes_played" real,
  "minutes_played_per_game" real,
  "rebounds" real,
  "rebounds_per_game" real,
  "assists" real,
  "assists_per_game" real,
  "field_goal_pct" real,
  "free_throw_pct" real,
  "points" real,
  "points_per_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Field Goal %, when Free Throw % is greater than 0.5, when Rebounds is 159, and when Points Per Game is less than 7.1?`:
```sql
                SELECT COUNT("field_goal_pct") FROM "player_stats" WHERE "free_throw_pct">0.5 AND "rebounds"=159 AND "points_per_game"<7.1;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Minutes Played Per Game, when Rebounds is less than 347, when Assists is greater than 5, and when Minutes Played is less than 301?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "minutes_played" real,
  "minutes_played_per_game" real,
  "rebounds" real,
  "rebounds_per_game" real,
  "assists" real,
  "assists_per_game" real,
  "field_goal_pct" real,
  "free_throw_pct" real,
  "points" real,
  "points_per_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Minutes Played Per Game, when Rebounds is less than 347, when Assists is greater than 5, and when Minutes Played is less than 301?`:
```sql
                SELECT MIN("minutes_played_per_game") FROM "player_stats" WHERE "rebounds"<347 AND "assists">5 AND "minutes_played"<301;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "minutes_played" real,
  "minutes_played_per_game" real,
  "rebounds" real,
  "rebounds_per_game" real,
  "assists" real,
  "assists_per_game" real,
  "field_goal_pct" real,
  "free_throw_pct" real,
  "points" real,
  "points_per_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"?`:
```sql
                SELECT MIN("minutes_played") FROM "player_stats" WHERE "rebounds"=25 AND "field_goal_pct"<0.315;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"?`

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

CREATE TABLE "player_stats" (
  "player" text,
  "games_played" real,
  "minutes_played" real,
  "minutes_played_per_game" real,
  "rebounds" real,
  "rebounds_per_game" real,
  "assists" real,
  "assists_per_game" real,
  "field_goal_pct" real,
  "free_throw_pct" real,
  "points" real,
  "points_per_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"?`:
```sql
                SELECT AVG("rebounds") FROM "player_stats" WHERE "minutes_played"=113 AND "games_played">18;
```
## Task
Generate a SQL query to answer the following question:
`What is the score on March 17?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score on March 17?`:
```sql
                SELECT "score" FROM "season_schedule" WHERE "date"='march 17';
```
## Task
Generate a SQL query to answer the following question:
`Which event led to a loss against Josh Diekman?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event led to a loss against Josh Diekman?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "opponent"='josh diekman';
```
## Task
Generate a SQL query to answer the following question:
`Which location led to a decision and a record of 1-2?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which location led to a decision and a record of 1-2?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "method"='decision' AND "record"='1-2';
```
## Task
Generate a SQL query to answer the following question:
`Which method took place against Chris Herring?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which method took place against Chris Herring?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='chris herring';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of laps that max biaggi rode on a grid larger than 2?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of laps that max biaggi rode on a grid larger than 2?`:
```sql
                SELECT MAX("laps") FROM "moto_gp_classification" WHERE "rider"='max biaggi' AND "grid">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest grid that tetsuya harada rode in?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest grid that tetsuya harada rode in?`:
```sql
                SELECT MAX("grid") FROM "moto_gp_classification" WHERE "rider"='tetsuya harada';
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of laps that were made when the race took a time of +48.325?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of laps that were made when the race took a time of +48.325?`:
```sql
                SELECT AVG("laps") FROM "moto_gp_classification" WHERE "time_retired"='+48.325';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of laps during the race that had a time of +9.682?`

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

CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of laps during the race that had a time of +9.682?`:
```sql
                SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+9.682';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Pick, when College is "Syracuse", and when Overall is less than 18?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Pick, when College is "Syracuse", and when Overall is less than 18?`:
```sql
                SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "college"='syracuse' AND "overall"<18;
```
## Task
Generate a SQL query to answer the following question:
`What is Position, when College is "Houston"?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Position, when College is "Houston"?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "college"='houston';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of networks when the size of rest bit field is 8?`

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

CREATE TABLE "introduction_of_address_classes" (
  "class" text,
  "leading_bits" real,
  "size_of_network_number_bit_field" text,
  "size_of_rest_bit_field" text,
  "number_of_networks" text,
  "addresses_per_network" text,
  "start_address" text,
  "end_address" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of networks when the size of rest bit field is 8?`:
```sql
                SELECT "number_of_networks" FROM "introduction_of_address_classes" WHERE "size_of_rest_bit_field"='8';
```
## Task
Generate a SQL query to answer the following question:
`What is the start address when the network number bit field is 16?`

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

CREATE TABLE "introduction_of_address_classes" (
  "class" text,
  "leading_bits" real,
  "size_of_network_number_bit_field" text,
  "size_of_rest_bit_field" text,
  "number_of_networks" text,
  "addresses_per_network" text,
  "start_address" text,
  "end_address" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the start address when the network number bit field is 16?`:
```sql
                SELECT "start_address" FROM "introduction_of_address_classes" WHERE "size_of_network_number_bit_field"='16';
```
## Task
Generate a SQL query to answer the following question:
`What is the end address for the Class E (Reserved)?`

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

CREATE TABLE "introduction_of_address_classes" (
  "class" text,
  "leading_bits" real,
  "size_of_network_number_bit_field" text,
  "size_of_rest_bit_field" text,
  "number_of_networks" text,
  "addresses_per_network" text,
  "start_address" text,
  "end_address" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the end address for the Class E (Reserved)?`:
```sql
                SELECT "end_address" FROM "introduction_of_address_classes" WHERE "class"='class e (reserved)';
```
## Task
Generate a SQL query to answer the following question:
`What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0?`

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

CREATE TABLE "introduction_of_address_classes" (
  "class" text,
  "leading_bits" real,
  "size_of_network_number_bit_field" text,
  "size_of_rest_bit_field" text,
  "number_of_networks" text,
  "addresses_per_network" text,
  "start_address" text,
  "end_address" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0?`:
```sql
                SELECT "size_of_rest_bit_field" FROM "introduction_of_address_classes" WHERE "leading_bits">110 AND "start_address"='224.0.0.0';
```
## Task
Generate a SQL query to answer the following question:
`W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9?`:
```sql
                SELECT MIN("goals_for") FROM "final_table" WHERE "team"='goole town' AND "position"<9;
```
## Task
Generate a SQL query to answer the following question:
`Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85?`:
```sql
                SELECT "team" FROM "final_table" WHERE "drawn"<12 AND "position">3 AND "goals_against">85;
```
## Task
Generate a SQL query to answer the following question:
`When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against?`:
```sql
                SELECT COUNT("goals_against") FROM "final_table" WHERE "points_1"=44 AND "goals_for">65;
```
## Task
Generate a SQL query to answer the following question:
`What was the year when the diameter was 729 km?`

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

CREATE TABLE "rupes" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the year when the diameter was 729 km?`:
```sql
                SELECT "year_named" FROM "rupes" WHERE "diameter_km"=729;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest diameter when the latitude is 43.5s?`

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

CREATE TABLE "rupes" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real,
  "name_origin" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest diameter when the latitude is 43.5s?`:
```sql
                SELECT MAX("diameter_km") FROM "rupes" WHERE "latitude"='43.5s';
```
## Task
Generate a SQL query to answer the following question:
`On what Date was the Attendance 75,891?`

### 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 `On what Date was the Attendance 75,891?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='75,891';
```
## Task
Generate a SQL query to answer the following question:
`What was the Week on September 5, 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 Week on September 5, 1993?`:
```sql
                SELECT "week" FROM "schedule" WHERE "date"='september 5, 1993';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Opponent on October 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 `Who was the Opponent on October 31, 1993?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='october 31, 1993';
```
## Task
Generate a SQL query to answer the following question:
`what is the date for traction type electric with calgary location?`

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

CREATE TABLE "list_of_street_railways_in_canada" (
  "name_of_system" text,
  "location" text,
  "traction_type" text,
  "date_from" text,
  "date_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the date for traction type electric with calgary location?`:
```sql
                SELECT "date_from" FROM "list_of_street_railways_in_canada" WHERE "traction_type"='electric' AND "location"='calgary';
```
## Task
Generate a SQL query to answer the following question:
`Which date has date started from 30 Sep 1913?`

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

CREATE TABLE "list_of_street_railways_in_canada" (
  "name_of_system" text,
  "location" text,
  "traction_type" text,
  "date_from" text,
  "date_to" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date has date started from 30 Sep 1913?`:
```sql
                SELECT "date_to" FROM "list_of_street_railways_in_canada" WHERE "date_from"='30 sep 1913';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st leg of 2q round?`

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

CREATE TABLE "dnepr_mogilev_in_europe" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st leg of 2q round?`:
```sql
                SELECT "1st_leg" FROM "dnepr_mogilev_in_europe" WHERE "round"='2q';
```
## Task
Generate a SQL query to answer the following question:
`What competition has the club villareal?`

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

CREATE TABLE "dnepr_mogilev_in_europe" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What competition has the club villareal?`:
```sql
                SELECT "competition" FROM "dnepr_mogilev_in_europe" WHERE "club"='villareal';
```
## Task
Generate a SQL query to answer the following question:
`Which competition has aik club?`

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

CREATE TABLE "dnepr_mogilev_in_europe" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which competition has aik club?`:
```sql
                SELECT "competition" FROM "dnepr_mogilev_in_europe" WHERE "club"='aik';
```
## Task
Generate a SQL query to answer the following question:
`What is the round of club bečej?`

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

CREATE TABLE "dnepr_mogilev_in_europe" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round of club bečej?`:
```sql
                SELECT "round" FROM "dnepr_mogilev_in_europe" WHERE "club"='bečej';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1st leg of the uefa intertoto cup competition with club silkeborg?`

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

CREATE TABLE "dnepr_mogilev_in_europe" (
  "season" text,
  "competition" text,
  "round" text,
  "club" text,
  "1st_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1st leg of the uefa intertoto cup competition with club silkeborg?`:
```sql
                SELECT "1st_leg" FROM "dnepr_mogilev_in_europe" WHERE "competition"='uefa intertoto cup' AND "club"='silkeborg';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='jason kidd (8)' AND "score"='w 105–95 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`Which team scored l 87–115 (ot)?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team scored l 87–115 (ot)?`:
```sql
                SELECT "team" FROM "game_log" WHERE "score"='l 87–115 (ot)';
```
## Task
Generate a SQL query to answer the following question:
`What's the record of Game 56?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record of Game 56?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game"=56;
```
## Task
Generate a SQL query to answer the following question:
`Who was the team that played at Energysolutions Arena 19,911?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the team that played at Energysolutions Arena 19,911?`:
```sql
                SELECT "team" FROM "game_log" WHERE "location_attendance"='energysolutions arena 19,911';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high assists when the game was at American Airlines Center 20,223?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high assists when the game was at American Airlines Center 20,223?`:
```sql
                SELECT "high_assists" FROM "game_log" WHERE "location_attendance"='american airlines center 20,223';
```
## Task
Generate a SQL query to answer the following question:
`What team has a Record of 50–28?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has a Record of 50–28?`:
```sql
                SELECT "team" FROM "game_log" WHERE "record"='50–28';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of game 75?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of game 75?`:
```sql
                SELECT "date" FROM "game_log" WHERE "game"=75;
```
## Task
Generate a SQL query to answer the following question:
`Which manufacturer was used after 1969 with a finish position of 34?`

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

CREATE TABLE "daytona_500_results" (
  "year" real,
  "manufacturer" text,
  "start" real,
  "finish" real,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which manufacturer was used after 1969 with a finish position of 34?`:
```sql
                SELECT "manufacturer" FROM "daytona_500_results" WHERE "year">1969 AND "finish"=34;
```
## Task
Generate a SQL query to answer the following question:
`What is the total attendance on April 25?`

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

CREATE TABLE "playoffs" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total attendance on April 25?`:
```sql
                SELECT COUNT("attendance") FROM "playoffs" WHERE "date"='april 25';
```
## Task
Generate a SQL query to answer the following question:
`What is the decision of the game with an attendance greater than 19,883?`

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

CREATE TABLE "playoffs" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the decision of the game with an attendance greater than 19,883?`:
```sql
                SELECT "decision" FROM "playoffs" WHERE "attendance">'19,883';
```
## Task
Generate a SQL query to answer the following question:
`When the score was 76-73-67-69=285 what was the To par?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the score was 76-73-67-69=285 what was the To par?`:
```sql
                SELECT "to_par" FROM "final_leaderboard" WHERE "score"='76-73-67-69=285';
```
## Task
Generate a SQL query to answer the following question:
`Which player has a To par of  –6?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which player has a To par of  –6?`:
```sql
                SELECT "player" FROM "final_leaderboard" WHERE "to_par"='–6';
```
## Task
Generate a SQL query to answer the following question:
`How much memory (RAM) does the Maemo 5 operating system have?`

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

CREATE TABLE "models" (
  "model" text,
  "memory_ram" text,
  "storage_flash" text,
  "operating_system_version" text,
  "memory_card" text,
  "weight_dimensions" text,
  "retail_availability" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much memory (RAM) does the Maemo 5 operating system have?`:
```sql
                SELECT "memory_ram" FROM "models" WHERE "operating_system_version"='maemo 5';
```
## Task
Generate a SQL query to answer the following question:
`Which operating system has a storage (flash) of 128MB?`

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

CREATE TABLE "models" (
  "model" text,
  "memory_ram" text,
  "storage_flash" text,
  "operating_system_version" text,
  "memory_card" text,
  "weight_dimensions" text,
  "retail_availability" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which operating system has a storage (flash) of 128MB?`:
```sql
                SELECT "operating_system_version" FROM "models" WHERE "storage_flash"='128mb';
```
## Task
Generate a SQL query to answer the following question:
`What is the weight and dimensions of an N800?`

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

CREATE TABLE "models" (
  "model" text,
  "memory_ram" text,
  "storage_flash" text,
  "operating_system_version" text,
  "memory_card" text,
  "weight_dimensions" text,
  "retail_availability" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the weight and dimensions of an N800?`:
```sql
                SELECT "weight_dimensions" FROM "models" WHERE "model"='n800';
```
## Task
Generate a SQL query to answer the following question:
`Which operating system has 1GB (mobile ddr) memory (RAM)?`

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

CREATE TABLE "models" (
  "model" text,
  "memory_ram" text,
  "storage_flash" text,
  "operating_system_version" text,
  "memory_card" text,
  "weight_dimensions" text,
  "retail_availability" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which operating system has 1GB (mobile ddr) memory (RAM)?`:
```sql
                SELECT "operating_system_version" FROM "models" WHERE "memory_ram"='1gb (mobile ddr)';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"?`:
```sql
                SELECT COUNT("pick") FROM "draft_picks" WHERE "round">1 AND "player"='jim stack';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Round, when College is "Washington State", and when Pick is less than 48?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Round, when College is "Washington State", and when Pick is less than 48?`:
```sql
                SELECT MIN("round") FROM "draft_picks" WHERE "college"='washington state' AND "pick"<48;
```
## Task
Generate a SQL query to answer the following question:
`What is College, when Round is greater than 1, and when Pick is greater than 163?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "pick" real,
  "player" text,
  "nationality" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is College, when Round is greater than 1, and when Pick is greater than 163?`:
```sql
                SELECT "college" FROM "draft_picks" WHERE "round">1 AND "pick">163;
```
## Task
Generate a SQL query to answer the following question:
`What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30?`

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

CREATE TABLE "root_server_addresses" (
  "letter" text,
  "i_pv6_address" text,
  "as_number" text,
  "operator" text,
  "location_numsites_global_local" text,
  "software" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30?`:
```sql
                SELECT "location_numsites_global_local" FROM "root_server_addresses" WHERE "software"='bind' AND "i_pv6_address"='2001:503:c27::2:30';
```
## Task
Generate a SQL query to answer the following question:
`Which IPv6 address had a location of distributed using anycast 8/0 and a letter of A?`

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

CREATE TABLE "root_server_addresses" (
  "letter" text,
  "i_pv6_address" text,
  "as_number" text,
  "operator" text,
  "location_numsites_global_local" text,
  "software" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IPv6 address had a location of distributed using anycast 8/0 and a letter of A?`:
```sql
                SELECT "i_pv6_address" FROM "root_server_addresses" WHERE "location_numsites_global_local"='distributed using anycast 8/0' AND "letter"='a';
```
## Task
Generate a SQL query to answer the following question:
`Which IPv6 address has an operator of Wide project?`

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

CREATE TABLE "root_server_addresses" (
  "letter" text,
  "i_pv6_address" text,
  "as_number" text,
  "operator" text,
  "location_numsites_global_local" text,
  "software" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which IPv6 address has an operator of Wide project?`:
```sql
                SELECT "i_pv6_address" FROM "root_server_addresses" WHERE "operator"='wide project';
```
## Task
Generate a SQL query to answer the following question:
`Which letter has an operator of VeriSign and an AS-number of AS26415?`

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

CREATE TABLE "root_server_addresses" (
  "letter" text,
  "i_pv6_address" text,
  "as_number" text,
  "operator" text,
  "location_numsites_global_local" text,
  "software" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which letter has an operator of VeriSign and an AS-number of AS26415?`:
```sql
                SELECT "letter" FROM "root_server_addresses" WHERE "operator"='verisign' AND "as_number"='as26415';
```
## Task
Generate a SQL query to answer the following question:
`Which location has an AS-number of N/A?`

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

CREATE TABLE "root_server_addresses" (
  "letter" text,
  "i_pv6_address" text,
  "as_number" text,
  "operator" text,
  "location_numsites_global_local" text,
  "software" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which location has an AS-number of N/A?`:
```sql
                SELECT "location_numsites_global_local" FROM "root_server_addresses" WHERE "as_number"='n/a';
```
## Task
Generate a SQL query to answer the following question:
`Which letter has an operator of the Defense Information Systems Agency?`

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

CREATE TABLE "root_server_addresses" (
  "letter" text,
  "i_pv6_address" text,
  "as_number" text,
  "operator" text,
  "location_numsites_global_local" text,
  "software" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which letter has an operator of the Defense Information Systems Agency?`:
```sql
                SELECT "letter" FROM "root_server_addresses" WHERE "operator"='defense information systems agency';
```