cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the music video that was from the album High Society, with a length of 3:50?`

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

CREATE TABLE "music_videos" (
  "year" real,
  "music_video" text,
  "length" text,
  "album" text,
  "official_mv_on_you_tube" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the music video that was from the album High Society, with a length of 3:50?`:
```sql
                SELECT "music_video" FROM "music_videos" WHERE "album"='high society' AND "length"='3:50';
```
## Task
Generate a SQL query to answer the following question:
`Which music video was from the album Map of the Human Soul?`

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

CREATE TABLE "music_videos" (
  "year" real,
  "music_video" text,
  "length" text,
  "album" text,
  "official_mv_on_you_tube" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which music video was from the album Map of the Human Soul?`:
```sql
                SELECT "music_video" FROM "music_videos" WHERE "album"='map of the human soul';
```
## Task
Generate a SQL query to answer the following question:
`What is the agg when team 2 was Cementarnica?`

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

CREATE TABLE "eighth_finals" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the agg when team 2 was Cementarnica?`:
```sql
                SELECT "agg" FROM "eighth_finals" WHERE "team_2"='cementarnica';
```
## Task
Generate a SQL query to answer the following question:
`What are the total number of podiums for more than 4 laps, and less than 149 races?`

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

CREATE TABLE "by_seasons_and_teams" (
  "season" text,
  "races" real,
  "wins" real,
  "podiums" real,
  "poles" real,
  "fastest_laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the total number of podiums for more than 4 laps, and less than 149 races?`:
```sql
                SELECT COUNT("podiums") FROM "by_seasons_and_teams" WHERE "fastest_laps">4 AND "races"<149;
```
## Task
Generate a SQL query to answer the following question:
`What was the score for the golfer from the country of fiji?`

### 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 was the score for the golfer from the country of fiji?`:
```sql
                SELECT COUNT("score") FROM "first_round" WHERE "country"='fiji';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the golfer from the united states who had a To par of e?`

### 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 was the score of the golfer from the united states who had a To par of e?`:
```sql
                SELECT SUM("score") FROM "first_round" WHERE "to_par"='e' AND "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`Which united states player finished with a place of t10?`

### 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 `Which united states player finished with a place of t10?`:
```sql
                SELECT "player" FROM "first_round" WHERE "country"='united states' AND "place"='t10';
```
## Task
Generate a SQL query to answer the following question:
`What label uses the stereo LP for catalog scyl-934,623?`

### 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 `What label uses the stereo LP for catalog scyl-934,623?`:
```sql
                SELECT "label" FROM "release_history" WHERE "format"='stereo lp' AND "catalog"='scyl-934,623';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the catalog cy-24623 for New Zealand?`

### 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 `On what date was the catalog cy-24623 for New Zealand?`:
```sql
                SELECT "date" FROM "release_history" WHERE "region"='new zealand' AND "catalog"='cy-24623';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the catalog scyl-934,623 for Australia?`

### 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 `On what date was the catalog scyl-934,623 for Australia?`:
```sql
                SELECT "date" FROM "release_history" WHERE "catalog"='scyl-934,623' AND "region"='australia';
```
## Task
Generate a SQL query to answer the following question:
`Which label has a catalog of y8hr 1006 in 1972?`

### 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 label has a catalog of y8hr 1006 in 1972?`:
```sql
                SELECT "label" FROM "release_history" WHERE "catalog"='y8hr 1006' AND "date"='1972';
```
## Task
Generate a SQL query to answer the following question:
`What catalog uses the stereo compact cassette format?`

### 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 `What catalog uses the stereo compact cassette format?`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "format"='stereo compact cassette';
```
## Task
Generate a SQL query to answer the following question:
`What is the average game that has December 6 as the date?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average game that has December 6 as the date?`:
```sql
                SELECT AVG("game") FROM "game_log" WHERE "date"='december 6';
```
## Task
Generate a SQL query to answer the following question:
`What is the average game that has December 17 as the date?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average game that has December 17 as the date?`:
```sql
                SELECT AVG("game") FROM "game_log" WHERE "date"='december 17';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?`:
```sql
                SELECT AVG("total") FROM "medal_table" WHERE "silver"=0 AND "rank"='6' AND "gold"<0;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?`:
```sql
                SELECT MAX("gold") FROM "medal_table" WHERE "bronze">3 AND "total"<24;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?`:
```sql
                SELECT MAX("gold") FROM "medal_table" WHERE "bronze"<1 AND "total">4;
```
## Task
Generate a SQL query to answer the following question:
`What is the number of nurses in the region with an HO : Population Ratio of 1:16,791?`

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

CREATE TABLE "table_3_total_number_of_available_human_" (
  "region" text,
  "physician_gp_specialist" real,
  "physician_population_ratio" text,
  "health_officer" real,
  "ho_population_ratio" text,
  "all_nurses" real,
  "nurse_population_ratio" text,
  "mid_wives" text,
  "mid_wife_population_ratio" text,
  "hew" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of nurses in the region with an HO : Population Ratio of 1:16,791?`:
```sql
                SELECT AVG("all_nurses") FROM "table_3_total_number_of_available_human_" WHERE "ho_population_ratio"='1:16,791';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of physicians in the region with an all nurses number of 91?`

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

CREATE TABLE "table_3_total_number_of_available_human_" (
  "region" text,
  "physician_gp_specialist" real,
  "physician_population_ratio" text,
  "health_officer" real,
  "ho_population_ratio" text,
  "all_nurses" real,
  "nurse_population_ratio" text,
  "mid_wives" text,
  "mid_wife_population_ratio" text,
  "hew" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of physicians in the region with an all nurses number of 91?`:
```sql
                SELECT MIN("physician_gp_specialist") FROM "table_3_total_number_of_available_human_" WHERE "all_nurses"=91;
```
## Task
Generate a SQL query to answer the following question:
`What is Moving, when Type is "Transfer", and when Name is "Andy Webster"?`

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

CREATE TABLE "in" (
  "nat" text,
  "name" text,
  "moving_from" text,
  "type" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Moving, when Type is "Transfer", and when Name is "Andy Webster"?`:
```sql
                SELECT "moving_from" FROM "in" WHERE "type"='transfer' AND "name"='andy webster';
```
## Task
Generate a SQL query to answer the following question:
`What is Moving From, when Ends is before 2011?`

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

CREATE TABLE "in" (
  "nat" text,
  "name" text,
  "moving_from" text,
  "type" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Moving From, when Ends is before 2011?`:
```sql
                SELECT "moving_from" FROM "in" WHERE "ends"<2011;
```
## Task
Generate a SQL query to answer the following question:
`What was the category that sheridan smith was nominated for in 2011?`

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

CREATE TABLE "awards_and_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the category that sheridan smith was nominated for in 2011?`:
```sql
                SELECT "category" FROM "awards_and_nominations" WHERE "year"=2011;
```
## Task
Generate a SQL query to answer the following question:
`What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?`

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

CREATE TABLE "awards_and_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?`:
```sql
                SELECT "award" FROM "awards_and_nominations" WHERE "nominated_work"='flare path' AND "category"='best featured actress in a play';
```
## Task
Generate a SQL query to answer the following question:
`What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?`

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

CREATE TABLE "awards_and_nominations" (
  "year" real,
  "award" text,
  "category" text,
  "nominated_work" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?`:
```sql
                SELECT "result" FROM "awards_and_nominations" WHERE "category"='best actress in a musical' AND "award"='laurence olivier award' AND "year"=2009;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest attendance when the Atlanta Falcons were the opponent?`

### 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" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest attendance when the Atlanta Falcons were the opponent?`:
```sql
                SELECT MIN("week") FROM "schedule" WHERE "opponent"='atlanta falcons';
```
## Task
Generate a SQL query to answer the following question:
`What's the departed date for Grimsby Class Sloop?`

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

CREATE TABLE "escorts" (
  "name" text,
  "class" text,
  "navy" text,
  "date_joined" text,
  "date_departed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the departed date for Grimsby Class Sloop?`:
```sql
                SELECT "date_departed" FROM "escorts" WHERE "class"='grimsby class sloop';
```
## Task
Generate a SQL query to answer the following question:
`What's the departed date that the HMS Leith of the Royal Navy?`

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

CREATE TABLE "escorts" (
  "name" text,
  "class" text,
  "navy" text,
  "date_joined" text,
  "date_departed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the departed date that the HMS Leith of the Royal Navy?`:
```sql
                SELECT "date_departed" FROM "escorts" WHERE "navy"='royal navy' AND "name"='hms leith';
```
## Task
Generate a SQL query to answer the following question:
`What's the class of the HMS Fowey?`

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

CREATE TABLE "escorts" (
  "name" text,
  "class" text,
  "navy" text,
  "date_joined" text,
  "date_departed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the class of the HMS Fowey?`:
```sql
                SELECT "class" FROM "escorts" WHERE "name"='hms fowey';
```
## Task
Generate a SQL query to answer the following question:
`What's the class of the HMS Heartsease?`

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

CREATE TABLE "escorts" (
  "name" text,
  "class" text,
  "navy" text,
  "date_joined" text,
  "date_departed" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the class of the HMS Heartsease?`:
```sql
                SELECT "class" FROM "escorts" WHERE "name"='hms heartsease';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?`:
```sql
                SELECT "record" FROM "game_log" WHERE "game">15 AND "opponent"='edmonton oilers';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Date of 11/17/1979?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Date of 11/17/1979?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='11/17/1979';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Opponent that has the Record of 7-7-1?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Opponent that has the Record of 7-7-1?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='7-7-1';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Opponent of at edmonton oilers?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Opponent of at edmonton oilers?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='at edmonton oilers';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Date thay has the Reocrd of 9-10-2?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Date thay has the Reocrd of 9-10-2?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='9-10-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the finishing position for the person who had a grid of 3?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the finishing position for the person who had a grid of 3?`:
```sql
                SELECT "fin_pos" FROM "classification" WHERE "grid"='3';
```
## Task
Generate a SQL query to answer the following question:
`Which team had car number 15?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team had car number 15?`:
```sql
                SELECT "team" FROM "classification" WHERE "car_no"='15';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of laps completed by the car in grid 10?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of laps completed by the car in grid 10?`:
```sql
                SELECT "laps" FROM "classification" WHERE "grid"='10';
```
## Task
Generate a SQL query to answer the following question:
`Which driver earned 32 points from the Andretti Green team?`

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

CREATE TABLE "classification" (
  "fin_pos" text,
  "car_no" text,
  "driver" text,
  "team" text,
  "laps" text,
  "time_retired" text,
  "grid" text,
  "laps_led" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which driver earned 32 points from the Andretti Green team?`:
```sql
                SELECT "driver" FROM "classification" WHERE "team"='andretti green' AND "points"='32';
```
## Task
Generate a SQL query to answer the following question:
`What is the date for the 10b serial?`

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

CREATE TABLE "launch_history" (
  "date" text,
  "time_gmt" text,
  "serial" text,
  "apogee" text,
  "outcome" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date for the 10b serial?`:
```sql
                SELECT "date" FROM "launch_history" WHERE "serial"='10b';
```
## Task
Generate a SQL query to answer the following question:
`What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?`

### 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_average_1" real,
  "points_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?`:
```sql
                SELECT "team" FROM "final_table" WHERE "goals_against"<64 AND "points_2"=63 AND "goals_for"=101;
```
## Task
Generate a SQL query to answer the following question:
`What is the Points 2 average of teams that have played more than 46 games?`

### 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_average_1" real,
  "points_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Points 2 average of teams that have played more than 46 games?`:
```sql
                SELECT AVG("points_2") FROM "final_table" WHERE "played">46;
```
## Task
Generate a SQL query to answer the following question:
`What is the Mkhedruli symbol for the Asomtavruli ⴒ?`

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

CREATE TABLE "georgian_alphabets" (
  "asomtavruli" text,
  "nuskhuri" text,
  "mkhedruli" text,
  "letter_name" text,
  "phoneme" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Mkhedruli symbol for the Asomtavruli ⴒ?`:
```sql
                SELECT "mkhedruli" FROM "georgian_alphabets" WHERE "asomtavruli"='ⴒ';
```
## Task
Generate a SQL query to answer the following question:
`What is the letter name for the Asomtavruli ⴙ?`

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

CREATE TABLE "georgian_alphabets" (
  "asomtavruli" text,
  "nuskhuri" text,
  "mkhedruli" text,
  "letter_name" text,
  "phoneme" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the letter name for the Asomtavruli ⴙ?`:
```sql
                SELECT "letter_name" FROM "georgian_alphabets" WHERE "asomtavruli"='ⴙ';
```
## Task
Generate a SQL query to answer the following question:
`What is the Phoneme symbol for ⴥ in Nuskhuri?`

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

CREATE TABLE "georgian_alphabets" (
  "asomtavruli" text,
  "nuskhuri" text,
  "mkhedruli" text,
  "letter_name" text,
  "phoneme" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Phoneme symbol for ⴥ in Nuskhuri?`:
```sql
                SELECT "phoneme" FROM "georgian_alphabets" WHERE "nuskhuri"='ⴥ';
```
## Task
Generate a SQL query to answer the following question:
`What is the Phoneme symbol for the letter name zɛn?`

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

CREATE TABLE "georgian_alphabets" (
  "asomtavruli" text,
  "nuskhuri" text,
  "mkhedruli" text,
  "letter_name" text,
  "phoneme" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Phoneme symbol for the letter name zɛn?`:
```sql
                SELECT "phoneme" FROM "georgian_alphabets" WHERE "letter_name"='zɛn';
```
## Task
Generate a SQL query to answer the following question:
`What is teh Nuskhuri symbol for ⴋ in Asomtavruli?`

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

CREATE TABLE "georgian_alphabets" (
  "asomtavruli" text,
  "nuskhuri" text,
  "mkhedruli" text,
  "letter_name" text,
  "phoneme" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is teh Nuskhuri symbol for ⴋ in Asomtavruli?`:
```sql
                SELECT "nuskhuri" FROM "georgian_alphabets" WHERE "asomtavruli"='ⴋ';
```
## Task
Generate a SQL query to answer the following question:
`What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?`:
```sql
                SELECT AVG("pick_num") FROM "nfl_draft" WHERE "position"='linebacker' AND "player"='bob bruenig' AND "round"<3;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?`:
```sql
                SELECT SUM("pick_num") FROM "nfl_draft" WHERE "position"='guard' AND "round">2;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Round, when Pick # is greater than 70, and when Position is Tackle?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Round, when Pick # is greater than 70, and when Position is Tackle?`:
```sql
                SELECT AVG("round") FROM "nfl_draft" WHERE "pick_num">70 AND "position"='tackle';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson?`:
```sql
                SELECT MIN("round") FROM "nfl_draft" WHERE "position"='linebacker' AND "player"='thomas henderson';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4?`:
```sql
                SELECT COUNT("pick_num") FROM "nfl_draft" WHERE "college"='oklahoma' AND "round"<4;
```
## Task
Generate a SQL query to answer the following question:
`Which Team has a Head Coach of michalis pamboris?`

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

CREATE TABLE "overview" (
  "team" text,
  "head_coach" text,
  "team_captain" text,
  "venue" text,
  "capacity" real,
  "kitmaker" text,
  "shirt_sponsor" text,
  "club_chairman" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Team has a Head Coach of michalis pamboris?`:
```sql
                SELECT "team" FROM "overview" WHERE "head_coach"='michalis pamboris';
```
## Task
Generate a SQL query to answer the following question:
`What is umbro's highest capacity?`

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

CREATE TABLE "overview" (
  "team" text,
  "head_coach" text,
  "team_captain" text,
  "venue" text,
  "capacity" real,
  "kitmaker" text,
  "shirt_sponsor" text,
  "club_chairman" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is umbro's highest capacity?`:
```sql
                SELECT MAX("capacity") FROM "overview" WHERE "kitmaker"='umbro';
```
## Task
Generate a SQL query to answer the following question:
`Which Venue has a Kitmaker of lotto, and a Team of apoel?`

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

CREATE TABLE "overview" (
  "team" text,
  "head_coach" text,
  "team_captain" text,
  "venue" text,
  "capacity" real,
  "kitmaker" text,
  "shirt_sponsor" text,
  "club_chairman" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Venue has a Kitmaker of lotto, and a Team of apoel?`:
```sql
                SELECT "venue" FROM "overview" WHERE "kitmaker"='lotto' AND "team"='apoel';
```
## Task
Generate a SQL query to answer the following question:
`What is the drawn number when there are 58 tries?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drawn number when there are 58 tries?`:
```sql
                SELECT "drawn" FROM "league_table" WHERE "tries_for"='58';
```
## Task
Generate a SQL query to answer the following question:
`What is the played number when the tries against shows correct as of 18:13 26 May 2008?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the played number when the tries against shows correct as of 18:13 26 May 2008?`:
```sql
                SELECT "played" FROM "league_table" WHERE "tries_against"='correct as of 18:13 26 may 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the drawn when there are 402 points?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drawn when there are 402 points?`:
```sql
                SELECT "drawn" FROM "league_table" WHERE "points_for"='402';
```
## Task
Generate a SQL query to answer the following question:
`What is the try bonus when there are 492 points?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the try bonus when there are 492 points?`:
```sql
                SELECT "try_bonus" FROM "league_table" WHERE "points_against"='492';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of points against when the tries against was 53?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of points against when the tries against was 53?`:
```sql
                SELECT "points_against" FROM "league_table" WHERE "tries_against"='53';
```
## Task
Generate a SQL query to answer the following question:
`What is the played number when the points against is 179?`

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

CREATE TABLE "league_table" (
  "club" text,
  "played" text,
  "drawn" text,
  "lost" text,
  "points_for" text,
  "points_against" text,
  "tries_for" text,
  "tries_against" text,
  "try_bonus" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the played number when the points against is 179?`:
```sql
                SELECT "played" FROM "league_table" WHERE "points_against"='179';
```
## Task
Generate a SQL query to answer the following question:
`what total made has a percent made greater than 0.166 and a 3pm-a of 3-5`

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

CREATE TABLE "setting_the_nba_finals_3pt_record" (
  "game" real,
  "3_pm_a" text,
  "percent_made" real,
  "total_made" real,
  "total_attempted" real,
  "series_percent" real
);
### SQL
Given the database schema, here is the SQL query that answers `what total made has a percent made greater than 0.166 and a 3pm-a of 3-5`:
```sql
                SELECT MAX("total_made") FROM "setting_the_nba_finals_3pt_record" WHERE "percent_made">0.166 AND "3_pm_a"='3-5';
```
## Task
Generate a SQL query to answer the following question:
`what is the total made with a 3pm-a of 5-5 and a total attempted less than 14`

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

CREATE TABLE "setting_the_nba_finals_3pt_record" (
  "game" real,
  "3_pm_a" text,
  "percent_made" real,
  "total_made" real,
  "total_attempted" real,
  "series_percent" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total made with a 3pm-a of 5-5 and a total attempted less than 14`:
```sql
                SELECT SUM("total_made") FROM "setting_the_nba_finals_3pt_record" WHERE "3_pm_a"='5-5' AND "total_attempted"<14;
```
## Task
Generate a SQL query to answer the following question:
`what is the total series percent that has total attempted less than 49, and a percent made of 0.777`

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

CREATE TABLE "setting_the_nba_finals_3pt_record" (
  "game" real,
  "3_pm_a" text,
  "percent_made" real,
  "total_made" real,
  "total_attempted" real,
  "series_percent" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total series percent that has total attempted less than 49, and a percent made of 0.777`:
```sql
                SELECT COUNT("series_percent") FROM "setting_the_nba_finals_3pt_record" WHERE "total_attempted"<49 AND "percent_made"=0.777;
```
## Task
Generate a SQL query to answer the following question:
`what is the total attempted with a total made 16`

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

CREATE TABLE "setting_the_nba_finals_3pt_record" (
  "game" real,
  "3_pm_a" text,
  "percent_made" real,
  "total_made" real,
  "total_attempted" real,
  "series_percent" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the total attempted with a total made 16`:
```sql
                SELECT COUNT("total_attempted") FROM "setting_the_nba_finals_3pt_record" WHERE "total_made"=16;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier?`

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

CREATE TABLE "senate" (
  "senator" text,
  "party" text,
  "district" real,
  "home_town" text,
  "took_office" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier?`:
```sql
                SELECT SUM("district") FROM "senate" WHERE "took_office">1981 AND "senator"='cyndi taylor krier';
```
## Task
Generate a SQL query to answer the following question:
`What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?`

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

CREATE TABLE "senate" (
  "senator" text,
  "party" text,
  "district" real,
  "home_town" text,
  "took_office" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?`:
```sql
                SELECT "party" FROM "senate" WHERE "district"<10 AND "took_office"<1991 AND "home_town"='mount pleasant';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23?`

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

CREATE TABLE "senate" (
  "senator" text,
  "party" text,
  "district" real,
  "home_town" text,
  "took_office" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23?`:
```sql
                SELECT MIN("took_office") FROM "senate" WHERE "senator"='eddie bernice johnson' AND "district">23;
```
## Task
Generate a SQL query to answer the following question:
`In which period did Stanislav Chistov get a penalty?`

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

CREATE TABLE "penalty_summary" (
  "period" text,
  "team" text,
  "player" text,
  "penalty" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `In which period did Stanislav Chistov get a penalty?`:
```sql
                SELECT "period" FROM "penalty_summary" WHERE "player"='stanislav chistov';
```
## Task
Generate a SQL query to answer the following question:
`What was a penalty given for at time 29:17?`

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

CREATE TABLE "penalty_summary" (
  "period" text,
  "team" text,
  "player" text,
  "penalty" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was a penalty given for at time 29:17?`:
```sql
                SELECT "penalty" FROM "penalty_summary" WHERE "time"='29:17';
```
## Task
Generate a SQL query to answer the following question:
`What team was the player that received a penalty at time 32:17 playing for?`

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

CREATE TABLE "penalty_summary" (
  "period" text,
  "team" text,
  "player" text,
  "penalty" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was the player that received a penalty at time 32:17 playing for?`:
```sql
                SELECT "team" FROM "penalty_summary" WHERE "time"='32:17';
```
## Task
Generate a SQL query to answer the following question:
`What team was Ryan Callahan, who received a penalty for roughing, playing for?`

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

CREATE TABLE "penalty_summary" (
  "period" text,
  "team" text,
  "player" text,
  "penalty" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was Ryan Callahan, who received a penalty for roughing, playing for?`:
```sql
                SELECT "team" FROM "penalty_summary" WHERE "penalty"='roughing' AND "player"='ryan callahan';
```
## Task
Generate a SQL query to answer the following question:
`Who was the head coach when the opponent was Arsenal?`

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

CREATE TABLE "malaysia_xi" (
  "date" text,
  "location" text,
  "head_coach" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the head coach when the opponent was Arsenal?`:
```sql
                SELECT "head_coach" FROM "malaysia_xi" WHERE "opponent"='arsenal';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the head coach was B. Sathianathan?`

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

CREATE TABLE "malaysia_xi" (
  "date" text,
  "location" text,
  "head_coach" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the head coach was B. Sathianathan?`:
```sql
                SELECT "opponent" FROM "malaysia_xi" WHERE "head_coach"='b. sathianathan';
```
## Task
Generate a SQL query to answer the following question:
`When was the opponent Arsenal?`

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

CREATE TABLE "malaysia_xi" (
  "date" text,
  "location" text,
  "head_coach" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the opponent Arsenal?`:
```sql
                SELECT "date" FROM "malaysia_xi" WHERE "opponent"='arsenal';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the opponent was Arsenal?`

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

CREATE TABLE "malaysia_xi" (
  "date" text,
  "location" text,
  "head_coach" text,
  "opponent" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when the opponent was Arsenal?`:
```sql
                SELECT "result" FROM "malaysia_xi" WHERE "opponent"='arsenal';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest neutral losses of the institution with 0 neutral wins, 0 home losses, and less than 0 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 neutral losses of the institution with 0 neutral wins, 0 home losses, and less than 0 away losses?`:
```sql
                SELECT MAX("neutral_losses") FROM "atlantic_coast_conference_10_3_1" WHERE "neutral_wins"=0 AND "home_losses"=0 AND "away_losses"<0;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the home wins of the Boston College Eagles, which has 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 sum of the home wins of the Boston College Eagles, which has more than 6 wins?`:
```sql
                SELECT SUM("home_wins") FROM "atlantic_coast_conference_10_3_1" WHERE "institution"='boston college eagles' AND "wins">6;
```