cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which Thursday has a Wednesday of 星期三 xingqisen?`

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

CREATE TABLE "east_asian_seven_luminaries" (
  "sunday" text,
  "monday" text,
  "tuesday" text,
  "wednesday" text,
  "thursday" text,
  "friday" text,
  "saturday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Thursday has a Wednesday of 星期三 xingqisen?`:
```sql
                SELECT "thursday" FROM "east_asian_seven_luminaries" WHERE "wednesday"='星期三 xingqisen';
```
## Task
Generate a SQL query to answer the following question:
`Which Wednesday has a Monday of 月曜日 getsuyōbi?`

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

CREATE TABLE "east_asian_seven_luminaries" (
  "sunday" text,
  "monday" text,
  "tuesday" text,
  "wednesday" text,
  "thursday" text,
  "friday" text,
  "saturday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wednesday has a Monday of 月曜日 getsuyōbi?`:
```sql
                SELECT "wednesday" FROM "east_asian_seven_luminaries" WHERE "monday"='月曜日 getsuyōbi';
```
## Task
Generate a SQL query to answer the following question:
`Which Saturday has a Thursday of 木曜日 mokuyōbi`

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

CREATE TABLE "east_asian_seven_luminaries" (
  "sunday" text,
  "monday" text,
  "tuesday" text,
  "wednesday" text,
  "thursday" text,
  "friday" text,
  "saturday" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Saturday has a Thursday of 木曜日 mokuyōbi`:
```sql
                SELECT "saturday" FROM "east_asian_seven_luminaries" WHERE "thursday"='木曜日 mokuyōbi';
```
## Task
Generate a SQL query to answer the following question:
`What loss was against the angels with a 50-31 record?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What loss was against the angels with a 50-31 record?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "opponent"='angels' AND "record"='50-31';
```
## Task
Generate a SQL query to answer the following question:
`Who is the pilot on September 27, 1972?`

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

CREATE TABLE "m2_f3_flights" (
  "vehicle_flight_num" text,
  "date" text,
  "pilot" text,
  "mach" real,
  "velocity_km_h" real,
  "altitude_ft" real,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the pilot on September 27, 1972?`:
```sql
                SELECT "pilot" FROM "m2_f3_flights" WHERE "date"='september 27, 1972';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17?`

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

CREATE TABLE "m2_f3_flights" (
  "vehicle_flight_num" text,
  "date" text,
  "pilot" text,
  "mach" real,
  "velocity_km_h" real,
  "altitude_ft" real,
  "duration" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17?`:
```sql
                SELECT MIN("altitude_ft") FROM "m2_f3_flights" WHERE "mach">0.905 AND "duration"='00:06:17';
```
## Task
Generate a SQL query to answer the following question:
`Which wicket had a 100 (45) Runs (balls) amount?`

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

CREATE TABLE "highest_partnerships_of_the_tournament" (
  "runs_balls" text,
  "wicket" text,
  "partnerships" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which wicket had a 100 (45) Runs (balls) amount?`:
```sql
                SELECT "wicket" FROM "highest_partnerships_of_the_tournament" WHERE "runs_balls"='100 (45)';
```
## Task
Generate a SQL query to answer the following question:
`Which Wicket was it that had a 104 (69) Runs (balls) amount?`

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

CREATE TABLE "highest_partnerships_of_the_tournament" (
  "runs_balls" text,
  "wicket" text,
  "partnerships" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Wicket was it that had a 104 (69) Runs (balls) amount?`:
```sql
                SELECT "wicket" FROM "highest_partnerships_of_the_tournament" WHERE "runs_balls"='104 (69)';
```
## Task
Generate a SQL query to answer the following question:
`What is the item for Leagues entering, when the value for Clubs is 8 → 4?`

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

CREATE TABLE "calendar" (
  "round" text,
  "fixtures" real,
  "clubs" text,
  "new_entries" text,
  "leagues_entering" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the item for Leagues entering, when the value for Clubs is 8 → 4?`:
```sql
                SELECT "leagues_entering" FROM "calendar" WHERE "clubs"='8 → 4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Round when the value for Fixtures is 2?`

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

CREATE TABLE "calendar" (
  "round" text,
  "fixtures" real,
  "clubs" text,
  "new_entries" text,
  "leagues_entering" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Round when the value for Fixtures is 2?`:
```sql
                SELECT "round" FROM "calendar" WHERE "fixtures"=2;
```
## Task
Generate a SQL query to answer the following question:
`What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2?`

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

CREATE TABLE "calendar" (
  "round" text,
  "fixtures" real,
  "clubs" text,
  "new_entries" text,
  "leagues_entering" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2?`:
```sql
                SELECT "new_entries" FROM "calendar" WHERE "fixtures"<16 AND "clubs"='4 → 2';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for New entries, when the value for Fixtures is 2?`

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

CREATE TABLE "calendar" (
  "round" text,
  "fixtures" real,
  "clubs" text,
  "new_entries" text,
  "leagues_entering" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for New entries, when the value for Fixtures is 2?`:
```sql
                SELECT "new_entries" FROM "calendar" WHERE "fixtures"=2;
```
## Task
Generate a SQL query to answer the following question:
`Which date has a format's album?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date has a format's album?`:
```sql
                SELECT "date" FROM "recording_industry_association_of_americ" WHERE "format_s"='album';
```
## Task
Generate a SQL query to answer the following question:
`What is the title for year 1991 and a date of March 21?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title for year 1991 and a date of March 21?`:
```sql
                SELECT "title" FROM "recording_industry_association_of_americ" WHERE "year"=1991 AND "date"='march 21';
```
## Task
Generate a SQL query to answer the following question:
`What is the average year with an award of platinum?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average year with an award of platinum?`:
```sql
                SELECT AVG("year") FROM "recording_industry_association_of_americ" WHERE "award_description_s"='platinum';
```
## Task
Generate a SQL query to answer the following question:
`What are the results of Format single on March 21?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the results of Format single on March 21?`:
```sql
                SELECT "result_s" FROM "recording_industry_association_of_americ" WHERE "format_s"='single' AND "date"='march 21';
```
## Task
Generate a SQL query to answer the following question:
`What are the award description with Format album?`

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

CREATE TABLE "recording_industry_association_of_americ" (
  "year" real,
  "date" text,
  "title" text,
  "format_s" text,
  "award_description_s" text,
  "result_s" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the award description with Format album?`:
```sql
                SELECT "award_description_s" FROM "recording_industry_association_of_americ" WHERE "format_s"='album';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest number of goals with less than 101 assists and 172 points?`

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

CREATE TABLE "career_points_leaders" (
  "player" text,
  "years" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest number of goals with less than 101 assists and 172 points?`:
```sql
                SELECT MAX("goals") FROM "career_points_leaders" WHERE "assists"<101 AND "points"<172;
```
## Task
Generate a SQL query to answer the following question:
`How many total points does Mike Hyndman have with more than 119 assists?`

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

CREATE TABLE "career_points_leaders" (
  "player" text,
  "years" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many total points does Mike Hyndman have with more than 119 assists?`:
```sql
                SELECT SUM("points") FROM "career_points_leaders" WHERE "player"='mike hyndman' AND "assists">119;
```
## Task
Generate a SQL query to answer the following question:
`How many assists does David Tomlinson have?`

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

CREATE TABLE "career_points_leaders" (
  "player" text,
  "years" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many assists does David Tomlinson have?`:
```sql
                SELECT SUM("assists") FROM "career_points_leaders" WHERE "player"='david tomlinson';
```
## Task
Generate a SQL query to answer the following question:
`How many points does Shawn Mceachern with less than 79 goals?`

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

CREATE TABLE "career_points_leaders" (
  "player" text,
  "years" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many points does Shawn Mceachern with less than 79 goals?`:
```sql
                SELECT SUM("points") FROM "career_points_leaders" WHERE "player"='shawn mceachern' AND "goals"<79;
```
## Task
Generate a SQL query to answer the following question:
`How many goals does Mike Eruzione have in total?`

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

CREATE TABLE "career_points_leaders" (
  "player" text,
  "years" text,
  "goals" real,
  "assists" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many goals does Mike Eruzione have in total?`:
```sql
                SELECT "goals" FROM "career_points_leaders" WHERE "player"='mike eruzione';
```
## Task
Generate a SQL query to answer the following question:
`Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement?`:
```sql
                SELECT "rider" FROM "250cc_classification" WHERE "laps"<10 AND "manufacturer"='aprilia' AND "time_retired"='retirement';
```
## Task
Generate a SQL query to answer the following question:
`What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer?`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer?`:
```sql
                SELECT "time_retired" FROM "250cc_classification" WHERE "grid">20 AND "laps"<26 AND "manufacturer"='aprilia';
```
## Task
Generate a SQL query to answer the following question:
`Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14`

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

CREATE TABLE "250cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14`:
```sql
                SELECT "rider" FROM "250cc_classification" WHERE "laps">23 AND "manufacturer"='aprilia' AND "grid"=14;
```
## Task
Generate a SQL query to answer the following question:
`When was Walter Evans a representative?`

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

CREATE TABLE "external_links" (
  "representative" text,
  "years" text,
  "state" text,
  "party" text,
  "lifespan" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was Walter Evans a representative?`:
```sql
                SELECT "years" FROM "external_links" WHERE "representative"='walter evans';
```
## Task
Generate a SQL query to answer the following question:
`Name the catalog with cd 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,
  "note" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the catalog with cd format`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "format"='cd';
```
## Task
Generate a SQL query to answer the following question:
`Name the label with catalog of mhcl-20005`

### 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,
  "note" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the label with catalog of mhcl-20005`:
```sql
                SELECT "label" FROM "release_history" WHERE "catalog"='mhcl-20005';
```
## Task
Generate a SQL query to answer the following question:
`Name the date with catalog of alca-9198`

### 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,
  "note" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date with catalog of alca-9198`:
```sql
                SELECT "date" FROM "release_history" WHERE "catalog"='alca-9198';
```
## Task
Generate a SQL query to answer the following question:
`Name the note for catalog of 32xa-106`

### 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,
  "note" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the note for catalog of 32xa-106`:
```sql
                SELECT "note" FROM "release_history" WHERE "catalog"='32xa-106';
```
## Task
Generate a SQL query to answer the following question:
`Name the catalog for alfa records and cd 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,
  "note" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the catalog for alfa records and cd format`:
```sql
                SELECT "catalog" FROM "release_history" WHERE "label"='alfa records' AND "format"='cd';
```
## Task
Generate a SQL query to answer the following question:
`Name the format for 12cm note and catalog of alca-9198`

### 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,
  "note" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the format for 12cm note and catalog of alca-9198`:
```sql
                SELECT "format" FROM "release_history" WHERE "note"='12cm' AND "catalog"='alca-9198';
```
## Task
Generate a SQL query to answer the following question:
`Which Monday Mona/Mani also had a Thursday Thunor/Thor of Tongersdei?`

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

CREATE TABLE "germanic_tradition" (
  "sunday_sunna_s_l" text,
  "monday_mona_m_ni" text,
  "tuesday_tiw_tyr" text,
  "wednesday_woden_odin" text,
  "thursday_thunor_thor" text,
  "friday_frige_or_freya" text,
  "saturday_saturn" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Monday Mona/Mani also had a Thursday Thunor/Thor of Tongersdei?`:
```sql
                SELECT "monday_mona_m_ni" FROM "germanic_tradition" WHERE "thursday_thunor_thor"='tongersdei';
```
## Task
Generate a SQL query to answer the following question:
`Which Tuesday Tiw/Tyr has a Sunday Sunna/Sol of sondag?`

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

CREATE TABLE "germanic_tradition" (
  "sunday_sunna_s_l" text,
  "monday_mona_m_ni" text,
  "tuesday_tiw_tyr" text,
  "wednesday_woden_odin" text,
  "thursday_thunor_thor" text,
  "friday_frige_or_freya" text,
  "saturday_saturn" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Tuesday Tiw/Tyr has a Sunday Sunna/Sol of sondag?`:
```sql
                SELECT "tuesday_tiw_tyr" FROM "germanic_tradition" WHERE "sunday_sunna_s_l"='sondag';
```
## Task
Generate a SQL query to answer the following question:
`What is the 1995 Album?`

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

CREATE TABLE "christmas_number_ones" (
  "year" real,
  "artist" text,
  "album" text,
  "record_label" text,
  "weeks_at_number_one" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1995 Album?`:
```sql
                SELECT "album" FROM "christmas_number_ones" WHERE "year"=1995;
```
## Task
Generate a SQL query to answer the following question:
`What album was recorded by the rca label?`

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

CREATE TABLE "christmas_number_ones" (
  "year" real,
  "artist" text,
  "album" text,
  "record_label" text,
  "weeks_at_number_one" real
);
### SQL
Given the database schema, here is the SQL query that answers `What album was recorded by the rca label?`:
```sql
                SELECT "album" FROM "christmas_number_ones" WHERE "record_label"='rca';
```
## Task
Generate a SQL query to answer the following question:
`What's the sum of years when the Artist of the queen were less than 1?`

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

CREATE TABLE "christmas_number_ones" (
  "year" real,
  "artist" text,
  "album" text,
  "record_label" text,
  "weeks_at_number_one" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the sum of years when the Artist of the queen were less than 1?`:
```sql
                SELECT COUNT("year") FROM "christmas_number_ones" WHERE "artist"='queen' AND "weeks_at_number_one"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1990 Album?`

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

CREATE TABLE "christmas_number_ones" (
  "year" real,
  "artist" text,
  "album" text,
  "record_label" text,
  "weeks_at_number_one" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1990 Album?`:
```sql
                SELECT "album" FROM "christmas_number_ones" WHERE "year"=1990;
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the game that was played at Soldier Field?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the game that was played at Soldier Field?`:
```sql
                SELECT "result" FROM "schedule" WHERE "game_site"='soldier field';
```
## Task
Generate a SQL query to answer the following question:
`Who lost the game with a record of 20-13?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who lost the game with a record of 20-13?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "record"='20-13';
```
## Task
Generate a SQL query to answer the following question:
`Who lost the game on May 28?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who lost the game on May 28?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "date"='may 28';
```
## Task
Generate a SQL query to answer the following question:
`Who lost the game on May 26?`

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

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

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "time" text,
  "att" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which date has the record time of 3:01?`:
```sql
                SELECT "record" FROM "game_log" WHERE "time"='3:01';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the Devil Rays on April 24?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "time" text,
  "att" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the Devil Rays on April 24?`:
```sql
                SELECT "score" FROM "game_log" WHERE "opponent"='devil rays' AND "date"='april 24';
```
## Task
Generate a SQL query to answer the following question:
`What is Ips-provectus transmittance/contrast ratio?`

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

CREATE TABLE "hitachi_ips_technology_development" (
  "name" text,
  "nickname" text,
  "year" real,
  "advantage" text,
  "transmittance_contrast_ratio" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Ips-provectus transmittance/contrast ratio?`:
```sql
                SELECT "transmittance_contrast_ratio" FROM "hitachi_ips_technology_development" WHERE "name"='ips-provectus';
```
## Task
Generate a SQL query to answer the following question:
`What is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total?`

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

CREATE TABLE "sporting_events" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total?`:
```sql
                SELECT AVG("silver") FROM "sporting_events" WHERE "rank"<8 AND "total"=12 AND "bronze"<4;
```
## Task
Generate a SQL query to answer the following question:
`How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?`

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

CREATE TABLE "sporting_events" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?`:
```sql
                SELECT SUM("gold") FROM "sporting_events" WHERE "total"<7 AND "nation"='gabon' AND "rank"<17;
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for april 24`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for april 24`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='april 24';
```
## Task
Generate a SQL query to answer the following question:
`Name the score for attendance of 13,617`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the score for attendance of 13,617`:
```sql
                SELECT "score" FROM "game_log" WHERE "attendance"='13,617';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponent for Score of postponed (rain) not rescheduled`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponent for Score of postponed (rain) not rescheduled`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "score"='postponed (rain) not rescheduled';
```
## Task
Generate a SQL query to answer the following question:
`What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?`

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

CREATE TABLE "district_administration" (
  "year" text,
  "superintendent" text,
  "glendale_principal" text,
  "h_h_principal" text,
  "maplemere_principal" text,
  "w_r_principal" text,
  "m_s_principal" text,
  "h_s_principal" text,
  "h_s_asst_principal" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?`:
```sql
                SELECT "h_s_asst_principal" FROM "district_administration" WHERE "glendale_principal"='joyce brace' AND "year"='2002-2003';
```
## Task
Generate a SQL query to answer the following question:
`Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?`

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

CREATE TABLE "district_administration" (
  "year" text,
  "superintendent" text,
  "glendale_principal" text,
  "h_h_principal" text,
  "maplemere_principal" text,
  "w_r_principal" text,
  "m_s_principal" text,
  "h_s_principal" text,
  "h_s_asst_principal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?`:
```sql
                SELECT "h_s_principal" FROM "district_administration" WHERE "w_r_principal"='dave lovering' AND "m_s_principal"='marty pizur';
```
## Task
Generate a SQL query to answer the following question:
`Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007?`

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

CREATE TABLE "district_administration" (
  "year" text,
  "superintendent" text,
  "glendale_principal" text,
  "h_h_principal" text,
  "maplemere_principal" text,
  "w_r_principal" text,
  "m_s_principal" text,
  "h_s_principal" text,
  "h_s_asst_principal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007?`:
```sql
                SELECT "glendale_principal" FROM "district_administration" WHERE "m_s_principal"='greg smorel' AND "h_s_principal"='joleen reinholz' AND "year"='2006-2007';
```
## Task
Generate a SQL query to answer the following question:
`Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal?`

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

CREATE TABLE "district_administration" (
  "year" text,
  "superintendent" text,
  "glendale_principal" text,
  "h_h_principal" text,
  "maplemere_principal" text,
  "w_r_principal" text,
  "m_s_principal" text,
  "h_s_principal" text,
  "h_s_asst_principal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal?`:
```sql
                SELECT "h_h_principal" FROM "district_administration" WHERE "h_s_principal"='jim haught' AND "maplemere_principal"='charlie taylor' AND "w_r_principal"='rich auerbach';
```
## Task
Generate a SQL query to answer the following question:
`Who is the h.h. principal with James Finch as the superintendent and Charlie Taylor as the maplemere principal?`

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

CREATE TABLE "district_administration" (
  "year" text,
  "superintendent" text,
  "glendale_principal" text,
  "h_h_principal" text,
  "maplemere_principal" text,
  "w_r_principal" text,
  "m_s_principal" text,
  "h_s_principal" text,
  "h_s_asst_principal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the h.h. principal with James Finch as the superintendent and Charlie Taylor as the maplemere principal?`:
```sql
                SELECT "h_h_principal" FROM "district_administration" WHERE "superintendent"='james finch' AND "maplemere_principal"='charlie taylor';
```
## Task
Generate a SQL query to answer the following question:
`Who is the h.s. principal during 1973-1974?`

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

CREATE TABLE "district_administration" (
  "year" text,
  "superintendent" text,
  "glendale_principal" text,
  "h_h_principal" text,
  "maplemere_principal" text,
  "w_r_principal" text,
  "m_s_principal" text,
  "h_s_principal" text,
  "h_s_asst_principal" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the h.s. principal during 1973-1974?`:
```sql
                SELECT "h_s_principal" FROM "district_administration" WHERE "year"='1973-1974';
```
## Task
Generate a SQL query to answer the following question:
`what is the engine for year less than 1959 and points more than 4?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the engine for year less than 1959 and points more than 4?`:
```sql
                SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year"<1959 AND "points">4;
```
## Task
Generate a SQL query to answer the following question:
`what is the least year for 4 points?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the least year for 4 points?`:
```sql
                SELECT MIN("year") FROM "complete_formula_one_world_championship_" WHERE "points"=4;
```
## Task
Generate a SQL query to answer the following question:
`what is the entrant for the ferrari v8 with points less than 4?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the entrant for the ferrari v8 with points less than 4?`:
```sql
                SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "engine"='ferrari v8' AND "points"<4;
```
## Task
Generate a SQL query to answer the following question:
`what is the average year for 0 points and ferrari v8?`

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

CREATE TABLE "complete_formula_one_world_championship_" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the average year for 0 points and ferrari v8?`:
```sql
                SELECT AVG("year") FROM "complete_formula_one_world_championship_" WHERE "points"=0 AND "engine"='ferrari v8';
```
## Task
Generate a SQL query to answer the following question:
`When did channel 83 in singapore launch?`

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

CREATE TABLE "broadcast_rights" (
  "territory" text,
  "broadcaster" text,
  "channel" real,
  "launched" text,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did channel 83 in singapore launch?`:
```sql
                SELECT "launched" FROM "broadcast_rights" WHERE "territory"='singapore' AND "channel"=83;
```
## Task
Generate a SQL query to answer the following question:
`Where is channel 83 broadcasted?`

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

CREATE TABLE "broadcast_rights" (
  "territory" text,
  "broadcaster" text,
  "channel" real,
  "launched" text,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is channel 83 broadcasted?`:
```sql
                SELECT "territory" FROM "broadcast_rights" WHERE "channel"=83;
```
## Task
Generate a SQL query to answer the following question:
`Who broadcasts in malaysia?`

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

CREATE TABLE "broadcast_rights" (
  "territory" text,
  "broadcaster" text,
  "channel" real,
  "launched" text,
  "closed" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who broadcasts in malaysia?`:
```sql
                SELECT "broadcaster" FROM "broadcast_rights" WHERE "territory"='malaysia';
```
## Task
Generate a SQL query to answer the following question:
`What are the engines for 1983?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the engines for 1983?`:
```sql
                SELECT "engine_s" FROM "complete_formula_one_results" WHERE "year"=1983;
```
## Task
Generate a SQL query to answer the following question:
`Which of the Chassis has Tyres of g, is after 1976, and has 1 point?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which of the Chassis has Tyres of g, is after 1976, and has 1 point?`:
```sql
                SELECT "chassis" FROM "complete_formula_one_results" WHERE "tyres"='g' AND "year">1976 AND "points"='1';
```
## Task
Generate a SQL query to answer the following question:
`How many appearances did Gary Depalma make when he scored less than 30 goals?`

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

CREATE TABLE "most_goals" (
  "name" text,
  "nation" text,
  "career" text,
  "goals" real,
  "appearances" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many appearances did Gary Depalma make when he scored less than 30 goals?`:
```sql
                SELECT "appearances" FROM "most_goals" WHERE "goals"<30 AND "name"='gary depalma';
```
## Task
Generate a SQL query to answer the following question:
`In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.?`:
```sql
                SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='asics-c.g.a.' AND "stage"='13';
```
## Task
Generate a SQL query to answer the following question:
`Which intergiro classification is there for team Polti at stage 14?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which intergiro classification is there for team Polti at stage 14?`:
```sql
                SELECT "intergiro_classification" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='team polti' AND "stage"='14';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner in stage 7 with a general classification of Pavel Tonkov?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner in stage 7 with a general classification of Pavel Tonkov?`:
```sql
                SELECT "winner" FROM "classification_leadership_by_stage" WHERE "general_classification"='pavel tonkov' AND "stage"='7';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli?`:
```sql
                SELECT "winner" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='asics-c.g.a.' AND "mountains_classification"='mariano piccoli';
```
## Task
Generate a SQL query to answer the following question:
`Which points classification was used in stage 15?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which points classification was used in stage 15?`:
```sql
                SELECT "points_classification" FROM "classification_leadership_by_stage" WHERE "stage"='15';
```
## Task
Generate a SQL query to answer the following question:
`Which winner of stage 1 was not awarded a mountains classification?`

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

CREATE TABLE "classification_leadership_by_stage" (
  "stage" text,
  "winner" text,
  "general_classification" text,
  "points_classification" text,
  "mountains_classification" text,
  "intergiro_classification" text,
  "trofeo_fast_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which winner of stage 1 was not awarded a mountains classification?`:
```sql
                SELECT "winner" FROM "classification_leadership_by_stage" WHERE "mountains_classification"='not awarded' AND "stage"='1';
```
## Task
Generate a SQL query to answer the following question:
`Name the muzzel device with barrel twist of 1:10`

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

CREATE TABLE "ar_series_models" (
  "colt_model_no" text,
  "name" text,
  "stock" text,
  "fire_control" text,
  "rear_sight" text,
  "forward_assist" text,
  "case_deflector" text,
  "barrel_length" text,
  "barrel_profile" text,
  "barrel_twist" text,
  "hand_guards" text,
  "bayonet_lug" text,
  "muzzle_device" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the muzzel device with barrel twist of 1:10`:
```sql
                SELECT "muzzle_device" FROM "ar_series_models" WHERE "barrel_twist"='1:10';
```
## Task
Generate a SQL query to answer the following question:
`Name the bayonet lug with ar-15 lightweight`

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

CREATE TABLE "ar_series_models" (
  "colt_model_no" text,
  "name" text,
  "stock" text,
  "fire_control" text,
  "rear_sight" text,
  "forward_assist" text,
  "case_deflector" text,
  "barrel_length" text,
  "barrel_profile" text,
  "barrel_twist" text,
  "hand_guards" text,
  "bayonet_lug" text,
  "muzzle_device" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the bayonet lug with ar-15 lightweight`:
```sql
                SELECT "bayonet_lug" FROM "ar_series_models" WHERE "name"='ar-15 lightweight';
```
## Task
Generate a SQL query to answer the following question:
`Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9`

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

CREATE TABLE "ar_series_models" (
  "colt_model_no" text,
  "name" text,
  "stock" text,
  "fire_control" text,
  "rear_sight" text,
  "forward_assist" text,
  "case_deflector" text,
  "barrel_length" text,
  "barrel_profile" text,
  "barrel_twist" text,
  "hand_guards" text,
  "bayonet_lug" text,
  "muzzle_device" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9`:
```sql
                SELECT "hand_guards" FROM "ar_series_models" WHERE "name"='ar-15a2 government carbine' AND "barrel_twist"='1:9';
```