cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?`

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

CREATE TABLE "comparison_of_features" (
  "name" text,
  "e_mail_server" text,
  "faxing" text,
  "instant_messaging" text,
  "telephony" text,
  "videoconferencing" text,
  "web_conferencing" text,
  "data_conferencing" text,
  "application_sharing" text,
  "electronic_meeting_system" text,
  "synchronous_conferencing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?`:
```sql
                SELECT "instant_messaging" FROM "comparison_of_features" WHERE "telephony"='yes with integrated sametime';
```
## Task
Generate a SQL query to answer the following question:
`What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"?`

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

CREATE TABLE "comparison_of_features" (
  "name" text,
  "e_mail_server" text,
  "faxing" text,
  "instant_messaging" text,
  "telephony" text,
  "videoconferencing" text,
  "web_conferencing" text,
  "data_conferencing" text,
  "application_sharing" text,
  "electronic_meeting_system" text,
  "synchronous_conferencing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"?`:
```sql
                SELECT "videoconferencing" FROM "comparison_of_features" WHERE "synchronous_conferencing"='no' AND "web_conferencing"='no' AND "faxing"='yes';
```
## Task
Generate a SQL query to answer the following question:
`What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"?`

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

CREATE TABLE "comparison_of_features" (
  "name" text,
  "e_mail_server" text,
  "faxing" text,
  "instant_messaging" text,
  "telephony" text,
  "videoconferencing" text,
  "web_conferencing" text,
  "data_conferencing" text,
  "application_sharing" text,
  "electronic_meeting_system" text,
  "synchronous_conferencing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"?`:
```sql
                SELECT "videoconferencing" FROM "comparison_of_features" WHERE "data_conferencing"='no' AND "web_conferencing"='no';
```
## Task
Generate a SQL query to answer the following question:
`What is Application Sharing, when Web Conferencing is "Web Conferencing"?`

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

CREATE TABLE "comparison_of_features" (
  "name" text,
  "e_mail_server" text,
  "faxing" text,
  "instant_messaging" text,
  "telephony" text,
  "videoconferencing" text,
  "web_conferencing" text,
  "data_conferencing" text,
  "application_sharing" text,
  "electronic_meeting_system" text,
  "synchronous_conferencing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Application Sharing, when Web Conferencing is "Web Conferencing"?`:
```sql
                SELECT "application_sharing" FROM "comparison_of_features" WHERE "web_conferencing"='web conferencing';
```
## Task
Generate a SQL query to answer the following question:
`What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"?`

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

CREATE TABLE "comparison_of_features" (
  "name" text,
  "e_mail_server" text,
  "faxing" text,
  "instant_messaging" text,
  "telephony" text,
  "videoconferencing" text,
  "web_conferencing" text,
  "data_conferencing" text,
  "application_sharing" text,
  "electronic_meeting_system" text,
  "synchronous_conferencing" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"?`:
```sql
                SELECT "instant_messaging" FROM "comparison_of_features" WHERE "electronic_meeting_system"='yes' AND "name"='microsoft sharepoint';
```
## Task
Generate a SQL query to answer the following question:
`What is the July 1, 2010 density when the April 1, 2010 density is 1,694?`

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

CREATE TABLE "list_of_the_most_populous_us_counties_so" (
  "rank" text,
  "county" text,
  "state" text,
  "land_area_km" text,
  "land_area_mi" text,
  "april_1_2010_census" text,
  "april_1_2010_density_km" text,
  "april_1_2010_density_mi" text,
  "july_1_2010_official_estimate" text,
  "july_1_2010_density_km" text,
  "july_1_2010_density_mi" text,
  "july_1_2011_official_estimate" text,
  "july_1_2011_density_km" text,
  "july_1_2011_density_mi" text,
  "mid_2010_to_mid_2011_change_absolute" text,
  "mid_2010_to_mid_2011_change_pct" text,
  "county_seat_or_courthouse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the July 1, 2010 density when the April 1, 2010 density is 1,694?`:
```sql
                SELECT "july_1_2010_density_km" FROM "list_of_the_most_populous_us_counties_so" WHERE "april_1_2010_density_mi"='1,694';
```
## Task
Generate a SQL query to answer the following question:
`Name the mid-2010 to mid-2011 change in the case where then April 1, 2010 census reports 662,564?`

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

CREATE TABLE "list_of_the_most_populous_us_counties_so" (
  "rank" text,
  "county" text,
  "state" text,
  "land_area_km" text,
  "land_area_mi" text,
  "april_1_2010_census" text,
  "april_1_2010_density_km" text,
  "april_1_2010_density_mi" text,
  "july_1_2010_official_estimate" text,
  "july_1_2010_density_km" text,
  "july_1_2010_density_mi" text,
  "july_1_2011_official_estimate" text,
  "july_1_2011_density_km" text,
  "july_1_2011_density_mi" text,
  "mid_2010_to_mid_2011_change_absolute" text,
  "mid_2010_to_mid_2011_change_pct" text,
  "county_seat_or_courthouse" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the mid-2010 to mid-2011 change in the case where then April 1, 2010 census reports 662,564?`:
```sql
                SELECT "mid_2010_to_mid_2011_change_absolute" FROM "list_of_the_most_populous_us_counties_so" WHERE "april_1_2010_census"='662,564';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank where the July 1, 2010 density equals 437?`

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

CREATE TABLE "list_of_the_most_populous_us_counties_so" (
  "rank" text,
  "county" text,
  "state" text,
  "land_area_km" text,
  "land_area_mi" text,
  "april_1_2010_census" text,
  "april_1_2010_density_km" text,
  "april_1_2010_density_mi" text,
  "july_1_2010_official_estimate" text,
  "july_1_2010_density_km" text,
  "july_1_2010_density_mi" text,
  "july_1_2011_official_estimate" text,
  "july_1_2011_density_km" text,
  "july_1_2011_density_mi" text,
  "mid_2010_to_mid_2011_change_absolute" text,
  "mid_2010_to_mid_2011_change_pct" text,
  "county_seat_or_courthouse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank where the July 1, 2010 density equals 437?`:
```sql
                SELECT "rank" FROM "list_of_the_most_populous_us_counties_so" WHERE "july_1_2010_density_km"='437';
```
## Task
Generate a SQL query to answer the following question:
`What is the July 1, 2011 density if the July 1, 2010 official estimate is 800,482?`

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

CREATE TABLE "list_of_the_most_populous_us_counties_so" (
  "rank" text,
  "county" text,
  "state" text,
  "land_area_km" text,
  "land_area_mi" text,
  "april_1_2010_census" text,
  "april_1_2010_density_km" text,
  "april_1_2010_density_mi" text,
  "july_1_2010_official_estimate" text,
  "july_1_2010_density_km" text,
  "july_1_2010_density_mi" text,
  "july_1_2011_official_estimate" text,
  "july_1_2011_density_km" text,
  "july_1_2011_density_mi" text,
  "mid_2010_to_mid_2011_change_absolute" text,
  "mid_2010_to_mid_2011_change_pct" text,
  "county_seat_or_courthouse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the July 1, 2011 density if the July 1, 2010 official estimate is 800,482?`:
```sql
                SELECT "july_1_2011_density_mi" FROM "list_of_the_most_populous_us_counties_so" WHERE "july_1_2010_official_estimate"='800,482';
```
## Task
Generate a SQL query to answer the following question:
`What is the mid-2010 to mid-2011 change where the July 1, 2011 density is 508?`

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

CREATE TABLE "list_of_the_most_populous_us_counties_so" (
  "rank" text,
  "county" text,
  "state" text,
  "land_area_km" text,
  "land_area_mi" text,
  "april_1_2010_census" text,
  "april_1_2010_density_km" text,
  "april_1_2010_density_mi" text,
  "july_1_2010_official_estimate" text,
  "july_1_2010_density_km" text,
  "july_1_2010_density_mi" text,
  "july_1_2011_official_estimate" text,
  "july_1_2011_density_km" text,
  "july_1_2011_density_mi" text,
  "mid_2010_to_mid_2011_change_absolute" text,
  "mid_2010_to_mid_2011_change_pct" text,
  "county_seat_or_courthouse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the mid-2010 to mid-2011 change where the July 1, 2011 density is 508?`:
```sql
                SELECT "mid_2010_to_mid_2011_change_pct" FROM "list_of_the_most_populous_us_counties_so" WHERE "july_1_2011_density_mi"='508';
```
## Task
Generate a SQL query to answer the following question:
`What country had a July 1, 2010 density of 41?`

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

CREATE TABLE "list_of_the_most_populous_us_counties_so" (
  "rank" text,
  "county" text,
  "state" text,
  "land_area_km" text,
  "land_area_mi" text,
  "april_1_2010_census" text,
  "april_1_2010_density_km" text,
  "april_1_2010_density_mi" text,
  "july_1_2010_official_estimate" text,
  "july_1_2010_density_km" text,
  "july_1_2010_density_mi" text,
  "july_1_2011_official_estimate" text,
  "july_1_2011_density_km" text,
  "july_1_2011_density_mi" text,
  "mid_2010_to_mid_2011_change_absolute" text,
  "mid_2010_to_mid_2011_change_pct" text,
  "county_seat_or_courthouse" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country had a July 1, 2010 density of 41?`:
```sql
                SELECT "county" FROM "list_of_the_most_populous_us_counties_so" WHERE "july_1_2010_density_km"='41';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament has an Outcome of winner, and Opponents of eddie dibbs harold solomon?`

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

CREATE TABLE "doubles_20_8_12" (
  "outcome" text,
  "date" real,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament has an Outcome of winner, and Opponents of eddie dibbs harold solomon?`:
```sql
                SELECT "tournament" FROM "doubles_20_8_12" WHERE "outcome"='winner' AND "opponents"='eddie dibbs harold solomon';
```
## Task
Generate a SQL query to answer the following question:
`What Partner has a Score of 3–6, 2–6?`

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

CREATE TABLE "doubles_20_8_12" (
  "outcome" text,
  "date" real,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Partner has a Score of 3–6, 2–6?`:
```sql
                SELECT "partner" FROM "doubles_20_8_12" WHERE "score"='3–6, 2–6';
```
## Task
Generate a SQL query to answer the following question:
`What Tournament has a Partner of tom gorman?`

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

CREATE TABLE "doubles_20_8_12" (
  "outcome" text,
  "date" real,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Tournament has a Partner of tom gorman?`:
```sql
                SELECT "tournament" FROM "doubles_20_8_12" WHERE "partner"='tom gorman';
```
## Task
Generate a SQL query to answer the following question:
`What Outcome has Opponents of bob hewitt frew mcmillan?`

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

CREATE TABLE "doubles_20_8_12" (
  "outcome" text,
  "date" real,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Outcome has Opponents of bob hewitt frew mcmillan?`:
```sql
                SELECT "outcome" FROM "doubles_20_8_12" WHERE "opponents"='bob hewitt frew mcmillan';
```
## Task
Generate a SQL query to answer the following question:
`Who was the name of the opposing team on 11/02/1961?`

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

CREATE TABLE "1961" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the name of the opposing team on 11/02/1961?`:
```sql
                SELECT "opposing_teams" FROM "1961" WHERE "date"='11/02/1961';
```
## Task
Generate a SQL query to answer the following question:
`Which Opposing team had an Against smaller Than 5?`

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

CREATE TABLE "1961" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Opposing team had an Against smaller Than 5?`:
```sql
                SELECT "opposing_teams" FROM "1961" WHERE "against"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the status for 07/01/1961?`

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

CREATE TABLE "1961" (
  "opposing_teams" text,
  "against" real,
  "date" text,
  "venue" text,
  "status" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status for 07/01/1961?`:
```sql
                SELECT "status" FROM "1961" WHERE "date"='07/01/1961';
```
## Task
Generate a SQL query to answer the following question:
`What position does Karl Singer play?`

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

CREATE TABLE "round_one" (
  "pick" real,
  "afl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does Karl Singer play?`:
```sql
                SELECT "position" FROM "round_one" WHERE "player"='karl singer';
```
## Task
Generate a SQL query to answer the following question:
`Which player is an offensive tackle for the New York Jets?`

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

CREATE TABLE "round_one" (
  "pick" real,
  "afl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is an offensive tackle for the New York Jets?`:
```sql
                SELECT "player" FROM "round_one" WHERE "position"='offensive tackle' AND "afl_team"='new york jets';
```
## Task
Generate a SQL query to answer the following question:
`What position does Mike Dennis play?`

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

CREATE TABLE "round_one" (
  "pick" real,
  "afl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position does Mike Dennis play?`:
```sql
                SELECT "position" FROM "round_one" WHERE "player"='mike dennis';
```
## Task
Generate a SQL query to answer the following question:
`Which AFL team has a pick 4 for the offensive tackle position?`

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

CREATE TABLE "round_one" (
  "pick" real,
  "afl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which AFL team has a pick 4 for the offensive tackle position?`:
```sql
                SELECT "afl_team" FROM "round_one" WHERE "position"='offensive tackle' AND "pick"=4;
```
## Task
Generate a SQL query to answer the following question:
`From which country was Sodje loaned?`

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

CREATE TABLE "loans" (
  "name" text,
  "country" text,
  "loan_club" text,
  "started" text,
  "ended" text,
  "start_source" text
);
### SQL
Given the database schema, here is the SQL query that answers `From which country was Sodje loaned?`:
```sql
                SELECT "country" FROM "loans" WHERE "name"='sodje';
```
## Task
Generate a SQL query to answer the following question:
`From which club is player C. Dickinson?`

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

CREATE TABLE "loans" (
  "name" text,
  "country" text,
  "loan_club" text,
  "started" text,
  "ended" text,
  "start_source" text
);
### SQL
Given the database schema, here is the SQL query that answers `From which club is player C. Dickinson?`:
```sql
                SELECT "loan_club" FROM "loans" WHERE "name"='c. dickinson';
```
## Task
Generate a SQL query to answer the following question:
`What is the fate for the Bremen ship?`

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

CREATE TABLE "the_ships" (
  "ship" text,
  "tonnage" text,
  "builder" text,
  "original_operator" text,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the fate for the Bremen ship?`:
```sql
                SELECT "fate" FROM "the_ships" WHERE "ship"='bremen';
```
## Task
Generate a SQL query to answer the following question:
`Who is the original operator for the AG Vulcan builder and the Prinzess Irene ship?`

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

CREATE TABLE "the_ships" (
  "ship" text,
  "tonnage" text,
  "builder" text,
  "original_operator" text,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the original operator for the AG Vulcan builder and the Prinzess Irene ship?`:
```sql
                SELECT "original_operator" FROM "the_ships" WHERE "builder"='ag vulcan' AND "ship"='prinzess irene';
```
## Task
Generate a SQL query to answer the following question:
`What is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene?`

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

CREATE TABLE "the_ships" (
  "ship" text,
  "tonnage" text,
  "builder" text,
  "original_operator" text,
  "fate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene?`:
```sql
                SELECT "tonnage" FROM "the_ships" WHERE "builder"='ag vulcan' AND "original_operator"='ndl' AND "ship"='prinzess irene';
```
## Task
Generate a SQL query to answer the following question:
`What Combined has a 100 yard Freestyle of cody miller (palo verde)?`

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

CREATE TABLE "swimming_and_diving" (
  "combined" text,
  "50_yard_freestyle" text,
  "100_yard_freestyle" text,
  "200_yard_freestyle" text,
  "500_yard_freestyle" text,
  "100_yard_backstroke" text,
  "100_yard_butterfly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Combined has a 100 yard Freestyle of cody miller (palo verde)?`:
```sql
                SELECT "combined" FROM "swimming_and_diving" WHERE "100_yard_freestyle"='cody miller (palo verde)';
```
## Task
Generate a SQL query to answer the following question:
`What 100 yard Backstroke has a 100 yard Freestyle of helen yee (sierra vista)?`

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

CREATE TABLE "swimming_and_diving" (
  "combined" text,
  "50_yard_freestyle" text,
  "100_yard_freestyle" text,
  "200_yard_freestyle" text,
  "500_yard_freestyle" text,
  "100_yard_backstroke" text,
  "100_yard_butterfly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 100 yard Backstroke has a 100 yard Freestyle of helen yee (sierra vista)?`:
```sql
                SELECT "100_yard_backstroke" FROM "swimming_and_diving" WHERE "100_yard_freestyle"='helen yee (sierra vista)';
```
## Task
Generate a SQL query to answer the following question:
`What 50 yard Freestyle has a 100 yard Butterfly of diving?`

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

CREATE TABLE "swimming_and_diving" (
  "combined" text,
  "50_yard_freestyle" text,
  "100_yard_freestyle" text,
  "200_yard_freestyle" text,
  "500_yard_freestyle" text,
  "100_yard_backstroke" text,
  "100_yard_butterfly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 50 yard Freestyle has a 100 yard Butterfly of diving?`:
```sql
                SELECT "50_yard_freestyle" FROM "swimming_and_diving" WHERE "100_yard_butterfly"='diving';
```
## Task
Generate a SQL query to answer the following question:
`What 100 yard Butterfly has a 100 yard Freestyle of cody miller (palo verde)?`

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

CREATE TABLE "swimming_and_diving" (
  "combined" text,
  "50_yard_freestyle" text,
  "100_yard_freestyle" text,
  "200_yard_freestyle" text,
  "500_yard_freestyle" text,
  "100_yard_backstroke" text,
  "100_yard_butterfly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 100 yard Butterfly has a 100 yard Freestyle of cody miller (palo verde)?`:
```sql
                SELECT "100_yard_butterfly" FROM "swimming_and_diving" WHERE "100_yard_freestyle"='cody miller (palo verde)';
```
## Task
Generate a SQL query to answer the following question:
`What 500 yard Freestyle has a Combined of palo verde, and a 100 yard Butterfly of edward kollar (douglas)?`

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

CREATE TABLE "swimming_and_diving" (
  "combined" text,
  "50_yard_freestyle" text,
  "100_yard_freestyle" text,
  "200_yard_freestyle" text,
  "500_yard_freestyle" text,
  "100_yard_backstroke" text,
  "100_yard_butterfly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 500 yard Freestyle has a Combined of palo verde, and a 100 yard Butterfly of edward kollar (douglas)?`:
```sql
                SELECT "500_yard_freestyle" FROM "swimming_and_diving" WHERE "combined"='palo verde' AND "100_yard_butterfly"='edward kollar (douglas)';
```
## Task
Generate a SQL query to answer the following question:
`What 100 yard Freestyle has a 100 yard Backstroke of palo verde?`

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

CREATE TABLE "swimming_and_diving" (
  "combined" text,
  "50_yard_freestyle" text,
  "100_yard_freestyle" text,
  "200_yard_freestyle" text,
  "500_yard_freestyle" text,
  "100_yard_backstroke" text,
  "100_yard_butterfly" text
);
### SQL
Given the database schema, here is the SQL query that answers `What 100 yard Freestyle has a 100 yard Backstroke of palo verde?`:
```sql
                SELECT "100_yard_freestyle" FROM "swimming_and_diving" WHERE "100_yard_backstroke"='palo verde';
```
## Task
Generate a SQL query to answer the following question:
`Who has a Score of 68-71-70=208?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a Score of 68-71-70=208?`:
```sql
                SELECT "player" FROM "third_round" WHERE "score"='68-71-70=208';
```
## Task
Generate a SQL query to answer the following question:
`Which country has -9 to par with a Score of 70-69-68=207?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has -9 to par with a Score of 70-69-68=207?`:
```sql
                SELECT "country" FROM "third_round" WHERE "to_par"='-9' AND "score"='70-69-68=207';
```
## Task
Generate a SQL query to answer the following question:
`What is Tiger Woods' to par?`

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

CREATE TABLE "third_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Tiger Woods' to par?`:
```sql
                SELECT "to_par" FROM "third_round" WHERE "player"='tiger woods';
```
## Task
Generate a SQL query to answer the following question:
`Which away team played against Peterborough United, with a tie no of replay?`

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

CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which away team played against Peterborough United, with a tie no of replay?`:
```sql
                SELECT "away_team" FROM "first_round_proper" WHERE "tie_no"='replay' AND "home_team"='peterborough united';
```
## Task
Generate a SQL query to answer the following question:
`What are the lowest matches that have wickets greater than 16, 3/15 as the best, and an econ less than 8?`

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

CREATE TABLE "wickets" (
  "player" text,
  "team" text,
  "matches" real,
  "overs" real,
  "runs" real,
  "wickets" real,
  "best" text,
  "econ" real,
  "s_rate" real,
  "4_inns" real,
  "5_inns" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the lowest matches that have wickets greater than 16, 3/15 as the best, and an econ less than 8?`:
```sql
                SELECT MIN("matches") FROM "wickets" WHERE "wickets">16 AND "best"='3/15' AND "econ"<8;
```
## Task
Generate a SQL query to answer the following question:
`How many econs have 13.76 as the S/Rate, with runs less than 325?`

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

CREATE TABLE "wickets" (
  "player" text,
  "team" text,
  "matches" real,
  "overs" real,
  "runs" real,
  "wickets" real,
  "best" text,
  "econ" real,
  "s_rate" real,
  "4_inns" real,
  "5_inns" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many econs have 13.76 as the S/Rate, with runs less than 325?`:
```sql
                SELECT COUNT("econ") FROM "wickets" WHERE "s_rate"=13.76 AND "runs"<325;
```
## Task
Generate a SQL query to answer the following question:
`What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?`

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

CREATE TABLE "wickets" (
  "player" text,
  "team" text,
  "matches" real,
  "overs" real,
  "runs" real,
  "wickets" real,
  "best" text,
  "econ" real,
  "s_rate" real,
  "4_inns" real,
  "5_inns" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?`:
```sql
                SELECT AVG("wickets") FROM "wickets" WHERE "overs">44 AND "player"='danish kaneria' AND "average">13.8;
```
## Task
Generate a SQL query to answer the following question:
`How many 5+/inns have tyron henderson as the player, with wickets less than 21?`

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

CREATE TABLE "wickets" (
  "player" text,
  "team" text,
  "matches" real,
  "overs" real,
  "runs" real,
  "wickets" real,
  "best" text,
  "econ" real,
  "s_rate" real,
  "4_inns" real,
  "5_inns" real,
  "average" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many 5+/inns have tyron henderson as the player, with wickets less than 21?`:
```sql
                SELECT COUNT("5_inns") FROM "wickets" WHERE "player"='tyron henderson' AND "wickets"<21;
```
## Task
Generate a SQL query to answer the following question:
`What is the surface when the partner was Robert Haybittel?`

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

CREATE TABLE "doubles_titles_4" (
  "date" text,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the surface when the partner was Robert Haybittel?`:
```sql
                SELECT "surface" FROM "doubles_titles_4" WHERE "partner"='robert haybittel';
```
## Task
Generate a SQL query to answer the following question:
`What was the rating of the episode Wonder Drug?`

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

CREATE TABLE "episode_ratings" (
  "episode_no" text,
  "airdate" text,
  "time" text,
  "ratings_5_capital_cities" real,
  "timeslot_rank" text,
  "overall_nightly_rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rating of the episode Wonder Drug?`:
```sql
                SELECT "ratings_5_capital_cities" FROM "episode_ratings" WHERE "episode_no"='wonder drug';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning team on May 12?`

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

CREATE TABLE "race_results" (
  "round" text,
  "date" text,
  "event" text,
  "circuit" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning team on May 12?`:
```sql
                SELECT "winning_team" FROM "race_results" WHERE "date"='may 12';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning team for circuit zolder?`

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

CREATE TABLE "race_results" (
  "round" text,
  "date" text,
  "event" text,
  "circuit" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning team for circuit zolder?`:
```sql
                SELECT "winning_team" FROM "race_results" WHERE "circuit"='circuit zolder';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning team for round 3?`

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

CREATE TABLE "race_results" (
  "round" text,
  "date" text,
  "event" text,
  "circuit" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning team for round 3?`:
```sql
                SELECT "winning_team" FROM "race_results" WHERE "round"='3';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winning team on July 13?`

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

CREATE TABLE "race_results" (
  "round" text,
  "date" text,
  "event" text,
  "circuit" text,
  "winning_driver" text,
  "winning_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winning team on July 13?`:
```sql
                SELECT "winning_team" FROM "race_results" WHERE "date"='july 13';
```
## Task
Generate a SQL query to answer the following question:
`Name the highest Year which has a Venue of narbonne , france?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the highest Year which has a Venue of narbonne , france?`:
```sql
                SELECT MAX("year") FROM "achievements" WHERE "venue"='narbonne , france';
```
## Task
Generate a SQL query to answer the following question:
`Which Competition has a Year larger than 1990 in seville , spain?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Competition has a Year larger than 1990 in seville , spain?`:
```sql
                SELECT "competition" FROM "achievements" WHERE "year">1990 AND "venue"='seville , spain';
```
## Task
Generate a SQL query to answer the following question:
`COunt the Year which has a Venue of latakia , syria?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `COunt the Year which has a Venue of latakia , syria?`:
```sql
                SELECT COUNT("year") FROM "achievements" WHERE "venue"='latakia , syria';
```
## Task
Generate a SQL query to answer the following question:
`Which  Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which  Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?`:
```sql
                SELECT "position" FROM "achievements" WHERE "event"='4x400 m relay' AND "venue"='stuttgart , germany';
```
## Task
Generate a SQL query to answer the following question:
`Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?`

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

CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?`:
```sql
                SELECT SUM("year") FROM "achievements" WHERE "competition"='european indoor championships' AND "venue"='budapest , hungary';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did satrio hermanto go with an opc-challenge engine?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "engine" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did satrio hermanto go with an opc-challenge engine?`:
```sql
                SELECT "rounds" FROM "teams_and_drivers" WHERE "engine"='opc-challenge' AND "driver"='satrio hermanto';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did frédéric vervisch go?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "engine" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did frédéric vervisch go?`:
```sql
                SELECT "rounds" FROM "teams_and_drivers" WHERE "driver"='frédéric vervisch';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did shirley van der lof go?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "engine" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did shirley van der lof go?`:
```sql
                SELECT "rounds" FROM "teams_and_drivers" WHERE "driver"='shirley van der lof';
```
## Task
Generate a SQL query to answer the following question:
`What c class engine did philipp eng and team hs technik motorsport use?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "engine" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What c class engine did philipp eng and team hs technik motorsport use?`:
```sql
                SELECT "engine" FROM "teams_and_drivers" WHERE "class"='c' AND "team"='hs technik motorsport' AND "driver"='philipp eng';
```
## Task
Generate a SQL query to answer the following question:
`What is the chassis of rahel frey's volkswagen engine?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "engine" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the chassis of rahel frey's volkswagen engine?`:
```sql
                SELECT "chassis" FROM "teams_and_drivers" WHERE "engine"='volkswagen' AND "driver"='rahel frey';
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest number of losses when the against is 1465 and there are more than 7 wins?`

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

CREATE TABLE "2005_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest number of losses when the against is 1465 and there are more than 7 wins?`:
```sql
                SELECT MAX("losses") FROM "2005_ladder" WHERE "against"=1465 AND "wins">7;
```
## Task
Generate a SQL query to answer the following question:
`What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river?`

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

CREATE TABLE "2005_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river?`:
```sql
                SELECT SUM("against") FROM "2005_ladder" WHERE "wins"<12 AND "golden_rivers"='moulamein' AND "draws"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the total losses when Hay is the golden river and there are more than 2 byes?`

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

CREATE TABLE "2005_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total losses when Hay is the golden river and there are more than 2 byes?`:
```sql
                SELECT COUNT("losses") FROM "2005_ladder" WHERE "golden_rivers"='hay' AND "byes">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of draws when there are 1465 against matches and less than 2 byes?`

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

CREATE TABLE "2005_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of draws when there are 1465 against matches and less than 2 byes?`:
```sql
                SELECT COUNT("draws") FROM "2005_ladder" WHERE "against"=1465 AND "byes"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the greatest number of losses when there are more than 0 draws and 1390 against matches?`

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

CREATE TABLE "2005_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the greatest number of losses when there are more than 0 draws and 1390 against matches?`:
```sql
                SELECT MAX("losses") FROM "2005_ladder" WHERE "draws">0 AND "against"=1390;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of wins when there are more than 2 byes?`

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

CREATE TABLE "2005_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of wins when there are more than 2 byes?`:
```sql
                SELECT MAX("wins") FROM "2005_ladder" WHERE "byes">2;
```
## Task
Generate a SQL query to answer the following question:
`Which percent has Wins larger than 72, and a Name of john yovicsin?`

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

CREATE TABLE "head_coaching_history" (
  "name" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which percent has Wins larger than 72, and a Name of john yovicsin?`:
```sql
                SELECT SUM("pct") FROM "head_coaching_history" WHERE "wins">72 AND "name"='john yovicsin';
```
## Task
Generate a SQL query to answer the following question:
`How many Ties have Years of 1919–1925, and a Pct larger than 0.734?`

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

CREATE TABLE "head_coaching_history" (
  "name" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Ties have Years of 1919–1925, and a Pct larger than 0.734?`:
```sql
                SELECT SUM("ties") FROM "head_coaching_history" WHERE "years"='1919–1925' AND "pct">0.734;
```
## Task
Generate a SQL query to answer the following question:
`Which Pct has Years of 1957–1970, and Wins smaller than 78?`

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

CREATE TABLE "head_coaching_history" (
  "name" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Pct has Years of 1957–1970, and Wins smaller than 78?`:
```sql
                SELECT SUM("pct") FROM "head_coaching_history" WHERE "years"='1957–1970' AND "wins"<78;
```
## Task
Generate a SQL query to answer the following question:
`Which Wins have Years of 1881, and a Pct larger than 0.75?`

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

CREATE TABLE "head_coaching_history" (
  "name" text,
  "years" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "pct" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wins have Years of 1881, and a Pct larger than 0.75?`:
```sql
                SELECT AVG("wins") FROM "head_coaching_history" WHERE "years"='1881' AND "pct">0.75;
```
## Task
Generate a SQL query to answer the following question:
`What's the genre of the song recorded in 1929?`

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

CREATE TABLE "grammy_hall_of_fame" (
  "year_recorded" text,
  "title" text,
  "genre" text,
  "label" text,
  "year_inducted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the genre of the song recorded in 1929?`:
```sql
                SELECT "genre" FROM "grammy_hall_of_fame" WHERE "year_recorded"='1929';
```
## Task
Generate a SQL query to answer the following question:
`What label is "weather bird" under?`

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

CREATE TABLE "grammy_hall_of_fame" (
  "year_recorded" text,
  "title" text,
  "genre" text,
  "label" text,
  "year_inducted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label is "weather bird" under?`:
```sql
                SELECT "label" FROM "grammy_hall_of_fame" WHERE "title"='\"weather bird\"';
```
## Task
Generate a SQL query to answer the following question:
`What's the year inducted for the label of label?`

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

CREATE TABLE "grammy_hall_of_fame" (
  "year_recorded" text,
  "title" text,
  "genre" text,
  "label" text,
  "year_inducted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the year inducted for the label of label?`:
```sql
                SELECT "year_inducted" FROM "grammy_hall_of_fame" WHERE "label"='label';
```
## Task
Generate a SQL query to answer the following question:
`What genre is the song recorded in 1929?`

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

CREATE TABLE "grammy_hall_of_fame" (
  "year_recorded" text,
  "title" text,
  "genre" text,
  "label" text,
  "year_inducted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What genre is the song recorded in 1929?`:
```sql
                SELECT "genre" FROM "grammy_hall_of_fame" WHERE "year_recorded"='1929';
```