cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many Games have a Drawn larger than 0, and a Lost of 1?`

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

CREATE TABLE "first_round" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Games have a Drawn larger than 0, and a Lost of 1?`:
```sql
                SELECT COUNT("games") FROM "first_round" WHERE "drawn">0 AND "lost"=1;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have a Drawn larger than 0, and a Lost larger than 1?`

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

CREATE TABLE "first_round" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have a Drawn larger than 0, and a Lost larger than 1?`:
```sql
                SELECT AVG("points") FROM "first_round" WHERE "drawn">0 AND "lost">1;
```
## Task
Generate a SQL query to answer the following question:
`Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?`

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

CREATE TABLE "first_round" (
  "games" real,
  "drawn" real,
  "lost" real,
  "points_difference" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?`:
```sql
                SELECT AVG("drawn") FROM "first_round" WHERE "lost">0 AND "points"<11 AND "games"<7;
```
## Task
Generate a SQL query to answer the following question:
`What is the percentage of the liberal party with less than 25 percent of seats?`

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

CREATE TABLE "electoral_effect" (
  "party" text,
  "votes_cast" real,
  "percentage" real,
  "seats_won" real,
  "percent_of_seats" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the percentage of the liberal party with less than 25 percent of seats?`:
```sql
                SELECT COUNT("percentage") FROM "electoral_effect" WHERE "party"='liberal' AND "percent_of_seats"<25;
```
## Task
Generate a SQL query to answer the following question:
`Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast?`

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

CREATE TABLE "electoral_effect" (
  "party" text,
  "votes_cast" real,
  "percentage" real,
  "seats_won" real,
  "percent_of_seats" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast?`:
```sql
                SELECT "party" FROM "electoral_effect" WHERE "seats_won"<21 AND "percent_of_seats"=0 AND "votes_cast"=69757;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Date that has the Game of 2?`

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

CREATE TABLE "playoffs" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Date that has the Game of 2?`:
```sql
                SELECT "date" FROM "playoffs" WHERE "game"=2;
```
## Task
Generate a SQL query to answer the following question:
`When the date is July 8, and the score is 8-12, who is the opponent?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the date is July 8, and the score is 8-12, who is the opponent?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='july 8' AND "score"='8-12';
```
## Task
Generate a SQL query to answer the following question:
`When the Loss is Johnson (4-12), what is the date?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the Loss is Johnson (4-12), what is the date?`:
```sql
                SELECT "date" FROM "game_log" WHERE "loss"='johnson (4-12)';
```
## Task
Generate a SQL query to answer the following question:
`What date is associated with the Loss of Farrell (6-13)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date is associated with the Loss of Farrell (6-13)?`:
```sql
                SELECT "date" FROM "game_log" WHERE "loss"='farrell (6-13)';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has the score of 0-3?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has the score of 0-3?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "score"='0-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Total of kyrgyzstan with a Silver smaller than 0?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Total of kyrgyzstan with a Silver smaller than 0?`:
```sql
                SELECT AVG("total") FROM "medals_table" WHERE "nation"='kyrgyzstan' AND "silver"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the Total that has a number of Nation and a Gold smaller than 16?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Total that has a number of Nation and a Gold smaller than 16?`:
```sql
                SELECT MIN("total") FROM "medals_table" WHERE "nation"='total' AND "gold"<16;
```
## Task
Generate a SQL query to answer the following question:
`Which Rank has a Silver larger than 1 and a Total larger than 13?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rank has a Silver larger than 1 and a Total larger than 13?`:
```sql
                SELECT "rank" FROM "medals_table" WHERE "silver">1 AND "total">13;
```
## Task
Generate a SQL query to answer the following question:
`How many Silvers that have a Rank of 2?`

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

CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Silvers that have a Rank of 2?`:
```sql
                SELECT COUNT("silver") FROM "medals_table" WHERE "rank"='2';
```
## Task
Generate a SQL query to answer the following question:
`What was the previous conference for the school that joined in 2000 with a millers mascot?`

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

CREATE TABLE "member_schools" (
  "school" text,
  "location" text,
  "mascot" text,
  "county" text,
  "2013_2014_size" real,
  "year_joined" real,
  "previous_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the previous conference for the school that joined in 2000 with a millers mascot?`:
```sql
                SELECT "previous_conference" FROM "member_schools" WHERE "year_joined"=2000 AND "mascot"='millers';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the college that is from a round greater than 3 with Gillis Wilson playing?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the college that is from a round greater than 3 with Gillis Wilson playing?`:
```sql
                SELECT "college" FROM "nfl_draft" WHERE "round">3 AND "player"='gillis wilson';
```
## Task
Generate a SQL query to answer the following question:
`What is average round of Auburn College?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is average round of Auburn College?`:
```sql
                SELECT AVG("round") FROM "nfl_draft" WHERE "college"='auburn';
```
## Task
Generate a SQL query to answer the following question:
`Which Top 10 is the lowest one that has Winnings of $405,300, and an Avg Start smaller than 30?`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top 10 is the lowest one that has Winnings of $405,300, and an Avg Start smaller than 30?`:
```sql
                SELECT MIN("top_10") FROM "nascar_sprint_cup_series" WHERE "winnings"='$405,300' AND "avg_start"<30;
```
## Task
Generate a SQL query to answer the following question:
`How many Wins have a Top 5 smaller than 0?`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Wins have a Top 5 smaller than 0?`:
```sql
                SELECT SUM("wins") FROM "nascar_sprint_cup_series" WHERE "top_5"<0;
```
## Task
Generate a SQL query to answer the following question:
`Which Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0?`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0?`:
```sql
                SELECT AVG("top_10") FROM "nascar_sprint_cup_series" WHERE "top_5">1 AND "year"=2003 AND "poles">0;
```
## Task
Generate a SQL query to answer the following question:
`How many Top 10s have Wins larger than 0, and Poles larger than 0?`

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

CREATE TABLE "nascar_sprint_cup_series" (
  "year" real,
  "starts" real,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "poles" real,
  "avg_start" real,
  "avg_finish" real,
  "winnings" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Top 10s have Wins larger than 0, and Poles larger than 0?`:
```sql
                SELECT COUNT("top_10") FROM "nascar_sprint_cup_series" WHERE "wins">0 AND "poles">0;
```
## Task
Generate a SQL query to answer the following question:
`What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship?`

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

CREATE TABLE "amateur_and_junior_clubs" (
  "club" text,
  "league" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship?`:
```sql
                SELECT COUNT("established") FROM "amateur_and_junior_clubs" WHERE "league"='ontario provincial junior a hockey' AND "championships">1;
```
## Task
Generate a SQL query to answer the following question:
`What Venue has more than 1 Championship and was Established after 1957?`

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

CREATE TABLE "amateur_and_junior_clubs" (
  "club" text,
  "league" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Venue has more than 1 Championship and was Established after 1957?`:
```sql
                SELECT "venue" FROM "amateur_and_junior_clubs" WHERE "championships"=1 AND "established">1957;
```
## Task
Generate a SQL query to answer the following question:
`With less than 1 Championship, what es the Established date of the Niagara Rugby Union League?`

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

CREATE TABLE "amateur_and_junior_clubs" (
  "club" text,
  "league" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `With less than 1 Championship, what es the Established date of the Niagara Rugby Union League?`:
```sql
                SELECT SUM("established") FROM "amateur_and_junior_clubs" WHERE "championships"<1 AND "league"='niagara rugby union';
```
## Task
Generate a SQL query to answer the following question:
`What is the Established date of the Brian Timmis Stadium?`

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

CREATE TABLE "amateur_and_junior_clubs" (
  "club" text,
  "league" text,
  "venue" text,
  "established" real,
  "championships" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Established date of the Brian Timmis Stadium?`:
```sql
                SELECT COUNT("established") FROM "amateur_and_junior_clubs" WHERE "venue"='brian timmis stadium';
```
## Task
Generate a SQL query to answer the following question:
`What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number?`

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

CREATE TABLE "west" (
  "name" text,
  "faith" text,
  "type" text,
  "intake" real,
  "dcsf_number" real,
  "ofsted_number" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number?`:
```sql
                SELECT MIN("ofsted_number") FROM "west" WHERE "intake"=60 AND "type"='junior' AND "dcsf_number"<3386;
```
## Task
Generate a SQL query to answer the following question:
`Which Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4–6?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4–6?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "game"<19 AND "points"<19 AND "score"='4–6';
```
## Task
Generate a SQL query to answer the following question:
`How many games have a Record of 7–6–3, and Points smaller than 17?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many games have a Record of 7–6–3, and Points smaller than 17?`:
```sql
                SELECT COUNT("game") FROM "regular_season" WHERE "record"='7–6–3' AND "points"<17;
```
## Task
Generate a SQL query to answer the following question:
`Which Points have an Opponent of vancouver canucks, and a November smaller than 11?`

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

CREATE TABLE "regular_season" (
  "game" real,
  "november" real,
  "opponent" text,
  "score" text,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Points have an Opponent of vancouver canucks, and a November smaller than 11?`:
```sql
                SELECT AVG("points") FROM "regular_season" WHERE "opponent"='vancouver canucks' AND "november"<11;
```
## Task
Generate a SQL query to answer the following question:
`which Record is on March of 12`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `which Record is on March of 12`:
```sql
                SELECT "record" FROM "schedule_and_results" WHERE "march"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of March that has 25-10-9 record and a Game more than 44?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of March that has 25-10-9 record and a Game more than 44?`:
```sql
                SELECT COUNT("march") FROM "schedule_and_results" WHERE "record"='25-10-9' AND "game">44;
```
## Task
Generate a SQL query to answer the following question:
`Which Game has a Record of 27-11-10?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "march" real,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Game has a Record of 27-11-10?`:
```sql
                SELECT AVG("game") FROM "schedule_and_results" WHERE "record"='27-11-10';
```
## Task
Generate a SQL query to answer the following question:
`What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?`

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

CREATE TABLE "bulgaria" (
  "line" text,
  "speed" text,
  "length" text,
  "construction_begun" text,
  "expected_start_of_revenue_services" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?`:
```sql
                SELECT "speed" FROM "bulgaria" WHERE "construction_begun"='2010' AND "expected_start_of_revenue_services"=2015;
```
## Task
Generate a SQL query to answer the following question:
`What is the length when the expected start of revenue is more than 2017?`

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

CREATE TABLE "bulgaria" (
  "line" text,
  "speed" text,
  "length" text,
  "construction_begun" text,
  "expected_start_of_revenue_services" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the length when the expected start of revenue is more than 2017?`:
```sql
                SELECT "length" FROM "bulgaria" WHERE "expected_start_of_revenue_services">2017;
```
## Task
Generate a SQL query to answer the following question:
`What was the undecided with Roy Barnes at 47%?`

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

CREATE TABLE "democratic_primary" (
  "poll_source" text,
  "dates_administered" text,
  "roy_barnes" text,
  "thurbert_baker" text,
  "du_bose_porter" text,
  "david_poythress" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the undecided with Roy Barnes at 47%?`:
```sql
                SELECT "undecided" FROM "democratic_primary" WHERE "roy_barnes"='47%';
```
## Task
Generate a SQL query to answer the following question:
`What is the DuBose Porter with Roy Barnes at 54%?`

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

CREATE TABLE "democratic_primary" (
  "poll_source" text,
  "dates_administered" text,
  "roy_barnes" text,
  "thurbert_baker" text,
  "du_bose_porter" text,
  "david_poythress" text,
  "undecided" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the DuBose Porter with Roy Barnes at 54%?`:
```sql
                SELECT "du_bose_porter" FROM "democratic_primary" WHERE "roy_barnes"='54%';
```
## Task
Generate a SQL query to answer the following question:
`What series episode has deli meats under segment B?`

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

CREATE TABLE "season_12_2008_2009" (
  "series_ep" text,
  "episode" real,
  "netflix" text,
  "segment_a" text,
  "segment_b" text,
  "segment_c" text,
  "segment_d" text
);
### SQL
Given the database schema, here is the SQL query that answers `What series episode has deli meats under segment B?`:
```sql
                SELECT "series_ep" FROM "season_12_2008_2009" WHERE "segment_b"='deli meats';
```
## Task
Generate a SQL query to answer the following question:
`Which After 1 year has an After 3 years of 80%?`

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

CREATE TABLE "comparison_table" (
  "model" text,
  "min_capacity_m_ah" text,
  "typ_capacity_m_ah" text,
  "capacity_after_first_day" text,
  "after_1_year" text,
  "after_2_years" text,
  "after_3_years" text,
  "after_5_years" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which After 1 year has an After 3 years of 80%?`:
```sql
                SELECT "after_1_year" FROM "comparison_table" WHERE "after_3_years"='80%';
```
## Task
Generate a SQL query to answer the following question:
`What position does Alexei Lazarenko have?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does Alexei Lazarenko have?`:
```sql
                SELECT "position" FROM "draft_picks" WHERE "player"='alexei lazarenko';
```
## Task
Generate a SQL query to answer the following question:
`What college did Jamie Butt go to?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What college did Jamie Butt go to?`:
```sql
                SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='jamie butt';
```
## Task
Generate a SQL query to answer the following question:
`What school did Alexander Korobolin go to?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school did Alexander Korobolin go to?`:
```sql
                SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "player"='alexander korobolin';
```
## Task
Generate a SQL query to answer the following question:
`Who has a round less than 9 and a position of G?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a round less than 9 and a position of G?`:
```sql
                SELECT "player" FROM "draft_picks" WHERE "position"='g' AND "round"<9;
```
## Task
Generate a SQL query to answer the following question:
`Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2`:
```sql
                SELECT SUM("cuts_made") FROM "summary" WHERE "wins"<2 AND "top_25">7 AND "top_10"<2;
```
## Task
Generate a SQL query to answer the following question:
`What was the score that led to an 11-16 record?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "time" text,
  "att" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score that led to an 11-16 record?`:
```sql
                SELECT "score" FROM "game_log" WHERE "record"='11-16';
```
## Task
Generate a SQL query to answer the following question:
`Who took the loss on May 20?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "time" text,
  "att" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who took the loss on May 20?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "date"='may 20';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance of the game that lasted 3:55?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "time" text,
  "att" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance of the game that lasted 3:55?`:
```sql
                SELECT "att" FROM "game_log" WHERE "time"='3:55';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game in which Holt (4-4) took the loss?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "time" text,
  "att" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game in which Holt (4-4) took the loss?`:
```sql
                SELECT "date" FROM "game_log" WHERE "loss"='holt (4-4)';
```
## Task
Generate a SQL query to answer the following question:
`What was the date when the pitcher was Jason Marquis and the length was 410'?`

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

CREATE TABLE "barry_bonds_73_home_runs" (
  "number" text,
  "date" text,
  "pitcher" text,
  "team" text,
  "inning" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date when the pitcher was Jason Marquis and the length was 410'?`:
```sql
                SELECT "date" FROM "barry_bonds_73_home_runs" WHERE "pitcher"='jason marquis' AND "length"='410''';
```
## Task
Generate a SQL query to answer the following question:
`What number home run was in the 8th inning and went 410'?`

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

CREATE TABLE "barry_bonds_73_home_runs" (
  "number" text,
  "date" text,
  "pitcher" text,
  "team" text,
  "inning" text,
  "length" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number home run was in the 8th inning and went 410'?`:
```sql
                SELECT "number" FROM "barry_bonds_73_home_runs" WHERE "inning"='8th' AND "length"='410''';
```
## Task
Generate a SQL query to answer the following question:
`Which Max 1-min wind mph (km/h) that has Dates active on september22– september28?`

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

CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Max 1-min wind mph (km/h) that has Dates active on september22– september28?`:
```sql
                SELECT "max_1_min_wind_mph_km_h" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "dates_active"='september22– september28';
```
## Task
Generate a SQL query to answer the following question:
`Which Min press has none Death and seven Storm names?`

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

CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Min press has none Death and seven Storm names?`:
```sql
                SELECT "min_press_mbar" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "deaths"='none' AND "storm_name"='seven';
```
## Task
Generate a SQL query to answer the following question:
`What is the cost of 972 Min Press caused 52 death?`

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

CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the cost of 972 Min Press caused 52 death?`:
```sql
                SELECT "damage_millions_usd" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "min_press_mbar"='972' AND "deaths"='52';
```
## Task
Generate a SQL query to answer the following question:
`What is the active Date that has a 65 (100) Max 1-min wind?`

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

CREATE TABLE "1940_north_atlantic_tropical_cyclone_sta" (
  "storm_name" text,
  "dates_active" text,
  "max_1_min_wind_mph_km_h" text,
  "min_press_mbar" text,
  "damage_millions_usd" text,
  "deaths" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the active Date that has a 65 (100) Max 1-min wind?`:
```sql
                SELECT "dates_active" FROM "1940_north_atlantic_tropical_cyclone_sta" WHERE "max_1_min_wind_mph_km_h"='65 (100)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Class AA with a Class AAAA of Sulphur Springs and Duncanville as the class AAAAA?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Class AA with a Class AAAA of Sulphur Springs and Duncanville as the class AAAAA?`:
```sql
                SELECT "class_aa" FROM "team" WHERE "class_aaaa"='sulphur springs' AND "class_aaaaa"='duncanville';
```
## Task
Generate a SQL query to answer the following question:
`What is the Class AA in the 2010-11 school year with a class AAA of Giddings?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Class AA in the 2010-11 school year with a class AAA of Giddings?`:
```sql
                SELECT "class_aa" FROM "team" WHERE "class_aaa"='giddings' AND "school_year"='2010-11';
```
## Task
Generate a SQL query to answer the following question:
`What is the Class AA of the school year 2009-10 with a class AAA of Giddings?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Class AA of the school year 2009-10 with a class AAA of Giddings?`:
```sql
                SELECT "class_aa" FROM "team" WHERE "class_aaa"='giddings' AND "school_year"='2009-10';
```
## Task
Generate a SQL query to answer the following question:
`What is the class AAAAA of the school year 1993-94 with a class AAA of Mont Belvieu Barbers Hill?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the class AAAAA of the school year 1993-94 with a class AAA of Mont Belvieu Barbers Hill?`:
```sql
                SELECT "class_aaaaa" FROM "team" WHERE "class_aaa"='mont belvieu barbers hill' AND "school_year"='1993-94';
```
## Task
Generate a SQL query to answer the following question:
`What is the school year with a class AA of Rosebud-Lott, a class AAAAA of Duncanville, and a class AAA of Mont Belvieu Barbers Hill?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the school year with a class AA of Rosebud-Lott, a class AAAAA of Duncanville, and a class AAA of Mont Belvieu Barbers Hill?`:
```sql
                SELECT "school_year" FROM "team" WHERE "class_aa"='rosebud-lott' AND "class_aaaaa"='duncanville' AND "class_aaa"='mont belvieu barbers hill';
```
## Task
Generate a SQL query to answer the following question:
`What is the class AAA of the 1993-94 school year with a class AAAAA of Duncanville?`

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

CREATE TABLE "team" (
  "school_year" text,
  "class_a" text,
  "class_aa" text,
  "class_aaa" text,
  "class_aaaa" text,
  "class_aaaaa" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the class AAA of the 1993-94 school year with a class AAAAA of Duncanville?`:
```sql
                SELECT "class_aaa" FROM "team" WHERE "class_aaaaa"='duncanville' AND "school_year"='1993-94';
```
## Task
Generate a SQL query to answer the following question:
`Who was the visiting team on May 7?`

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

CREATE TABLE "pittsburgh_penguins_4_boston_bruins_2" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the visiting team on May 7?`:
```sql
                SELECT "visitor" FROM "pittsburgh_penguins_4_boston_bruins_2" WHERE "date"='may 7';
```
## Task
Generate a SQL query to answer the following question:
`what year has 13,426,901 passengers and more than 10,726,551 international passengers?`

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

CREATE TABLE "annual_passenger_statistics_for_helsinki" (
  "year" real,
  "domestic_passengers" real,
  "international_passengers" real,
  "total_passengers" real,
  "change" text
);
### SQL
Given the database schema, here is the SQL query that answers `what year has 13,426,901 passengers and more than 10,726,551 international passengers?`:
```sql
                SELECT SUM("year") FROM "annual_passenger_statistics_for_helsinki" WHERE "total_passengers"='13,426,901' AND "international_passengers">'10,726,551';
```
## Task
Generate a SQL query to answer the following question:
`what total number of passengers is domestic and larger than 2,803,907 and a year after 1999?`

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

CREATE TABLE "annual_passenger_statistics_for_helsinki" (
  "year" real,
  "domestic_passengers" real,
  "international_passengers" real,
  "total_passengers" real,
  "change" text
);
### SQL
Given the database schema, here is the SQL query that answers `what total number of passengers is domestic and larger than 2,803,907 and a year after 1999?`:
```sql
                SELECT COUNT("total_passengers") FROM "annual_passenger_statistics_for_helsinki" WHERE "domestic_passengers"='2,803,907' AND "year">1999;
```
## Task
Generate a SQL query to answer the following question:
`Who had a Qualifying 2 time over 58.669 for Team Australia?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" real,
  "best" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who had a Qualifying 2 time over 58.669 for Team Australia?`:
```sql
                SELECT "name" FROM "qualifying_results" WHERE "qual_2">58.669 AND "team"='team australia';
```
## Task
Generate a SQL query to answer the following question:
`Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" real,
  "best" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897?`:
```sql
                SELECT "qual_1" FROM "qualifying_results" WHERE "best"<58.669 AND "qual_2"<57.897;
```
## Task
Generate a SQL query to answer the following question:
`Which team has a qualifying 2 time under 59.612 and a best of 59.14?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" real,
  "best" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has a qualifying 2 time under 59.612 and a best of 59.14?`:
```sql
                SELECT "team" FROM "qualifying_results" WHERE "qual_2"<59.612 AND "best"=59.14;
```
## Task
Generate a SQL query to answer the following question:
`Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?`

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

CREATE TABLE "language" (
  "gloss" text,
  "cholim" text,
  "lungchang" text,
  "rera" text,
  "tikhak" text,
  "yonguk" text,
  "muklom" text,
  "hakhun" text,
  "halang" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?`:
```sql
                SELECT "lungchang" FROM "language" WHERE "halang"='ʒɯ²' AND "rera"='ʒo²';
```
## Task
Generate a SQL query to answer the following question:
`Which Tikhak has a Yonguk of wu¹ti¹?`

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

CREATE TABLE "language" (
  "gloss" text,
  "cholim" text,
  "lungchang" text,
  "rera" text,
  "tikhak" text,
  "yonguk" text,
  "muklom" text,
  "hakhun" text,
  "halang" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tikhak has a Yonguk of wu¹ti¹?`:
```sql
                SELECT "tikhak" FROM "language" WHERE "yonguk"='wu¹ti¹';
```
## Task
Generate a SQL query to answer the following question:
`Which Yonguk has a Halang of ran¹?`

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

CREATE TABLE "language" (
  "gloss" text,
  "cholim" text,
  "lungchang" text,
  "rera" text,
  "tikhak" text,
  "yonguk" text,
  "muklom" text,
  "hakhun" text,
  "halang" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Yonguk has a Halang of ran¹?`:
```sql
                SELECT "yonguk" FROM "language" WHERE "halang"='ran¹';
```
## Task
Generate a SQL query to answer the following question:
`Which Halang has a Rera of ʒo²?`

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

CREATE TABLE "language" (
  "gloss" text,
  "cholim" text,
  "lungchang" text,
  "rera" text,
  "tikhak" text,
  "yonguk" text,
  "muklom" text,
  "hakhun" text,
  "halang" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Halang has a Rera of ʒo²?`:
```sql
                SELECT "halang" FROM "language" WHERE "rera"='ʒo²';
```
## Task
Generate a SQL query to answer the following question:
`Which Muklom has a Halang of wɯ¹cʰi¹?`

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

CREATE TABLE "language" (
  "gloss" text,
  "cholim" text,
  "lungchang" text,
  "rera" text,
  "tikhak" text,
  "yonguk" text,
  "muklom" text,
  "hakhun" text,
  "halang" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Muklom has a Halang of wɯ¹cʰi¹?`:
```sql
                SELECT "muklom" FROM "language" WHERE "halang"='wɯ¹cʰi¹';
```
## Task
Generate a SQL query to answer the following question:
`Which Hakhun has a Tikhak of ʒu²?`

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

CREATE TABLE "language" (
  "gloss" text,
  "cholim" text,
  "lungchang" text,
  "rera" text,
  "tikhak" text,
  "yonguk" text,
  "muklom" text,
  "hakhun" text,
  "halang" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Hakhun has a Tikhak of ʒu²?`:
```sql
                SELECT "hakhun" FROM "language" WHERE "tikhak"='ʒu²';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of Tamagaki station with an l stop?`

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

CREATE TABLE "stations" (
  "number" real,
  "station" text,
  "japanese" text,
  "distance_km" real,
  "stop" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of Tamagaki station with an l stop?`:
```sql
                SELECT "location" FROM "stations" WHERE "stop"='l' AND "station"='tamagaki';
```
## Task
Generate a SQL query to answer the following question:
`What is the station with a number greater than 9 and a distance of 16.4 km?`

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

CREATE TABLE "stations" (
  "number" real,
  "station" text,
  "japanese" text,
  "distance_km" real,
  "stop" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the station with a number greater than 9 and a distance of 16.4 km?`:
```sql
                SELECT "station" FROM "stations" WHERE "number">9 AND "distance_km"=16.4;
```
## Task
Generate a SQL query to answer the following question:
`What is the Japanese name of the station with a number 3?`

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

CREATE TABLE "stations" (
  "number" real,
  "station" text,
  "japanese" text,
  "distance_km" real,
  "stop" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Japanese name of the station with a number 3?`:
```sql
                SELECT "japanese" FROM "stations" WHERE "number"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of the station in Suzuka that is smaller than 11.1 km and has an l stop?`

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

CREATE TABLE "stations" (
  "number" real,
  "station" text,
  "japanese" text,
  "distance_km" real,
  "stop" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of the station in Suzuka that is smaller than 11.1 km and has an l stop?`:
```sql
                SELECT SUM("number") FROM "stations" WHERE "location"='suzuka' AND "distance_km"<11.1 AND "stop"='l';
```
## Task
Generate a SQL query to answer the following question:
`What is the distance of Kawage station?`

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

CREATE TABLE "stations" (
  "number" real,
  "station" text,
  "japanese" text,
  "distance_km" real,
  "stop" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the distance of Kawage station?`:
```sql
                SELECT SUM("distance_km") FROM "stations" WHERE "station"='kawage';
```
## Task
Generate a SQL query to answer the following question:
`Which station has a number less than 5 and an l stop?`

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

CREATE TABLE "stations" (
  "number" real,
  "station" text,
  "japanese" text,
  "distance_km" real,
  "stop" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which station has a number less than 5 and an l stop?`:
```sql
                SELECT "station" FROM "stations" WHERE "number"<5 AND "stop"='l';
```