cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the highest number of home wins of the institution with 0 away losses and more than 6 wins?`

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

CREATE TABLE "atlantic_coast_conference_10_3_1" (
  "institution" text,
  "wins" real,
  "loss" real,
  "home_wins" real,
  "home_losses" real,
  "away_wins" real,
  "away_losses" real,
  "neutral_wins" real,
  "neutral_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of home wins of the institution with 0 away losses and more than 6 wins?`:
```sql
                SELECT MAX("home_wins") FROM "atlantic_coast_conference_10_3_1" WHERE "away_losses"=0 AND "wins">6;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of neutral losses of the Florida State Seminoles, which has less than 5 away losses?`

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

CREATE TABLE "atlantic_coast_conference_10_3_1" (
  "institution" text,
  "wins" real,
  "loss" real,
  "home_wins" real,
  "home_losses" real,
  "away_wins" real,
  "away_losses" real,
  "neutral_wins" real,
  "neutral_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of neutral losses of the Florida State Seminoles, which has less than 5 away losses?`:
```sql
                SELECT MAX("neutral_losses") FROM "atlantic_coast_conference_10_3_1" WHERE "institution"='florida state seminoles' AND "away_losses"<5;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of wins of the institution with more than 0 neutral wins and less than 2 away wins?`

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

CREATE TABLE "atlantic_coast_conference_10_3_1" (
  "institution" text,
  "wins" real,
  "loss" real,
  "home_wins" real,
  "home_losses" real,
  "away_wins" real,
  "away_losses" real,
  "neutral_wins" real,
  "neutral_losses" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of wins of the institution with more than 0 neutral wins and less than 2 away wins?`:
```sql
                SELECT MAX("wins") FROM "atlantic_coast_conference_10_3_1" WHERE "neutral_wins">0 AND "away_wins"<2;
```
## Task
Generate a SQL query to answer the following question:
`What is the Record when Evangelista Cyborg was the opponent?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record when Evangelista Cyborg was the opponent?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='evangelista cyborg';
```
## Task
Generate a SQL query to answer the following question:
`What is the Method for Brazil?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Method for Brazil?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "location"='brazil';
```
## Task
Generate a SQL query to answer the following question:
`What round was the method submission (punches)?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round was the method submission (punches)?`:
```sql
                SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "method"='submission (punches)';
```
## Task
Generate a SQL query to answer the following question:
`What is the method when the record was 3-2?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the method when the record was 3-2?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "record"='3-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the method when the round shows 3?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "round" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the method when the round shows 3?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"=3;
```
## Task
Generate a SQL query to answer the following question:
`What was the run 3 for the team in rank 12?`

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

CREATE TABLE "results" (
  "rank" text,
  "team" text,
  "run_1" text,
  "run_2" text,
  "run_3" text,
  "run_4" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the run 3 for the team in rank 12?`:
```sql
                SELECT "run_3" FROM "results" WHERE "rank"='12';
```
## Task
Generate a SQL query to answer the following question:
`What was the run 3 for the team with a run 1 of 1:17.6?`

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

CREATE TABLE "results" (
  "rank" text,
  "team" text,
  "run_1" text,
  "run_2" text,
  "run_3" text,
  "run_4" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the run 3 for the team with a run 1 of 1:17.6?`:
```sql
                SELECT "run_3" FROM "results" WHERE "run_1"='1:17.6';
```
## Task
Generate a SQL query to answer the following question:
`What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0?`

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

CREATE TABLE "results" (
  "rank" text,
  "team" text,
  "run_1" text,
  "run_2" text,
  "run_3" text,
  "run_4" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0?`:
```sql
                SELECT "rank" FROM "results" WHERE "run_2"='1:20.8' AND "run_4"='1:23.0';
```
## Task
Generate a SQL query to answer the following question:
`What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0?`

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

CREATE TABLE "results" (
  "rank" text,
  "team" text,
  "run_1" text,
  "run_2" text,
  "run_3" text,
  "run_4" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0?`:
```sql
                SELECT "run_1" FROM "results" WHERE "run_3"='1:21.4' AND "run_4"='1:23.0';
```
## Task
Generate a SQL query to answer the following question:
`Which team had a run 4 of 1:24.4?`

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

CREATE TABLE "results" (
  "rank" text,
  "team" text,
  "run_1" text,
  "run_2" text,
  "run_3" text,
  "run_4" text,
  "final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had a run 4 of 1:24.4?`:
```sql
                SELECT "team" FROM "results" WHERE "run_4"='1:24.4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Attendance at the game against the Oakland Raiders?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Attendance at the game against the Oakland Raiders?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "opponent"='oakland raiders';
```
## Task
Generate a SQL query to answer the following question:
`What was the Attendance in Week 10?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Attendance in Week 10?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=10;
```
## Task
Generate a SQL query to answer the following question:
`Which Principal activities have an Incorporated in of france?`

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

CREATE TABLE "subsidiaries" (
  "company" text,
  "type" text,
  "principal_activities" text,
  "incorporated_in" text,
  "group_s_equity_shareholding" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Principal activities have an Incorporated in of france?`:
```sql
                SELECT "principal_activities" FROM "subsidiaries" WHERE "incorporated_in"='france';
```
## Task
Generate a SQL query to answer the following question:
`Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?`

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

CREATE TABLE "subsidiaries" (
  "company" text,
  "type" text,
  "principal_activities" text,
  "incorporated_in" text,
  "group_s_equity_shareholding" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?`:
```sql
                SELECT "type" FROM "subsidiaries" WHERE "incorporated_in"='netherlands' AND "principal_activities"='airline' AND "company"='transavia.com';
```
## Task
Generate a SQL query to answer the following question:
`Which Group's Equity Shareholding has a Company of epcor?`

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

CREATE TABLE "subsidiaries" (
  "company" text,
  "type" text,
  "principal_activities" text,
  "incorporated_in" text,
  "group_s_equity_shareholding" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Group's Equity Shareholding has a Company of epcor?`:
```sql
                SELECT "group_s_equity_shareholding" FROM "subsidiaries" WHERE "company"='epcor';
```
## Task
Generate a SQL query to answer the following question:
`Which Incorporated in has a Group's Equity Shareholding of 100%, and a Principal activities of flight academy?`

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

CREATE TABLE "subsidiaries" (
  "company" text,
  "type" text,
  "principal_activities" text,
  "incorporated_in" text,
  "group_s_equity_shareholding" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Incorporated in has a Group's Equity Shareholding of 100%, and a Principal activities of flight academy?`:
```sql
                SELECT "incorporated_in" FROM "subsidiaries" WHERE "group_s_equity_shareholding"='100%' AND "principal_activities"='flight academy';
```
## Task
Generate a SQL query to answer the following question:
`Which Type has a Company of epcor?`

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

CREATE TABLE "subsidiaries" (
  "company" text,
  "type" text,
  "principal_activities" text,
  "incorporated_in" text,
  "group_s_equity_shareholding" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Type has a Company of epcor?`:
```sql
                SELECT "type" FROM "subsidiaries" WHERE "company"='epcor';
```
## Task
Generate a SQL query to answer the following question:
`Which Type has a Principal activities of health services?`

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

CREATE TABLE "subsidiaries" (
  "company" text,
  "type" text,
  "principal_activities" text,
  "incorporated_in" text,
  "group_s_equity_shareholding" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Type has a Principal activities of health services?`:
```sql
                SELECT "type" FROM "subsidiaries" WHERE "principal_activities"='health services';
```
## Task
Generate a SQL query to answer the following question:
`What is the 2F of she khae?`

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

CREATE TABLE "simple_present_tense" (
  "verb" text,
  "2_vf" text,
  "2_f" text,
  "3_f" text,
  "2_3_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 2F of she khae?`:
```sql
                SELECT "2_f" FROM "simple_present_tense" WHERE "3_f"='she khae';
```
## Task
Generate a SQL query to answer the following question:
`If 2F is tumi khao, what is 3F?`

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

CREATE TABLE "simple_present_tense" (
  "verb" text,
  "2_vf" text,
  "2_f" text,
  "3_f" text,
  "2_3_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `If 2F is tumi khao, what is 3F?`:
```sql
                SELECT "3_f" FROM "simple_present_tense" WHERE "2_f"='tumi khao';
```
## Task
Generate a SQL query to answer the following question:
`For the verb dhoa, what is the 2VF?`

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

CREATE TABLE "simple_present_tense" (
  "verb" text,
  "2_vf" text,
  "2_f" text,
  "3_f" text,
  "2_3_p" text
);
### SQL
Given the database schema, here is the SQL query that answers `For the verb dhoa, what is the 2VF?`:
```sql
                SELECT "2_vf" FROM "simple_present_tense" WHERE "verb"='dhoa';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney?`

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

CREATE TABLE "electoral_history" (
  "year" real,
  "office" text,
  "election" text,
  "subject" text,
  "party" text,
  "votes" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney?`:
```sql
                SELECT "subject" FROM "electoral_history" WHERE "election"='general' AND "office"='queen anne''s county state''s attorney';
```
## Task
Generate a SQL query to answer the following question:
`Who was the writer of The Year of the Cat from the BBV?`

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

CREATE TABLE "list_of_doctor_who_audio_releases" (
  "title" text,
  "writer" text,
  "format" text,
  "company" text,
  "release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the writer of The Year of the Cat from the BBV?`:
```sql
                SELECT "writer" FROM "list_of_doctor_who_audio_releases" WHERE "company"='bbv' AND "title"='the year of the cat';
```
## Task
Generate a SQL query to answer the following question:
`How many Goals For have Drawn of 10?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Goals For have Drawn of 10?`:
```sql
                SELECT COUNT("goals_for") FROM "final_table" WHERE "drawn"=10;
```
## Task
Generate a SQL query to answer the following question:
`Which Lost has Drawn larger than 12, and Goals Against of 54?`

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

CREATE TABLE "final_table" (
  "position" real,
  "team" text,
  "played" real,
  "drawn" real,
  "lost" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" text,
  "points_1" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Lost has Drawn larger than 12, and Goals Against of 54?`:
```sql
                SELECT MAX("lost") FROM "final_table" WHERE "drawn">12 AND "goals_against"=54;
```
## Task
Generate a SQL query to answer the following question:
`What is the record for the Superbrawl 21?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for the Superbrawl 21?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "event"='superbrawl 21';
```
## Task
Generate a SQL query to answer the following question:
`What location shows round was 1, and against Ricky Shivers?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What location shows round was 1, and against Ricky Shivers?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "opponent"='ricky shivers';
```
## Task
Generate a SQL query to answer the following question:
`What is the method for a match with a Round larger than 2, he took a loss, and 15–3 was the record?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the method for a match with a Round larger than 2, he took a loss, and 15–3 was the record?`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "round">2 AND "res"='loss' AND "record"='15–3';
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Pick of 11 (via calgary)?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a Pick of 11 (via calgary)?`:
```sql
                SELECT "position" FROM "cfl_draft" WHERE "pick"='11 (via calgary)';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Pick of 25 (via hamilton)?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Pick of 25 (via hamilton)?`:
```sql
                SELECT SUM("round") FROM "cfl_draft" WHERE "pick"='25 (via hamilton)';
```
## Task
Generate a SQL query to answer the following question:
`Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?`:
```sql
                SELECT "school_club_team" FROM "cfl_draft" WHERE "round">3 AND "player"='sammy okpro';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Player of sammy okpro?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Player of sammy okpro?`:
```sql
                SELECT AVG("round") FROM "cfl_draft" WHERE "player"='sammy okpro';
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Round of 4, and a School/Club Team of concordia?`

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

CREATE TABLE "cfl_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a Round of 4, and a School/Club Team of concordia?`:
```sql
                SELECT "position" FROM "cfl_draft" WHERE "round"=4 AND "school_club_team"='concordia';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score of the game with a Record of 29–23–13?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score of the game with a Record of 29–23–13?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "record"='29–23–13';
```
## Task
Generate a SQL query to answer the following question:
`What is the Visitor of the game with a Record of 21–17–13?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Visitor of the game with a Record of 21–17–13?`:
```sql
                SELECT "visitor" FROM "regular_season" WHERE "record"='21–17–13';
```
## Task
Generate a SQL query to answer the following question:
`What is the Visitor of the game on December 25?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Visitor of the game on December 25?`:
```sql
                SELECT "visitor" FROM "regular_season" WHERE "date"='december 25';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the game with a Record of 8–10–6?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the game with a Record of 8–10–6?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "record"='8–10–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the game with a Record of 1–2–4?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the game with a Record of 1–2–4?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "record"='1–2–4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Date of the game with a Record of 27–21–13?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Date of the game with a Record of 27–21–13?`:
```sql
                SELECT "date" FROM "regular_season" WHERE "record"='27–21–13';
```
## Task
Generate a SQL query to answer the following question:
`Which Year(s) won has a Total smaller than 292, and a Player of hale irwin?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Year(s) won has a Total smaller than 292, and a Player of hale irwin?`:
```sql
                SELECT "year_s_won" FROM "made_the_cut" WHERE "total"<292 AND "player"='hale irwin';
```
## Task
Generate a SQL query to answer the following question:
`What is fuzzy zoeller's to par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is fuzzy zoeller's to par?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "player"='fuzzy zoeller';
```
## Task
Generate a SQL query to answer the following question:
`What To par was won in 1982?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What To par was won in 1982?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "year_s_won"='1982';
```
## Task
Generate a SQL query to answer the following question:
`What is curtis strange's to par?`

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

CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" text,
  "finish" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is curtis strange's to par?`:
```sql
                SELECT "to_par" FROM "made_the_cut" WHERE "player"='curtis strange';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?`:
```sql
                SELECT "score" FROM "regular_season" WHERE "date"='november 18';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE VISITOR FOR FEBRUARY 9?`

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

CREATE TABLE "regular_season" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE VISITOR FOR FEBRUARY 9?`:
```sql
                SELECT "visitor" FROM "regular_season" WHERE "date"='february 9';
```
## Task
Generate a SQL query to answer the following question:
`What is the place of the player who scored less than 70?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the place of the player who scored less than 70?`:
```sql
                SELECT "place" FROM "first_round" WHERE "score"<70;
```
## Task
Generate a SQL query to answer the following question:
`Which player was chosen by Saskatchewan in a pick larger than 38?`

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

CREATE TABLE "round_six" (
  "pick_num" real,
  "cfl_team" text,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player was chosen by Saskatchewan in a pick larger than 38?`:
```sql
                SELECT "player" FROM "round_six" WHERE "pick_num">38 AND "cfl_team"='saskatchewan';
```
## Task
Generate a SQL query to answer the following question:
`If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria?`

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

CREATE TABLE "play_offs" (
  "player" text,
  "club" text,
  "games" real,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria?`:
```sql
                SELECT SUM("points") FROM "play_offs" WHERE "assists"=7 AND "games"=11 AND "goals"<6;
```
## Task
Generate a SQL query to answer the following question:
`What's the highest amount of Games recorded that have more than 10 assists?`

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

CREATE TABLE "play_offs" (
  "player" text,
  "club" text,
  "games" real,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the highest amount of Games recorded that have more than 10 assists?`:
```sql
                SELECT MAX("games") FROM "play_offs" WHERE "assists">10;
```
## Task
Generate a SQL query to answer the following question:
`What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"?`

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

CREATE TABLE "general_information_feature_comparison" (
  "name" text,
  "year_began" text,
  "s_registered_user" text,
  "updated_in_past_30_days" text,
  "registration" text,
  "ability_to_syndicate_off_site_feeds" text,
  "userpics_free" text,
  "userpics_paid" text,
  "monthly_cost_for_paid_account" text,
  "yearly_cost_for_paid_account" text,
  "permanent_account" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"?`:
```sql
                SELECT "updated_in_past_30_days" FROM "general_information_feature_comparison" WHERE "registration"='open to people 13 and over';
```
## Task
Generate a SQL query to answer the following question:
`What is Permanent Account, when Updated In Past 30 Days is 10324?`

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

CREATE TABLE "general_information_feature_comparison" (
  "name" text,
  "year_began" text,
  "s_registered_user" text,
  "updated_in_past_30_days" text,
  "registration" text,
  "ability_to_syndicate_off_site_feeds" text,
  "userpics_free" text,
  "userpics_paid" text,
  "monthly_cost_for_paid_account" text,
  "yearly_cost_for_paid_account" text,
  "permanent_account" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Permanent Account, when Updated In Past 30 Days is 10324?`:
```sql
                SELECT "permanent_account" FROM "general_information_feature_comparison" WHERE "updated_in_past_30_days"='10324';
```
## Task
Generate a SQL query to answer the following question:
`What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan?`

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

CREATE TABLE "general_information_feature_comparison" (
  "name" text,
  "year_began" text,
  "s_registered_user" text,
  "updated_in_past_30_days" text,
  "registration" text,
  "ability_to_syndicate_off_site_feeds" text,
  "userpics_free" text,
  "userpics_paid" text,
  "monthly_cost_for_paid_account" text,
  "yearly_cost_for_paid_account" text,
  "permanent_account" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan?`:
```sql
                SELECT "userpics_free" FROM "general_information_feature_comparison" WHERE "registration"='open' AND "yearly_cost_for_paid_account"='unknown' AND "name"='kraslan';
```
## Task
Generate a SQL query to answer the following question:
`What is Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340?`

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

CREATE TABLE "general_information_feature_comparison" (
  "name" text,
  "year_began" text,
  "s_registered_user" text,
  "updated_in_past_30_days" text,
  "registration" text,
  "ability_to_syndicate_off_site_feeds" text,
  "userpics_free" text,
  "userpics_paid" text,
  "monthly_cost_for_paid_account" text,
  "yearly_cost_for_paid_account" text,
  "permanent_account" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340?`:
```sql
                SELECT "userpics_free" FROM "general_information_feature_comparison" WHERE "monthly_cost_for_paid_account"='unknown' AND "s_registered_user"='2340';
```
## Task
Generate a SQL query to answer the following question:
`What is Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50?`

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

CREATE TABLE "general_information_feature_comparison" (
  "name" text,
  "year_began" text,
  "s_registered_user" text,
  "updated_in_past_30_days" text,
  "registration" text,
  "ability_to_syndicate_off_site_feeds" text,
  "userpics_free" text,
  "userpics_paid" text,
  "monthly_cost_for_paid_account" text,
  "yearly_cost_for_paid_account" text,
  "permanent_account" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50?`:
```sql
                SELECT "yearly_cost_for_paid_account" FROM "general_information_feature_comparison" WHERE "monthly_cost_for_paid_account"='5 usd' AND "userpics_paid"='50';
```
## Task
Generate a SQL query to answer the following question:
`What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?`

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

CREATE TABLE "general_information_feature_comparison" (
  "name" text,
  "year_began" text,
  "s_registered_user" text,
  "updated_in_past_30_days" text,
  "registration" text,
  "ability_to_syndicate_off_site_feeds" text,
  "userpics_free" text,
  "userpics_paid" text,
  "monthly_cost_for_paid_account" text,
  "yearly_cost_for_paid_account" text,
  "permanent_account" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?`:
```sql
                SELECT "s_registered_user" FROM "general_information_feature_comparison" WHERE "userpics_free"='6 [free] or 15 [plus]';
```
## Task
Generate a SQL query to answer the following question:
`What is Venue, when Date is "2003-08-13"?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Venue, when Date is "2003-08-13"?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "date"='2003-08-13';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Date is "2000-05-23"?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Date is "2000-05-23"?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "date"='2000-05-23';
```
## Task
Generate a SQL query to answer the following question:
`What is Result, when Date is "2000-05-23"?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Result, when Date is "2000-05-23"?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "date"='2000-05-23';
```
## Task
Generate a SQL query to answer the following question:
`What is Competition, when Date is "1999-08-07"?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Competition, when Date is "1999-08-07"?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "date"='1999-08-07';
```
## Task
Generate a SQL query to answer the following question:
`In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winners" text,
  "finalists" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner?`:
```sql
                SELECT "week" FROM "singles" WHERE "winners"='serena williams 6–1, 6–7(7), 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Finalist on a Hard Surface with Winner Serena Williams 6–1, 6–7(7), 6–3?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winners" text,
  "finalists" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Finalist on a Hard Surface with Winner Serena Williams 6–1, 6–7(7), 6–3?`:
```sql
                SELECT "finalists" FROM "singles" WHERE "surface"='hard' AND "winners"='serena williams 6–1, 6–7(7), 6–3';
```
## Task
Generate a SQL query to answer the following question:
`In what Week is the Rome Tournament?`

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

CREATE TABLE "singles" (
  "tournament" text,
  "surface" text,
  "week" text,
  "winners" text,
  "finalists" text,
  "semifinalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Week is the Rome Tournament?`:
```sql
                SELECT "week" FROM "singles" WHERE "tournament"='rome';
```
## Task
Generate a SQL query to answer the following question:
`Which regio has a label of zzt and a date of 27 september 2004?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which regio has a label of zzt and a date of 27 september 2004?`:
```sql
                SELECT "region" FROM "release_history" WHERE "label"='zzt' AND "date"='27 september 2004';
```
## Task
Generate a SQL query to answer the following question:
`Which catalog has a date of 24 march 2006?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which catalog has a date of 24 march 2006?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "date"='24 march 2006';
```
## Task
Generate a SQL query to answer the following question:
`Which format has a region of united kingdom?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which format has a region of united kingdom?`:
```sql
                SELECT "format" FROM "release_history" WHERE "region"='united kingdom';
```
## Task
Generate a SQL query to answer the following question:
`Which date has a region of united kingdom?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date has a region of united kingdom?`:
```sql
                SELECT "date" FROM "release_history" WHERE "region"='united kingdom';
```
## Task
Generate a SQL query to answer the following question:
`Which regio has a date of 24 march 2006?`

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

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which regio has a date of 24 march 2006?`:
```sql
                SELECT "region" FROM "release_history" WHERE "date"='24 march 2006';
```
## Task
Generate a SQL query to answer the following question:
`What is the A330 for A310 B10?`

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

CREATE TABLE "airbus_jetliners_1972_1994" (
  "model" text,
  "a300" text,
  "a310" text,
  "a320" text,
  "a330" text,
  "a340" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the A330 for A310 B10?`:
```sql
                SELECT "a330" FROM "airbus_jetliners_1972_1994" WHERE "a310"='b10';
```
## Task
Generate a SQL query to answer the following question:
`What is the A330 and the A310 wide?`

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

CREATE TABLE "airbus_jetliners_1972_1994" (
  "model" text,
  "a300" text,
  "a310" text,
  "a320" text,
  "a330" text,
  "a340" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the A330 and the A310 wide?`:
```sql
                SELECT "a330" FROM "airbus_jetliners_1972_1994" WHERE "a310"='wide';
```
## Task
Generate a SQL query to answer the following question:
`What model is the A310 of 1983?`

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

CREATE TABLE "airbus_jetliners_1972_1994" (
  "model" text,
  "a300" text,
  "a310" text,
  "a320" text,
  "a330" text,
  "a340" text
);
### SQL
Given the database schema, here is the SQL query that answers `What model is the A310 of 1983?`:
```sql
                SELECT "model" FROM "airbus_jetliners_1972_1994" WHERE "a310"='1983';
```
## Task
Generate a SQL query to answer the following question:
`What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?`:
```sql
                SELECT "no_2" FROM "male_names" WHERE "no_6"='ethan' AND "no_3"='mason';
```
## Task
Generate a SQL query to answer the following question:
`In what region and year was Jacob the number 2 name and Ryan the number 10 name?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what region and year was Jacob the number 2 name and Ryan the number 10 name?`:
```sql
                SELECT "region_year" FROM "male_names" WHERE "no_2"='jacob' AND "no_10"='ryan';
```
## Task
Generate a SQL query to answer the following question:
`What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10?`:
```sql
                SELECT "no_7" FROM "male_names" WHERE "no_1"='mason' AND "no_9"='jackson' AND "no_10"='logan' AND "no_6"='owen';
```
## Task
Generate a SQL query to answer the following question:
`What name was in the number 4 spot when Aiden was number 7 and James was number 3?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `What name was in the number 4 spot when Aiden was number 7 and James was number 3?`:
```sql
                SELECT "no_4" FROM "male_names" WHERE "no_7"='aiden' AND "no_3"='james';
```